From 29cc8b8cd7326f0e83368f16d6666db3a674ae23 Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Mon, 16 Nov 1998 01:12:36 +0000 Subject: Updates to handle glob.h - was causing problems on SCO 5.0.4 (This used to be commit 5f7d9d4656eb501e14b98f4ae1990a791c7901e3) --- source3/configure | 2 +- source3/configure.in | 2 +- source3/include/config.h.in | 3 +++ source3/include/includes.h | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/source3/configure b/source3/configure index 1978a1ddb5..0cd5e39d74 100755 --- a/source3/configure +++ b/source3/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/source3/configure.in b/source3/configure.in index 178d566c80..5030c7ffe9 100644 --- a/source3/configure.in +++ b/source3/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/source3/include/config.h.in b/source3/include/config.h.in index 3f1df1f33b..01bc2ee0d8 100644 --- a/source3/include/config.h.in +++ b/source3/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/source3/include/includes.h b/source3/include/includes.h index 274d3ccf24..fc718961a9 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -161,7 +161,7 @@ #endif #endif -#ifdef HAVE_GLOB +#ifdef HAVE_GLOB_H #include #endif -- cgit