[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patches] Fix build of cross-localedef on trunk



ld-messages.c now checks for __OPTION_POSIX_REGEXP.  This patch avoids
a build failure on non-EGLIBC build systems; it might cause a failure
on EGLIBC build systems with regex support disabled, but I think
that's an unlikely place to be building the cross localedef anyway.
If needed, we can fix it.

OK to commit?

-- 
Daniel Jacobowitz
CodeSourcery

2007-11-05  Daniel Jacobowitz  <dan@xxxxxxxxxxxxxxxx>

	* include/gnu/option-groups.h: New file.

Index: include/gnu/option-groups.h
===================================================================
--- include/gnu/option-groups.h	(revision 0)
+++ include/gnu/option-groups.h	(revision 0)
@@ -0,0 +1,3 @@
+/* Used for error checking.  To support hosts without regcomp, this 1
+   could come from a configure check.  */
+#define __OPTION_POSIX_REGEXP 1