Mercurial > pidgin.yaz
comparison configure.ac @ 20394:4a099e4d0d09
propagate from branch 'im.pidgin.pidgin' (head 98b6b547b29ea1192b73cc4e1de1e674edef4328)
to branch 'im.pidgin.rlaager.merging.msnp13-and-pidgin' (head 4d82c29e56bd33cd6f94302e343dfeb5d68ab3eb)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 15 Apr 2007 03:43:17 +0000 |
parents | 1657b86dc04e 634b96915d2e |
children |
comparison
equal
deleted
inserted
replaced
20393:40a04930b233 | 20394:4a099e4d0d09 |
---|---|
1 dnl Process this file with autoconf to produce a configure script. | 1 dnl Process this file with autoconf to produce a configure script. |
2 AC_INIT([gaim], [2.0.0beta6], [gaim-devel@lists.sourceforge.net]) | 2 AC_INIT([pidgin], [2.0.0beta7devel], [devel@pidgin.im]) |
3 AC_CANONICAL_SYSTEM | 3 AC_CANONICAL_SYSTEM |
4 AM_CONFIG_HEADER(config.h) | 4 AM_CONFIG_HEADER(config.h) |
5 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) | 5 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |
6 #AM_INIT_AUTOMAKE([foreign dist-bzip2]) | 6 #AM_INIT_AUTOMAKE([foreign dist-bzip2]) |
7 | 7 |
8 AC_PREREQ([2.50]) | 8 AC_PREREQ([2.50]) |
9 | |
10 AC_DEFINE(PIDGIN_NAME, "Pidgin", [The user-visible application name]) | |
9 | 11 |
10 AC_PATH_PROG(sedpath, sed) | 12 AC_PATH_PROG(sedpath, sed) |
11 | 13 |
12 dnl Storing configure arguments | 14 dnl Storing configure arguments |
13 AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments]) | 15 AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments]) |
19 LIBTOOL="$LIBTOOL --silent" | 21 LIBTOOL="$LIBTOOL --silent" |
20 AC_PROG_INSTALL | 22 AC_PROG_INSTALL |
21 AC_PROG_INTLTOOL | 23 AC_PROG_INTLTOOL |
22 PKG_PROG_PKG_CONFIG | 24 PKG_PROG_PKG_CONFIG |
23 | 25 |
24 GETTEXT_PACKAGE=gaim | 26 GETTEXT_PACKAGE=pidgin |
25 AC_SUBST(GETTEXT_PACKAGE) | 27 AC_SUBST(GETTEXT_PACKAGE) |
28 | |
26 | 29 |
27 # before gettexting, in case iconv matters | 30 # before gettexting, in case iconv matters |
28 case "$host_os" in | 31 case "$host_os" in |
29 darwin*) | 32 darwin*) |
30 AC_CHECK_LIB(resolv, res_query) | 33 AC_CHECK_LIB(resolv, res_query) |
47 ;; | 50 ;; |
48 *) | 51 *) |
49 ;; | 52 ;; |
50 esac | 53 esac |
51 | 54 |
52 ALL_LINGUAS="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 it ja ka ko ku lt mk my_MM nb ne nl nn pa pl pt_BR pt 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_TW" |
53 AM_GLIB_GNU_GETTEXT | 56 AM_GLIB_GNU_GETTEXT |
54 | 57 |
55 dnl we don't use autobreak on cygwin!! | 58 dnl we don't use autobreak on cygwin!! |
56 dnl AC_CYGWIN | 59 dnl AC_CYGWIN |
57 | 60 |
369 dnl # Check for ncurses and other things used by the console UI | 372 dnl # Check for ncurses and other things used by the console UI |
370 dnl ####################################################################### | 373 dnl ####################################################################### |
371 GNT_LIBS="" | 374 GNT_LIBS="" |
372 GNT_CFLAGS="" | 375 GNT_CFLAGS="" |
373 AC_ARG_WITH(ncurses-headers, [AC_HELP_STRING([--with-ncurses-headers=DIR], | 376 AC_ARG_WITH(ncurses-headers, [AC_HELP_STRING([--with-ncurses-headers=DIR], |
374 [compile gaim-text against the ncurses includes in DIR])], | 377 [compile finch against the ncurses includes in DIR])], |
375 [ac_ncurses_includes="$withval"], [ac_ncurses_includes=""]) | 378 [ac_ncurses_includes="$withval"], [ac_ncurses_includes=""]) |
376 if test "x$enable_consoleui" = "xyes"; then | 379 if test "x$enable_consoleui" = "xyes"; then |
377 AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_consoleui=no]) | 380 AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_consoleui=no]) |
378 AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"], [enable_consoleui=no]) | 381 AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"], [enable_consoleui=no]) |
379 | 382 |
411 | 414 |
412 if test x"$found_ncurses_h" = x"no" ; then | 415 if test x"$found_ncurses_h" = x"no" ; then |
413 GNT_LIBS="" | 416 GNT_LIBS="" |
414 GNT_CFLAGS="" | 417 GNT_CFLAGS="" |
415 enable_consoleui=no | 418 enable_consoleui=no |
416 AC_MSG_RESULT([no]) | |
417 else | |
418 AC_MSG_RESULT([yes]) | |
419 fi | 419 fi |
420 else | 420 else |
421 # ncursesw was not found. Look for plain old ncurses | 421 # ncursesw was not found. Look for plain old ncurses |
422 enable_consoleui=yes | 422 enable_consoleui=yes |
423 AC_CHECK_LIB(ncurses, initscr, [GNT_LIBS="-lncurses"], [enable_consoleui=no]) | 423 AC_CHECK_LIB(ncurses, initscr, [GNT_LIBS="-lncurses"], [enable_consoleui=no]) |
698 AC_SUBST(STATIC_PRPLS) | 698 AC_SUBST(STATIC_PRPLS) |
699 STATIC_LINK_LIBS= | 699 STATIC_LINK_LIBS= |
700 extern_init= | 700 extern_init= |
701 load_proto= | 701 load_proto= |
702 for i in $STATIC_PRPLS ; do | 702 for i in $STATIC_PRPLS ; do |
703 dnl Ugly special case for "libsilcgaim.a": | 703 dnl Ugly special case for "libsilcpurple.a": |
704 if test "x$i" = "xsilc"; then | 704 if test "x$i" = "xsilc"; then |
705 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib${i}gaim.a" | 705 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib${i}purple.a" |
706 else | 706 else |
707 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib$i.a" | 707 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib$i.a" |
708 fi | 708 fi |
709 extern_init="$extern_init extern gboolean gaim_init_${i}_plugin();" | 709 extern_init="$extern_init extern gboolean purple_init_${i}_plugin();" |
710 load_proto="$load_proto gaim_init_${i}_plugin();" | 710 load_proto="$load_proto purple_init_${i}_plugin();" |
711 case $i in | 711 case $i in |
712 bonjour) static_bonjour=yes ;; | 712 bonjour) static_bonjour=yes ;; |
713 gg) static_gg=yes ;; | 713 gg) static_gg=yes ;; |
714 irc) static_irc=yes ;; | 714 irc) static_irc=yes ;; |
715 jabber) static_jabber=yes ;; | 715 jabber) static_jabber=yes ;; |
716 msn) static_msn=yes ;; | 716 msn) static_msn=yes ;; |
717 novell) static_novell=yes ;; | 717 novell) static_novell=yes ;; |
718 oscar) static_oscar=yes ;; | 718 oscar) static_oscar=yes ;; |
719 qq) static_qq=yes ;; | 719 aim) static_oscar=yes ;; |
720 icq) static_oscar=yes ;; | |
721 qq) static_qq=yes ;; | |
720 sametime) static_sametime=yes ;; | 722 sametime) static_sametime=yes ;; |
721 silc) static_silc=yes ;; | 723 silc) static_silc=yes ;; |
722 simple) static_simple=yes ;; | 724 simple) static_simple=yes ;; |
723 toc) static_toc=yes ;; | 725 toc) static_toc=yes ;; |
724 yahoo) static_yahoo=yes ;; | 726 yahoo) static_yahoo=yes ;; |
765 irc) dynamic_irc=yes ;; | 767 irc) dynamic_irc=yes ;; |
766 jabber) dynamic_jabber=yes ;; | 768 jabber) dynamic_jabber=yes ;; |
767 msn) dynamic_msn=yes ;; | 769 msn) dynamic_msn=yes ;; |
768 novell) dynamic_novell=yes ;; | 770 novell) dynamic_novell=yes ;; |
769 oscar) dynamic_oscar=yes ;; | 771 oscar) dynamic_oscar=yes ;; |
770 qq) dynamic_qq=yes ;; | 772 aim) dynamic_oscar=yes ;; |
773 icq) dynamic_oscar=yes ;; | |
774 qq) dynamic_qq=yes ;; | |
771 sametime) dynamic_sametime=yes ;; | 775 sametime) dynamic_sametime=yes ;; |
772 silc) dynamic_silc=yes ;; | 776 silc) dynamic_silc=yes ;; |
773 simple) dynamic_simple=yes ;; | 777 simple) dynamic_simple=yes ;; |
774 toc) dynamic_toc=yes ;; | 778 toc) dynamic_toc=yes ;; |
775 yahoo) dynamic_yahoo=yes ;; | 779 yahoo) dynamic_yahoo=yes ;; |
816 dnl This leads to spurious warnings using GPOINTER_TO_INT(), et al. directly on a function call. | 820 dnl This leads to spurious warnings using GPOINTER_TO_INT(), et al. directly on a function call. |
817 dnl We'd need an intermediate variable. | 821 dnl We'd need an intermediate variable. |
818 dnl | 822 dnl |
819 dnl Consider adding -Wfloat-equal. | 823 dnl Consider adding -Wfloat-equal. |
820 dnl This leads to warnings with Perl. | 824 dnl This leads to warnings with Perl. |
821 dnl Perhaps we could write ugly configure magic and pass -Wno-float-equal down to that subdirectory. | 825 dnl Perhaps we could write ugly configure magic and pass -Wno-float-equal down to that subdirectory. |
822 dnl On the other hand, it's probably actually broken, so maybe the Perl folks should fix that? | 826 dnl On the other hand, it's probably actually broken, so maybe the Perl folks should fix that? |
823 dnl | 827 dnl |
824 dnl Consider removing -Wno-sign-compare (from the -Wextra set) and fixing all those cases. | 828 dnl Consider removing -Wno-sign-compare (from the -Wextra set) and fixing all those cases. |
825 dnl This is likely non-trivial. | 829 dnl This is likely non-trivial. |
826 dnl | 830 dnl |
877 DEBUG_CFLAGS="-Wall $DEBUG_CFLAGS" | 881 DEBUG_CFLAGS="-Wall $DEBUG_CFLAGS" |
878 CFLAGS="-g $CFLAGS" | 882 CFLAGS="-g $CFLAGS" |
879 fi | 883 fi |
880 AC_SUBST(CFLAGS) | 884 AC_SUBST(CFLAGS) |
881 | 885 |
882 AC_PATH_PROG(gaimpath, gaim) | 886 AC_PATH_PROG(pidginpath, pidgin) |
883 | 887 |
884 dnl ####################################################################### | 888 dnl ####################################################################### |
885 dnl # Check for DBUS libraries | 889 dnl # Check for D-Bus libraries |
886 dnl ####################################################################### | 890 dnl ####################################################################### |
887 | 891 |
888 AC_ARG_ENABLE(dbus, [AC_HELP_STRING([--enable-dbus], [enable DBUS support])], , enable_dbus=yes) | 892 AC_ARG_ENABLE(dbus, [AC_HELP_STRING([--enable-dbus], [enable D-Bus support])], , enable_dbus=yes) |
893 AC_ARG_ENABLE(nm, [AC_HELP_STRING([--enable-nm], [enable NetworkManager support (buggy) (requires D-Bus)])], enable_libnm=yes, enable_libnm=no) | |
889 | 894 |
890 if test "x$enable_dbus" = "xyes" ; then | 895 if test "x$enable_dbus" = "xyes" ; then |
891 AC_CHECK_PROG(enable_dbus, dbus-binding-tool, yes, no) | 896 AC_CHECK_PROG(enable_dbus, dbus-binding-tool, yes, no) |
892 fi | 897 fi |
893 | 898 |
899 ], [ | 904 ], [ |
900 AC_MSG_RESULT(no) | 905 AC_MSG_RESULT(no) |
901 enable_dbus=no | 906 enable_dbus=no |
902 ]) | 907 ]) |
903 | 908 |
904 dnl Check for libnm_glib; if we don't have it, oh well | 909 dnl Check for libnm_glib; if we don't have it, oh well |
905 LIBNM_CFLAGS="" | 910 if test "x$enable_libnm" = "xyes" ; then |
906 LIBNM_LIBS="" | 911 LIBNM_CFLAGS="" |
907 PKG_CHECK_MODULES(LIBNM, libnm_glib, | 912 LIBNM_LIBS="" |
908 [ | 913 PKG_CHECK_MODULES(LIBNM, libnm_glib, |
909 AC_DEFINE(HAVE_LIBNM, 1, [Check to see if we have NetworkManager]) | 914 [ |
910 ], | 915 AC_DEFINE(HAVE_LIBNM, 1, [Define if you have NetworkManager]) |
911 [ | 916 enable_libnm=yes |
912 AC_MSG_RESULT(no) | 917 ], |
913 ]) | 918 [ |
914 AC_SUBST(LIBNM_CFLAGS) | 919 AC_MSG_RESULT(no) |
915 AC_SUBST(LIBNM_LIBS) | 920 enable_libnm=no |
921 ]) | |
922 AC_SUBST(LIBNM_CFLAGS) | |
923 AC_SUBST(LIBNM_LIBS) | |
924 fi | |
925 else | |
926 enable_libnm=no | |
916 fi | 927 fi |
917 | 928 |
918 dnl ####################################################################### | 929 dnl ####################################################################### |
919 dnl # Check for Python | 930 dnl # Check for Python |
920 dnl ####################################################################### | 931 dnl ####################################################################### |
921 | 932 |
922 dnl Python scripts are used to auto-generate about 3000 lines of C | 933 dnl Python scripts are used to auto-generate about 3000 lines of C |
923 dnl and XML code that wraps (part of) the existing Gaim API so that | 934 dnl and XML code that wraps (part of) the existing Gaim API so that |
924 dnl it is now accessible through DBUS. | 935 dnl it is now accessible through D-Bus. |
925 | 936 |
926 dnl Python is only required if --enable-dbus is used, and only for | 937 dnl Python is only required if --enable-dbus is used, and only for |
927 dnl the build process to generate the code, not for running gaim. | 938 dnl the build process to generate the code, not for running pidgin. |
928 dnl This autogenerated code is system-independent, so in principle we | 939 dnl This autogenerated code is system-independent, so in principle we |
929 dnl can generate all of it before shipping. But I thought adding | 940 dnl can generate all of it before shipping. But I thought adding |
930 dnl auto-generated stuff to the repository is inelegant. | 941 dnl auto-generated stuff to the repository is inelegant. |
931 dnl Alternatively, these python scripts could be rewritten | 942 dnl Alternatively, these python scripts could be rewritten |
932 dnl in C (brrrr ...). | 943 dnl in C (brrrr ...). |
1002 else | 1013 else |
1003 DBUS_SERVICES_DIR="$datadir/dbus-1/services" | 1014 DBUS_SERVICES_DIR="$datadir/dbus-1/services" |
1004 fi | 1015 fi |
1005 fi | 1016 fi |
1006 AC_MSG_RESULT([$DBUS_SERVICES_DIR]) | 1017 AC_MSG_RESULT([$DBUS_SERVICES_DIR]) |
1007 AC_DEFINE(HAVE_DBUS, 1, [Define if we are re using DBUS.]) | 1018 AC_DEFINE(HAVE_DBUS, 1, [Define if we are using D-Bus.]) |
1008 fi | 1019 fi |
1009 AC_SUBST(DBUS_SERVICES_DIR) | 1020 AC_SUBST(DBUS_SERVICES_DIR) |
1010 | 1021 |
1011 if test "x$enable_dbus" = "xyes" ; then | 1022 if test "x$enable_dbus" = "xyes" ; then |
1012 echo "Building with DBUS support" | 1023 echo "Building with D-Bus support" |
1013 else | 1024 else |
1014 echo "Building without DBUS support" | 1025 echo "Building without D-Bus support" |
1015 fi | 1026 fi |
1016 | 1027 |
1017 AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes") | 1028 AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes") |
1018 | 1029 |
1019 dnl ####################################################################### | 1030 dnl ####################################################################### |
1020 dnl # Check for Mono support | 1031 dnl # Check for Mono support |
1021 dnl ####################################################################### | 1032 dnl ####################################################################### |
1022 AC_ARG_ENABLE(mono, [AC_HELP_STRING([--enable-mono], [compile with Mono runtime support (experimental)])], , enable_mono=no) | 1033 AC_ARG_ENABLE(mono, [AC_HELP_STRING([--enable-mono], [compile with Mono runtime support (experimental)])], , enable_mono=no) |
1023 if test x"$enable_mono" = x"yes" ; then | 1034 if test x"$enable_mono" = x"yes" ; then |
1024 AC_MSG_CHECKING(for Mono compile flags) | 1035 PKG_CHECK_MODULES(MONO, mono, [ |
1025 MONO_CFLAGS=`pkg-config --cflags mono 2> /dev/null` | 1036 AC_SUBST(MONO_CFLAGS) |
1026 if test $? != 0 ; then | 1037 AC_SUBST(MONO_LIBS) |
1027 AC_MSG_RESULT([not found, building without mono.]) | 1038 enable_mono=yes |
1028 MONO_CFLAGS= | 1039 ], [ |
1029 MONO_LIBS= | 1040 AC_MSG_RESULT(no) |
1030 enable_mono=no | 1041 enable_mono=no |
1031 else | 1042 ]) |
1032 MONO_LIBS=`pkg-config --libs mono 2> /dev/null` | 1043 if test x"$enable_mono" = x"yes"; then |
1033 AC_MSG_RESULT(ok) | |
1034 | |
1035 oldLIBS="$LIBS" | 1044 oldLIBS="$LIBS" |
1036 LIBS="$LIBS $MONO_LIBS" | 1045 LIBS="$LIBS $MONO_LIBS" |
1037 AC_MSG_CHECKING(for libmono) | 1046 AC_MSG_CHECKING(for libmono) |
1038 AC_CHECK_FUNCS(mono_jit_init, [], enable_mono=no) | 1047 AC_CHECK_FUNCS(mono_jit_init, [], enable_mono=no) |
1039 LIBS="$oldLIBS" | 1048 LIBS="$oldLIBS" |
1134 PERL_MM_PARAMS="INSTALLDIRS=vendor PREFIX=$prefix" | 1143 PERL_MM_PARAMS="INSTALLDIRS=vendor PREFIX=$prefix" |
1135 fi | 1144 fi |
1136 | 1145 |
1137 AC_ARG_WITH(perl-lib, | 1146 AC_ARG_WITH(perl-lib, |
1138 [AC_HELP_STRING([--with-perl-lib=[site|vendor|DIR]], | 1147 [AC_HELP_STRING([--with-perl-lib=[site|vendor|DIR]], |
1139 [specify where to install the Perl libraries for gaim. Default is site.])], | 1148 [specify where to install the Perl libraries for pidgin. Default is site.])], |
1140 [ | 1149 [ |
1141 if test "x$withval" = xsite; then | 1150 if test "x$withval" = xsite; then |
1142 PERL_MM_PARAMS="" | 1151 PERL_MM_PARAMS="" |
1143 elif test "x$withval" = xvendor; then | 1152 elif test "x$withval" = xvendor; then |
1144 if test -z "`$perlpath -v | grep '5\.0'`"; then | 1153 if test -z "`$perlpath -v | grep '5\.0'`"; then |
1238 | 1247 |
1239 if test "x$gnutls_includes" != "xno" -a \ | 1248 if test "x$gnutls_includes" != "xno" -a \ |
1240 "x$gnutls_includes" != "x"; then | 1249 "x$gnutls_includes" != "x"; then |
1241 have_gnutls_includes="yes" | 1250 have_gnutls_includes="yes" |
1242 | 1251 |
1243 GNUTLS_CFLAGS="-I$with_gnutls_includes" | 1252 if test "x$with_gnutls_includes" != "xNONE/include"; then |
1253 GNUTLS_CFLAGS="-I$with_gnutls_includes" | |
1254 fi | |
1244 else | 1255 else |
1245 GNUTLS_CFLAGS="" | 1256 GNUTLS_CFLAGS="" |
1246 fi | 1257 fi |
1247 else | 1258 else |
1248 AC_MSG_CHECKING(for GnuTLS includes) | 1259 AC_MSG_CHECKING(for GnuTLS includes) |
1704 AC_SUBST(DEBUG_CFLAGS) | 1715 AC_SUBST(DEBUG_CFLAGS) |
1705 AC_SUBST(LDADD) | 1716 AC_SUBST(LDADD) |
1706 AC_SUBST(LIBS) | 1717 AC_SUBST(LIBS) |
1707 | 1718 |
1708 if test "x$enable_plugins" = "xyes" ; then | 1719 if test "x$enable_plugins" = "xyes" ; then |
1709 AC_DEFINE(GAIM_PLUGINS, 1, [Define if plugins are enabled.]) | 1720 AC_DEFINE(PURPLE_PLUGINS, 1, [Define if plugins are enabled.]) |
1710 AM_CONDITIONAL(PLUGINS, true) | 1721 AM_CONDITIONAL(PLUGINS, true) |
1711 else | 1722 else |
1712 AM_CONDITIONAL(PLUGINS, false) | 1723 AM_CONDITIONAL(PLUGINS, false) |
1713 fi | 1724 fi |
1714 | 1725 |
1794 orig_LIBS="$LIBS" | 1805 orig_LIBS="$LIBS" |
1795 LIBS="$orig_LIBS" | 1806 LIBS="$orig_LIBS" |
1796 LDFLAGS="$orig_LDFLAGS" | 1807 LDFLAGS="$orig_LDFLAGS" |
1797 fi | 1808 fi |
1798 | 1809 |
1799 AM_BINRELOC | |
1800 | |
1801 AC_MSG_CHECKING(for me pot o' gold) | 1810 AC_MSG_CHECKING(for me pot o' gold) |
1802 AC_MSG_RESULT(no) | 1811 AC_MSG_RESULT(no) |
1803 AC_CHECK_FUNCS(gethostid lrand48) | 1812 AC_CHECK_FUNCS(gethostid lrand48) |
1804 AC_CHECK_FUNCS(memcpy memmove random strchr strerror vprintf) | 1813 AC_CHECK_FUNCS(memcpy memmove random strchr strerror vprintf) |
1805 AC_CHECK_HEADERS(malloc.h paths.h sgtty.h stdarg.h sys/cdefs.h) | 1814 AC_CHECK_HEADERS(malloc.h paths.h sgtty.h stdarg.h sys/cdefs.h) |
1820 fi | 1829 fi |
1821 | 1830 |
1822 dnl ####################################################################### | 1831 dnl ####################################################################### |
1823 dnl # Check for check | 1832 dnl # Check for check |
1824 dnl ####################################################################### | 1833 dnl ####################################################################### |
1825 PKG_CHECK_MODULES(CHECK, check >= 0.9.4, have_check=yes, have_check=no) | 1834 PKG_CHECK_MODULES(CHECK,[check >= 0.9.4],:,[ |
1826 AM_CONDITIONAL(HAVE_CHECK, test "x$have_check" = "xyes") | 1835 ifdef([AM_PATH_CHECK], |
1836 [AM_PATH_CHECK], | |
1837 [AC_MSG_RESULT([no, testing is disabled])]) | |
1838 ]) | |
1839 AM_CONDITIONAL(HAVE_CHECK, [test "x$CHECK_LIBS" != "x"]) | |
1827 AC_SUBST(CHECK_CFLAGS) | 1840 AC_SUBST(CHECK_CFLAGS) |
1828 AC_SUBST(CHECK_LIBS) | 1841 AC_SUBST(CHECK_LIBS) |
1829 | 1842 |
1830 dnl ####################################################################### | 1843 dnl ####################################################################### |
1831 dnl # Check for Doxygen and dot (part of GraphViz) | 1844 dnl # Check for Doxygen and dot (part of GraphViz) |
1873 fi | 1886 fi |
1874 | 1887 |
1875 AC_ARG_ENABLE(fatal-asserts, [AC_HELP_STRING([--enable-fatal-asserts], | 1888 AC_ARG_ENABLE(fatal-asserts, [AC_HELP_STRING([--enable-fatal-asserts], |
1876 [make assertions fatal (useful for debugging)])], , enable_fatal_asserts=no) | 1889 [make assertions fatal (useful for debugging)])], , enable_fatal_asserts=no) |
1877 if test "x$enable_fatal_asserts" = "xyes" ; then | 1890 if test "x$enable_fatal_asserts" = "xyes" ; then |
1878 AC_DEFINE(GAIM_FATAL_ASSERTS, 1, [Define to make assertions fatal (useful for debugging).]) | 1891 AC_DEFINE(PURPLE_FATAL_ASSERTS, 1, [Define to make assertions fatal (useful for debugging).]) |
1879 fi | 1892 fi |
1880 | 1893 |
1881 AC_OUTPUT([Makefile | 1894 AC_OUTPUT([Makefile |
1882 Doxyfile | 1895 Doxyfile |
1883 gaim.apspec | |
1884 gaim.service | 1896 gaim.service |
1885 doc/Makefile | 1897 doc/Makefile |
1886 doc/gaim.1 | 1898 doc/pidgin.1 |
1887 doc/gaim-text.1 | 1899 doc/finch.1 |
1888 m4macros/Makefile | 1900 m4macros/Makefile |
1889 gtk/Makefile | 1901 pidgin.apspec |
1890 gtk/pixmaps/Makefile | 1902 pidgin/Makefile |
1891 gtk/pixmaps/buddy_icons/Makefile | 1903 pidgin/pidgin.pc |
1892 gtk/pixmaps/buddy_icons/qq/Makefile | 1904 pidgin/pidgin-uninstalled.pc |
1893 gtk/pixmaps/smileys/Makefile | 1905 pidgin/pixmaps/Makefile |
1894 gtk/pixmaps/smileys/default/Makefile | 1906 pidgin/pixmaps/animations/Makefile |
1895 gtk/pixmaps/smileys/none/Makefile | 1907 pidgin/pixmaps/animations/16/Makefile |
1896 gtk/pixmaps/status/Makefile | 1908 pidgin/pixmaps/buddy_icons/Makefile |
1897 gtk/pixmaps/status/default/Makefile | 1909 pidgin/pixmaps/buddy_icons/qq/Makefile |
1898 gtk/plugins/Makefile | 1910 pidgin/pixmaps/dialogs/Makefile |
1899 gtk/plugins/cap/Makefile | 1911 pidgin/pixmaps/dialogs/16/Makefile |
1900 gtk/plugins/gestures/Makefile | 1912 pidgin/pixmaps/dialogs/16/scalable/Makefile |
1901 gtk/plugins/gevolution/Makefile | 1913 pidgin/pixmaps/dialogs/64/Makefile |
1902 gtk/plugins/musicmessaging/Makefile | 1914 pidgin/pixmaps/dialogs/64/scalable/Makefile |
1903 gtk/plugins/perl/Makefile | 1915 pidgin/pixmaps/emblems/Makefile |
1904 gtk/plugins/perl/common/Makefile.PL | 1916 pidgin/pixmaps/emblems/16/Makefile |
1905 gtk/plugins/ticker/Makefile | 1917 pidgin/pixmaps/emblems/16/scalable/Makefile |
1906 gtk/sounds/Makefile | 1918 pidgin/pixmaps/emotes/Makefile |
1907 libgaim/gconf/Makefile | 1919 pidgin/pixmaps/emotes/default/Makefile |
1908 libgaim/plugins/Makefile | 1920 pidgin/pixmaps/emotes/default/22/Makefile |
1909 libgaim/plugins/mono/Makefile | 1921 pidgin/pixmaps/emotes/default/22/scalable/Makefile |
1910 libgaim/plugins/mono/api/Makefile | 1922 pidgin/pixmaps/emotes/none/Makefile |
1911 libgaim/plugins/mono/loader/Makefile | 1923 pidgin/pixmaps/icons/Makefile |
1912 libgaim/plugins/perl/Makefile | 1924 pidgin/pixmaps/icons/16/Makefile |
1913 libgaim/plugins/perl/common/Makefile.PL | 1925 pidgin/pixmaps/icons/16/scalable/Makefile |
1914 libgaim/plugins/ssl/Makefile | 1926 pidgin/pixmaps/icons/24/Makefile |
1915 libgaim/plugins/tcl/Makefile | 1927 pidgin/pixmaps/icons/24/scalable/Makefile |
1916 libgaim/Makefile | 1928 pidgin/pixmaps/icons/32/Makefile |
1917 libgaim/protocols/Makefile | 1929 pidgin/pixmaps/icons/32/scalable/Makefile |
1918 libgaim/protocols/bonjour/Makefile | 1930 pidgin/pixmaps/icons/48/Makefile |
1919 libgaim/protocols/gg/Makefile | 1931 pidgin/pixmaps/icons/48/scalable/Makefile |
1920 libgaim/protocols/irc/Makefile | 1932 pidgin/pixmaps/protocols/Makefile |
1921 libgaim/protocols/jabber/Makefile | 1933 pidgin/pixmaps/protocols/16/Makefile |
1922 libgaim/protocols/msn/Makefile | 1934 pidgin/pixmaps/protocols/16/scalable/Makefile |
1923 libgaim/protocols/novell/Makefile | 1935 pidgin/pixmaps/protocols/22/Makefile |
1924 libgaim/protocols/oscar/Makefile | 1936 pidgin/pixmaps/protocols/22/scalable/Makefile |
1925 libgaim/protocols/qq/Makefile | 1937 pidgin/pixmaps/protocols/48/Makefile |
1926 libgaim/protocols/sametime/Makefile | 1938 pidgin/pixmaps/protocols/48/scalable/Makefile |
1927 libgaim/protocols/silc/Makefile | 1939 pidgin/pixmaps/status/Makefile |
1928 libgaim/protocols/simple/Makefile | 1940 pidgin/pixmaps/status/16/Makefile |
1929 libgaim/protocols/toc/Makefile | 1941 pidgin/pixmaps/status/16/rtl/Makefile |
1930 libgaim/protocols/yahoo/Makefile | 1942 pidgin/pixmaps/status/16/scalable/Makefile |
1931 libgaim/protocols/zephyr/Makefile | 1943 pidgin/pixmaps/status/22/Makefile |
1932 libgaim/tests/Makefile | 1944 pidgin/pixmaps/status/22/rtl/Makefile |
1933 console/Makefile | 1945 pidgin/pixmaps/status/22/scalable/Makefile |
1934 console/libgnt/Makefile | 1946 pidgin/pixmaps/status/32/Makefile |
1935 console/libgnt/gnt.pc | 1947 pidgin/pixmaps/status/32/rtl/Makefile |
1936 console/libgnt/wms/Makefile | 1948 pidgin/pixmaps/status/32/scalable/Makefile |
1937 console/plugins/Makefile | 1949 pidgin/pixmaps/status/48/Makefile |
1950 pidgin/pixmaps/status/48/rtl/Makefile | |
1951 pidgin/pixmaps/toolbar/Makefile | |
1952 pidgin/pixmaps/toolbar/16/Makefile | |
1953 pidgin/pixmaps/toolbar/16/scalable/Makefile | |
1954 pidgin/pixmaps/tray/Makefile | |
1955 pidgin/pixmaps/tray/16/Makefile | |
1956 pidgin/pixmaps/tray/22/Makefile | |
1957 pidgin/plugins/Makefile | |
1958 pidgin/plugins/cap/Makefile | |
1959 pidgin/plugins/gestures/Makefile | |
1960 pidgin/plugins/gevolution/Makefile | |
1961 pidgin/plugins/musicmessaging/Makefile | |
1962 pidgin/plugins/perl/Makefile | |
1963 pidgin/plugins/perl/common/Makefile.PL | |
1964 pidgin/plugins/ticker/Makefile | |
1965 pidgin/sounds/Makefile | |
1966 libpurple/example/Makefile | |
1967 libpurple/gconf/Makefile | |
1968 libpurple/purple.pc | |
1969 libpurple/purple-uninstalled.pc | |
1970 libpurple/plugins/Makefile | |
1971 libpurple/plugins/mono/Makefile | |
1972 libpurple/plugins/mono/api/Makefile | |
1973 libpurple/plugins/mono/loader/Makefile | |
1974 libpurple/plugins/perl/Makefile | |
1975 libpurple/plugins/perl/common/Makefile.PL | |
1976 libpurple/plugins/ssl/Makefile | |
1977 libpurple/plugins/tcl/Makefile | |
1978 libpurple/Makefile | |
1979 libpurple/protocols/Makefile | |
1980 libpurple/protocols/bonjour/Makefile | |
1981 libpurple/protocols/gg/Makefile | |
1982 libpurple/protocols/irc/Makefile | |
1983 libpurple/protocols/jabber/Makefile | |
1984 libpurple/protocols/msn/Makefile | |
1985 libpurple/protocols/novell/Makefile | |
1986 libpurple/protocols/oscar/Makefile | |
1987 libpurple/protocols/qq/Makefile | |
1988 libpurple/protocols/sametime/Makefile | |
1989 libpurple/protocols/silc/Makefile | |
1990 libpurple/protocols/simple/Makefile | |
1991 libpurple/protocols/toc/Makefile | |
1992 libpurple/protocols/yahoo/Makefile | |
1993 libpurple/protocols/zephyr/Makefile | |
1994 libpurple/tests/Makefile | |
1995 finch/Makefile | |
1996 finch/libgnt/Makefile | |
1997 finch/libgnt/gnt.pc | |
1998 finch/libgnt/wms/Makefile | |
1999 finch/plugins/Makefile | |
1938 po/Makefile.in | 2000 po/Makefile.in |
1939 gaim.pc | 2001 pidgin.spec |
1940 gaim.spec | |
1941 ]) | 2002 ]) |
1942 | 2003 |
1943 echo | 2004 echo |
1944 echo $PACKAGE $VERSION | 2005 echo $PACKAGE $VERSION |
1945 | 2006 |
1949 echo | 2010 echo |
1950 echo Protocols to build dynamically : $DYNAMIC_PRPLS | 2011 echo Protocols to build dynamically : $DYNAMIC_PRPLS |
1951 echo Protocols to link statically.. : $STATIC_PRPLS | 2012 echo Protocols to link statically.. : $STATIC_PRPLS |
1952 echo | 2013 echo |
1953 echo Build with GStreamer support.. : $enable_gst | 2014 echo Build with GStreamer support.. : $enable_gst |
1954 echo Build with DBUS support....... : $enable_dbus | 2015 echo Build with D-Bus support...... : $enable_dbus |
1955 if test "x$enable_dbus" = "xyes" ; then | 2016 if test "x$enable_dbus" = "xyes" ; then |
1956 eval eval echo DBUS services directory....... : $DBUS_SERVICES_DIR | 2017 eval eval echo D-Bus services directory...... : $DBUS_SERVICES_DIR |
1957 fi | 2018 fi |
2019 echo Build with NetworkManager..... : $enable_libnm | |
1958 echo SSL Library/Libraries......... : $msg_ssl | 2020 echo SSL Library/Libraries......... : $msg_ssl |
1959 echo Build with Cyrus SASL support. : $enable_cyrus_sasl | 2021 echo Build with Cyrus SASL support. : $enable_cyrus_sasl |
1960 echo Use kerberos 4 with zephyr.... : $kerberos | 2022 echo Use kerberos 4 with zephyr.... : $kerberos |
1961 echo Use external libzephyr........ : $zephyr | 2023 echo Use external libzephyr........ : $zephyr |
1962 echo Has you....................... : yes | 2024 echo Has you....................... : yes |
1973 echo Build with Tk support......... : $enable_tk | 2035 echo Build with Tk support......... : $enable_tk |
1974 echo | 2036 echo |
1975 echo Print debugging messages...... : $enable_debug | 2037 echo Print debugging messages...... : $enable_debug |
1976 echo Assertions are fatal.......... : $enable_fatal_asserts | 2038 echo Assertions are fatal.......... : $enable_fatal_asserts |
1977 echo | 2039 echo |
1978 eval eval echo Gaim will be installed in $bindir. | 2040 eval eval echo Pidgin will be installed in $bindir. |
1979 if test "x$gaimpath" != "x" ; then | 2041 if test "x$pidginpath" != "x" ; then |
1980 echo Warning: You have an old copy of gaim at $gaimpath. | 2042 echo Warning: You have an old copy of Pidgin at $pidginpath. |
1981 fi | 2043 fi |
1982 echo | 2044 echo |
1983 echo configure complete, now type \'make\' | 2045 echo configure complete, now type \'make\' |
1984 echo | 2046 echo |