author | Michael Krelin <hacker@klever.net> | 2004-07-21 21:33:58 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-21 21:33:58 (UTC) |
commit | 76921288a0aa39acb53102863523c388b5d0f9ee (patch) (side-by-side diff) | |
tree | 57fdc8abf9649084af0a74a8ab59ce99fa6742f0 /configure.ac | |
parent | 4b2d32eca61f62bfd1370fd64254514152ecd23c (diff) | |
download | dudki-76921288a0aa39acb53102863523c388b5d0f9ee.zip dudki-76921288a0aa39acb53102863523c388b5d0f9ee.tar.gz dudki-76921288a0aa39acb53102863523c388b5d0f9ee.tar.bz2 |
xmlized NEWS0.1
-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 @@ AC_INIT([dudki], [0.1], [dudki-bugs@klever.net]) AC_CONFIG_SRCDIR([src/dudki.cc]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE([dist-bzip2]) AC_PROG_CXX AC_PROG_CC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS([syslog.h unistd.h getopt.h]) AC_HEADER_STDBOOL AC_C_CONST AC_TYPE_UID_T AC_TYPE_PID_T AC_FUNC_FORK AC_HEADER_STDC AC_TYPE_SIGNAL -AC_CHECK_FUNCS([dup2 strtol]) +AC_CHECK_FUNCS([dup2 memmove strtol]) AC_CHECK_FUNC([getopt_long],[ AC_DEFINE([HAVE_GETOPT_LONG],[1],[Define to make use of getopt_long]) - AC_SUBST(HAVE_GETOPT_LONG,1) + AC_SUBST([HAVE_GETOPT_LONG],1) ],[ - AC_SUBST(HAVE_GETOPT_LONG,0) + AC_SUBST([HAVE_GETOPT_LONG],0) ]) -PKG_CHECK_MODULES(DOTCONF,[dotconf],,[ +AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) + +PKG_CHECK_MODULES([DOTCONF],[dotconf],,[ AC_MSG_ERROR([no dotconf library found]) ]) AC_CONFIG_FILES([ Makefile src/Makefile man/Makefile man/dudki.8 man/dudki.conf.5 ]) AC_OUTPUT |