forked from pool/autoconf
e2410ecbea
Fix testsuite fails and dependent package build errors (bsc#1219035) OBS-URL: https://build.opensuse.org/request/show/1147653 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/autoconf?expand=0&rev=59
63 lines
2.1 KiB
Diff
63 lines
2.1 KiB
Diff
diff -Ppdru autoconf-2.72/tests/semantics.at autoconf-2.72-new/tests/semantics.at
|
|
--- autoconf-2.72/tests/semantics.at 2024-02-19 11:10:24.680204892 +0100
|
|
+++ autoconf-2.72-new/tests/semantics.at 2024-02-19 18:30:59.290253324 +0100
|
|
@@ -901,58 +901,6 @@ AT_CHECK_DEFINES(
|
|
|
|
AT_CLEANUP
|
|
|
|
-## -------------------------------------------------------------------- ##
|
|
-## AC_SYS_LARGEFILE, AC_SYS_YEAR2038, and AC_SYS_YEAR2038_RECOMMENDED. ##
|
|
-## -------------------------------------------------------------------- ##
|
|
-
|
|
-AT_CHECK_MACRO([AC_SYS_LARGEFILE], [],
|
|
-[AT_CHECK([./configure --help |
|
|
- $EGREP -e '-(dis|en)able-(largefile|year2038)\>'],
|
|
- [0],
|
|
-[ --disable-largefile omit support for large files
|
|
- --enable-year2038 support timestamps after 2038
|
|
-],
|
|
-[])])
|
|
-
|
|
-AT_CHECK_MACRO([AC_SYS_YEAR2038], [],
|
|
-[AT_CHECK([./configure --help |
|
|
- $EGREP -e '-(dis|en)able-(largefile|year2038)\>'],
|
|
- [0],
|
|
-[ --disable-largefile omit support for large files
|
|
- --disable-year2038 don't support timestamps after 2038
|
|
-],
|
|
-[])])
|
|
-
|
|
-AT_CHECK_MACRO([AC_SYS_YEAR2038_RECOMMENDED], [],
|
|
-[AT_CHECK([./configure --help |
|
|
- $EGREP -e '-(dis|en)able-(largefile|year2038)\>'],
|
|
- [0],
|
|
-[ --disable-largefile omit support for large files
|
|
- --disable-year2038 don't support timestamps after 2038
|
|
-],
|
|
-[])],
|
|
-[], [],
|
|
-[dnl Skip this test on systems that do not support 64-bit time_t at
|
|
-dnl all. AC_SYS_YEAR2038_RECOMMENDED will make configure fail on
|
|
-dnl those systems. I'd like to make this be a test that it *does*
|
|
-dnl make configure fail on those systems, but that would require
|
|
-dnl adding features to AT_CHECK_MACRO.
|
|
-AT_DATA([configure.ac],
|
|
-[[AC_INIT
|
|
-AC_PROG_CC
|
|
-AC_SYS_YEAR2038
|
|
-AC_COMPUTE_INT([sizeof_time_t], [sizeof(time_t)],
|
|
- [@%:@include <time.h>],
|
|
- [sizeof_time_t=0])
|
|
-AS@&t@_IF([test $sizeof_time_t -lt 8],
|
|
- [AC_MSG_FAILURE([could not widen time_t])])
|
|
-AC_OUTPUT
|
|
-]])
|
|
-AT_CHECK_AUTOCONF
|
|
-AT_CAPTURE_FILE([config.log])
|
|
-AT_CHECK([./configure $configure_options || exit 77], [0], [ignore], [])
|
|
-])
|
|
-
|
|
## ------------------------------- ##
|
|
## Obsolete non-updatable macros. ##
|
|
## ------------------------------- ##
|