Merge remote branch 'origin/libradsec-new-client' into HEAD
[radsecproxy.git] / lib / configure.ac
index 086a4fe..0602f03 100644 (file)
@@ -1,6 +1,6 @@
 # -*- Autoconf -*- script for libradsec.
 
-AC_PREREQ([2.65])
+AC_PREREQ([2.63])
 AC_INIT([libradsec], [0.0.2.dev], [linus+libradsec@nordu.net])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_SRCDIR([radsec.c])
@@ -30,7 +30,8 @@ AM_CONDITIONAL([RS_ENABLE_TLS], [test "${enable_tls+set}" = set])
 
 # Checks for header files.
 AC_CHECK_HEADERS(
-    [netdb.h netinet/in.h stdint.h stdlib.h string.h sys/socket.h unistd.h])
+    [sys/time.h time.h netdb.h netinet/in.h stdint.h stdlib.h strings.h string.h \
+     sys/socket.h unistd.h syslog.h sys/select.h fcntl.h arpa/inet.h])
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_TYPE_SIZE_T
@@ -40,8 +41,7 @@ AC_TYPE_UINT8_T
 # Checks for library functions.
 AC_CHECK_FUNCS([memset socket strdup strerror strrchr])
 
-AC_CONFIG_FILES([Makefile
-                radius/Makefile
+AC_CONFIG_FILES([Makefile libradsec.spec radius/Makefile
                 include/Makefile
                  examples/Makefile
                  tests/Makefile])