More stubs for EAP mechanism
[mech_eap.git] / configure.ac
1 AC_PREREQ([2.61])
2 AC_INIT([mech_eap], [0.1], [bugs@project-moonshot.org])
3 dnl AC_CONFIG_MACRO_DIR([m4])
4 AM_INIT_AUTOMAKE
5 LT_PREREQ([2.2])
6 LT_INIT([dlopen disable-static])
7
8 AC_PROG_CC
9
10 dnl Check if we're on Solaris and set CFLAGS accordingly
11 dnl AC_CANONICAL_TARGET
12 dnl case "${target_os}" in
13 dnl   solaris*)
14 dnl     TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS"
15 dnl     if test "$GCC" != yes ; then
16 dnl       TARGET_CFLAGS="$TARGET_CFLAGS -mt"
17 dnl     else
18 dnl       TARGET_CFLAGS="$TARGET_CFLAGS -pthreads"
19 dnl     fi
20 dnl     TARGET_LDFLAGS="-lpthread -lsocket -lnsl"
21 dnl     ;;
22 dnl   *)
23 dnl     TARGET_CFLAGS="-Wall -pedantic -pthread"
24 dnl     TARGET_LDFLAGS=""
25 dnl   esac
26
27 AC_SUBST(TARGET_CFLAGS)
28 AC_SUBST(TARGET_LDFLAGS)
29 AX_CHECK_KRB5
30 AC_CONFIG_FILES([Makefile])
31 AC_OUTPUT