This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
PATCH: Run sysdeps preconfigure fragment before add-ons
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 16 Mar 2012 08:54:19 -0700
- Subject: PATCH: Run sysdeps preconfigure fragment before add-ons
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
This patch adds support to run sysdeps preconfigure fragment before
add-ons. OK to install?
Thanks.
H.J.
---
2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: Run sysdeps preconfigure fragment before add-ons.
* configure: Regenerated.
diff --git a/configure.in b/configure.in
index 119d5be..22f05a3 100644
--- a/configure.in
+++ b/configure.in
@@ -317,6 +317,13 @@ AC_ARG_WITH([cpu],
esac
])
+# Now run sysdeps preconfigure fragment.
+preconfigure=$srcdir/sysdeps/$machine/preconfigure
+if test -r $preconfigure; then
+ AC_MSG_RESULT(running preconfigure fragment for $machine)
+ . $preconfigure
+fi
+
# An add-on can set this when it wants to disable the sanity check below.
libc_config_ok=no