From f2080b7714a4dc451a40c9ba12d4c6125a1e69f5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 6 Oct 1993 16:44:26 +0000 Subject: merge with 3.8.3b --- src/chgrp.c | 11 +++++++++++ src/chmod.c | 11 +++++++++++ src/chown.c | 11 +++++++++++ src/cp.c | 12 ++++++++++++ src/dd.c | 11 +++++++++++ src/df.c | 11 +++++++++++ src/du.c | 12 ++++++++++++ src/install.c | 11 +++++++++++ src/ln.c | 12 ++++++++++++ src/ls.c | 12 ++++++++++++ src/mkdir.c | 11 +++++++++++ src/mkfifo.c | 11 +++++++++++ src/mknod.c | 11 +++++++++++ src/mv.c | 12 ++++++++++++ src/rm.c | 11 +++++++++++ src/rmdir.c | 11 +++++++++++ src/touch.c | 11 +++++++++++ 17 files changed, 192 insertions(+) (limited to 'src') diff --git a/src/chgrp.c b/src/chgrp.c index 6a6737a03..ca66a595c 100644 --- a/src/chgrp.c +++ b/src/chgrp.c @@ -17,6 +17,17 @@ /* Written by David MacKenzie . */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/chmod.c b/src/chmod.c index eb3316c0e..511e3e22a 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -23,6 +23,17 @@ David MacKenzie */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/chown.c b/src/chown.c index 6c9678137..c295f5816 100644 --- a/src/chown.c +++ b/src/chown.c @@ -28,6 +28,17 @@ Written by David MacKenzie . */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/cp.c b/src/cp.c index f0a5ce529..c1ae72c84 100644 --- a/src/cp.c +++ b/src/cp.c @@ -20,6 +20,18 @@ #ifdef _AIX #pragma alloca #endif + +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include "cp.h" diff --git a/src/dd.c b/src/dd.c index fd1091488..9ff4cf993 100644 --- a/src/dd.c +++ b/src/dd.c @@ -53,6 +53,17 @@ sync Pad every input block to size of ibs with trailing NULs. */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include diff --git a/src/df.c b/src/df.c index 35b1896aa..7b779258f 100644 --- a/src/df.c +++ b/src/df.c @@ -32,6 +32,17 @@ Written by David MacKenzie */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/du.c b/src/du.c index 4ea63f336..5f538ec7f 100644 --- a/src/du.c +++ b/src/du.c @@ -39,6 +39,18 @@ #ifdef _AIX #pragma alloca #endif + +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/install.c b/src/install.c index 31a15dd1b..075620085 100644 --- a/src/install.c +++ b/src/install.c @@ -52,6 +52,17 @@ David MacKenzie */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/ln.c b/src/ln.c index f8cf11e52..8e96eb848 100644 --- a/src/ln.c +++ b/src/ln.c @@ -20,6 +20,18 @@ #ifdef _AIX #pragma alloca #endif + +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/ls.c b/src/ls.c index 947e1b5b8..9db617448 100644 --- a/src/ls.c +++ b/src/ls.c @@ -35,6 +35,18 @@ #ifdef _AIX #pragma alloca #endif + +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #if !defined(_POSIX_SOURCE) || defined(_AIX) #include diff --git a/src/mkdir.c b/src/mkdir.c index f5d89b7f3..1167c1a2e 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -27,6 +27,17 @@ David MacKenzie */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/mkfifo.c b/src/mkfifo.c index 4b16d1254..c15f740e6 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -22,6 +22,17 @@ David MacKenzie */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/mknod.c b/src/mknod.c index 74efa86b2..702435186 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -27,6 +27,17 @@ David MacKenzie */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/mv.c b/src/mv.c index 5029c7a76..a5d22eb8e 100644 --- a/src/mv.c +++ b/src/mv.c @@ -40,6 +40,18 @@ #ifdef _AIX #pragma alloca #endif + +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/rm.c b/src/rm.c index 2bd8db4ce..b20950f78 100644 --- a/src/rm.c +++ b/src/rm.c @@ -17,6 +17,17 @@ /* Written by Paul Rubin, David MacKenzie, and Richard Stallman. */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/rmdir.c b/src/rmdir.c index 7c497b4b9..ac4c88c50 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -22,6 +22,17 @@ David MacKenzie */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include diff --git a/src/touch.c b/src/touch.c index 152a27e84..dc1d06f95 100644 --- a/src/touch.c +++ b/src/touch.c @@ -32,6 +32,17 @@ Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use 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 +#else +#include "config.h" +#endif +#endif + #include #include #include -- cgit v1.2.3-70-g09d2