diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2015-11-25 05:46:40 +0000 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-11-29 21:54:34 +0000 |
commit | e639a13d11bcdb604482d924ebecb1c5bce97d50 (patch) | |
tree | e7b5d4dcdb1e9356414399c17bd6a057b5d5139d /configure.ac | |
parent | 2932596b65c36a63e79ab85d3349d404a1e16b37 (diff) |
cfutils.c: Fix ISO C forbids an empty translation unit [-Wpedantic]
Change-Id: Iac9384e63a4e946c73832103f8d6949f0187fa38
Reviewed-on: https://code.wireshark.org/review/12147
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 53f291ebdd..6330d9a074 100644 --- a/configure.ac +++ b/configure.ac @@ -1383,9 +1383,10 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], # get version information from plists and thus need Core Foundation # to process those plists. # +have_os_x_frameworks=no case "$host_os" in - darwin*) + have_os_x_frameworks=yes AC_DEFINE(HAVE_OS_X_FRAMEWORKS, 1, [Define to 1 if you have OS X frameworks]) APPLICATIONSERVICES_FRAMEWORKS="-framework ApplicationServices" SYSTEMCONFIGURATION_FRAMEWORKS="-framework SystemConfiguration" @@ -1409,6 +1410,7 @@ esac AC_SUBST(APPLICATIONSERVICES_FRAMEWORKS) AC_SUBST(SYSTEMCONFIGURATION_FRAMEWORKS) AC_SUBST(COREFOUNDATION_FRAMEWORKS) +AM_CONDITIONAL(HAVE_OS_X_FRAMEWORKS, [test "x$have_os_x_frameworks" = "xyes"]) # # On Solaris, check whether we have getexecname(). |