[Pkg-telepathy-commits] [SCM] libjingle0.3 packaging branch, debian-lenny-patches, updated. 9ebee35c7f7cff456c26f6b0fa98f93f4e9d0afc

Simon McVittie smcv at debian.org
Fri Dec 26 23:35:34 UTC 2008


The following commit has been merged in the debian-lenny-patches branch:
commit 4cac878897caad1695b2ec11028c6e3714ae1475
Author: Simon McVittie <smcv at debian.org>
Date:   Fri Dec 26 22:40:06 2008 +0000

    Patch from Petr Salinger to fix failure to build on GNU/kFreeBSD (Debian #493870)

diff --git a/configure.ac b/configure.ac
index d64f11f..24b12d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,14 +63,16 @@ else
   AC_ERROR([Expat is required to build libjingle. You can get it from http://expat.sourceforge.net/])
 fi
 
-if test `uname -s` = Linux; then
+case $host_os in
+linux*|k*bsd*-gnu*|gnu*)
   PKG_CHECK_MODULES(OPENSSL, openssl >= 0.9.7g, HAVE_OPENSSL=yes, HAVE_OPENSSL=no)
   if test x$HAVE_OPENSSL = xno; then
     AC_ERROR([OpenSSL development files not found.])
   fi
   AC_SUBST(OPENSSL_CFLAGS)
   AC_SUBST(OPENSSL_LIBS)
-fi
+  ;;
+esac
 
 
 AC_OUTPUT([Makefile

-- 
libjingle0.3 packaging



More information about the Pkg-telepathy-commits mailing list