This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] make sysheaders available in config.make
- From: Roland McGrath <roland at hack dot frob dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 17 Aug 2012 14:13:14 -0700 (PDT)
- Subject: [COMMITTED PATCH] make sysheaders available in config.make
This makes it possible for ports to use --with-headers for something
more than just the way it's used today. Since sysdeps fragments can't
add their own options, making it easy to overload the meaning of this
one is the best plan I see.
Thanks,
Roland
* configure.in: Add AC_SUBST for sysheaders.
* configure: Regenerated.
* config.make.in (sysheaders): New substituted variable.
diff --git a/config.make.in b/config.make.in
index 65410ab..c511554 100644
--- a/config.make.in
+++ b/config.make.in
@@ -44,6 +44,7 @@ config-cflags-nofma = @libc_cv_cc_nofma@
config-asflags-i686 = @libc_cv_as_i686@
defines = @DEFINES@
+sysheaders = @sysheaders@
sysincludes = @SYSINCLUDES@
c++-sysincludes = @CXX_SYSINCLUDES@
all-warnings = @all_warnings@
diff --git a/configure b/configure
index facb6a5..9dddf3c 100755
--- a/configure
+++ b/configure
@@ -661,6 +661,7 @@ force_install
bindnow
oldest_abi
use_default_link
+sysheaders
with_fp
ac_ct_CXX
CXXFLAGS
@@ -3478,6 +3479,7 @@ fi
+
# Check whether --with-default-link was given.
if test "${with_default_link+set}" = set; then :
withval=$with_default_link; use_default_link=$withval
diff --git a/configure.in b/configure.in
index 1219b9f..f5dbff6 100644
--- a/configure.in
+++ b/configure.in
@@ -95,6 +95,7 @@ AC_ARG_WITH([headers],
@<:@default=compiler default@:>@]),
[sysheaders=$withval],
[sysheaders=''])
+AC_SUBST(sysheaders)
AC_SUBST(use_default_link)
AC_ARG_WITH([default-link],