summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/os
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1996-05-11 14:13:50 +0000
committerEzra Peisach <epeisach@mit.edu>1996-05-11 14:13:50 +0000
commit5709aed2057d9bdac636b014b55265f44b5de831 (patch)
tree7aa1ffdf6818e19f9aec38b076b2d140808cb6a2 /src/lib/krb5/os
parent31d8e077d14fc40956b1234dc8a51cfd89124fad (diff)
downloadkrb5-5709aed2057d9bdac636b014b55265f44b5de831.tar.gz
krb5-5709aed2057d9bdac636b014b55265f44b5de831.tar.xz
krb5-5709aed2057d9bdac636b014b55265f44b5de831.zip
configure.in: Need to include sys/types.h before regexp.h in test to
see if regcomp works. NetBSD required this so that size_t is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7978 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/os')
-rw-r--r--src/lib/krb5/os/ChangeLog6
-rw-r--r--src/lib/krb5/os/configure.in2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog
index c2b4f96f74..bd007d9f1b 100644
--- a/src/lib/krb5/os/ChangeLog
+++ b/src/lib/krb5/os/ChangeLog
@@ -1,3 +1,9 @@
+Sat May 11 10:08:15 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * configure.in: Need to include sys/types.h before regexp.h in
+ test to see if regcomp works.
+ Add V5_USE_SHARED_LIB for the tests that are built.
+
Tue Apr 30 17:51:47 1996 Ken Raeburn <raeburn@cygnus.com>
* configure.in: Test that regcomp actually works.
diff --git a/src/lib/krb5/os/configure.in b/src/lib/krb5/os/configure.in
index b7f52f4977..d6753de57e 100644
--- a/src/lib/krb5/os/configure.in
+++ b/src/lib/krb5/os/configure.in
@@ -10,6 +10,7 @@ AC_C_CROSS
AC_MSG_CHECKING(for working regcomp)
AC_CACHE_VAL(ac_cv_func_regcomp,[
AC_TRY_RUN([
+#include <sys/types.h>
#include <regex.h>
regex_t x; regmatch_t m;
int main() { return regcomp(&x,"pat.*",0) || regexec(&x,"pattern",1,&m,0); }
@@ -23,6 +24,7 @@ HAS_ANSI_VOLATILE
AC_DEFINE(AN_TO_LN_RULES)
USE_ANAME
V5_SHARED_LIB_OBJS
+V5_USE_SHARED_LIB
KRB5_LIBRARIES
KRB5_RUN_FLAGS
SubdirLibraryRule([${OBJS}])