maint.mk: restore functionality removed by recent change
[gnulib.git] / modules / glob
index db5410b..cef81cc 100644 (file)
@@ -9,17 +9,21 @@ lib/glob.c
 m4/glob.m4
 
 Depends-on:
-arg-nonnull
-c++defs
 extensions
-warn-on-use
+largefile
+snippet/arg-nonnull
+snippet/c++defs
+snippet/warn-on-use
 alloca          [test -n "$GLOB_H"]
+closedir        [test -n "$GLOB_H"]
 d-type          [test -n "$GLOB_H"]
 dirfd           [test -n "$GLOB_H"]
 fnmatch         [test -n "$GLOB_H"]
 getlogin_r      [test -n "$GLOB_H"]
 memchr          [test -n "$GLOB_H"]
 mempcpy         [test -n "$GLOB_H"]
+opendir         [test -n "$GLOB_H"]
+readdir         [test -n "$GLOB_H"]
 stdbool         [test -n "$GLOB_H"]
 strdup          [test -n "$GLOB_H"]
 sys_stat        [test -n "$GLOB_H"]
@@ -28,6 +32,10 @@ malloc-posix    [test -n "$GLOB_H"]
 
 configure.ac:
 gl_GLOB
+if test -n "$GLOB_H"; then
+  AC_LIBOBJ([glob])
+  gl_PREREQ_GLOB
+fi
 
 Makefile.am:
 BUILT_SOURCES += $(GLOB_H)