- fix: broken glob test with empty build directory (Geoff Keating).
CVS patchset: 3860 CVS date: 2000/06/17 04:36:15
This commit is contained in:
parent
9fb2e0a01b
commit
549e0f67d1
2
CHANGES
2
CHANGES
|
@ -63,8 +63,10 @@
|
|||
- 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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue