dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.53) AC_INIT([documancer], [0.2.4], [vaclav.slavik@matfyz.cz]) AC_CONFIG_SRCDIR([documancer.spec]) AC_CONFIG_AUX_DIR([admin]) AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_CANONICAL_TARGET AC_ISC_POSIX AC_PROG_CC AM_PROG_CC_STDC AC_HEADER_STDC AM_PATH_PYTHON(2.3) dnl Use -Wall if we have gcc. changequote(,)dnl if test "x$GCC" = "xyes"; then case " $CFLAGS " in *[\ \ ]-Wall[\ \ ]*) ;; *) CFLAGS="$CFLAGS -Wall" ;; esac fi changequote([,])dnl dnl Test for additional programs we need: AC_PATH_PROG(PERL, perl, []) if test x$PERL = x ; then AC_MSG_ERROR([Perl is needed by documancer.]) fi AC_OUTPUT([Makefile], [ mkdir -p src/helpers/man2html ])