exit() prototype is in stdlib.h, include it
this is needed to support Apple's clang 12, the compiler in Xcode 12 on macOS 10.15 and upcoming macOS 11. configure was regenerated by running autoreconf -ivf with autoconf version 2.69
This commit is contained in:
parent
b0dfcc38f5
commit
cd2f19fedb
2 changed files with 16 additions and 16 deletions
12
src/aclocal.m4
vendored
12
src/aclocal.m4
vendored
|
|
@ -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 <stdio.h>
|
||||
AC_RUN_IFELSE([AC_LANG_SOURCE([
|
||||
[#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
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 <stdio.h>
|
||||
AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
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 <stdio.h>
|
||||
AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
int main() {
|
||||
FILE *f = fopen("conftestval","w");
|
||||
int c1, c2;
|
||||
|
|
|
|||
20
src/configure
vendored
20
src/configure
vendored
|
|
@ -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 <stdio.h>
|
||||
#include <stdlib.h>
|
||||
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 <stdio.h>
|
||||
#include <stdlib.h>
|
||||
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 <stdio.h>
|
||||
#include <stdlib.h>
|
||||
int main() {
|
||||
FILE *f = fopen("conftestval","w");
|
||||
int c1, c2;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue