aboutsummaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-03-25 21:12:51 +0000
committerJoão Valverde <j@v6e.pt>2016-04-02 22:19:00 +0000
commit04a4b535093895bb825fcf98390737b000331541 (patch)
tree3d1d7635959a153b30cc7e706f9545700d4a62ea /ConfigureChecks.cmake
parentae9e3114802d8a758a335df664ddff13f4037e61 (diff)
Use AC_CHECK_MEMBERS
Change-Id: I18779ad869c97a6ddd12e39fe2f7a1f7b0c8cf56 Reviewed-on: https://code.wireshark.org/review/14754 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 600a04c36f..be9511e85b 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -137,8 +137,8 @@ endif()
#Struct members
include(CheckStructHasMember)
-check_struct_has_member("struct sockaddr" sa_len sys/socket.h HAVE_SA_LEN)
-check_struct_has_member("struct stat" st_flags sys/stat.h HAVE_ST_FLAGS)
+check_struct_has_member("struct sockaddr" sa_len sys/socket.h HAVE_SOCKADDR_SA_LEN)
+check_struct_has_member("struct stat" st_flags sys/stat.h HAVE_STAT_ST_FLAGS)
check_struct_has_member("struct tm" tm_zone time.h HAVE_STRUCT_TM_TM_ZONE)
#Symbols but NOT enums or types