From: Guy Harris Date: Fri, 15 Sep 2017 08:55:16 +0000 (-0700) Subject: Move have_siocglifconf.c to the cmake directory. X-Git-Tag: libpcap-1.9-bp~694 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/9300f2bc09f4986de0ed6c9c6f426595fb47d429 Move have_siocglifconf.c to the cmake directory. It's used by CMake, so put it in the cmake directory along with other CMake-related stuff. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 376becf9..d596819a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -565,7 +565,7 @@ if(NOT WIN32) # or some older version of Solaris, with # just SIOCGIFCONF. # - try_compile(HAVE_SIOCGLIFCONF ${CMAKE_CURRENT_BINARY_DIR} "${pcap_SOURCE_DIR}/config/have_siocglifconf.c" ) + try_compile(HAVE_SIOCGLIFCONF ${CMAKE_CURRENT_BINARY_DIR} "${pcap_SOURCE_DIR}/cmake/have_siocglifconf.c" ) message(STATUS "HAVE_SIOCGLIFCONF = ${HAVE_SIOCGLIFCONF}") if(HAVE_SIOCGLIFCONF) set(FINDALLDEVS_TYPE glifc) diff --git a/Makefile.in b/Makefile.in index a3cf455b..fa24365a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -283,7 +283,7 @@ EXTRA_DIST = \ cmakeconfig.h.in \ cmake/FindLFS.cmake \ cmake/FindPacket.cmake \ - config/have_siocglifconf.c \ + cmake/have_siocglifconf.c \ config.guess \ config.h.in \ config.sub \ diff --git a/config/have_siocglifconf.c b/cmake/have_siocglifconf.c similarity index 100% rename from config/have_siocglifconf.c rename to cmake/have_siocglifconf.c