2 AC_INIT([mech_eap], [0.1], [bugs@project-moonshot.org])
3 dnl AC_CONFIG_MACRO_DIR([m4])
6 LT_INIT([dlopen disable-static])
10 dnl Check if we're on Solaris and set CFLAGS accordingly
11 dnl AC_CANONICAL_TARGET
12 dnl case "${target_os}" in
14 dnl TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS"
15 dnl if test "$GCC" != yes ; then
16 dnl TARGET_CFLAGS="$TARGET_CFLAGS -mt"
18 dnl TARGET_CFLAGS="$TARGET_CFLAGS -pthreads"
20 dnl TARGET_LDFLAGS="-lpthread -lsocket -lnsl"
23 dnl TARGET_CFLAGS="-Wall -pedantic -pthread"
27 AC_SUBST(TARGET_CFLAGS)
28 AC_SUBST(TARGET_LDFLAGS)
31 AC_CONFIG_FILES([Makefile])