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
|
|
|
|
2015-11-25 01:48:22 +00:00
|
|
|
$as_echo "#define NO_HIDDEN 1" >>confdefs.h
|
|
|
|
|
|
|
|
|
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
|
|
|
|
2012-05-10 22:46:14 +00:00
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Hurd header version" >&5
|
2009-09-15 21:14:42 +00:00
|
|
|
$as_echo_n "checking Hurd header version... " >&6; }
|
2012-05-10 22:46:14 +00:00
|
|
|
if ${libc_cv_hurd_version+:} false; then :
|
2009-09-15 21:14:42 +00:00
|
|
|
$as_echo_n "(cached) " >&6
|
2002-06-11 23:04:51 +00:00
|
|
|
else
|
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
|
|
|
|
main ()
|
|
|
|
{
|
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
|
2012-05-10 22:46:14 +00:00
|
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
2002-06-11 23:04:51 +00:00
|
|
|
libc_cv_hurd_version=ok
|
|
|
|
else
|
2012-05-10 22:46:14 +00:00
|
|
|
libc_cv_hurd_version=bad
|
2002-06-11 23:04:51 +00:00
|
|
|
fi
|
2009-09-15 21:14:42 +00:00
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2002-06-11 23:04:51 +00:00
|
|
|
fi
|
2012-05-10 22:46:14 +00:00
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hurd_version" >&5
|
2009-09-15 21:14:42 +00:00
|
|
|
$as_echo "$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
|