Skip to content
Snippets Groups Projects
Commit d388d925 authored by Niels Möller's avatar Niels Möller
Browse files

Added workaround to get the correct $(EXEEXT)=''

when compiling with rntcl.

Rev: src/nettle/ChangeLog:1.261
Rev: src/nettle/configure.ac:1.36
parent c25c38da
No related branches found
No related tags found
No related merge requests found
2004-03-02 Niels Mller <niels@s3.kth.se>
* configure.ac: Added workaround to get the correct $(EXEEXT)=''
when compiling with rntcl.
2004-03-02 Niels Mller <nisse@lysator.liu.se> 2004-03-02 Niels Mller <nisse@lysator.liu.se>
* testsuite/Makefile.am (noinst_PROGRAMS): Put test program list * testsuite/Makefile.am (noinst_PROGRAMS): Put test program list
......
...@@ -49,6 +49,20 @@ LSH_RPATH_INIT([`echo $with_lib_path | sed 's/:/ /g'` \ ...@@ -49,6 +49,20 @@ LSH_RPATH_INIT([`echo $with_lib_path | sed 's/:/ /g'` \
# Checks for programs. # Checks for programs.
AC_PROG_CC 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_MAKE_SET
AC_PROG_RANLIB AC_PROG_RANLIB
AM_PROG_CC_STDC AM_PROG_CC_STDC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment