source: vmdshow/branches/0.1/configure.ac @ 6499

Last change on this file since 6499 was 6197, checked in by ldelgass, 8 years ago

rename configure.in to configure.ac

File size: 832 bytes
Line 
1AC_PREREQ([2.60])
2AC_INIT([vmdshow], [0.1], [rappture@nanohub.org])
3AC_CONFIG_AUX_DIR(cf)
4
5AC_ARG_WITH(
6    [statsdir],
7    [AS_HELP_STRING([--with-statsdir=DIR],
8        [Write statistics in DIR])],
9    [STATSDIR=$withval],
10    [STATSDIR="/var/tmp/visservers"])
11
12AC_ARG_WITH(
13    [logdir],
14    [AS_HELP_STRING([--with-logdir=DIR],
15        [Write log files in DIR])],
16    [LOGDIR=$withval],
17    [LOGDIR="/tmp"])
18
19#------------------------------------------------------------------------
20# Handle the --prefix=... option
21#------------------------------------------------------------------------
22
23if test "${prefix}" = "NONE"; then
24    prefix=/usr/local
25fi
26if test "${exec_prefix}" = "NONE"; then
27    exec_prefix=$prefix
28fi
29
30AC_PROG_INSTALL
31AC_PROG_LN_S
32AC_PROG_MKDIR_P
33
34AC_SUBST(LOGDIR)
35AC_SUBST(STATSDIR)
36
37AC_OUTPUT([
38   Makefile])
Note: See TracBrowser for help on using the repository browser.