@@ -725,7 +725,8 @@ check_function_exists(pcap_dump_ftell64 HAVE_PCAP_DUMP_FTELL64)
725
725
# to use when linking.)
726
726
#
727
727
# This means that check_function_exists() will think that
728
- # the remote-capture APIs are present, including pcap_open().
728
+ # the remote-capture APIs are present, including pcap_open()
729
+ # and pcap_findalldevs_ex().
729
730
#
730
731
# However, they are *not* present in macOS Ventura and earlier,
731
732
# which means that building on Ventura with Xcode 15 produces
@@ -745,14 +746,14 @@ check_function_exists(pcap_dump_ftell64 HAVE_PCAP_DUMP_FTELL64)
745
746
# Given all that, and given that the versions of the
746
747
# remote-capture APIs in Sonoma are stubs that always fail,
747
748
# there doesn't seem to be any point in checking for pcap_open()
748
- # if we're linking against the Apple libpcap.
749
+ # and pcap_findalldevs_ex() if we're linking against the Apple libpcap.
749
750
#
750
751
# However, if we're *not* linking against the Apple libpcap,
751
752
# we should check for it, so that we can use it if it's present.
752
753
#
753
- # So we check for pcap_open if 1) this isn't macOS or 2) the
754
- # the libpcap we found is not a system library, meaning that
755
- # its path begins neither with /usr/lib (meaning it's a system
754
+ # So we check for pcap_open() and pcap_findalldevs_ex() if 1) this isn't
755
+ # macOS or 2) the the libpcap we found is not a system library, meaning
756
+ # that its path begins neither with /usr/lib (meaning it's a system
756
757
# dylib) nor /Application/Xcode.app (meaning it's a file in
757
758
# the Xcode SDK).
758
759
#
0 commit comments