-rw-r--r-- | configure.ac | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 8521a34..7fe64d1 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,38 +1,40 @@ | |||
1 | AC_INIT([dudki], [0.1], [dudki-bugs@klever.net]) | 1 | AC_INIT([dudki], [0.1], [dudki-bugs@klever.net]) |
2 | AC_CONFIG_SRCDIR([src/dudki.cc]) | 2 | AC_CONFIG_SRCDIR([src/dudki.cc]) |
3 | AC_CONFIG_HEADER([config.h]) | 3 | AC_CONFIG_HEADER([config.h]) |
4 | AM_INIT_AUTOMAKE([dist-bzip2]) | 4 | AM_INIT_AUTOMAKE([dist-bzip2]) |
5 | 5 | ||
6 | AC_PROG_CXX | 6 | AC_PROG_CXX |
7 | AC_PROG_CC | 7 | AC_PROG_CC |
8 | 8 | ||
9 | AC_HEADER_SYS_WAIT | 9 | AC_HEADER_SYS_WAIT |
10 | AC_CHECK_HEADERS([syslog.h unistd.h getopt.h]) | 10 | AC_CHECK_HEADERS([syslog.h unistd.h getopt.h]) |
11 | 11 | ||
12 | AC_HEADER_STDBOOL | 12 | AC_HEADER_STDBOOL |
13 | AC_C_CONST | 13 | AC_C_CONST |
14 | AC_TYPE_UID_T | 14 | AC_TYPE_UID_T |
15 | AC_TYPE_PID_T | 15 | AC_TYPE_PID_T |
16 | 16 | ||
17 | AC_FUNC_FORK | 17 | AC_FUNC_FORK |
18 | AC_HEADER_STDC | 18 | AC_HEADER_STDC |
19 | AC_TYPE_SIGNAL | 19 | AC_TYPE_SIGNAL |
20 | AC_CHECK_FUNCS([dup2 strtol]) | 20 | AC_CHECK_FUNCS([dup2 memmove strtol]) |
21 | AC_CHECK_FUNC([getopt_long],[ | 21 | AC_CHECK_FUNC([getopt_long],[ |
22 | AC_DEFINE([HAVE_GETOPT_LONG],[1],[Define to make use of getopt_long]) | 22 | AC_DEFINE([HAVE_GETOPT_LONG],[1],[Define to make use of getopt_long]) |
23 | AC_SUBST(HAVE_GETOPT_LONG,1) | 23 | AC_SUBST([HAVE_GETOPT_LONG],1) |
24 | ],[ | 24 | ],[ |
25 | AC_SUBST(HAVE_GETOPT_LONG,0) | 25 | AC_SUBST([HAVE_GETOPT_LONG],0) |
26 | ]) | 26 | ]) |
27 | 27 | ||
28 | PKG_CHECK_MODULES(DOTCONF,[dotconf],,[ | 28 | AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) |
29 | |||
30 | PKG_CHECK_MODULES([DOTCONF],[dotconf],,[ | ||
29 | AC_MSG_ERROR([no dotconf library found]) | 31 | AC_MSG_ERROR([no dotconf library found]) |
30 | ]) | 32 | ]) |
31 | 33 | ||
32 | AC_CONFIG_FILES([ | 34 | AC_CONFIG_FILES([ |
33 | Makefile | 35 | Makefile |
34 | src/Makefile | 36 | src/Makefile |
35 | man/Makefile | 37 | man/Makefile |
36 | man/dudki.8 man/dudki.conf.5 | 38 | man/dudki.8 man/dudki.conf.5 |
37 | ]) | 39 | ]) |
38 | AC_OUTPUT | 40 | AC_OUTPUT |