*** empty log message ***
authorJim Meyering <jim@meyering.net>
Tue, 12 Oct 1993 05:02:22 +0000 (05:02 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 12 Oct 1993 05:02:22 +0000 (05:02 +0000)
regex.c

diff --git a/regex.c b/regex.c
index 15ca91b..8b7aecf 100644 (file)
--- a/regex.c
+++ b/regex.c
 
 #define _GNU_SOURCE
 
+#ifdef HAVE_CONFIG_H
+#if defined (CONFIG_BROKETS)
+/* We use <config.h> instead of "config.h" so that a compilation
+   using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
+   (which it would do because it found this file in $srcdir).  */
+#include <config.h>
+#else
+#include "config.h"
+#endif
+#endif
+
 /* We need this for `regex.h', and perhaps for the Emacs include files.  */
 #include <sys/types.h>