GNU shell utilities SHELLUTILS-1_8_1a
authorJim Meyering <jim@meyering.net>
Mon, 4 Oct 1993 21:07:58 +0000 (21:07 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 4 Oct 1993 21:07:58 +0000 (21:07 +0000)
lib/alloca.c
lib/getopt.c
lib/getopt1.c
lib/xmalloc.c

index cab9645..bd4932a 100644 (file)
    your main control loop, etc. to force garbage collection.  */
 
 #ifdef HAVE_CONFIG_H
+#if defined (emacs) || defined (CONFIG_BROKETS)
+#include <config.h>
+#else
 #include "config.h"
 #endif
+#endif
 
 /* If compiling with GCC 2, this file's not needed.  */
 #if !defined (__GNUC__) || __GNUC__ < 2
index 49db998..7a4673b 100644 (file)
    Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 \f
 #ifdef HAVE_CONFIG_H
+#if defined (emacs) || 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 getopt.c was found in $srcdir).  */
+   (which it would do because it found this file in $srcdir).  */
 #include <config.h>
+#else
+#include "config.h"
+#endif
 #endif
 
 #ifndef __STDC__
index 2b93f78..f784b57 100644 (file)
    Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 \f
 #ifdef HAVE_CONFIG_H
+#if defined (emacs) || 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 getopt1.c was found in $srcdir).  */
+   (which it would do because it found this file in $srcdir).  */
 #include <config.h>
+#else
+#include "config.h"
+#endif
 #endif
 
 #include "getopt.h"
index d58db5e..bce4325 100644 (file)
 #define VOID char
 #endif
 
+#include <sys/types.h>
+
 #if STDC_HEADERS
 #include <stdlib.h>
 #else
-#include <sys/types.h>
 VOID *malloc ();
 VOID *realloc ();
 void free ();