Last change
on this file since 229 was
38,
checked in by jbarnold, 18 years ago
|
improved package autoconf macros
|
File size:
540 bytes
|
Rev | Line | |
---|
[1] | 1 | AC_INIT() |
---|
| 2 | |
---|
[38] | 3 | AC_DEFUN(REQUIRE_PATH,[ |
---|
| 4 | AC_SUBST($1_path) |
---|
| 5 | if test "[$]$1_path" = ""; then |
---|
| 6 | AC_ERROR(Cannot find $1) |
---|
| 7 | fi |
---|
| 8 | ]) |
---|
| 9 | |
---|
[36] | 10 | AC_ARG_WITH(kinit, |
---|
| 11 | [ --with-kinit[=PATH] kinit is located at PATH],[ |
---|
| 12 | if test "$withval" != "no" -a "$withval" != "yes"; then |
---|
| 13 | kinit_path="$withval" |
---|
| 14 | fi |
---|
| 15 | ]) |
---|
[38] | 16 | REQUIRE_PATH(kinit) |
---|
[1] | 17 | |
---|
[36] | 18 | AC_ARG_WITH(aklog, |
---|
| 19 | [ --with-aklog[=PATH] aklog is located at PATH],[ |
---|
| 20 | if test "$withval" != "no" -a "$withval" != "yes"; then |
---|
| 21 | aklog_path="$withval" |
---|
| 22 | fi |
---|
| 23 | ]) |
---|
[38] | 24 | REQUIRE_PATH(aklog) |
---|
[1] | 25 | |
---|
| 26 | AC_OUTPUT(Makefile) |
---|
| 27 | AC_OUTPUT(renew) |
---|
Note: See
TracBrowser
for help on using the repository browser.