source: server/common/oursrc/execsys/configure.in @ 762

Last change on this file since 762 was 165, checked in by jbarnold, 18 years ago
correction to a correction!
File size: 791 bytes
Line 
1AC_INIT(static-cat.c.pre)
2
3AC_PROG_CC
4
5AC_ARG_WITH(afsagent,
6[  --with-afsagent[=UID]        afsagent will have user id UID],[
7  if test "$withval" != "no" -a "$withval" != "yes"; then
8    CFLAGS="-DAFSAGENT_UID=$withval $CCFLAGS"
9  fi
10])
11
12AC_DEFUN(SUPPORT,[AC_ARG_WITH($1,
13[  --with-$1[=PATH]$2       associate .$1 with PATH],[
14  if test "$withval" != "no" -a "$withval" != "yes"; then
15    UPD_VARS="$1_path=$withval $UPD_VARS"
16  fi
17])])
18
19# the second argument should contain no spaces ("[]") if the corresponding
20# extension is three characters long (eg, "php"), and it should contain
21# one space ("[ ]") if the corresponding extension is two characters long
22# (eg, "pl")
23
24SUPPORT([pl], [ ])
25SUPPORT([php], [])
26SUPPORT([py], [ ])
27SUPPORT([exe], [])
28
29AC_SUBST(UPD_VARS)
30AC_OUTPUT(Makefile)
Note: See TracBrowser for help on using the repository browser.