source: trunk/server/common/oursrc/tokensys/configure.in @ 1698

Last change on this file since 1698 was 38, checked in by jbarnold, 18 years ago
improved package autoconf macros
File size: 540 bytes
Line 
1AC_INIT()
2
3AC_DEFUN(REQUIRE_PATH,[
4AC_SUBST($1_path)
5if test "[$]$1_path" = ""; then
6        AC_ERROR(Cannot find $1)
7fi
8])
9
10AC_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])
16REQUIRE_PATH(kinit)
17
18AC_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])
24REQUIRE_PATH(aklog)
25
26AC_OUTPUT(Makefile)
27AC_OUTPUT(renew)
Note: See TracBrowser for help on using the repository browser.