2013-10-30 03:20:52 +00:00
|
|
|
# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
|
2002-10-18 08:17:43 +00:00
|
|
|
|
2023-06-29 18:34:16 +00:00
|
|
|
printf "%s\n" "#define NO_RTLD_HIDDEN 1" >>confdefs.h
|
2015-11-25 01:48:22 +00:00
|
|
|
|
|
|
|
|
2015-08-26 21:48:33 +00:00
|
|
|
if test -n "$sysheaders"; then
|
|
|
|
OLD_CPPFLAGS=$CPPFLAGS
|
|
|
|
CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
|
|
|
|
fi
|
|
|
|
|
2003-02-26 00:01:15 +00:00
|
|
|
|
2021-05-22 02:42:48 +00:00
|
|
|
|
2023-06-29 18:34:16 +00:00
|
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Hurd header version" >&5
|
|
|
|
printf %s "checking Hurd header version... " >&6; }
|
|
|
|
if test ${libc_cv_hurd_version+y}
|
|
|
|
then :
|
|
|
|
printf %s "(cached) " >&6
|
|
|
|
else $as_nop
|
2012-05-10 22:46:14 +00:00
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2004-02-11 01:02:11 +00:00
|
|
|
/* end confdefs.h. */
|
2002-06-11 23:04:51 +00:00
|
|
|
#include <hurd/version.h>
|
2002-10-18 08:17:43 +00:00
|
|
|
int
|
2023-06-29 18:34:16 +00:00
|
|
|
main (void)
|
2002-10-18 08:17:43 +00:00
|
|
|
{
|
2002-06-11 23:04:51 +00:00
|
|
|
|
|
|
|
#define NEED_VERSION 20020609
|
|
|
|
#if HURD_INTERFACE_VERSION < NEED_VERSION
|
|
|
|
# error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION
|
|
|
|
#endif
|
2002-10-18 08:17:43 +00:00
|
|
|
;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
_ACEOF
|
2023-06-29 18:34:16 +00:00
|
|
|
if ac_fn_c_try_cpp "$LINENO"
|
|
|
|
then :
|
2002-06-11 23:04:51 +00:00
|
|
|
libc_cv_hurd_version=ok
|
2023-06-29 18:34:16 +00:00
|
|
|
else $as_nop
|
2012-05-10 22:46:14 +00:00
|
|
|
libc_cv_hurd_version=bad
|
2002-06-11 23:04:51 +00:00
|
|
|
fi
|
2021-05-22 02:42:48 +00:00
|
|
|
rm -f conftest.err conftest.i conftest.$ac_ext
|
2002-06-11 23:04:51 +00:00
|
|
|
fi
|
2023-06-29 18:34:16 +00:00
|
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hurd_version" >&5
|
|
|
|
printf "%s\n" "$libc_cv_hurd_version" >&6; }
|
2002-06-11 23:04:51 +00:00
|
|
|
if test "x$libc_cv_hurd_version" != xok; then
|
2012-05-10 22:46:14 +00:00
|
|
|
as_fn_error $? "Hurd headers not installed or too old" "$LINENO" 5
|
2002-06-11 23:04:51 +00:00
|
|
|
fi
|
2015-08-26 21:48:33 +00:00
|
|
|
|
|
|
|
if test -n "$sysheaders"; then
|
|
|
|
CPPFLAGS=$OLD_CPPFLAGS
|
|
|
|
fi
|
2021-05-03 06:12:11 +00:00
|
|
|
|
|
|
|
# Hurd has libpthread as a separate library.
|
|
|
|
pthread_in_libc=no
|
2023-06-29 18:34:16 +00:00
|
|
|
|