Last change
on this file since 69 was
38,
checked in by jbarnold, 18 years ago
|
improved package autoconf macros
|
File size:
540 bytes
|
Line | |
---|
1 | AC_INIT() |
---|
2 | |
---|
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 | |
---|
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 | ]) |
---|
16 | REQUIRE_PATH(kinit) |
---|
17 | |
---|
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 | ]) |
---|
24 | REQUIRE_PATH(aklog) |
---|
25 | |
---|
26 | AC_OUTPUT(Makefile) |
---|
27 | AC_OUTPUT(renew) |
---|
Note: See
TracBrowser
for help on using the repository browser.