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