]> Savannah Git Hosting - gnulib.git/commitdiff
GNU shell utilities SHELLUTILS-1_8_1d
authorJim Meyering <jim@meyering.net>
Tue, 12 Oct 1993 14:30:12 +0000 (14:30 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 12 Oct 1993 14:30:12 +0000 (14:30 +0000)
lib/gethostname.c
lib/getugroups.c
lib/getusershell.c
lib/putenv.c
lib/stime.c
lib/strcspn.c
lib/strftime.c
lib/strtod.c

index fe78dbb4a4c28c02d69d7dc54d947454e5d19c45..a7a271b33b83c7646275fb763a2ea724b41fd180 100644 (file)
 
 /* David MacKenzie <djm@gnu.ai.mit.edu> */
 
+#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
+
 #ifdef HAVE_UNAME
 #include <sys/utsname.h>
 #endif
index dab04a0cf4457205bd8829c7ceb47b7b756d1d1b..f7d3d00351fbf9d7ced428ddbff2cfa0d598c775 100644 (file)
 
 /* Written by David MacKenzie. */
 
+#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 <sys/types.h>
 #include <grp.h>
 
index 1dee6e7ab8a782bc789e088b80888bd61387018d..2607535f23ba39e98ac0a9b9e1d1283ee75e9fe0 100644 (file)
 
 /* Written by David MacKenzie <djm@gnu.ai.mit.edu> */
 
+#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
+
 #ifndef SHELLS_FILE
 /* File containing a list of nonrestricted shells, one per line. */
 #define SHELLS_FILE "/etc/shells"
index c39d1b71e1d655b6156d4a04af7c79e80a02aa91..573e62478bd1caeb0ab36a2826bf673395b2b06f 100644 (file)
@@ -16,6 +16,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
+
 #include <sys/types.h>
 #include <errno.h>
 
index e647953872f4d4061285ed2e94888e3e538254a4..185c753d9b3f7cc2ff1892d45e57f9073825194c 100644 (file)
 
 /* David MacKenzie <djm@ai.mit.edu> */
 
+#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 <sys/types.h>
 #include <sys/time.h>
 
index ea61aa120411e12665889c4d5dfc9fff7d136539..ea1bbbc34fdb4ed1a48f618c25e7519fea325068 100644 (file)
@@ -16,6 +16,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
+
 char *index ();
 
 /* Return the length of the maximum inital segment of S
index cfd41adbee8ba1a6c94d4a570df30e7ff70d3aca..569a3d448e504bca02e6b5db42721eaf747bb82b 100644 (file)
 
    David MacKenzie <djm@gnu.ai.mit.edu> */
 
+#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 <sys/types.h>
 #if defined(TM_IN_SYS_TIME) || (!defined(HAVE_TM_ZONE) && !defined(HAVE_TZNAME))
 #include <sys/time.h>
index 1b8e5b54424f467ccad1840d816d6afd2ffa108d..d2897536869a6b2fa59621f44bbcd4aac7543fa0 100644 (file)
@@ -16,6 +16,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
+
 #include <errno.h>
 #include <ctype.h>
 #include <math.h>