changeset 4846:df5046c4e18b

*** empty log message ***
author Jim Meyering <jim@meyering.net>
date Tue, 12 Oct 1993 05:02:22 +0000
parents 6b7954afe2bf
children e7d8cfd205d4
files src/regex.c
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/regex.c	Tue Oct 12 00:53:28 1993 +0000
+++ b/src/regex.c	Tue Oct 12 05:02:22 1993 +0000
@@ -26,6 +26,17 @@
 
 #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>