summaryrefslogtreecommitdiffstats
path: root/src/lib/kadm5/srv/configure.in
blob: b0c69ddf5002e6cfdda9775290bb72a6f0cab0dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
AC_INIT(server_kdb.c)
CONFIG_RULES
AC_PROG_ARCHIVE
AC_PROG_ARCHIVE_ADD
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PROG_LEX
AC_PROG_AWK

save_LIBS="$LIBS"
LIBS=-lgen
AC_CHECK_FUNCS(compile step)
if test "$ac_cv_func_compile" = true ; then
	LIBS="$save_LIBS -lgen"
else
	LIBS="$save_LIBS"
fi

AC_CHECK_FUNCS(re_comp re_exec regcomp regexec)
dnl AIX is unusual in that it wants all symbols resolved at link time
dnl  Fortunately, it will allow us to link the kdb library now, even if
dnl it is linked again later.
case $krb5_cv_host in
*-*-aix*)
	LIBS="$LIBS -ldb"
	;;
esac

KRB5_BUILD_LIBOBJS
KRB5_BUILD_LIBRARY_WITH_DEPS

CopySrcHeader(server_acl.h,[$](BUILDTOP)/include/kadm5)
V5_AC_OUTPUT_MAKEFILE