about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-17 14:05:53 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-17 14:05:53 -0700
commitc91c505f222834b4e84ac7dcafab6deb08b49566 (patch)
tree53c0f1a3677f16dd2b2e51031fb5e1a4c99a12e2
parent7c6f9d53c1f57bb9b679fcdb39d2b5a9c63e46d3 (diff)
downloadglibc-c91c505f222834b4e84ac7dcafab6deb08b49566.tar.gz
glibc-c91c505f222834b4e84ac7dcafab6deb08b49566.tar.xz
glibc-c91c505f222834b4e84ac7dcafab6deb08b49566.zip
Make sysheaders available in config.make.
-rw-r--r--ChangeLog4
-rw-r--r--config.make.in1
-rwxr-xr-xconfigure2
-rw-r--r--configure.in1
4 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 70407fef29..2b7fc94cc6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-08-17  Roland McGrath  <roland@hack.frob.com>
 
+	* configure.in: Add AC_SUBST for sysheaders.
+	* configure: Regenerated.
+	* config.make.in (sysheaders): New substituted variable.
+
 	* sysdeps/unix/mkfifo.c: Moved ...
 	* sysdeps/posix/mkfifo.c: ... here.
 	* sysdeps/unix/mkfifoat.c: Moved ...
diff --git a/config.make.in b/config.make.in
index 65410abe1b..c511554334 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 facb6a5bbb..9dddf3c58f 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 1219b9fb8a..f5dbff68cc 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],