]> www.ginac.de Git - cln.git/blobdiff - m4/param.m4
64-bit mingw port: Use intptr_t, not long, to guarantee alignment.
[cln.git] / m4 / param.m4
index 2a6b07d4f6e5fa00b7b1d9e414f7b8dd73b3a7ff..21a7b84e2207a27f503122fd6200bc3f636c2305 100644 (file)
@@ -31,9 +31,9 @@ CC=`echo "$CC " | sed -e 's/-O //g'`
 fi
 AC_TRY_EVAL(ac_link)
 CC="$ORIGCC"
-if test -s conftest; then
+if test -s conftest${ac_exeext}; then
   echo "creating $cl_machine_file_h"
-  ./conftest > conftest.h
+  ./conftest${ac_exeext} > conftest.h
   if cmp -s "$cl_machine_file_h" conftest.h 2>/dev/null; then
     # The file exists and we would not be changing it
     rm -f conftest.h