summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>1998-11-16 01:12:36 +0000
committerJohn Terpstra <jht@samba.org>1998-11-16 01:12:36 +0000
commit5f7d9d4656eb501e14b98f4ae1990a791c7901e3 (patch)
tree42e4476fab549efe1e395f4ae2050a7de99e47be
parentd9d44d98ec719b7fc6d5b0fc35bf8727f4cd0372 (diff)
downloadsamba-5f7d9d4656eb501e14b98f4ae1990a791c7901e3.tar.gz
samba-5f7d9d4656eb501e14b98f4ae1990a791c7901e3.tar.xz
samba-5f7d9d4656eb501e14b98f4ae1990a791c7901e3.zip
Updates to handle glob.h - was causing problems on SCO 5.0.4
-rwxr-xr-xsource/configure2
-rw-r--r--source/configure.in2
-rw-r--r--source/include/config.h.in3
-rw-r--r--source/include/includes.h2
4 files changed, 6 insertions, 3 deletions
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 <fcntl.h> header file. */
#undef HAVE_FCNTL_H
+/* Define if you have the <glob.h> header file. */
+#undef HAVE_GLOB_H
+
/* Define if you have the <grp.h> 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 <glob.h>
#endif