X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=configure.in;h=44a81a5b91e42ef35ca1869ee6e5eec28b949044;hb=8590d6133f79f8701243d9a9605d5336581ab2e8;hp=5071e94642b6a5730f1c6be9703f47a6a7b0dcb1;hpb=ec387a1267f4cac7625cd5b6d1c1f080d39085b3;p=dump.git diff --git a/configure.in b/configure.in index 5071e94..44a81a5 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,3 @@ -dnl $Id: configure.in,v 1.5 1999/10/11 13:31:04 stelian Exp $ - AC_INIT(dump/dump.h) MCONFIG=./MCONFIG @@ -217,7 +215,24 @@ fi dnl dnl Check for library functions dnl -AC_CHECK_FUNCS(err errx verr verrx vwarn vwarnx warn warnx realpath glob) +AC_CHECK_FUNCS(err errx verr verrx vwarn vwarnx warn warnx realpath lchown) +AC_CHECK_FUNC(glob) + +dnl +dnl Check for GLOB_ALTDIRFUNC +dnl +if test "$ac_cv_func_glob" = "yes"; then + AC_EGREP_CPP(yes, + [ +# include +# ifdef GLOB_ALTDIRFUNC + yes +# endif + ], AC_DEFINE(HAVE_GLOB), noglob=yes) + if test "$noglob" = "yes"; then + echo "Your system does not support extended glob, will use the internal routines" + fi +fi dnl dnl Check for types