Mercurial > pidgin
changeset 31317:18ca4a90842f
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Giaquinta.
committer: Ethan Blanton <elb@pidgin.im>
author | emanuele.giaquinta@gmail.com |
---|---|
date | Wed, 09 Mar 2011 14:01:56 +0000 |
parents | 96dffe08f3f7 |
children | a01d958f7b26 |
files | COPYRIGHT configure.ac |
diffstat | 2 files changed, 26 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/COPYRIGHT Tue Mar 08 02:27:47 2011 +0000 +++ b/COPYRIGHT Wed Mar 09 14:01:56 2011 +0000 @@ -187,6 +187,7 @@ Ignacy Gawedzki Georgi Georgiev Brian Geppert +Emanuele Giaquinta Thomas Gibson-Robinson Ike Gingerich Gustavo Giráldez
--- a/configure.ac Tue Mar 08 02:27:47 2011 +0000 +++ b/configure.ac Wed Mar 09 14:01:56 2011 +0000 @@ -263,6 +263,31 @@ AC_MSG_RESULT(no) ]) +# before gettexting, in case iconv matters +case "$host_os" in +darwin*) + AC_CHECK_LIB(resolv, res_query) + + AC_CHECK_HEADER(CoreFoundation/CoreFoundation.h, [ + AC_CHECK_HEADER(IOKit/IOKitLib.h, [ + AC_DEFINE(HAVE_IOKIT, 1, [Define if we have IOKit]) + LIBS="$LIBS -framework IOKit -framework CoreFoundation" + ], []) + ], []) + + AC_MSG_CHECKING([for fink]) + if test -d /sw; then + AC_MSG_RESULT([found, adding /sw to search paths]) + CPPFLAGS="$CPPFLAGS -I/sw/include" + LDFLAGS="$LDFLAGS -L/sw/lib" + else + AC_MSG_RESULT([not found]) + fi + ;; +*) + ;; +esac + dnl ####################################################################### dnl # Disable creation and installation of translation files dnl ####################################################################### @@ -273,32 +298,6 @@ GETTEXT_PACKAGE=pidgin AC_SUBST(GETTEXT_PACKAGE) - - # before gettexting, in case iconv matters - case "$host_os" in - darwin*) - AC_CHECK_LIB(resolv, res_query) - - AC_CHECK_HEADER(CoreFoundation/CoreFoundation.h, [ - AC_CHECK_HEADER(IOKit/IOKitLib.h, [ - AC_DEFINE(HAVE_IOKIT, 1, [Define if we have IOKit]) - LIBS="$LIBS -framework IOKit -framework CoreFoundation" - ], []) - ], []) - - AC_MSG_CHECKING([for fink]) - if test -d /sw; then - AC_MSG_RESULT([found, adding /sw to search paths]) - CPPFLAGS="$CPPFLAGS -I/sw/include" - LDFLAGS="$LDFLAGS -L/sw/lib" - else - AC_MSG_RESULT([not found]) - fi - ;; - *) - ;; - esac - ALL_LINGUAS="af am ar az be@latin bg bn bn_IN bs ca ca@valencia cs da de dz el en_AU en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hu hy id it ja ka km kn ko ku lo lt mai mhr mk mn mr ms_MY my_MM nb ne nl nn oc or pa pl pt_BR pt ps ro ru si sk sl sq sr sr@latin sv sw ta te th tr uk ur vi xh zh_CN zh_HK zh_TW" AM_GLIB_GNU_GETTEXT