From: Guy Harris Date: Mon, 22 Jan 2018 02:29:08 +0000 (-0800) Subject: Fix HAVE_ name for pcap_dump_ftell(). X-Git-Tag: tcpdump-4.99-bp~1432 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/4547cb8839da3e41ed16924656e4e9eefc431392 Fix HAVE_ name for pcap_dump_ftell(). --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a2b7c900..631c4551 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -336,10 +336,10 @@ check_function_exists(pcap_breakloop HAVE_PCAP_BREAKLOOP) # Check for "pcap_dump_ftell()" and use a substitute version # if it's not present. # -check_function_exists(pcap_dump_ftell HAVE_PCAP_DUMPFTELL) -if(NOT HAVE_PCAP_DUMPFTELL) +check_function_exists(pcap_dump_ftell HAVE_PCAP_DUMP_FTELL) +if(NOT HAVE_PCAP_DUMP_FTELL) # XXX TODO - get our version of pcap_dump_ftell() -endif(NOT HAVE_PCAP_DUMPFTELL) +endif(NOT HAVE_PCAP_DUMP_FTELL) # # Do we have the new open API? Check for pcap_create, and assume that,