| Rev | Line |  | 
|---|
| [1] | 1 | AC_INIT(staticsys-cat.c.pre) | 
|---|
|  | 2 |  | 
|---|
|  | 3 | AC_PROG_CC | 
|---|
|  | 4 |  | 
|---|
|  | 5 | AC_ARG_WITH(syscat, | 
|---|
|  | 6 | [  --with-syscat[=DIR]        staticsys-cat will be located in DIR],[ | 
|---|
|  | 7 | if test "$withval" != "no" -a "$withval" != "yes"; then | 
|---|
|  | 8 | UPD_VARS="syscat_path=$withval/staticsys-cat $UPD_VARS" | 
|---|
|  | 9 | fi | 
|---|
|  | 10 | ]) | 
|---|
|  | 11 |  | 
|---|
|  | 12 | AC_ARG_WITH(afsagent, | 
|---|
|  | 13 | [  --with-afsagent[=UID]        afsagent will have user id UID],[ | 
|---|
|  | 14 | if test "$withval" != "no" -a "$withval" != "yes"; then | 
|---|
|  | 15 | CFLAGS="-DAFSAGENT_UID=$withval $CCFLAGS" | 
|---|
|  | 16 | fi | 
|---|
|  | 17 | ]) | 
|---|
|  | 18 |  | 
|---|
|  | 19 | AC_DEFUN(SUPPORT,[AC_ARG_WITH($1, | 
|---|
|  | 20 | [  --with-$1[=PATH]$2       associate .$1 with PATH],[ | 
|---|
|  | 21 | if test "$withval" != "no" -a "$withval" != "yes"; then | 
|---|
|  | 22 | UPD_VARS="$1_path=$withval $UPD_VARS" | 
|---|
|  | 23 | fi | 
|---|
|  | 24 | ])]) | 
|---|
|  | 25 |  | 
|---|
|  | 26 | SUPPORT([pl], [ ]) | 
|---|
|  | 27 | SUPPORT([php], []) | 
|---|
|  | 28 | SUPPORT([py], [ ]) | 
|---|
|  | 29 |  | 
|---|
|  | 30 | AC_SUBST(UPD_VARS) | 
|---|
|  | 31 | AC_OUTPUT(Makefile) | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.