summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-10-12 04:23:05 +0000
committerJim Meyering <jim@meyering.net>1993-10-12 04:23:05 +0000
commit652deb17b199f2bcd3bc19008b728634d640075f (patch)
tree0523754e8fa8e5d2ec056b479c1cca726b40417f
parent68d1d44b4798a26eb2bd6a50274f790400b8e63e (diff)
downloadgnulib-652deb17b199f2bcd3bc19008b728634d640075f.tar.gz
GNU file utilitiesFILEUTILS-3_8_4b
-rw-r--r--lib/Makefile.in4
-rw-r--r--lib/fnmatch.c7
-rw-r--r--lib/makepath.c11
3 files changed, 10 insertions, 12 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in
index cbf2bd678e..d240f568e5 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -76,7 +76,7 @@ distclean: clean
realclean: distclean
rm -f TAGS
-dist:
+dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file ../`cat ../.fname`/lib \
|| cp -p $$file ../`cat ../.fname`/lib; \
@@ -105,6 +105,8 @@ posixtm.c: posixtm.y getdate.c
mv tposixtm.c posixtm.c
rm -f posixtm.tab.c
+$(OBJECTS): config.h
+
backupfile.o getversion.o: backupfile.h
fnmatch.o: fnmatch.h
fsusage.o: fsusage.h
diff --git a/lib/fnmatch.c b/lib/fnmatch.c
index 2fb65b5216..863b25e9e9 100644
--- a/lib/fnmatch.c
+++ b/lib/fnmatch.c
@@ -16,7 +16,14 @@ 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 will use ./config.h rather than /config.h
+ (which it would do because it found this file in ). */
#include <config.h>
+#else
+#include "config.h"
+#endif
#endif
#include <errno.h>
diff --git a/lib/makepath.c b/lib/makepath.c
index be5f8c3471..9e70ed72c6 100644
--- a/lib/makepath.c
+++ b/lib/makepath.c
@@ -43,17 +43,6 @@ char *alloca ();
#endif
#endif
-#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 ). */
-#include <config.h>
-#else
-#include "config.h"
-#endif
-#endif
-
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>