]> www.ginac.de Git - cln.git/blobdiff - m4/param.m4
Fix sparc64 build with -DNO_ASM and reduce compiler warnings.
[cln.git] / m4 / param.m4
index 3f90fb6404e3b266eccba8e949099f7c9b23c11b..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
@@ -47,6 +47,7 @@ else
 fi
 rm -f conftest*
 else
+echo "creating $cl_machine_file_h"
 $3([$4])
 fi
 fi