diff --git a/ChangeLog b/ChangeLog index 7c47166b..6f9c40dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-11-16 Akim Demaille + + * acspecific.m4 (AC_SYS_LARGEFILE): _AC_SYS_LARGEFILE_SOURCE no + longer exist. + 2000-11-16 Akim Demaille POSIX doesn't require s/[^/]// to work. diff --git a/acspecific.m4 b/acspecific.m4 index 7c23c9b0..1d5d6fae 100644 --- a/acspecific.m4 +++ b/acspecific.m4 @@ -673,14 +673,14 @@ if test "$enable_largefile" != no; then while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. - AC_COMPILE_IFELSE([_AC_SYS_LARGEFILE_SOURCE()], - [break]) + AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])]) + AC_COMPILE_IFELSE([], [break]) CC="$CC -n32" - AC_COMPILE_IFELSE([_AC_SYS_LARGEFILE_SOURCE()], - [ac_cv_sys_largefile_CC=' -n32'; break]) + AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break]) break done CC=$ac_save_CC + rm -f conftest.$ac_ext fi]) if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 7c23c9b0..1d5d6fae 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -673,14 +673,14 @@ if test "$enable_largefile" != no; then while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. - AC_COMPILE_IFELSE([_AC_SYS_LARGEFILE_SOURCE()], - [break]) + AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])]) + AC_COMPILE_IFELSE([], [break]) CC="$CC -n32" - AC_COMPILE_IFELSE([_AC_SYS_LARGEFILE_SOURCE()], - [ac_cv_sys_largefile_CC=' -n32'; break]) + AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break]) break done CC=$ac_save_CC + rm -f conftest.$ac_ext fi]) if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC