comparison configure.ac @ 15897:36bcca5e40e9

merge of 'a023355644afe1706072f39dcd9311b6bbef8156' and 'bc6e8deb70e39cb5478ca121eb205ba723dffd15'
author Mark Doliner <mark@kingant.net>
date Sat, 24 Mar 2007 22:55:24 +0000
parents c6e563dfaa7a
children 6f04fe174f40
comparison
equal deleted inserted replaced
15876:abb7875904b2 15897:36bcca5e40e9
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([pidgin], [2.0.0beta7devel], [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
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 ;;
933 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
934 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
935 dnl it is now accessible through D-Bus. 935 dnl it is now accessible through D-Bus.
936 936
937 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
938 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.
939 dnl This autogenerated code is system-independent, so in principle we 939 dnl This autogenerated code is system-independent, so in principle we
940 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
941 dnl auto-generated stuff to the repository is inelegant. 941 dnl auto-generated stuff to the repository is inelegant.
942 dnl Alternatively, these python scripts could be rewritten 942 dnl Alternatively, these python scripts could be rewritten
943 dnl in C (brrrr ...). 943 dnl in C (brrrr ...).
1143 PERL_MM_PARAMS="INSTALLDIRS=vendor PREFIX=$prefix" 1143 PERL_MM_PARAMS="INSTALLDIRS=vendor PREFIX=$prefix"
1144 fi 1144 fi
1145 1145
1146 AC_ARG_WITH(perl-lib, 1146 AC_ARG_WITH(perl-lib,
1147 [AC_HELP_STRING([--with-perl-lib=[site|vendor|DIR]], 1147 [AC_HELP_STRING([--with-perl-lib=[site|vendor|DIR]],
1148 [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.])],
1149 [ 1149 [
1150 if test "x$withval" = xsite; then 1150 if test "x$withval" = xsite; then
1151 PERL_MM_PARAMS="" 1151 PERL_MM_PARAMS=""
1152 elif test "x$withval" = xvendor; then 1152 elif test "x$withval" = xvendor; then
1153 if test -z "`$perlpath -v | grep '5\.0'`"; then 1153 if test -z "`$perlpath -v | grep '5\.0'`"; then
1888 fi 1888 fi
1889 1889
1890 AC_ARG_ENABLE(fatal-asserts, [AC_HELP_STRING([--enable-fatal-asserts], 1890 AC_ARG_ENABLE(fatal-asserts, [AC_HELP_STRING([--enable-fatal-asserts],
1891 [make assertions fatal (useful for debugging)])], , enable_fatal_asserts=no) 1891 [make assertions fatal (useful for debugging)])], , enable_fatal_asserts=no)
1892 if test "x$enable_fatal_asserts" = "xyes" ; then 1892 if test "x$enable_fatal_asserts" = "xyes" ; then
1893 AC_DEFINE(GAIM_FATAL_ASSERTS, 1, [Define to make assertions fatal (useful for debugging).]) 1893 AC_DEFINE(PURPLE_FATAL_ASSERTS, 1, [Define to make assertions fatal (useful for debugging).])
1894 fi 1894 fi
1895 1895
1896 AC_OUTPUT([Makefile 1896 AC_OUTPUT([Makefile
1897 Doxyfile 1897 Doxyfile
1898 gaim.apspec 1898 gaim.apspec
1901 doc/pidgin.1 1901 doc/pidgin.1
1902 doc/finch.1 1902 doc/finch.1
1903 m4macros/Makefile 1903 m4macros/Makefile
1904 pidgin/Makefile 1904 pidgin/Makefile
1905 pidgin/pidgin.pc 1905 pidgin/pidgin.pc
1906 pidgin/pidgin-uninstalled.pc
1906 pidgin/pixmaps/Makefile 1907 pidgin/pixmaps/Makefile
1907 pidgin/pixmaps/animations/Makefile 1908 pidgin/pixmaps/animations/Makefile
1908 pidgin/pixmaps/animations/16/Makefile 1909 pidgin/pixmaps/animations/16/Makefile
1909 pidgin/pixmaps/buddy_icons/Makefile 1910 pidgin/pixmaps/buddy_icons/Makefile
1910 pidgin/pixmaps/buddy_icons/qq/Makefile 1911 pidgin/pixmaps/buddy_icons/qq/Makefile
1911 pidgin/pixmaps/dialogs/Makefile 1912 pidgin/pixmaps/dialogs/Makefile
1912 pidgin/pixmaps/dialogs/16/Makefile 1913 pidgin/pixmaps/dialogs/16/Makefile
1913 pidgin/pixmaps/dialogs/16/scalable/Makefile 1914 pidgin/pixmaps/dialogs/16/scalable/Makefile
1914 pidgin/pixmaps/dialogs/64/Makefile 1915 pidgin/pixmaps/dialogs/64/Makefile
1915 pidgin/pixmaps/dialogs/64/scalable/Makefile 1916 pidgin/pixmaps/dialogs/64/scalable/Makefile
1916 pidgin/pixmaps/emblems/Makefile 1917 pidgin/pixmaps/emblems/Makefile
1917 pidgin/pixmaps/emblems/16/Makefile 1918 pidgin/pixmaps/emblems/16/Makefile
1918 pidgin/pixmaps/emblems/16/scalable/Makefile 1919 pidgin/pixmaps/emblems/16/scalable/Makefile
1919 pidgin/pixmaps/emotes/Makefile 1920 pidgin/pixmaps/emotes/Makefile
1920 pidgin/pixmaps/emotes/default/Makefile 1921 pidgin/pixmaps/emotes/default/Makefile
1921 pidgin/pixmaps/emotes/default/22/Makefile 1922 pidgin/pixmaps/emotes/default/22/Makefile
1922 pidgin/pixmaps/emotes/default/22/scalable/Makefile 1923 pidgin/pixmaps/emotes/default/22/scalable/Makefile
1923 pidgin/pixmaps/emotes/none/Makefile 1924 pidgin/pixmaps/emotes/none/Makefile
1924 pidgin/pixmaps/protocols/Makefile 1925 pidgin/pixmaps/protocols/Makefile
1925 pidgin/pixmaps/protocols/16/Makefile 1926 pidgin/pixmaps/protocols/16/Makefile
1926 pidgin/pixmaps/protocols/16/scalable/Makefile 1927 pidgin/pixmaps/protocols/16/scalable/Makefile
1927 pidgin/pixmaps/protocols/22/Makefile 1928 pidgin/pixmaps/protocols/22/Makefile
1956 pidgin/plugins/ticker/Makefile 1957 pidgin/plugins/ticker/Makefile
1957 pidgin/sounds/Makefile 1958 pidgin/sounds/Makefile
1958 libpurple/example/Makefile 1959 libpurple/example/Makefile
1959 libpurple/gconf/Makefile 1960 libpurple/gconf/Makefile
1960 libpurple/purple.pc 1961 libpurple/purple.pc
1962 libpurple/purple-uninstalled.pc
1961 libpurple/plugins/Makefile 1963 libpurple/plugins/Makefile
1962 libpurple/plugins/mono/Makefile 1964 libpurple/plugins/mono/Makefile
1963 libpurple/plugins/mono/api/Makefile 1965 libpurple/plugins/mono/api/Makefile
1964 libpurple/plugins/mono/loader/Makefile 1966 libpurple/plugins/mono/loader/Makefile
1965 libpurple/plugins/perl/Makefile 1967 libpurple/plugins/perl/Makefile
1987 finch/libgnt/Makefile 1989 finch/libgnt/Makefile
1988 finch/libgnt/gnt.pc 1990 finch/libgnt/gnt.pc
1989 finch/libgnt/wms/Makefile 1991 finch/libgnt/wms/Makefile
1990 finch/plugins/Makefile 1992 finch/plugins/Makefile
1991 po/Makefile.in 1993 po/Makefile.in
1992 gaim.pc 1994 pidgin.spec
1993 gaim-uninstalled.pc
1994 gaim.spec
1995 ]) 1995 ])
1996 1996
1997 echo 1997 echo
1998 echo $PACKAGE $VERSION 1998 echo $PACKAGE $VERSION
1999 1999
2028 echo Build with Tk support......... : $enable_tk 2028 echo Build with Tk support......... : $enable_tk
2029 echo 2029 echo
2030 echo Print debugging messages...... : $enable_debug 2030 echo Print debugging messages...... : $enable_debug
2031 echo Assertions are fatal.......... : $enable_fatal_asserts 2031 echo Assertions are fatal.......... : $enable_fatal_asserts
2032 echo 2032 echo
2033 eval eval echo Gaim will be installed in $bindir. 2033 eval eval echo Pidgin will be installed in $bindir.
2034 if test "x$gaimpath" != "x" ; then 2034 if test "x$gaimpath" != "x" ; then
2035 echo Warning: You have an old copy of gaim at $gaimpath. 2035 echo Warning: You have an old copy of gaim at $gaimpath.
2036 fi 2036 fi
2037 echo 2037 echo
2038 echo configure complete, now type \'make\' 2038 echo configure complete, now type \'make\'