summaryrefslogtreecommitdiffabout
path: root/configure.ac
Unidiff
Diffstat (limited to 'configure.ac') (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac10
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
@@ -8,31 +8,33 @@ AC_PROG_CC
8 8
9AC_HEADER_SYS_WAIT 9AC_HEADER_SYS_WAIT
10AC_CHECK_HEADERS([syslog.h unistd.h getopt.h]) 10AC_CHECK_HEADERS([syslog.h unistd.h getopt.h])
11 11
12AC_HEADER_STDBOOL 12AC_HEADER_STDBOOL
13AC_C_CONST 13AC_C_CONST
14AC_TYPE_UID_T 14AC_TYPE_UID_T
15AC_TYPE_PID_T 15AC_TYPE_PID_T
16 16
17AC_FUNC_FORK 17AC_FUNC_FORK
18AC_HEADER_STDC 18AC_HEADER_STDC
19AC_TYPE_SIGNAL 19AC_TYPE_SIGNAL
20AC_CHECK_FUNCS([dup2 strtol]) 20AC_CHECK_FUNCS([dup2 memmove strtol])
21AC_CHECK_FUNC([getopt_long],[ 21AC_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
28PKG_CHECK_MODULES(DOTCONF,[dotconf],,[ 28AC_PATH_PROG([XSLTPROC],[xsltproc],[true])
29
30PKG_CHECK_MODULES([DOTCONF],[dotconf],,[
29 AC_MSG_ERROR([no dotconf library found]) 31 AC_MSG_ERROR([no dotconf library found])
30]) 32])
31 33
32AC_CONFIG_FILES([ 34AC_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])
38AC_OUTPUT 40AC_OUTPUT