]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix HAVE_ name for pcap_dump_ftell().
authorGuy Harris <[email protected]>
Mon, 22 Jan 2018 02:29:08 +0000 (18:29 -0800)
committerGuy Harris <[email protected]>
Mon, 22 Jan 2018 02:29:08 +0000 (18:29 -0800)
CMakeLists.txt

index a2b7c900fd38842a945ab53fecde9a71ae75911b..631c455196f6e050923ad37b601919b6e42f2345 100644 (file)
@@ -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 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()
     # 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,
 
 #
 # Do we have the new open API?  Check for pcap_create, and assume that,