# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.65]) AC_INIT([vine-rescue-guide], [0.9], [http://vinelinux.org/bts.html]) AM_INIT_AUTOMAKE([no-dist-gzip dist-bzip2 tar-ustar]) # Checks for programs. PKG_CHECK_EXISTS([vine-manual-base], , AC_MSG_ERROR([Cannot find vine-manual-base.])) PKG_CHECK_EXISTS([vine-manual-build], , AC_MSG_ERROR([Cannot find vine-manual-build.])) # Checks for libraries. # Checks for header files. # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. # Define variables AC_ARG_ENABLE(web, [ --enable-web Install for web site], [case "${enableval}" in yes) web=true ;; no) web=false ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-web) ;; esac],[web=false]) AM_CONDITIONAL(NO_WEB, test ${web} = false) if test "x${prefix}" = "xNONE"; then prefix=${ac_default_prefix} fi OMFDIR=`eval echo ${datadir}/omf/vine-rescue-guide` AC_SUBST(OMFDIR) VMDIR=`pkg-config --variable=manualdir vine-manual-base` AC_SUBST(VMDIR) AC_CONFIG_FILES([ Makefile vine-rescue-guide.spec help/Makefile help/vine-rescue-guide-ja.omf help/figures/Makefile ]) AC_OUTPUT