fclose: Remove call-in from close.m4.
[pspp] / modules / fnmatch
index 12e5906afd66839d5344e3987607594a63f529a1..a5a49f9d92b2c12c32a3904500003fd1387093ed 100644 (file)
@@ -9,8 +9,8 @@ m4/mbstate_t.m4
 m4/fnmatch.m4
 
 Depends-on:
-arg-nonnull
 extensions
+snippet/arg-nonnull
 alloca          [test -n "$FNMATCH_H"]
 stdbool         [test -n "$FNMATCH_H"]
 wchar           [test -n "$FNMATCH_H"]
@@ -22,6 +22,10 @@ mbsinit         [test -n "$FNMATCH_H"]
 
 configure.ac:
 gl_FUNC_FNMATCH_POSIX
+if test -n "$FNMATCH_H"; then
+  AC_LIBOBJ([fnmatch])
+  gl_PREREQ_FNMATCH
+fi
 
 Makefile.am:
 BUILT_SOURCES += $(FNMATCH_H)