PATCH: Run sysdeps preconfigure fragment before add-ons

H.J. Lu hongjiu.lu@intel.com
Fri Mar 16 15:54:00 GMT 2012


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
 



More information about the Libc-alpha mailing list