From: John Terpstra Date: Mon, 16 Nov 1998 01:12:36 +0000 (+0000) Subject: Updates to handle glob.h - was causing problems on SCO 5.0.4 X-Git-Tag: samba-2.2.5pre1~5046 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=5f7d9d4656eb501e14b98f4ae1990a791c7901e3 Updates to handle glob.h - was causing problems on SCO 5.0.4 --- diff --git a/source/configure b/source/configure index 1978a1ddb55..0cd5e39d74e 100755 --- a/source/configure +++ b/source/configure @@ -1892,7 +1892,7 @@ else fi done -for ac_hdr in sys/acl.h sys/cdefs.h +for ac_hdr in sys/acl.h sys/cdefs.h glob.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 diff --git a/source/configure.in b/source/configure.in index 178d566c805..5030c7ffe94 100644 --- a/source/configure.in +++ b/source/configure.in @@ -39,7 +39,7 @@ AC_CHECK_HEADERS(sys/statfs.h sys/dustat.h sys/statvfs.h stdarg.h sys/sockio.h) AC_CHECK_HEADERS(shadow.h netinet/tcp.h sys/security.h security/pam_appl.h) AC_CHECK_HEADERS(stropts.h poll.h readline.h history.h readline/readline.h) AC_CHECK_HEADERS(readline/history.h sys/capability.h syscall.h sys/syscall.h) -AC_CHECK_HEADERS(sys/acl.h sys/cdefs.h) +AC_CHECK_HEADERS(sys/acl.h sys/cdefs.h glob.h) AC_CHECK_SIZEOF(int,cross) AC_CHECK_SIZEOF(long,cross) diff --git a/source/include/config.h.in b/source/include/config.h.in index 3f1df1f33b4..01bc2ee0d8d 100644 --- a/source/include/config.h.in +++ b/source/include/config.h.in @@ -594,6 +594,9 @@ /* Define if you have the header file. */ #undef HAVE_FCNTL_H +/* Define if you have the header file. */ +#undef HAVE_GLOB_H + /* Define if you have the header file. */ #undef HAVE_GRP_H diff --git a/source/include/includes.h b/source/include/includes.h index 274d3ccf249..fc718961a95 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -161,7 +161,7 @@ #endif #endif -#ifdef HAVE_GLOB +#ifdef HAVE_GLOB_H #include #endif