diff --git a/configure.in b/configure.in index 86e828bb..c4197136 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 (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)