summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 86e828b..c419713 100644
--- a/configure.in
+++ b/configure.in
@@ -18,11 +18,16 @@ AC_HAVE_HEADERS(limits.h sys/param.h)
AC_MINUS_C_MINUS_O
AC_SUBST(LIBOBJS)
+ifdef([notdef],
+# Apparently some systems have a buggy glob function in their C library.
+# So forget them and always use ours.
AC_COMPILE_CHECK(POSIX.2 glob functions,
[#include <glob.h>],
[glob (0, 0, 0, 0);],
AC_DEFINE(HAVE_GLOB_H),
[LIBOBJS="$LIBOBJS glob/libglob.a"])
+)
+LIBOBJS="$LIBOBJS glob/libglob.a"
AC_HAVE_FUNCS(getdtablesize sys_siglist _sys_siglist \
dup2 getcwd sigsetmask getgroups setlinebuf)