X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fglob;h=b4614bde3c19cead2170875955e54e07fa8a992b;hb=73a7366830e5475e99f01e2723615b0283886e8f;hp=6d6f71cabd73b9fc14f7d1482990cc5862c39502;hpb=d1aadab21bf8755e0fb75a838dc650e73f6ee78d;p=gnulib.git diff --git a/modules/glob b/modules/glob index 6d6f71cab..b4614bde3 100644 --- a/modules/glob +++ b/modules/glob @@ -15,9 +15,9 @@ extensions fnmatch getlogin_r mempcpy -stat-macros stdbool strdup +sys_stat unistd configure.ac: @@ -25,15 +25,14 @@ gl_GLOB Makefile.am: BUILT_SOURCES += $(GLOB_H) -EXTRA_DIST += glob_.h glob-libc.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. glob.h: glob_.h - rm -f $@-t $@ - cp $(srcdir)/glob_.h $@-t - chmod a-x $@-t - mv $@-t $@ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/glob_.h; \ + } > $@-t + mv -f $@-t $@ MOSTLYCLEANFILES += glob.h glob.h-t Include: