diff options
author | Zack Weinberg <zackw@panix.com> | 2017-06-08 15:39:03 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2017-06-08 15:39:03 -0400 |
commit | 5046dbb4a7eba5eccfd258f92f4735c9ffc8d069 (patch) | |
tree | 4470480d904b65cf14ca524f96f79eca818c3eaf /REORG.TODO/sysdeps/mach/hurd/configure.ac | |
parent | 199fc19d3aaaf57944ef036e15904febe877fc93 (diff) | |
download | glibc-5046dbb4a7eba5eccfd258f92f4735c9ffc8d069.tar.gz glibc-5046dbb4a7eba5eccfd258f92f4735c9ffc8d069.tar.xz glibc-5046dbb4a7eba5eccfd258f92f4735c9ffc8d069.zip |
Prepare for radical source tree reorganization. zack/build-layout-experiment
All top-level files and directories are moved into a temporary storage directory, REORG.TODO, except for files that will certainly still exist in their current form at top level when we're done (COPYING, COPYING.LIB, LICENSES, NEWS, README), all old ChangeLog files (which are moved to the new directory OldChangeLogs, instead), and the generated file INSTALL (which is just deleted; in the new order, there will be no generated files checked into version control).
Diffstat (limited to 'REORG.TODO/sysdeps/mach/hurd/configure.ac')
-rw-r--r-- | REORG.TODO/sysdeps/mach/hurd/configure.ac | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/mach/hurd/configure.ac b/REORG.TODO/sysdeps/mach/hurd/configure.ac new file mode 100644 index 0000000000..5539a8c8af --- /dev/null +++ b/REORG.TODO/sysdeps/mach/hurd/configure.ac @@ -0,0 +1,32 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. + +dnl We need this setting because of the need for PLT calls in ld.so. +dnl See Roland's comment in +dnl https://sourceware.org/bugzilla/show_bug.cgi?id=15605 +AC_DEFINE([NO_HIDDEN]) + +if test -n "$sysheaders"; then + OLD_CPPFLAGS=$CPPFLAGS + CPPFLAGS="$CPPFLAGS $SYSINCLUDES" +fi + +AC_CACHE_CHECK(Hurd header version, libc_cv_hurd_version, [dnl +AC_TRY_COMPILE(dnl +[#include <hurd/version.h>], [ +#define NEED_VERSION 20020609 +#if HURD_INTERFACE_VERSION < NEED_VERSION +# error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION +#endif], + libc_cv_hurd_version=ok, + libc_cv_hurd_version=bad)]) +if test "x$libc_cv_hurd_version" != xok; then + AC_MSG_ERROR(Hurd headers not installed or too old) +fi + +if test -n "$sysheaders"; then + CPPFLAGS=$OLD_CPPFLAGS +fi + +dnl ifunc does not work yet for static binaries +dnl http://www.gnu.org/software/hurd/open_issues/ifunc.html +libc_cv_ld_gnu_indirect_function=no |