diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/basename.c | 11 | ||||
-rw-r--r-- | src/date.c | 11 | ||||
-rw-r--r-- | src/dirname.c | 11 | ||||
-rw-r--r-- | src/echo.c | 11 | ||||
-rw-r--r-- | src/env.c | 11 | ||||
-rw-r--r-- | src/expr.c | 11 | ||||
-rw-r--r-- | src/id.c | 11 | ||||
-rw-r--r-- | src/logname.c | 11 | ||||
-rw-r--r-- | src/nice.c | 11 | ||||
-rw-r--r-- | src/pathchk.c | 11 | ||||
-rw-r--r-- | src/printf.c | 11 | ||||
-rw-r--r-- | src/sleep.c | 11 | ||||
-rw-r--r-- | src/stty.c | 11 | ||||
-rw-r--r-- | src/su.c | 11 | ||||
-rw-r--r-- | src/tee.c | 11 | ||||
-rw-r--r-- | src/test.c | 11 | ||||
-rw-r--r-- | src/tty.c | 11 | ||||
-rw-r--r-- | src/uname.c | 11 | ||||
-rw-r--r-- | src/who.c | 11 |
19 files changed, 209 insertions, 0 deletions
diff --git a/src/basename.c b/src/basename.c index ec8cd5a4e..75518e830 100644 --- a/src/basename.c +++ b/src/basename.c @@ -25,6 +25,17 @@ basename functions.lisp p => functions.lis */ +#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> diff --git a/src/date.c b/src/date.c index b80c47fe3..c31c344ec 100644 --- a/src/date.c +++ b/src/date.c @@ -39,6 +39,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/dirname.c b/src/dirname.c index a4209c89a..b6b46d738 100644 --- a/src/dirname.c +++ b/src/dirname.c @@ -17,6 +17,17 @@ /* Written by David MacKenzie and Jim Meyering. */ +#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> diff --git a/src/echo.c b/src/echo.c index 2e27abe63..ab0779eae 100644 --- a/src/echo.c +++ b/src/echo.c @@ -17,6 +17,17 @@ You should have received a copy of the GNU General Public License along with Bash; see the file COPYING. If not, write to the Free Software Foundation, 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 <stdio.h> #include <sys/types.h> #include "system.h" @@ -77,6 +77,17 @@ { LOGNAME=foo PATH=/energy } */ +#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/expr.c b/src/expr.c index 97f7b39d8..221f5dd72 100644 --- a/src/expr.c +++ b/src/expr.c @@ -28,6 +28,17 @@ Define EVAL_TRACE to print an evaluation trace. */ +#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> @@ -18,6 +18,17 @@ /* Written by Arnold Robbins, arnold@audiofax.com. Major rewrite 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 <getopt.h> #include <sys/types.h> diff --git a/src/logname.c b/src/logname.c index 82c49feef..9a95bceee 100644 --- a/src/logname.c +++ b/src/logname.c @@ -15,6 +15,17 @@ along with this program; 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 <stdio.h> #include <sys/types.h> #include <getopt.h> diff --git a/src/nice.c b/src/nice.c index 28e68d9f5..3cdc073f0 100644 --- a/src/nice.c +++ b/src/nice.c @@ -17,6 +17,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/pathchk.c b/src/pathchk.c index e6da04ea2..ee14ffc4e 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -38,6 +38,17 @@ David MacKenzie <djm@gnu.ai.mit.edu> and Jim Meyering <meyering@cs.utexas.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/printf.c b/src/printf.c index e1bd4d3ab..3781eff44 100644 --- a/src/printf.c +++ b/src/printf.c @@ -43,6 +43,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 <ctype.h> #include <sys/types.h> diff --git a/src/sleep.c b/src/sleep.c index 2858ff42f..f599a13c0 100644 --- a/src/sleep.c +++ b/src/sleep.c @@ -15,6 +15,17 @@ along with this program; 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 <stdio.h> #include <sys/types.h> #include <getopt.h> diff --git a/src/stty.c b/src/stty.c index ea764ac33..4f97981ae 100644 --- a/src/stty.c +++ b/src/stty.c @@ -27,6 +27,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 <sys/types.h> #include <termios.h> @@ -69,6 +69,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 <getopt.h> #include <sys/types.h> @@ -17,6 +17,17 @@ /* Mike Parker, Richard M. Stallman, and 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 <stdio.h> #include <sys/types.h> #include <signal.h> diff --git a/src/test.c b/src/test.c index d905c63e6..658a30f29 100644 --- a/src/test.c +++ b/src/test.c @@ -24,6 +24,17 @@ the shell builtin version. */ /* #define TEST_STANDALONE */ +#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> @@ -22,6 +22,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 <getopt.h> #include <sys/types.h> diff --git a/src/uname.c b/src/uname.c index 366e1e34a..236e0d557 100644 --- a/src/uname.c +++ b/src/uname.c @@ -28,6 +28,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 <sys/types.h> #include <sys/utsname.h> @@ -32,6 +32,17 @@ -H Print column headings at top. -w, -T -s plus mesg (+ or -, or ? if bad line). */ +#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 <utmp.h> |