Mercurial > pidgin
comparison configure.ac @ 8378:2b68c423357e
[gaim-migrate @ 9105]
" For people and systems which have libzephyr installed
(e.g Debian), this will allow the zephyr plugin to
optionally be linked against it, instead of building
and linking in the libzephyr that comes with gaim.
Why?
1) A gaim binary package can be compiled against a
locally installed libzephyr.a, and use either
unkerberized or kerberized zephyr depending on which
version of the zephyr shared libraries is installed.
2) It reduces the build speed and size of the zephyr
plugin (on Debian x86, from 6.5 MB to ~ 300 kb)
Also, I added a zephyr icon (a blue Z), that's similar
to the icons used by Windows and MacOS zephyr clients
at MIT." --Arun A Tharuvai
someone will have to tell me how to fix the win32 makefiles, and i'm not
sure he patched enough to get his icon to be actually used.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 01 Mar 2004 18:08:42 +0000 |
parents | 35db601609e3 |
children | 2729ef2df189 |
comparison
equal
deleted
inserted
replaced
8377:c1ca19c8f749 | 8378:2b68c423357e |
---|---|
183 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) | 183 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) |
184 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) | 184 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) |
185 AC_ARG_ENABLE(sm, [ --disable-sm compile without X session management support],,enable_sm=yes) | 185 AC_ARG_ENABLE(sm, [ --disable-sm compile without X session management support],,enable_sm=yes) |
186 AC_ARG_WITH(krb4, [ --with-krb4=PREFIX Compile Zephyr plugin with Kerberos 4 support],kerberos="$withval",kerberos="no") | 186 AC_ARG_WITH(krb4, [ --with-krb4=PREFIX Compile Zephyr plugin with Kerberos 4 support],kerberos="$withval",kerberos="no") |
187 | 187 |
188 AC_ARG_WITH(zephyr, [ --with-zephyr=PREFIX Compile Zephyr plugin against external libzephyr],zephyr="$withval",zephyr="no") | |
189 AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test "x$zephyr" != "xno") | |
190 | |
188 if test "$enable_debug" = yes ; then | 191 if test "$enable_debug" = yes ; then |
189 DEBUG_CFLAGS="$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" | 192 DEBUG_CFLAGS="$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" |
190 AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) | 193 AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) |
191 fi | 194 fi |
192 | 195 |
997 AC_CHECK_FUNCS(krb_set_key krb_rd_req krb_get_lrealm) | 1000 AC_CHECK_FUNCS(krb_set_key krb_rd_req krb_get_lrealm) |
998 AC_CHECK_FUNCS(krb_get_err_text krb_log) | 1001 AC_CHECK_FUNCS(krb_get_err_text krb_log) |
999 LIBS="$orig_LIBS" | 1002 LIBS="$orig_LIBS" |
1000 LDFLAGS="$orig_LDFLAGS" | 1003 LDFLAGS="$orig_LDFLAGS" |
1001 fi | 1004 fi |
1005 | |
1006 dnl checks for an external libzephyr | |
1007 AC_SUBST(ZEPHYR_CFLAGS) | |
1008 AC_SUBST(ZEPHYR_LDFLAGS) | |
1009 AC_SUBST(ZEPHYR_LIBS) | |
1010 if test "$zephyr" != "no" ; then | |
1011 if test "$zephyr" != "yes" ; then | |
1012 ZEPHYR_CFLAGS="-I${zephyr}/include" | |
1013 ZEPHYR_LDFLAGS="-L${zephyr}/lib" | |
1014 elif test -d /usr/athena/include/zephyr ; then | |
1015 ZEPHYR_CFLAGS="-I/usr/athena/include" | |
1016 elif test -d /usr/include/zephyr ; then | |
1017 ZEPHYR_CFLAGS="-I/usr/include" | |
1018 elif test -d /usr/local/include/zephyr ; then | |
1019 ZEPHYR_CFLAGS="-I/usr/local/include" | |
1020 fi | |
1021 AC_DEFINE(LIBZEPHYR_EXT, 1 , [Define if external libzephyr should be used.]) | |
1022 AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test "x$zephyr" != "xno") | |
1023 orig_LDFLAGS="$LDFLAGS" | |
1024 LDFLAGS="$LDFLAGS $ZEPHYR_LDFLAGS" | |
1025 AC_CHECK_LIB(zephyr, ZInitialize, | |
1026 [ZEPHYR_LIBS="-lzephyr"], | |
1027 [AC_ERROR(Zephyr libraries not found)], | |
1028 -lzephyr) | |
1029 orig_LIBS="$LIBS" | |
1030 LIBS="$orig_LIBS" | |
1031 LDFLAGS="$orig_LDFLAGS" | |
1032 fi | |
1033 | |
1002 | 1034 |
1003 AC_MSG_CHECKING(for me pot o' gold) | 1035 AC_MSG_CHECKING(for me pot o' gold) |
1004 AC_MSG_RESULT(no) | 1036 AC_MSG_RESULT(no) |
1005 AC_CHECK_FUNCS(gethostid lrand48) | 1037 AC_CHECK_FUNCS(gethostid lrand48) |
1006 AC_CHECK_FUNCS(memcpy memmove random strchr strerror vprintf) | 1038 AC_CHECK_FUNCS(memcpy memmove random strchr strerror vprintf) |
1065 echo Build with Tk support......... : $enable_tk | 1097 echo Build with Tk support......... : $enable_tk |
1066 echo Build with Audio support...... : $enable_audio | 1098 echo Build with Audio support...... : $enable_audio |
1067 echo Build with NAS support........ : $enable_nas | 1099 echo Build with NAS support........ : $enable_nas |
1068 echo Build with GtkSpell support... : $enable_gtkspell | 1100 echo Build with GtkSpell support... : $enable_gtkspell |
1069 echo | 1101 echo |
1102 echo Use kerberos 4 with zephyr.... : $kerberos | |
1103 echo Use external libzephyr........ : $zephyr | |
1104 echo | |
1070 echo Use XScreenSaver Extension.... : $enable_xss | 1105 echo Use XScreenSaver Extension.... : $enable_xss |
1071 echo Use X Session Management...... : $enable_sm | 1106 echo Use X Session Management...... : $enable_sm |
1072 echo Use startup notification.......: $enable_startup_notification | 1107 echo Use startup notification.......: $enable_startup_notification |
1073 echo | 1108 echo |
1074 echo Print debugging messages...... : $enable_debug | 1109 echo Print debugging messages...... : $enable_debug |