AC_PREREQ([2.60]) AC_INIT([vmdshow], [0.1], [rappture@nanohub.org]) AC_CONFIG_AUX_DIR(cf) AC_ARG_WITH( [statsdir], [AS_HELP_STRING([--with-statsdir=DIR], [Write statistics in DIR])], [STATSDIR=$withval], [STATSDIR="/var/tmp/visservers"]) AC_ARG_WITH( [logdir], [AS_HELP_STRING([--with-logdir=DIR], [Write log files in DIR])], [LOGDIR=$withval], [LOGDIR="/tmp"]) #------------------------------------------------------------------------ # Handle the --prefix=... option #------------------------------------------------------------------------ if test "${prefix}" = "NONE"; then prefix=/usr/local fi if test "${exec_prefix}" = "NONE"; then exec_prefix=$prefix fi AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MKDIR_P AC_SUBST(LOGDIR) AC_SUBST(STATSDIR) AC_OUTPUT([ Makefile])