From 3369a00959a4bc037fc51187a05a8c836919c07c Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 31 Oct 2005 10:56:32 +0000 Subject: [PATCH] Added missing intl libs for openbsd --- configure.in | 17 +++++++++-------- weechat/configure.in | 17 +++++++++-------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/configure.in b/configure.in index 229fa3b69..fa69bdfd5 100644 --- a/configure.in +++ b/configure.in @@ -359,19 +359,20 @@ if test "x$debug" = "x2" ; then AC_DEFINE(DEBUG) fi +LIBS="$LIBS $INTLLIBS" + case "$host_os" in freebsd*) - if test "x$enable_perl" = "xyes" -o "x$enable_python" = "xyes" ; then + if test "x$enable_perl" = "xyes" -o "x$enable_python" = "xyes" ; then CFLAGS="$CFLAGS -pthread" - fi - LIBS="$LIBS $INTLLIBS" - CFLAGS="$CFLAGS $CPPFLAGS" + fi + CFLAGS="$CFLAGS $CPPFLAGS" ;; openbsd*) - if test "x$enable_python" = "xyes" ; then - CFLAGS="$CFLAGS -pthread" - fi - ;; + if test "x$enable_python" = "xyes" ; then + CFLAGS="$CFLAGS -pthread" + fi + ;; *) ;; esac diff --git a/weechat/configure.in b/weechat/configure.in index 229fa3b69..fa69bdfd5 100644 --- a/weechat/configure.in +++ b/weechat/configure.in @@ -359,19 +359,20 @@ if test "x$debug" = "x2" ; then AC_DEFINE(DEBUG) fi +LIBS="$LIBS $INTLLIBS" + case "$host_os" in freebsd*) - if test "x$enable_perl" = "xyes" -o "x$enable_python" = "xyes" ; then + if test "x$enable_perl" = "xyes" -o "x$enable_python" = "xyes" ; then CFLAGS="$CFLAGS -pthread" - fi - LIBS="$LIBS $INTLLIBS" - CFLAGS="$CFLAGS $CPPFLAGS" + fi + CFLAGS="$CFLAGS $CPPFLAGS" ;; openbsd*) - if test "x$enable_python" = "xyes" ; then - CFLAGS="$CFLAGS -pthread" - fi - ;; + if test "x$enable_python" = "xyes" ; then + CFLAGS="$CFLAGS -pthread" + fi + ;; *) ;; esac