GNU text utilities TEXTUTILS-1_8i
authorJim Meyering <jim@meyering.net>
Thu, 21 Oct 1993 21:58:56 +0000 (21:58 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 21 Oct 1993 21:58:56 +0000 (21:58 +0000)
lib/linebuffer.c
lib/memchr.c

index 7f53aed..2c12bbb 100644 (file)
 
 /* Written by Richard Stallman. */
 \f
+#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
+
 #include <stdio.h>
 #include "linebuffer.h"
 
index 7495106..bb8b813 100644 (file)
@@ -20,6 +20,17 @@ License along with the GNU C Library; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
 Cambridge, MA 02139, USA.  */
 
+#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
+
 /* Search no more than N bytes of S for C.  */
 
 char *