OSDN Git Service

Disable AutoReqProv to fix dependency error.
[ultramonkey-l7/sslproxy.git] / configure.ac
index 923cace..be6afaa 100644 (file)
@@ -1,10 +1,10 @@
 #                                               -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
 
-m4_define([SSLPROXY_VERSION], 1.0.1)
-m4_define([SSLPROXY_PATCHLV], 1)
+m4_define([SSLPROXY_VERSION], 1.0.2)
+m4_define([SSLPROXY_PATCHLV], 0)
 # For additional releasename (ex. m4_define([SSLPROXY_RELSUFFIX], [rc1]) for rc1)
-m4_define([SSLPROXY_RELSUFFIX], [atfix])
+m4_define([SSLPROXY_RELSUFFIX], [.rc1])
 
 AC_PREREQ(2.59)
 AC_INIT([sslproxy],
@@ -42,7 +42,7 @@ AC_CHECK_HEADERS([limits.h unistd.h])
 AC_LANG_PUSH([C++])
 AC_CHECK_HEADERS([boost/asio/ssl.hpp],,
 [AC_MSG_ERROR([sslproxy requires boost, The Boost C++ Libraries, ]dnl
-[1.36.0 or higher.  Does your system have boost headers?  ]dnl
+[1.37.0 or higher.  Does your system have boost headers?  ]dnl
 [In many linux distro, boost-devel or boost-dev package will provides you ]dnl
 [the boost headers.])])
 
@@ -64,10 +64,14 @@ AC_FUNC_MKTIME
 AC_FUNC_STRFTIME
 AC_CHECK_FUNCS([gethostname localtime_r memset])
 
+# Check gcc version.
+AC_CONFIG_COMMANDS_PRE([sslproxy_gcc_ver=`gcc -dumpversion | sed -e 's/\.//; s/\..*$//;'`])
+
 AC_SUBST(CC,g++)
 AC_SUBST(sslproxy_version, SSLPROXY_VERSION)
 AC_SUBST(sslproxy_patchlv, SSLPROXY_PATCHLV)
 AC_SUBST(sslproxy_relsuffix, SSLPROXY_RELSUFFIX)
+AC_SUBST(sslproxy_gcc_ver)
 AC_CONFIG_FILES([parameter/Makefile]
                [logger/Makefile]
                [Makefile]