comparison configure.ac @ 32579:041d5144730f

propagate from branch 'im.pidgin.pidgin' (head d5a2e2287440ac7134c201e66921754bd4187ba9) to branch 'im.pidgin.soc.2009.webkitmessageview' (head 4e16095b9e87587f84d0244acecf411e76f0e349)
author masca@cpw.pidgin.im
date Fri, 22 Jan 2010 00:51:25 +0000
parents 585d6f844f79 b8d97cf37200
children e1cc8d07fe07
comparison
equal deleted inserted replaced
32578:585d6f844f79 32579:041d5144730f
44 # Make sure to update finch/libgnt/configure.ac with libgnt version changes. 44 # Make sure to update finch/libgnt/configure.ac with libgnt version changes.
45 # 45 #
46 m4_define([purple_lt_current], [6]) 46 m4_define([purple_lt_current], [6])
47 m4_define([purple_major_version], [2]) 47 m4_define([purple_major_version], [2])
48 m4_define([purple_minor_version], [6]) 48 m4_define([purple_minor_version], [6])
49 m4_define([purple_micro_version], [4]) 49 m4_define([purple_micro_version], [6])
50 m4_define([purple_version_suffix], [devel]) 50 m4_define([purple_version_suffix], [devel])
51 m4_define([purple_version], 51 m4_define([purple_version],
52 [purple_major_version.purple_minor_version.purple_micro_version]) 52 [purple_major_version.purple_minor_version.purple_micro_version])
53 m4_define([purple_display_version], purple_version[]m4_ifdef([purple_version_suffix],[purple_version_suffix])) 53 m4_define([purple_display_version], purple_version[]m4_ifdef([purple_version_suffix],[purple_version_suffix]))
54 54
55 m4_define([gnt_lt_current], [6]) 55 m4_define([gnt_lt_current], [6])
56 m4_define([gnt_major_version], [2]) 56 m4_define([gnt_major_version], [2])
57 m4_define([gnt_minor_version], [6]) 57 m4_define([gnt_minor_version], [6])
58 m4_define([gnt_micro_version], [4]) 58 m4_define([gnt_micro_version], [6])
59 m4_define([gnt_version_suffix], [devel]) 59 m4_define([gnt_version_suffix], [devel])
60 m4_define([gnt_version], 60 m4_define([gnt_version],
61 [gnt_major_version.gnt_minor_version.gnt_micro_version]) 61 [gnt_major_version.gnt_minor_version.gnt_micro_version])
62 m4_define([gnt_display_version], gnt_version[]m4_ifdef([gnt_version_suffix],[gnt_version_suffix])) 62 m4_define([gnt_display_version], gnt_version[]m4_ifdef([gnt_version_suffix],[gnt_version_suffix]))
63 63
142 ;; 142 ;;
143 *) 143 *)
144 ;; 144 ;;
145 esac 145 esac
146 146
147 ALL_LINGUAS="af am ar az be@latin bg bn 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 mk mn my_MM nb ne nl nn oc 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" 147 ALL_LINGUAS="af am ar az be@latin bg bn 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 mk mn ms_MY my_MM nb ne nl nn oc 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"
148 AM_GLIB_GNU_GETTEXT 148 AM_GLIB_GNU_GETTEXT
149 149
150 dnl If we don't have msgfmt, then po/ is going to fail -- ensure that 150 dnl If we don't have msgfmt, then po/ is going to fail -- ensure that
151 dnl AM_GLIB_GNU_GETTEXT found it. 151 dnl AM_GLIB_GNU_GETTEXT found it.
152 152
811 ]) 811 ])
812 fi 812 fi
813 fi 813 fi
814 fi 814 fi
815 AM_CONDITIONAL(USE_VV, test "x$enable_gstreamer" != "xno" -a "x$enable_gstinterfaces" != "xno" -a "x$enable_farsight" != "xno") 815 AM_CONDITIONAL(USE_VV, test "x$enable_gstreamer" != "xno" -a "x$enable_gstinterfaces" != "xno" -a "x$enable_farsight" != "xno")
816
817 dnl #######################################################################
818 dnl # Check for Internationalized Domain Name support
819 dnl #######################################################################
816 820
817 AC_ARG_ENABLE(idn, 821 AC_ARG_ENABLE(idn,
818 [AC_HELP_STRING([--disable-idn], [compile without IDN support])], 822 [AC_HELP_STRING([--disable-idn], [compile without IDN support])],
819 [enable_idn="$enableval" force_idn=$enableval], [enable_idn="yes" force_idn=no]) 823 [enable_idn="$enableval" force_idn=$enableval], [enable_idn="yes" force_idn=no])
820 if test "x$enable_idn" != "xno"; then 824 if test "x$enable_idn" != "xno"; then
1470 changequote([, ])dnl 1474 changequote([, ])dnl
1471 if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h -a "$PY_MAJOR" = "2."; then 1475 if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h -a "$PY_MAJOR" = "2."; then
1472 AC_CHECK_LIB(pthread, pthread_create, ) 1476 AC_CHECK_LIB(pthread, pthread_create, )
1473 AC_CHECK_LIB(util, openpty, ) 1477 AC_CHECK_LIB(util, openpty, )
1474 AC_CHECK_LIB(db, dbopen, ) 1478 AC_CHECK_LIB(db, dbopen, )
1475 PY_LIBS="-lpython$PY_VERSION -L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config" 1479 PY_LIBS="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config -lpython$PY_VERSION"
1476 PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION" 1480 PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION"
1477 AC_DEFINE(USE_PYTHON, [1], [Define if python headers are available.]) 1481 AC_DEFINE(USE_PYTHON, [1], [Define if python headers are available.])
1478 AC_MSG_RESULT(ok) 1482 AC_MSG_RESULT(ok)
1479 else 1483 else
1480 AC_MSG_RESULT([Can't find Python.h]) 1484 AC_MSG_RESULT([Can't find Python.h])
2267 AC_CHECK_FUNCS(snprintf connect) 2271 AC_CHECK_FUNCS(snprintf connect)
2268 AC_SUBST(SASL_LIBS) 2272 AC_SUBST(SASL_LIBS)
2269 AC_ARG_ENABLE(cyrus-sasl, AC_HELP_STRING([--enable-cyrus-sasl], [enable Cyrus SASL support for jabberd]), enable_cyrus_sasl=$enableval, enable_cyrus_sasl=no) 2273 AC_ARG_ENABLE(cyrus-sasl, AC_HELP_STRING([--enable-cyrus-sasl], [enable Cyrus SASL support for jabberd]), enable_cyrus_sasl=$enableval, enable_cyrus_sasl=no)
2270 if test "x$enable_cyrus_sasl" = "xyes" ; then 2274 if test "x$enable_cyrus_sasl" = "xyes" ; then
2271 AC_CHECK_LIB(sasl2, sasl_client_init, [ 2275 AC_CHECK_LIB(sasl2, sasl_client_init, [
2276 AM_CONDITIONAL(USE_CYRUS_SASL, true)
2272 AC_DEFINE(HAVE_CYRUS_SASL, [1], [Define to 1 if Cyrus SASL is present]) 2277 AC_DEFINE(HAVE_CYRUS_SASL, [1], [Define to 1 if Cyrus SASL is present])
2273 SASL_LIBS=-"lsasl2" 2278 SASL_LIBS=-"lsasl2"
2274 ], [ 2279 ], [
2280 AM_CONDITIONAL(USE_CYRUS_SASL, false)
2275 AC_ERROR(Cyrus SASL library not found) 2281 AC_ERROR(Cyrus SASL library not found)
2276 ]) 2282 ])
2283 else
2284 AM_CONDITIONAL(USE_CYRUS_SASL, false)
2277 fi 2285 fi
2278 2286
2279 dnl ####################################################################### 2287 dnl #######################################################################
2280 dnl # Check for Kerberos (for Zephyr) 2288 dnl # Check for Kerberos (for Zephyr)
2281 dnl ####################################################################### 2289 dnl #######################################################################