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 AC_CONFIG_HEADERS([config.h])
12 dnl Check if we're on Solaris and set CFLAGS accordingly
13 dnl AC_CANONICAL_TARGET
14 dnl case "${target_os}" in
16 dnl TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS"
17 dnl if test "$GCC" != yes ; then
18 dnl TARGET_CFLAGS="$TARGET_CFLAGS -mt"
20 dnl TARGET_CFLAGS="$TARGET_CFLAGS -pthreads"
22 dnl TARGET_LDFLAGS="-lpthread -lsocket -lnsl"
25 dnl TARGET_CFLAGS="-Wall -pedantic -pthread"
29 AC_SUBST(TARGET_CFLAGS)
30 AC_SUBST(TARGET_LDFLAGS)
34 AC_CONFIG_FILES([Makefile])