krb5_wrap: krb5_string_to_key / krb5_encrypt_block are deprecated.
[Samba.git] / lib / replace / configure.ac
blob0361825a022d992992da4c2998596c3397b32edb
1 AC_PREREQ(2.50)
2 AC_INIT(replace.c)
3 AC_CONFIG_SRCDIR([replace.c])
4 AC_CONFIG_HEADER(config.h)
6 CFLAGS="$CFLAGS -I$srcdir"
8 AC_LIBREPLACE_ALL_CHECKS
9 AC_LIBREPLACE_NETWORK_CHECKS
11 if test "$ac_cv_prog_gcc" = yes; then
12    CFLAGS="$CFLAGS -Wall"
13    CFLAGS="$CFLAGS -W"
14    CFLAGS="$CFLAGS -Wshadow"
15    CFLAGS="$CFLAGS -Wstrict-prototypes"
16    CFLAGS="$CFLAGS -Wpointer-arith"
17    CFLAGS="$CFLAGS -Wcast-qual"
18    CFLAGS="$CFLAGS -Wcast-align"
19    CFLAGS="$CFLAGS -Wwrite-strings"
20    CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
21    CFLAGS="$CFLAGS -Wformat=2"
22    CFLAGS="$CFLAGS -Wno-format-y2k"
25 m4_include(build_macros.m4)
26 BUILD_WITH_SHARED_BUILD_DIR
28 LIBS="${LIBREPLACE_NETWORK_LIBS}"
29 AC_SUBST(LIBS)
31 AC_SUBST(LDFLAGS)
33 AC_OUTPUT(Makefile)