X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=configure;h=b679986f7179dafd54683018ac0a0dbd5142a0a4;hp=042c41bd28790d98837748644d73de89a0143a76;hb=1d92cddb1e1ed4b6cc0e55461727561e7a2522e0;hpb=3e7f186ea18d7362e3e117f6e848b5514d8266d1 diff --git a/configure b/configure index 042c41bd..b679986f 100755 --- a/configure +++ b/configure @@ -56,7 +56,8 @@ while eval "fnmatch '*/' \"\${$1}\"" ; do eval "$1=\${$1%/}" ; done trycppif () { printf "checking preprocessor condition %s... " "$1" -echo "#if $1" > "$tmpc" +echo "typedef int x;" > "$tmpc" +echo "#if $1" >> "$tmpc" echo "#error yes" >> "$tmpc" echo "#endif" >> "$tmpc" if $CC $2 -c -o /dev/null "$tmpc" >/dev/null 2>&1 ; then