Last change
on this file since 4 was 1, checked in by Paul Smedley, 10 years ago |
Initial commit of Heimdal 1.5.3
|
File size:
720 bytes
|
Line | |
---|
1 | dnl $Id$
|
---|
2 | dnl
|
---|
3 | dnl check requirements for OTP library
|
---|
4 | dnl
|
---|
5 | AC_DEFUN([rk_OTP],[
|
---|
6 | AC_REQUIRE([rk_DB])dnl
|
---|
7 | AC_ARG_ENABLE(otp,
|
---|
8 | AS_HELP_STRING([--disable-otp],[if you don't want OTP support]))
|
---|
9 | if test "$enable_otp" = yes -a "$db_type" = unknown; then
|
---|
10 | AC_MSG_ERROR([OTP requires a NDBM/DB compatible library])
|
---|
11 | fi
|
---|
12 | if test "$enable_otp" != no; then
|
---|
13 | if test "$db_type" != unknown; then
|
---|
14 | enable_otp=yes
|
---|
15 | else
|
---|
16 | enable_otp=no
|
---|
17 | fi
|
---|
18 | fi
|
---|
19 | if test "$enable_otp" = yes; then
|
---|
20 | AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
|
---|
21 | LIB_otp='$(top_builddir)/lib/otp/libotp.la'
|
---|
22 | AC_SUBST(LIB_otp)
|
---|
23 | fi
|
---|
24 | AC_MSG_CHECKING([whether to enable OTP library])
|
---|
25 | AC_MSG_RESULT($enable_otp)
|
---|
26 | AM_CONDITIONAL(OTP, test "$enable_otp" = yes)dnl
|
---|
27 | ])
|
---|
Note:
See
TracBrowser
for help on using the repository browser.