# Check system type
case "$host_os" in
*darwin* | *rhapsody* | *macosx*)
- AC_DEFINE_UNQUOTED(OSX,1,[This is an OS X system])
+ AC_DEFINE_UNQUOTED(DARWIN,1,[This is an Apple Darwin system])
+ CPPFLAGS="-D_APPLE_C_SOURCE $CPPFLAGS"
CFLAGS="-no-cpp-precomp -fno-common $CFLAGS"
AC_MSG_WARN([The VPN application cannot be compiled on your OS])
- build_target="macosx"
+ build_target="darwin"
DEFAULT_INTERFACE="\"en0\""
LIBPREFIX=
DLLDIR=lib
AC_SUBST(DEFAULT_INTERFACE)
AC_MSG_CHECKING([for build target])
-AM_CONDITIONAL(MACOSX, test "$build_target" = "macosx")
+AM_CONDITIONAL(DARWIN, test "$build_target" = "darwin")
AM_CONDITIONAL(CYGWIN, test "$build_target" = "cygwin")
AM_CONDITIONAL(MINGW, test "$build_target" = "mingw")
AM_CONDITIONAL(SOLARIS, test "$build_target" = "solaris")
# Checks for library functions.
AC_FUNC_CLOSEDIR_VOID
AC_FUNC_FORK
+AC_FUNC_VFORK
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MEMCMP
AC_FUNC_SELECT_ARGTYPES
src/include/Makefile
src/include/gnunet_directories.h
src/hostlist/Makefile
+src/nat/Makefile
+src/nat/libnatpmp/Makefile
+src/nat/miniupnp/Makefile
src/peerinfo/Makefile
src/statistics/Makefile
src/template/Makefile