-
-dnl Check if we're on Solaris and set CFLAGS accordingly
-AC_CANONICAL_SYSTEM
-case "${target_os}" in
- solaris*)
- TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS"
- if test "$GCC" != yes ; then
- TARGET_CFLAGS="$TARGET_CFLAGS -mt"
- else
- TARGET_CFLAGS="$TARGET_CFLAGS -pthreads"
- fi
- TARGET_LDFLAGS="-lpthread -lsocket -lnsl"
- ;;
- *)
- TARGET_CFLAGS="-Wall -pedantic -pthread"
- TARGET_LDFLAGS=""
- esac
-dnl Adding enabled options
-if test "x$udp" = "xyes" ; then
- echo "UDP transport enabled"
- TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_UDP"
-fi
-if test "x$tcp" = "xyes" ; then
- echo "TCP transport enabled"
- TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_TCP"
-fi
-if test "x$tls" = "xyes" ; then
- echo "TLS (RadSec) transport enabled"
- TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_TLS"
-fi
-if test "x$dtls" = "xyes" ; then
- echo "DTLS transport enabled"
- TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_DTLS"
+
+if test "x$acceptor" = "xyes" ; then
+ echo "acceptor enabled"
+ TARGET_CFLAGS="$TARGET_CFLAGS -DGSSEAP_ENABLE_ACCEPTOR"