This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Run sysdeps preconfigure fragment before add-ons


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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]