summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-10-12 20:12:59 +0000
committerJim Meyering <jim@meyering.net>1993-10-12 20:12:59 +0000
commitab94b6c3c2050099000d34d7f11ebc83e14ff8e6 (patch)
tree2430653dc1a751811827dd0b1145ed225fffd81d
parent652deb17b199f2bcd3bc19008b728634d640075f (diff)
downloadgnulib-ab94b6c3c2050099000d34d7f11ebc83e14ff8e6.tar.gz
GNU file utilitiesFILEUTILS-3_8_4f
-rw-r--r--lib/Makefile.in8
-rw-r--r--lib/argmatch.c4
-rw-r--r--lib/backupfile.c4
-rw-r--r--lib/dirname.c4
-rw-r--r--lib/fileblocks.c4
-rw-r--r--lib/fnmatch.c4
-rw-r--r--lib/fsusage.c4
-rw-r--r--lib/ftruncate.c4
-rw-r--r--lib/getversion.c4
-rw-r--r--lib/idcache.c4
-rw-r--r--lib/isdir.c4
-rw-r--r--lib/makepath.c4
-rw-r--r--lib/mkdir.c4
-rw-r--r--lib/modechange.c4
-rw-r--r--lib/mountlist.c4
-rw-r--r--lib/rename.c4
-rw-r--r--lib/savedir.c4
-rw-r--r--lib/strdup.c4
-rw-r--r--lib/stripslash.c4
-rw-r--r--lib/userspec.c4
-rw-r--r--lib/xstrdup.c4
-rw-r--r--lib/yesno.c4
22 files changed, 48 insertions, 44 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in
index d240f568e5..8728ebdbad 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -23,7 +23,7 @@ VPATH = @srcdir@
CC = @CC@
AR = ar
RANLIB = @RANLIB@
-DEFS = -DMVDIR="\"$(libdir)/mvdir\"" @DEFS@
+DEFS = -DCONFIG_BROKETS @DEFS@
CFLAGS = @CFLAGS@
YACC = @YACC@
@@ -105,7 +105,11 @@ posixtm.c: posixtm.y getdate.c
mv tposixtm.c posixtm.c
rm -f posixtm.tab.c
-$(OBJECTS): config.h
+rename.o: rename.c
+ $(CC) -c $(CPPFLAGS) -DMVDIR="\"$(libdir)/mvdir\"" $(DEFS) \
+ -I.. -I$(srcdir) $(CFLAGS) $(srcdir)/rename.c
+
+$(OBJECTS): $(srcdir)/../config.h
backupfile.o getversion.o: backupfile.h
fnmatch.o: fnmatch.h
diff --git a/lib/argmatch.c b/lib/argmatch.c
index 1994c935aa..17e088b7e8 100644
--- a/lib/argmatch.c
+++ b/lib/argmatch.c
@@ -20,8 +20,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/backupfile.c b/lib/backupfile.c
index cb94429038..e6956ee2ae 100644
--- a/lib/backupfile.c
+++ b/lib/backupfile.c
@@ -21,8 +21,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/dirname.c b/lib/dirname.c
index 8e365ed928..cb53eb406d 100644
--- a/lib/dirname.c
+++ b/lib/dirname.c
@@ -18,8 +18,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/fileblocks.c b/lib/fileblocks.c
index fad39de13c..4c03a1782c 100644
--- a/lib/fileblocks.c
+++ b/lib/fileblocks.c
@@ -20,8 +20,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/fnmatch.c b/lib/fnmatch.c
index 863b25e9e9..df1706cc0c 100644
--- a/lib/fnmatch.c
+++ b/lib/fnmatch.c
@@ -18,8 +18,8 @@ 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 will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/fsusage.c b/lib/fsusage.c
index 7f7a4a7cd8..96860ebc51 100644
--- a/lib/fsusage.c
+++ b/lib/fsusage.c
@@ -18,8 +18,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/ftruncate.c b/lib/ftruncate.c
index 3bf53fa89f..bfd0ae5bf2 100644
--- a/lib/ftruncate.c
+++ b/lib/ftruncate.c
@@ -4,8 +4,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/getversion.c b/lib/getversion.c
index 0784edad96..78fda75404 100644
--- a/lib/getversion.c
+++ b/lib/getversion.c
@@ -20,8 +20,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/idcache.c b/lib/idcache.c
index ff52e0e75c..bafae7483e 100644
--- a/lib/idcache.c
+++ b/lib/idcache.c
@@ -18,8 +18,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/isdir.c b/lib/isdir.c
index 76b79829d5..2c75bec9bd 100644
--- a/lib/isdir.c
+++ b/lib/isdir.c
@@ -18,8 +18,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/makepath.c b/lib/makepath.c
index 9e70ed72c6..bb6a09c12c 100644
--- a/lib/makepath.c
+++ b/lib/makepath.c
@@ -21,8 +21,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/mkdir.c b/lib/mkdir.c
index a5f6230344..28c8932653 100644
--- a/lib/mkdir.c
+++ b/lib/mkdir.c
@@ -18,8 +18,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/modechange.c b/lib/modechange.c
index 6b3c88e240..448ea7b005 100644
--- a/lib/modechange.c
+++ b/lib/modechange.c
@@ -27,8 +27,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/mountlist.c b/lib/mountlist.c
index d68cf8dcee..aaf28ea79c 100644
--- a/lib/mountlist.c
+++ b/lib/mountlist.c
@@ -18,8 +18,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/rename.c b/lib/rename.c
index ca778e9abe..1502436f05 100644
--- a/lib/rename.c
+++ b/lib/rename.c
@@ -18,8 +18,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/savedir.c b/lib/savedir.c
index 378fb4774c..7080c8ecc1 100644
--- a/lib/savedir.c
+++ b/lib/savedir.c
@@ -20,8 +20,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/strdup.c b/lib/strdup.c
index 40b2df6037..cc0db6f6ae 100644
--- a/lib/strdup.c
+++ b/lib/strdup.c
@@ -18,8 +18,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/stripslash.c b/lib/stripslash.c
index bccbdeb0a2..5f40364110 100644
--- a/lib/stripslash.c
+++ b/lib/stripslash.c
@@ -18,8 +18,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/userspec.c b/lib/userspec.c
index 8c1e9ec8ea..fc93267f83 100644
--- a/lib/userspec.c
+++ b/lib/userspec.c
@@ -20,8 +20,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/xstrdup.c b/lib/xstrdup.c
index d422fcaddf..4c5749e02d 100644
--- a/lib/xstrdup.c
+++ b/lib/xstrdup.c
@@ -18,8 +18,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"
diff --git a/lib/yesno.c b/lib/yesno.c
index 6eca9dd598..5e413ec071 100644
--- a/lib/yesno.c
+++ b/lib/yesno.c
@@ -18,8 +18,8 @@
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I will use ./config.h rather than /config.h
- (which it would do because it found this file in ). */
+ 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"