]> eyrie.org Git - kerberos/krb5-strength.git/blob - configure.ac
71bc73b1b235fbf427dd2594c05fc5621fe709be
[kerberos/krb5-strength.git] / configure.ac
1 dnl Process this file with autoconf to produce a configure script.
2 dnl
3 dnl Written by Russ Allbery <rra@stanford.edu>
4 dnl Copyright 2006, 2007, 2009
5 dnl     Board of Trustees, Leland Stanford Jr. University
6 dnl
7 dnl See LICENSE for licensing terms.
8
9 AC_PREREQ([2.64])
10 AC_INIT([krb5-strength], [0.5], [rra@stanford.edu])
11 AC_CONFIG_AUX_DIR([build-aux])
12 AC_CONFIG_MACRO_DIR([m4])
13 AM_INIT_AUTOMAKE([1.11 check-news silent-rules -Wall -Werror])
14 AM_MAINTAINER_MODE
15
16 AC_PROG_CC
17 AC_USE_SYSTEM_EXTENSIONS
18 AM_PROG_CC_C_O
19 AC_PROG_INSTALL
20 AM_DISABLE_STATIC
21 AC_PROG_LIBTOOL
22
23 RRA_LIB_KRB5
24
25 RRA_LIB_KRB5_SWITCH
26 AC_CHECK_HEADERS([kadm5-pwcheck.h])
27 AC_CHECK_TYPES([krb5_realm], , , [#include <krb5.h>])
28 RRA_LIB_KRB5_RESTORE
29
30 dnl Create the tests/data directory for builds outside the source directory.
31 AC_CONFIG_COMMANDS([tests/data/.placeholder], [touch tests/data/.placeholder])
32
33 AC_CONFIG_FILES([Makefile])
34 AC_CONFIG_HEADER([config.h])
35 AC_OUTPUT