changeset 126:c74e20573782

merge with 3.8.4c
author Jim Meyering <jim@meyering.net>
date Tue, 12 Oct 1993 20:24:09 +0000
parents 539738c0b6c2
children db319931184f
files lib/Makefile.in lib/backupfile.c lib/dirname.c lib/fnmatch.c lib/fsusage.c lib/makepath.c lib/userspec.c
diffstat 7 files changed, 18 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -23,7 +23,7 @@
 CC = @CC@
 AR = ar
 RANLIB = @RANLIB@
-DEFS = -DMVDIR="\"$(libdir)/mvdir\"" @DEFS@
+DEFS = -DCONFIG_BROKETS @DEFS@
 CFLAGS = @CFLAGS@
 YACC = @YACC@
 
@@ -105,7 +105,11 @@
 	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
--- 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"
--- 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"
--- a/lib/fnmatch.c
+++ b/lib/fnmatch.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"
--- 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"
--- 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"
--- 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"