Last change
on this file since 6559 was
6196,
checked in by ldelgass, 9 years ago
|
rename configure.in to configure.ac
|
File size:
832 bytes
|
Line | |
---|
1 | AC_PREREQ([2.60]) |
---|
2 | AC_INIT([vmdshow], [0.1], [rappture@nanohub.org]) |
---|
3 | AC_CONFIG_AUX_DIR(cf) |
---|
4 | |
---|
5 | AC_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 | |
---|
12 | AC_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 | |
---|
23 | if test "${prefix}" = "NONE"; then |
---|
24 | prefix=/usr/local |
---|
25 | fi |
---|
26 | if test "${exec_prefix}" = "NONE"; then |
---|
27 | exec_prefix=$prefix |
---|
28 | fi |
---|
29 | |
---|
30 | AC_PROG_INSTALL |
---|
31 | AC_PROG_LN_S |
---|
32 | AC_PROG_MKDIR_P |
---|
33 | |
---|
34 | AC_SUBST(LOGDIR) |
---|
35 | AC_SUBST(STATSDIR) |
---|
36 | |
---|
37 | AC_OUTPUT([ |
---|
38 | Makefile]) |
---|
Note: See
TracBrowser
for help on using the repository browser.