X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=ccf58325f25c72c2aab2d4aea909bb213011a60a;hb=0879254d5371bf8ffd426a665ff95417858b994d;hp=9967ee466ef5291c27bdbf9acdea25d23499a9c7;hpb=cf00b33fcc2840de5e4fe78181929f4c4634f98a;p=mech_eap.orig diff --git a/configure.ac b/configure.ac index 9967ee4..ccf5832 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,7 @@ AC_PREREQ([2.61]) AC_INIT([mech_eap], [0.1], [bugs@project-moonshot.org]) dnl AC_CONFIG_MACRO_DIR([m4]) +dnl AM_INIT_AUTOMAKE([silent-rules]) AM_INIT_AUTOMAKE LT_PREREQ([2.2]) LT_INIT([dlopen disable-static]) @@ -8,6 +9,7 @@ LT_INIT([dlopen disable-static]) AC_PROG_CC AC_PROG_CXX AC_CONFIG_HEADERS([config.h]) +AC_GNU_SOURCE dnl Check if we're on Solaris and set CFLAGS accordingly dnl AC_CANONICAL_TARGET @@ -41,14 +43,16 @@ if test "x$reauth" = "xyes" ; then echo "Fast reauthentication protocol enabled" TARGET_CFLAGS="$TARGET_CFLAGS -DGSSEAP_ENABLE_REAUTH" fi -AM_CONDITIONAL(GSSEAP_ENABLE_REAUTH, test "$reauth" = "yes") +AM_CONDITIONAL(GSSEAP_ENABLE_REAUTH, test "x$reauth" != "xno") AC_SUBST(TARGET_CFLAGS) AC_SUBST(TARGET_LDFLAGS) AX_CHECK_KRB5 -AX_CHECK_EAP +dnl AX_CHECK_EAP AX_CHECK_SHIBSP AX_CHECK_SHIBRESOLVER AX_CHECK_RADSEC -AC_CONFIG_FILES([Makefile]) +AX_CHECK_JANSSON +AX_CHECK_LIBMOONSHOT +AC_CONFIG_FILES([Makefile libeap/Makefile mech_eap/Makefile]) AC_OUTPUT