blob: 7f713c23eef6455c8ff9147236c4080dc1c72508 (
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
|
AC_PREREQ([2.69])
AC_INIT
AC_CONFIG_SRCDIR([rlm_idn.c])
AC_REVISION($Revision$)
FR_INIT_MODULE([rlm_idn])
FR_MODULE_START_TESTS
AC_PROG_CC
AC_PROG_CPP
FR_SMART_CHECK_LIB(idn, idna_to_ascii_8z)
if test "x$ac_cv_lib_idn_idna_to_ascii_8z" != "xyes"; then
FR_MODULE_FAIL([libidn])
fi
FR_SMART_CHECK_INCLUDE(idna.h)
if test "$ac_cv_header_idna_h" != "yes"; then
FR_MODULE_FAIL([idna.h])
fi
FR_MODULE_END_TESTS
mod_ldflags="${SMART_LIBS}"
mod_cflags="${SMART_CPPFLAGS}"
AC_SUBST(mod_ldflags)
AC_SUBST(mod_cflags)
AC_CONFIG_FILES([all.mk])
AC_OUTPUT
|