configure.in: Need to include sys/types.h before regexp.h in test to
authorEzra Peisach <epeisach@mit.edu>
Sat, 11 May 1996 14:13:50 +0000 (14:13 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sat, 11 May 1996 14:13:50 +0000 (14:13 +0000)
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

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/configure.in

index c2b4f96f745461a20adcebd286a57b3a644c4de2..bd007d9f1ba915d32be39ee2c70169483849792e 100644 (file)
@@ -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.
index b7f52f497780e99d7e87a532744a23431da63868..d6753de57e9bfc46c3be36646007fb1828135c89 100644 (file)
@@ -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}])