blob: 8ea19fb50c6abdaefac561aa0c5e8c0e23294929 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
diff --git a/configure.in b/configure.in
index e1941d0..4780394 100755
--- a/configure.in
+++ b/configure.in
@@ -4,10 +4,12 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during the build
dnl to configure the system for the local environment.
-AC_INIT
-AM_INIT_AUTOMAKE(fcgi, 2.4.0)
+AC_INIT(fcgi, 2.4.0)
+AM_INIT_AUTOMAKE(1.9 foreign)
-AM_CONFIG_HEADER(fcgi_config.h)
+AC_CONFIG_HEADERS(fcgi_config.h)
+
+AM_MAINTAINER_MODE
AC_PROG_CC
AC_PROG_CPP
@@ -47,6 +49,7 @@ AC_LANG([C])
AC_CHECK_LIB([nsl], [gethostbyname])
AC_CHECK_LIB([socket], [socket])
+AC_SEARCH_LIBS(frexp, [m], [], [AC_MSG_ERROR([unable to find the frexp()]) ])
ACX_PTHREAD([THREADED=threaded${EXEEXT}])
AC_SUBST([THREADED])
|