X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=835f617b88bab6c08fc0fe303d417557cc023d84;hb=c31f626c3a252a0d6805a5f3ca9154d934ea41f5;hp=f9a93259e7ceb7d3b2adc1a15d55e0f3750acbc9;hpb=b16518ed4e156be37adc516eac603272f956298a;p=meshlink diff --git a/configure.ac b/configure.ac index f9a93259..835f617b 100644 --- a/configure.ac +++ b/configure.ac @@ -40,6 +40,9 @@ case $host_os in AC_DEFINE(HAVE_MINGW, 1, [MinGW]) LIBS="$LIBS -lws2_32 -lgdi32 -lcrypt32" ;; + *darwin*) + LIBS="$LIBS -framework SystemConfiguration -framework CoreServices" + ;; esac AM_CONDITIONAL(LINUX, test "$linux" = true) @@ -81,14 +84,6 @@ AS_IF([test "x$enable_hardening" != "xno"], ] ); -dnl Allow building without Catta -AC_ARG_ENABLE([catta], AS_HELP_STRING([--disable-catta], [disable linking with the Catta library])) -AS_IF([test "x$enable_catta" != "xno"], - AC_DEFINE(HAVE_CATTA, 1, [Link with Catta]) - AC_CONFIG_SUBDIRS([catta]) -) -AM_CONDITIONAL(CATTA, test "x$enable_catta" != "xno") - dnl UTCP debug flags AC_ARG_ENABLE([utcp_debug], AS_HELP_STRING([--enable-utcp-debug], [compile utcp with debug output])) AS_IF([test "x$enable_utcp_debug" = "xyes"],