aboutsummaryrefslogtreecommitdiffstats
path: root/main/fcgi/configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/fcgi/configure.patch')
-rw-r--r--main/fcgi/configure.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/fcgi/configure.patch b/main/fcgi/configure.patch
new file mode 100644
index 0000000000..8ea19fb50c
--- /dev/null
+++ b/main/fcgi/configure.patch
@@ -0,0 +1,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])