summaryrefslogtreecommitdiffstats
path: root/configure.ac
blob: f05941fffef05691eb2e4ec741f04873c02e08b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
AC_INIT(credmonger,0.0)
AM_INIT_AUTOMAKE(foreign)
AC_PROG_CC
AC_MSG_CHECKING([for Kerberos 5 CFLAGS])
KRB5_CFLAGS=`krb5-config --cflags`
AC_MSG_RESULT($KRB5_CFLAGS)
AC_MSG_CHECKING([for Kerberos 5 LIBS])
KRB5_LIBS=`krb5-config --libs`
AC_MSG_RESULT($KRB5_LIBS)
AC_SUBST(KRB5_CFLAGS)
AC_SUBST(KRB5_LIBS)
AC_CONFIG_HEADER(src/config.h)
mysysconfdir=`eval echo "$sysconfdir" | sed s,^NONE,"$prefix",`
mysysconfdir=`eval echo "$mysysconfdir" | sed s,^NONE,"$ac_default_prefix",`
myconfigdir="$mysysconfdir"/${PACKAGE_NAME}.d
AC_DEFINE_UNQUOTED(CONFIG_DIR,"$myconfigdir",[Define to the location of the daemon's configuration files.])
AC_SUBST(myconfigdir)
AC_OUTPUT(Makefile src/Makefile src/credmonger.8)