]> Savannah Git Hosting - gnulib.git/commitdiff
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 cab9645b7e183ae2f31330ae6df0bbbc7a2ed18a..bd4932aa44532a7363f0d4df72059d7b7e77ad47 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 49db9985687a7e22d3018e1379935d286b5963a2..7a4673b8d8db32e96c0449d8fccb507cb7446103 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 2b93f783527411df36900c1f6f123b93bb02a48d..f784b5757c59e1cd26d45fc5ddb0273a7f50b0f4 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 d58db5ed55b78e57d9317dc1ceadc0b5271df5eb..bce4325135e04ea46cb2d927747b2a8b11eaa9fa 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 ();