diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/chgrp.c | 11 | ||||
-rw-r--r-- | src/chmod.c | 11 | ||||
-rw-r--r-- | src/chown.c | 11 | ||||
-rw-r--r-- | src/cp.c | 12 | ||||
-rw-r--r-- | src/dd.c | 11 | ||||
-rw-r--r-- | src/df.c | 11 | ||||
-rw-r--r-- | src/du.c | 12 | ||||
-rw-r--r-- | src/install.c | 11 | ||||
-rw-r--r-- | src/ln.c | 12 | ||||
-rw-r--r-- | src/ls.c | 12 | ||||
-rw-r--r-- | src/mkdir.c | 11 | ||||
-rw-r--r-- | src/mkfifo.c | 11 | ||||
-rw-r--r-- | src/mknod.c | 11 | ||||
-rw-r--r-- | src/mv.c | 12 | ||||
-rw-r--r-- | src/rm.c | 11 | ||||
-rw-r--r-- | src/rmdir.c | 11 | ||||
-rw-r--r-- | src/touch.c | 11 |
17 files changed, 192 insertions, 0 deletions
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 <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 <stdio.h> #include <ctype.h> #include <sys/types.h> 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 <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 <stdio.h> #include <getopt.h> #include <sys/types.h> 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 <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 <stdio.h> #include <ctype.h> #include <sys/types.h> @@ -20,6 +20,18 @@ #ifdef _AIX #pragma alloca #endif + +#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 <getopt.h> #include "cp.h" @@ -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 <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 <ctype.h> @@ -32,6 +32,17 @@ 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 + #include <stdio.h> #include <sys/types.h> #include <getopt.h> @@ -39,6 +39,18 @@ #ifdef _AIX #pragma alloca #endif + +#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 <getopt.h> #include <sys/types.h> 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 <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 <stdio.h> #include <getopt.h> #include <ctype.h> @@ -20,6 +20,18 @@ #ifdef _AIX #pragma alloca #endif + +#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 <sys/types.h> #include <getopt.h> @@ -35,6 +35,18 @@ #ifdef _AIX #pragma alloca #endif + +#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(_POSIX_SOURCE) || defined(_AIX) #include <sys/ioctl.h> 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 <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 <stdio.h> #include <getopt.h> #include <sys/types.h> 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 <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 <stdio.h> #include <getopt.h> #include <sys/types.h> 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 <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 <stdio.h> #include <getopt.h> #include <sys/types.h> @@ -40,6 +40,18 @@ #ifdef _AIX #pragma alloca #endif + +#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 <getopt.h> #include <sys/types.h> @@ -17,6 +17,17 @@ /* Written by Paul Rubin, David MacKenzie, and Richard Stallman. */ +#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 <getopt.h> #include <sys/types.h> 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 <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 <stdio.h> #include <getopt.h> #include <sys/types.h> 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 <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 <ctype.h> #include <getopt.h> |