AC_INIT([eselect-php], [0.9.2]) AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz]) AC_PROG_LN_S AC_PROG_MKDIR_P AC_PROG_SED AC_PATH_PROG(SORT,sort) AC_PATH_PROG(UNIQ,uniq) # --enable-apache2 flag, disabled by default, that decides whether or # not we install the apache2 module configuration file. AC_ARG_ENABLE( [apache2], [ --enable-apache2 install the apache2 conf file [[default=no]]], [case "${enableval}" in yes) apache2=true ;; no) apache2=false ;; *) AC_MSG_ERROR([bad value ${enableval} for --enable-apache2]) ;; esac],[apache2=false]) AM_CONDITIONAL([APACHE2], [test x$apache2 = xtrue]) # List of output files. AC_CONFIG_FILES([Makefile src/php.eselect.in doc/php-fpm.example.init.in]) AC_OUTPUT