when compiling with rntcl.
Rev: src/nettle/ChangeLog:1.261
Rev: src/nettle/configure.ac:1.36
+2004-03-02 Niels Möller <niels@s3.kth.se>
+
+ * configure.ac: Added workaround to get the correct $(EXEEXT)=''
+ when compiling with rntcl.
+
2004-03-02 Niels Möller <nisse@lysator.liu.se>
* testsuite/Makefile.am (noinst_PROGRAMS): Put test program list
# Checks for programs.
AC_PROG_CC
+
+# When $CC foo.c -o foo creates both foo and foo.exe, autoconf picks
+# up the foo.exe and sets exeext to .exe. That is correct for cygwin,
+# which has some kind of magic link from foo to foo.exe, but not for
+# rntcl. A better check for the cygwin case would check if the
+# contents of foo and foo.exe are equal; in the rntcl case, foo is a
+# sh script, and foo.exe is a windows executable.
+
+if "x$CC" = xrntcl ; then
+ AC_MSG_NOTICE([Compiling with rntcl; clearing exeext])
+ ac_exeext=''
+ ac_cv_exeext=''
+fi
+
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AM_PROG_CC_STDC