| Rev | Line |  | 
|---|
| [104] | 1 | AC_INIT(static-cat.c.pre) | 
|---|
| [1] | 2 |  | 
|---|
|  | 3 | AC_PROG_CC | 
|---|
|  | 4 |  | 
|---|
|  | 5 | AC_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 |  | 
|---|
|  | 12 | AC_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 |  | 
|---|
| [164] | 19 | # the second argument should contain no spaces ("[]") if the corresponding | 
|---|
| [165] | 20 | # extension is three characters long (eg, "php"), and it should contain | 
|---|
| [164] | 21 | # one space ("[ ]") if the corresponding extension is two characters long | 
|---|
|  | 22 | # (eg, "pl") | 
|---|
|  | 23 |  | 
|---|
| [1] | 24 | SUPPORT([pl], [ ]) | 
|---|
|  | 25 | SUPPORT([php], []) | 
|---|
|  | 26 | SUPPORT([py], [ ]) | 
|---|
| [164] | 27 | SUPPORT([exe], []) | 
|---|
| [1] | 28 |  | 
|---|
|  | 29 | AC_SUBST(UPD_VARS) | 
|---|
|  | 30 | AC_OUTPUT(Makefile) | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.