From 148aca5c6be5afb86f9493c42301faf4a6090f90 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 8 Nov 2011 14:56:40 +0100 Subject: [PATCH] windows fixes --- Makefile.am | 4 ++++ configure.ac | 14 ++++++++------ gtk/main.ui | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index d2c61489c..a1cd5594e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -85,6 +85,10 @@ rpm: #a zip containing win32 binaries, suitable to generate an installer +if BUILD_ZRTP +WINBINDIST_FILES+=./bin/libzrtpcpp.dll ./bin/msys-1.0.dll ./bin/msys-crypto-1.0.0.dll +endif + other-cherrypick: cd $(GTK_PREFIX) && \ for file in $(WINBINDIST_FILES) ; do \ diff --git a/configure.ac b/configure.ac index ff2f4c729..8e42964a1 100644 --- a/configure.ac +++ b/configure.ac @@ -364,13 +364,14 @@ AC_ARG_ENABLE(alsa, *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsa) ;; esac],[alsa=true]) -AC_ARG_ENABLE(artsc, - [ --enable-artsc Turn on artsc (kde) sound input/output (auto) ], +AC_ARG_ENABLE(zrtp, + [ --enable-zrtp Turn on zrtp support - UNFINISHED], [case "${enableval}" in - yes) artsc=true ;; - no) artsc=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-artsc) ;; - esac],[artsc=false]) + yes) zrtp=true ;; + no) zrtp=false ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-zrtp) ;; + esac],[zrtp=false]) + AC_ARG_ENABLE(portaudio, [ --enable-portaudio Turn on portaudio native support compiling], @@ -387,6 +388,7 @@ AM_CONDITIONAL(ARMBUILD, test x$use_arm_toolchain = xyes) dnl compilation of gtk user interface AM_CONDITIONAL(BUILD_GTK_UI, [test x$gtk_ui = xtrue ] ) AM_CONDITIONAL(BUILD_WIN32, test x$mingw_found = xyes ) +AM_CONDITIONAL(BUILD_ZRTP, test x$zrtp = xtrue) dnl check getenv AH_TEMPLATE([HAVE_GETENV]) diff --git a/gtk/main.ui b/gtk/main.ui index 9d02cb42b..0448795f7 100644 --- a/gtk/main.ui +++ b/gtk/main.ui @@ -1,6 +1,6 @@ - + False