Fork of https://github.com/marschap/isdn4k-utils as well as custom CVS import with proper author name/email ('cvsimport' branch)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
isdn4k-utils/FAQ/configure.in

28 lines
968 B

dnl Process this file with autoconf to produce a configure script.
AC_INIT(i4lfaq.sgml)
dnl Set default installation directory
if test -r ../.config ; then
source ../.config
TARGET_DIR=$CONFIG_FAQDIR
else
TARGET_DIR=./out
fi
dnl Checks for programs.
AC_PROG_INSTALL
AC_PATH_PROG(C_TAR, tar,,$PATH:/usr/sbin:/sbin:/usr/local/bin)
AC_PATH_PROG(C_ZIP, zip,,$PATH:/usr/sbin:/sbin:/usr/local/bin)
AC_PATH_PROG(C_GZIP, gzip,,$PATH:/usr/sbin:/sbin:/usr/local/bin)
AC_PATH_PROG(C_SGML2HTML, sgml2html,sgml2html-not-found-or-installed,$PATH:/usr/sbin:/sbin:/usr/local/bin)
AC_PATH_PROG(C_SGML2TXT, sgml2txt,sgml2txt-not-found-or-installed,$PATH:/usr/sbin:/sbin:/usr/local/bin)
if test "$C_SGML2HTML" = "sgml2html-not-found-or-installed" ; then
AC_MSG_ERROR(sgml2html not found please install it.)
fi
dnl Check where to install.
AC_ARG_WITH(dest,[ --with-dest=DIR set installation directory], \
TARGET_DIR="$withval",)
AC_SUBST(TARGET_DIR)
AC_OUTPUT(Makefile)