| Line |   | 
|---|
| 1 | AC_INIT(static-cat.c.pre) | 
|---|
| 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 |  | 
|---|
| 19 | SUPPORT([pl], [ ]) | 
|---|
| 20 | SUPPORT([php], []) | 
|---|
| 21 | SUPPORT([py], [ ]) | 
|---|
| 22 | SUPPORT([exe], [ ]) | 
|---|
| 23 |  | 
|---|
| 24 | AC_SUBST(UPD_VARS) | 
|---|
| 25 | AC_OUTPUT(Makefile) | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.