-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 @@ -14,21 +14,23 @@ 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 |