- fix: broken glob test with empty build directory (Geoff Keating).
authorjbj <devnull@localhost>
Sat, 17 Jun 2000 04:36:15 +0000 (04:36 +0000)
committerjbj <devnull@localhost>
Sat, 17 Jun 2000 04:36:15 +0000 (04:36 +0000)
CVS patchset: 3860
CVS date: 2000/06/17 04:36:15

CHANGES
configure.in

diff --git a/CHANGES b/CHANGES
index 9c3ff6e..8bfbdd7 100644 (file)
--- a/CHANGES
+++ b/CHANGES
        - fix: permit '\0' as special case key (e.g. "/" in Basenames).
 
 3.0.4 -> 3.0.5
+       - handle version 4 packaging as input.
        - builds against bzip2 1.0
        - fix: resurrect symlink unique'ifying property of finger prints.
+       - fix: broken glob test with empty build directory (Geoff Keating).
        
 3.0.3 -> 3.0.4
        - use compressed filenames on install side.
index 709113c..8530f2f 100644 (file)
@@ -693,6 +693,9 @@ AC_ARG_WITH(glob, [  --with-glob             use the internal GNU glob ],
 
 if test $rpm_cv_glob = no ; then
     AC_MSG_CHECKING(for GNU extensions to glob)
+    mkdir t
+    mkdir t/p
+    touch t/p/foo.8
     AC_TRY_RUN([
 #include <unistd.h>
 #include <sys/stat.h>
@@ -700,9 +703,10 @@ if test $rpm_cv_glob = no ; then
 main() {
   glob_t gl ;
   gl.gl_stat = stat;
-  exit(glob("doc/*/*.8", GLOB_PERIOD, NULL, &gl) || gl.gl_pathc < 1);
+  exit(glob("t/*/*.8", GLOB_PERIOD, NULL, &gl) || gl.gl_pathc < 1);
 } ],
     rpm_cv_glob_ext=yes, rpm_cv_glob_ext=no, rpm_cv_glob_ext=no)
+    rm -r t
     AC_MSG_RESULT([$rpm_cv_glob_ext])
     if test $rpm_cv_glob_ext = no ; then
            echo "    --> using the included GNU glob instead." >&AC_FD_MSG