summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2011-10-13 10:33:45 (UTC)
committer Michael Krelin <hacker@klever.net>2011-10-13 19:57:44 (UTC)
commit250d8adf52a71b6a9a7f678d2432cdb64ae5c4c7 (patch) (unidiff)
treea20f43bec4e974e4911a98ec709e502855b2b2df
parent398a2173290b3db2a7026dd0c1cb4d742c4c7b4a (diff)
downloadiii-250d8adf52a71b6a9a7f678d2432cdb64ae5c4c7.zip
iii-250d8adf52a71b6a9a7f678d2432cdb64ae5c4c7.tar.gz
iii-250d8adf52a71b6a9a7f678d2432cdb64ae5c4c7.tar.bz2
version bump
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f79983e..99d668d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,75 +1,75 @@
1AC_INIT([iii], [0.2], [iii-bugs@klever.net]) 1AC_INIT([iii], [0.2.1], [iii-bugs@klever.net])
2AC_CONFIG_SRCDIR([src/iiid.cc]) 2AC_CONFIG_SRCDIR([src/iiid.cc])
3AC_CONFIG_HEADERS([config.h]) 3AC_CONFIG_HEADERS([config.h])
4AM_INIT_AUTOMAKE([dist-bzip2]) 4AM_INIT_AUTOMAKE([dist-bzip2])
5 5
6AC_PROG_INSTALL 6AC_PROG_INSTALL
7AC_PROG_CXX 7AC_PROG_CXX
8AC_PROG_CC 8AC_PROG_CC
9PKG_PROG_PKG_CONFIG 9PKG_PROG_PKG_CONFIG
10 10
11AC_HEADER_STDC 11AC_HEADER_STDC
12 12
13AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) 13AC_PATH_PROG([XSLTPROC],[xsltproc],[true])
14 14
15PKG_CHECK_MODULES([MODULES],[gsoap++ libcrypto libconfuse]) 15PKG_CHECK_MODULES([MODULES],[gsoap++ libcrypto libconfuse])
16PKG_CHECK_MODULES([UUID],[uuid],[have_uuid=true],[have_uuid=false]) 16PKG_CHECK_MODULES([UUID],[uuid],[have_uuid=true],[have_uuid=false])
17AM_CONDITIONAL([HAVE_UUID],[$have_uuid]) 17AM_CONDITIONAL([HAVE_UUID],[$have_uuid])
18if $have_uuid ; then 18if $have_uuid ; then
19 AC_DEFINE([HAVE_LIBUUID],,[defined in presence of libuuid]) 19 AC_DEFINE([HAVE_LIBUUID],,[defined in presence of libuuid])
20 AC_SUBST([UUID_UUID],[uuid]) 20 AC_SUBST([UUID_UUID],[uuid])
21fi 21fi
22 22
23AC_PATH_PROG([SOAPCPP2],[soapcpp2],[false]) 23AC_PATH_PROG([SOAPCPP2],[soapcpp2],[false])
24test "$SOAPCPP2" = "false" && AC_MSG_ERROR([no soapcpp2 tool, part of gsoap package, found.]) 24test "$SOAPCPP2" = "false" && AC_MSG_ERROR([no soapcpp2 tool, part of gsoap package, found.])
25 25
26notfound=false 26notfound=false
27AC_CHECK_HEADERS([archive.h],[ 27AC_CHECK_HEADERS([archive.h],[
28 AC_CHECK_LIB([archive],[archive_read_new],,[notfound=true]) 28 AC_CHECK_LIB([archive],[archive_read_new],,[notfound=true])
29],[notfound=true]) 29],[notfound=true])
30$notfound && AC_MSG_ERROR([no required libarchive library found. get one from http://people.freebsd.org/~kientzle/libarchive/]) 30$notfound && AC_MSG_ERROR([no required libarchive library found. get one from http://people.freebsd.org/~kientzle/libarchive/])
31 31
32notfound=false 32notfound=false
33AC_LANG_PUSH([C++]) 33AC_LANG_PUSH([C++])
34AC_CHECK_HEADERS([autosprintf.h],[ 34AC_CHECK_HEADERS([autosprintf.h],[
35 AC_CHECK_LIB([asprintf],[main],,[notfound=true]) 35 AC_CHECK_LIB([asprintf],[main],,[notfound=true])
36],[notfound=true]) 36],[notfound=true])
37$notfound && AC_MSG_ERROR([no autosprintf, part of gettext, found]) 37$notfound && AC_MSG_ERROR([no autosprintf, part of gettext, found])
38AC_LANG_POP([C++]) 38AC_LANG_POP([C++])
39 39
40nitpick=false 40nitpick=false
41AC_ARG_ENABLE([nitpicking], 41AC_ARG_ENABLE([nitpicking],
42 AC_HELP_STRING([--enable-nitpicking],[make compiler somewhat overly fastidious about the code it deals with]), 42 AC_HELP_STRING([--enable-nitpicking],[make compiler somewhat overly fastidious about the code it deals with]),
43 [ test "$enableval" = "no" || nitpick=true ] 43 [ test "$enableval" = "no" || nitpick=true ]
44) 44)
45if $nitpick ; then 45if $nitpick ; then
46 CPP_NITPICK="-pedantic -Wall -Wextra -Wundef -Wshadow \ 46 CPP_NITPICK="-pedantic -Wall -Wextra -Wundef -Wshadow \
47 -Wunsafe-loop-optimizations -Wconversion -Wmissing-format-attribute \ 47 -Wunsafe-loop-optimizations -Wconversion -Wmissing-format-attribute \
48 -Wredundant-decls -ansi -Wlogical-op -Wmissing-noreturn" 48 -Wredundant-decls -ansi -Wlogical-op -Wmissing-noreturn"
49 C_NITPICK="$CPP_NITPICK" 49 C_NITPICK="$CPP_NITPICK"
50 CXX_NITPICK="$C_NITPICK" 50 CXX_NITPICK="$C_NITPICK"
51 51
52 CPPFLAGS="$CPPFLAGS $CPP_NITPICK" 52 CPPFLAGS="$CPPFLAGS $CPP_NITPICK"
53 CFLAGS="$CFLAGS $C_NITPICK" 53 CFLAGS="$CFLAGS $C_NITPICK"
54 CXXFLAGS="$CXXFLAGS $CXX_NITPICK" 54 CXXFLAGS="$CXXFLAGS $CXX_NITPICK"
55fi 55fi
56 56
57ndebug=true 57ndebug=true
58AC_ARG_ENABLE([debug], 58AC_ARG_ENABLE([debug],
59 AC_HELP_STRING([--enable-debug],[enable debugging code]), 59 AC_HELP_STRING([--enable-debug],[enable debugging code]),
60 [ test "$enableval" = "no" || ndebug=false ] 60 [ test "$enableval" = "no" || ndebug=false ]
61) 61)
62if $ndebug ; then 62if $ndebug ; then
63 CPPFLAGS_DEBUG="-DNDEBUG" 63 CPPFLAGS_DEBUG="-DNDEBUG"
64else 64else
65 CPPFLAGS_DEBUG="-DDEBUG" 65 CPPFLAGS_DEBUG="-DDEBUG"
66fi 66fi
67AC_SUBST([CPPFLAGS_DEBUG]) 67AC_SUBST([CPPFLAGS_DEBUG])
68 68
69AC_CONFIG_FILES([ 69AC_CONFIG_FILES([
70 Makefile 70 Makefile
71 src/Makefile 71 src/Makefile
72 doc/Makefile 72 doc/Makefile
73 doc/iiid.8 73 doc/iiid.8
74]) 74])
75AC_OUTPUT 75AC_OUTPUT