diff options
author | Andre Heinecke <[email protected]> | 2017-01-11 14:49:00 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2017-01-11 14:49:00 +0000 |
commit | 2e661b9e1a9b50656a5c9646d7444a98477010c1 (patch) | |
tree | 97637b1b202f8204e9968df551fa6f09b56d6eba /configure.ac | |
parent | python: Improve compatibility with Scheme tests. (diff) | |
download | gpgme-2e661b9e1a9b50656a5c9646d7444a98477010c1.tar.gz gpgme-2e661b9e1a9b50656a5c9646d7444a98477010c1.zip |
Fix cmake configuration files for MacOS
* configure.ac: Set HAVE_MACOS_SYSTEM conditional.
* lang/qt/src/Makefile.am,
lang/cpp/src/Makefile.am,
lang/qt/src/QGpgmeConfig.cmake.in.in,
lang/cpp/src/GpgmeConfig.cmake.in.in: Use libsuffix again to
distinguish between macos .dylib
--
GnuPG-Bug-Id: 2884
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4495093e..71091947 100644 --- a/configure.ac +++ b/configure.ac @@ -182,6 +182,7 @@ have_dosish_system=no have_android_system=no have_w32_system=no have_w64_system=no +have_macos_system=no build_w32_glib=no build_w32_qt=no available_languages="cl cpp python python2 python3 qt" @@ -196,6 +197,9 @@ case "${host}" in *-linux-androideabi) have_android_system=yes ;; + *-apple-darwin*) + have_macos_system=yes + ;; esac case "${host}" in *-mingw32ce*|*-mingw32*) @@ -253,6 +257,12 @@ if test "$have_android_system" = yes; then fi AM_CONDITIONAL(HAVE_ANDROID_SYSTEM, test "$have_android_system" = yes) +if test "$have_macos_system" = yes; then + AC_DEFINE(HAVE_MACOS_SYSTEM,1, + [Defined if we build for an MacOS system]) +fi +AM_CONDITIONAL(HAVE_MACOS_SYSTEM, test "$have_macos_system" = yes) + AM_CONDITIONAL(BUILD_W32_GLIB, test "$build_w32_glib" = yes) |