Mercurial > pidgin.yaz
comparison configure.ac @ 20407:1122d47583a1
explicit merge of 'd42ad2da81f881b2fbd2fb080cc70a843bc70d02'
and '8582c561c020d2d1e8d358e2e7cd9e3da113ed9e'
to branch 'im.pidgin.cpw.khc.msnp14'
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Wed, 02 May 2007 05:25:27 +0000 |
parents | c5a8103aa9a4 |
children | fe6fd0568d04 be098f796b32 |
comparison
equal
deleted
inserted
replaced
20406:7acc792487f2 | 20407:1122d47583a1 |
---|---|
50 ;; | 50 ;; |
51 *) | 51 *) |
52 ;; | 52 ;; |
53 esac | 53 esac |
54 | 54 |
55 ALL_LINGUAS="af am ar az bg bn bs ca ca@valencia cs da de dz el en_AU en_CA en_GB eo es et eu fa fi fr gl gu he hi hu id it ja ka kn ko ku lt mk my_MM nb ne nl nn pa pl pt_BR pt ps ro ru sk sl sq sr sr@Latn sv ta te th tr uk vi xh zh_CN zh_TW" | 55 ALL_LINGUAS="af am ar az bg bn bs ca ca@valencia cs da de dz el en_AU en_CA en_GB eo es et eu fa fi fr gl gu he hi hu id it ja ka kn ko ku lt mk my_MM nb ne nl nn pa pl pt_BR pt ps ro ru sk sl sq sr sr@Latn sv ta te th tr uk vi xh zh_CN zh_HK zh_TW" |
56 AM_GLIB_GNU_GETTEXT | 56 AM_GLIB_GNU_GETTEXT |
57 | 57 |
58 dnl we don't use autobreak on cygwin!! | 58 dnl we don't use autobreak on cygwin!! |
59 dnl AC_CYGWIN | 59 dnl AC_CYGWIN |
60 | 60 |
171 dnl ####################################################################### | 171 dnl ####################################################################### |
172 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.0.0 gobject-2.0 gmodule-2.0 gthread-2.0], , [ | 172 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.0.0 gobject-2.0 gmodule-2.0 gthread-2.0], , [ |
173 AC_MSG_RESULT(no) | 173 AC_MSG_RESULT(no) |
174 AC_MSG_ERROR([ | 174 AC_MSG_ERROR([ |
175 | 175 |
176 You must have the GLib 2.0 development headers installed to build Gaim. | 176 You must have the GLib 2.0 development headers installed to build. |
177 ])]) | 177 ])]) |
178 AC_SUBST(GLIB_CFLAGS) | 178 AC_SUBST(GLIB_CFLAGS) |
179 AC_SUBST(GLIB_LIBS) | 179 AC_SUBST(GLIB_LIBS) |
180 | 180 |
181 AC_ARG_ENABLE(gtkui, [AC_HELP_STRING([--disable-gtkui], | 181 AC_ARG_ENABLE(gtkui, [AC_HELP_STRING([--disable-gtkui], |
204 [AC_HELP_STRING([--disable-gtkspell], | 204 [AC_HELP_STRING([--disable-gtkspell], |
205 [compile without GtkSpell automatic spell checking])], | 205 [compile without GtkSpell automatic spell checking])], |
206 enable_gtkspell="$enableval", enable_gtkspell="yes") | 206 enable_gtkspell="$enableval", enable_gtkspell="yes") |
207 AC_ARG_ENABLE(gevolution, | 207 AC_ARG_ENABLE(gevolution, |
208 [AC_HELP_STRING([--disable-gevolution], | 208 [AC_HELP_STRING([--disable-gevolution], |
209 [compile without the Gaim Evolution plugin])], | 209 [compile without the Evolution plugin])], |
210 enable_gevolution="$enableval", enable_gevolution="yes") | 210 enable_gevolution="$enableval", enable_gevolution="yes") |
211 AC_ARG_ENABLE(cap, | 211 AC_ARG_ENABLE(cap, |
212 [AC_HELP_STRING([--disable-cap], | 212 [AC_HELP_STRING([--disable-cap], |
213 [compile without Contact Availability Prediction plugin])], | 213 [compile without Contact Availability Prediction plugin])], |
214 enable_cap="$enableval", enable_cap="yes") | 214 enable_cap="$enableval", enable_cap="yes") |
232 if test "x$enable_gtkui" = "xyes" ; then | 232 if test "x$enable_gtkui" = "xyes" ; then |
233 PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.0.0], , [ | 233 PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.0.0], , [ |
234 AC_MSG_RESULT(no) | 234 AC_MSG_RESULT(no) |
235 AC_MSG_ERROR([ | 235 AC_MSG_ERROR([ |
236 | 236 |
237 You must have the GTK+ 2.0 development headers installed to compile Gaim's | 237 You must have the GTK+ 2.0 development headers installed to compile Pidgin. |
238 GTK+ interface. If you only want to build the console interface then | 238 If you only want to build Finch then specify --disable-gtkui when running configure. |
239 specify --disable-gtkui when running configure. | |
240 ])]) | 239 ])]) |
241 | 240 |
242 AC_SUBST(GTK_CFLAGS) | 241 AC_SUBST(GTK_CFLAGS) |
243 AC_SUBST(GTK_LIBS) | 242 AC_SUBST(GTK_LIBS) |
243 | |
244 dnl We only really need Pango >= 1.4 for decent RTL support | |
245 PKG_CHECK_MODULES(pango, [pango >= 1.4.0], | |
246 AC_DEFINE(HAVE_PANGO14, 1, [Define if we have Pango 1.4 or newer.]),:) | |
244 | 247 |
245 dnl ####################################################################### | 248 dnl ####################################################################### |
246 dnl # Check for XScreenSaver | 249 dnl # Check for XScreenSaver |
247 dnl ####################################################################### | 250 dnl ####################################################################### |
248 if test "x$enable_screensaver" = "xyes" ; then | 251 if test "x$enable_screensaver" = "xyes" ; then |
449 dnl ####################################################################### | 452 dnl ####################################################################### |
450 PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.6.0], , [ | 453 PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.6.0], , [ |
451 AC_MSG_RESULT(no) | 454 AC_MSG_RESULT(no) |
452 AC_MSG_ERROR([ | 455 AC_MSG_ERROR([ |
453 | 456 |
454 You must have libxml2 >= 2.6.0 development headers installed to build Gaim. | 457 You must have libxml2 >= 2.6.0 development headers installed to build. |
455 ])]) | 458 ])]) |
456 AC_SUBST(LIBXML_CFLAGS) | 459 AC_SUBST(LIBXML_CFLAGS) |
457 AC_SUBST(LIBXML_LIBS) | 460 AC_SUBST(LIBXML_LIBS) |
458 | 461 |
459 dnl ####################################################################### | 462 dnl ####################################################################### |
929 dnl ####################################################################### | 932 dnl ####################################################################### |
930 dnl # Check for Python | 933 dnl # Check for Python |
931 dnl ####################################################################### | 934 dnl ####################################################################### |
932 | 935 |
933 dnl Python scripts are used to auto-generate about 3000 lines of C | 936 dnl Python scripts are used to auto-generate about 3000 lines of C |
934 dnl and XML code that wraps (part of) the existing Gaim API so that | 937 dnl and XML code that wraps (part of) the existing API so that |
935 dnl it is now accessible through D-Bus. | 938 dnl it is now accessible through D-Bus. |
936 | 939 |
937 dnl Python is only required if --enable-dbus is used, and only for | 940 dnl Python is only required if --enable-dbus is used, and only for |
938 dnl the build process to generate the code, not for running pidgin. | 941 dnl the build process to generate the code, not for running pidgin. |
939 dnl This autogenerated code is system-independent, so in principle we | 942 dnl This autogenerated code is system-independent, so in principle we |
1831 dnl ####################################################################### | 1834 dnl ####################################################################### |
1832 dnl # Check for check | 1835 dnl # Check for check |
1833 dnl ####################################################################### | 1836 dnl ####################################################################### |
1834 PKG_CHECK_MODULES(CHECK,[check >= 0.9.4],:,[ | 1837 PKG_CHECK_MODULES(CHECK,[check >= 0.9.4],:,[ |
1835 ifdef([AM_PATH_CHECK], | 1838 ifdef([AM_PATH_CHECK], |
1836 [AM_PATH_CHECK], | 1839 [AM_PATH_CHECK(0.8.2,:,:)], |
1837 [AC_MSG_RESULT([no, testing is disabled])]) | 1840 [AC_MSG_RESULT([no, testing is disabled])]) |
1838 ]) | 1841 ]) |
1839 AM_CONDITIONAL(HAVE_CHECK, [test "x$CHECK_LIBS" != "x"]) | 1842 AM_CONDITIONAL(HAVE_CHECK, [test "x$CHECK_LIBS" != "x"]) |
1840 AC_SUBST(CHECK_CFLAGS) | 1843 AC_SUBST(CHECK_CFLAGS) |
1841 AC_SUBST(CHECK_LIBS) | 1844 AC_SUBST(CHECK_LIBS) |
1891 AC_DEFINE(PURPLE_FATAL_ASSERTS, 1, [Define to make assertions fatal (useful for debugging).]) | 1894 AC_DEFINE(PURPLE_FATAL_ASSERTS, 1, [Define to make assertions fatal (useful for debugging).]) |
1892 fi | 1895 fi |
1893 | 1896 |
1894 AC_OUTPUT([Makefile | 1897 AC_OUTPUT([Makefile |
1895 Doxyfile | 1898 Doxyfile |
1896 gaim.service | |
1897 doc/Makefile | 1899 doc/Makefile |
1898 doc/pidgin.1 | 1900 doc/pidgin.1 |
1899 doc/finch.1 | 1901 doc/finch.1 |
1900 m4macros/Makefile | 1902 m4macros/Makefile |
1901 pidgin.apspec | 1903 pidgin.apspec |
1949 pidgin/pixmaps/status/48/Makefile | 1951 pidgin/pixmaps/status/48/Makefile |
1950 pidgin/pixmaps/status/48/rtl/Makefile | 1952 pidgin/pixmaps/status/48/rtl/Makefile |
1951 pidgin/pixmaps/toolbar/Makefile | 1953 pidgin/pixmaps/toolbar/Makefile |
1952 pidgin/pixmaps/toolbar/16/Makefile | 1954 pidgin/pixmaps/toolbar/16/Makefile |
1953 pidgin/pixmaps/toolbar/16/scalable/Makefile | 1955 pidgin/pixmaps/toolbar/16/scalable/Makefile |
1956 pidgin/pixmaps/toolbar/22/Makefile | |
1957 pidgin/pixmaps/toolbar/22/scalable/Makefile | |
1954 pidgin/pixmaps/tray/Makefile | 1958 pidgin/pixmaps/tray/Makefile |
1955 pidgin/pixmaps/tray/16/Makefile | 1959 pidgin/pixmaps/tray/16/Makefile |
1956 pidgin/pixmaps/tray/22/Makefile | 1960 pidgin/pixmaps/tray/22/Makefile |
1957 pidgin/plugins/Makefile | 1961 pidgin/plugins/Makefile |
1958 pidgin/plugins/cap/Makefile | 1962 pidgin/plugins/cap/Makefile |