diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2021-04-08 23:31:25 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2021-04-08 23:31:25 +0100 |
commit | 6fd66f2dae5ef67e63abce0fe8feff0c62942d2f (patch) | |
tree | 281db4018f02e6643bf6c10260550994b4a74b6d | |
parent | 3c141b87da17ceff631d42a07b3b72114dcfbae8 (diff) | |
download | swig-6fd66f2dae5ef67e63abce0fe8feff0c62942d2f.tar.gz |
Revert "configure.ac update"
This reverts commit 2bb06ef63d1cecdd839bf5a9f859d93af94c6eeb.
-rw-r--r-- | configure.ac | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index 1895490a6..8d169f43f 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ dnl The macros which aren't shipped with the autotools are stored in the dnl Tools/config directory in .m4 files. AC_INIT([swig],[4.1.0],[http://www.swig.org]) -AC_PREREQ([2.71]) +AC_PREREQ(2.60) AC_CONFIG_SRCDIR([Source/Swig/swig.h]) AC_CONFIG_AUX_DIR([Tools/config]) @@ -35,15 +35,7 @@ AC_DEFINE_UNQUOTED(SWIG_CXX, ["$CXX"], [Compiler that built SWIG]) AC_DEFINE_UNQUOTED(SWIG_PLATFORM, ["$host"], [Platform that SWIG is built for]) dnl Checks for header files. -m4_warn([obsolete], -[The preprocessor macro `STDC_HEADERS' is obsolete. - Except in unusual embedded environments, you can safely include all - ISO C90 headers unconditionally.])dnl -# Autoupdate added the next two lines to ensure that your configure -# script's behavior did not change. They are probably safe to remove. -AC_CHECK_INCLUDES_DEFAULT -AC_PROG_EGREP - +AC_HEADER_STDC dnl Look for popen AC_ARG_WITH(popen, AS_HELP_STRING([--without-popen], [Disable popen]), with_popen="$withval") @@ -583,7 +575,7 @@ fi AC_MSG_CHECKING(for Tcl header files) if test -z "$TCLINCLUDE"; then -AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <tcl.h>]])],[],[TCLINCLUDE=""]) +AC_TRY_CPP([#include <tcl.h>], , TCLINCLUDE="") if test -z "$TCLINCLUDE"; then dirs="/usr/local/include /usr/include /opt/local/include" for i in $dirs ; do |