diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 2afea3668..21eb7e0c8 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -49,7 +49,9 @@ else fi if test $ac_cv_c_long_long = yes; then if test "x$ECL_LONG_LONG_BITS" = "x"; then - AC_RUN_IFELSE([AC_LANG_SOURCE([[#include + AC_RUN_IFELSE([AC_LANG_SOURCE([ +[#include + #include int main() { const char *int_type; int bits; @@ -705,7 +707,9 @@ AC_SUBST(CL_INT_BITS) AC_SUBST(CL_LONG_BITS) AC_MSG_CHECKING(appropriate type for fixnums) if test -z "${CL_FIXNUM_TYPE}" ; then - AC_RUN_IFELSE([AC_LANG_SOURCE([[#include + AC_RUN_IFELSE([AC_LANG_SOURCE([[ +#include +#include int main() { const char *int_type; int bits; @@ -790,7 +794,9 @@ dnl AC_DEFUN(ECL_LINEFEED_MODE,[ AC_MSG_CHECKING(character sequence for end of line) if test -z "${ECL_NEWLINE}" ; then -AC_RUN_IFELSE([AC_LANG_SOURCE([[#include +AC_RUN_IFELSE([AC_LANG_SOURCE([[ +#include +#include int main() { FILE *f = fopen("conftestval","w"); int c1, c2; diff --git a/src/configure b/src/configure index b90a61cd7..ed5c52c4a 100755 --- a/src/configure +++ b/src/configure @@ -741,7 +741,6 @@ infodir docdir oldincludedir includedir -runstatedir localstatedir sharedstatedir sysconfdir @@ -867,7 +866,6 @@ datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' -runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -1120,15 +1118,6 @@ do | -silent | --silent | --silen | --sile | --sil) silent=yes ;; - -runstatedir | --runstatedir | --runstatedi | --runstated \ - | --runstate | --runstat | --runsta | --runst | --runs \ - | --run | --ru | --r) - ac_prev=runstatedir ;; - -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ - | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ - | --run=* | --ru=* | --r=*) - runstatedir=$ac_optarg ;; - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1266,7 +1255,7 @@ fi for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir runstatedir + libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1419,7 +1408,6 @@ Fine tuning of the installation directories: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -7610,7 +7598,9 @@ See \`config.log' for more details" "$LINENO" 5; } else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include + #include int main() { const char *int_type; int bits; @@ -7898,7 +7888,9 @@ See \`config.log' for more details" "$LINENO" 5; } else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include +#include int main() { const char *int_type; int bits; @@ -8193,7 +8185,9 @@ See \`config.log' for more details" "$LINENO" 5; } else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include +#include int main() { FILE *f = fopen("conftestval","w"); int c1, c2;