|
Last change
on this file since 2682 was
165,
checked in by jbarnold, 19 years ago
|
|
correction to a correction!
|
|
File size:
791 bytes
|
| 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 | # 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 | |
|---|
| 24 | SUPPORT([pl], [ ]) |
|---|
| 25 | SUPPORT([php], []) |
|---|
| 26 | SUPPORT([py], [ ]) |
|---|
| 27 | SUPPORT([exe], []) |
|---|
| 28 | |
|---|
| 29 | AC_SUBST(UPD_VARS) |
|---|
| 30 | AC_OUTPUT(Makefile) |
|---|
Note: See
TracBrowser
for help on using the repository browser.