wsutil/libwsutil.la \
$(plugin_ldadd) \
@PCAP_LIBS@ \
- @APPLICATIONSERVICES_FRAMEWORKS@ \
- @SYSTEMCONFIGURATION_FRAMEWORKS@ \
- @COREFOUNDATION_FRAMEWORKS@ \
- $(EPAN_EXTRA_LIBS) \
+ $(EPAN_EXTRA_LIBS) \
@LIBNL_LIBS@
if HAVE_Qt
$(plugin_ldadd) \
@GLIB_LIBS@ \
@PCAP_LIBS@ \
- ${EPAN_EXTRA_LIBS} \
- @SYSTEMCONFIGURATION_FRAMEWORKS@ \
- @COREFOUNDATION_FRAMEWORKS@
+ ${EPAN_EXTRA_LIBS}
tfshark_SOURCES = \
$(SHARK_COMMON_SRC) \
$(plugin_ldadd) \
@GLIB_LIBS@ \
@PCAP_LIBS@ \
- ${EPAN_EXTRA_LIBS} \
- @SYSTEMCONFIGURATION_FRAMEWORKS@ \
- @COREFOUNDATION_FRAMEWORKS@
+ ${EPAN_EXTRA_LIBS}
rawshark_SOURCES = \
$(SHARK_COMMON_SRC) \
$(plugin_ldadd) \
@GLIB_LIBS@ \
@PCAP_LIBS@ \
- ${EPAN_EXTRA_LIBS} \
- @SYSTEMCONFIGURATION_FRAMEWORKS@ \
- @COREFOUNDATION_FRAMEWORKS@
+ ${EPAN_EXTRA_LIBS}
sharkd_SOURCES = \
$(SHARK_COMMON_SRC) \
$(plugin_ldadd) \
@GLIB_LIBS@ \
@PCAP_LIBS@ \
- ${EPAN_EXTRA_LIBS} \
- @SYSTEMCONFIGURATION_FRAMEWORKS@ \
- @COREFOUNDATION_FRAMEWORKS@
+ ${EPAN_EXTRA_LIBS}
if HAVE_SPEEXDSP
sharkd_LDADD += $(SPEEXDSP_LIBS)
wsutil/libwsutil.la \
@GLIB_LIBS@ \
@PCAP_LIBS@ \
- @SYSTEMCONFIGURATION_FRAMEWORKS@ \
- @COREFOUNDATION_FRAMEWORKS@ \
@LIBCAP_LIBS@ \
@LIBNL_LIBS@
AC_SUBST(LDFLAGS_BIGSHAREDLIB)
AC_SUBST(LDFLAGS_SHAREDLIB)
-#
-# On "Darwin", which we assume to mean "macOS" rather than "iOS" or
-# "just Darwin" (as we don't currently support iOS, and as I don't
-# think you can build and run "just Darwin" as an OS for PCs), we
-# arrange to build some programs with Application Services so they
-# can launch Web browsers and Finder windows, arrange to build some
-# programs with System Configuration so they can get "friendly names"
-# and other information about interfaces, and build any programs that
-# use either of those frameworks or that report version information
-# with Core Foundation as the frameworks in question use it and as we
-# get version information from plists and thus need Core Foundation
-# to process those plists.
-#
-have_macos_frameworks=no
-case "$host_os" in
-darwin*)
- have_macos_frameworks=yes
- AC_DEFINE(HAVE_MACOS_FRAMEWORKS, 1, [Define to 1 if you have macOS frameworks])
- APPLICATIONSERVICES_FRAMEWORKS="-framework ApplicationServices"
- SYSTEMCONFIGURATION_FRAMEWORKS="-framework SystemConfiguration"
- COREFOUNDATION_FRAMEWORKS="-framework CoreFoundation"
-
- #
- # OK, so we have the macOS frameworks; do they include
- # CFPropertyListCreateWithStream, or do we have
- # to fall back on CFPropertyListCreateFromStream?
- # (They only differ in the error return, which we
- # don't care about. And, no, we shouldn't just
- # use CFPropertyListCreateFromStream, because it's
- # deprecated in newer releases.)
- #
- ac_save_LIBS="$LIBS"
- LIBS="$LIBS $COREFOUNDATION_FRAMEWORKS"
- AC_CHECK_FUNCS(CFPropertyListCreateWithStream)
- LIBS="$ac_save_LIBS"
- ;;
-esac
-AC_SUBST(APPLICATIONSERVICES_FRAMEWORKS)
-AC_SUBST(SYSTEMCONFIGURATION_FRAMEWORKS)
-AC_SUBST(COREFOUNDATION_FRAMEWORKS)
-AM_CONDITIONAL(HAVE_MACOS_FRAMEWORKS, [test "x$have_macos_frameworks" = "xyes"])
-
#
# If we're running Solaris, and LD_LIBRARY_PATH is defined, add it as a
# link directory.
# Optional headers for ABI checking
wsutil_optional_abi_includes =
-if HAVE_MACOS_FRAMEWORKS
-wsutil_optional_abi_includes += cfutils.h
-endif
-
# Header files that don't declare replacement functions for functions
# present in the APIs/ABIs of some, but not all, targets.
libwsutil_nonrepl_INCLUDES = \
wsjsmn.c \
xtea.c
-if HAVE_MACOS_FRAMEWORKS
-libwsutil_la_SOURCES += cfutils.c cfutils.h
-endif
-
libwsutil_sse42_la_SOURCES = \
ws_mempbrk_sse42.c
libwsutil_la_LIBADD = \
$(LTLIBOBJS) \
- @COREFOUNDATION_FRAMEWORKS@ \
@GLIB_LIBS@ \
@LIBGCRYPT_LIBS@ \
@LIBGNUTLS_LIBS@ \