comparison configure.ac @ 14207:fff6be71e0bd

[gaim-migrate @ 16881] * Change our "GTK UI Library?" line that is printed at the end of ./configure to say yes or no instead of GTK+ 2.x or None * If --disable-gntgaim then show "no" next to the "Console UI?" line that is printed at the end of ./configure * Use AC_HELP_STRING for some of the ./configure --help strings so that they're lined up correctly automatically committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 19 Aug 2006 08:15:19 +0000
parents c2b3ecb1a99b
children 830a68fc9a54
comparison
equal deleted inserted replaced
14206:c2b3ecb1a99b 14207:fff6be71e0bd
187 AC_MSG_RESULT(no) 187 AC_MSG_RESULT(no)
188 enable_libxml2=no 188 enable_libxml2=no
189 ]) 189 ])
190 AC_SUBST(LIBXML_CFLAGS) 190 AC_SUBST(LIBXML_CFLAGS)
191 AC_SUBST(LIBXML_LIBS) 191 AC_SUBST(LIBXML_LIBS)
192 AC_ARG_ENABLE(libxml,[ --disable-libxml compile without libxml2 support],enable_libxml2=no) 192 AC_ARG_ENABLE(libxml, [AC_HELP_STRING([--disable-libxml], [compile without libxml2 support])],enable_libxml2=no)
193 if test "x$enable_libxml2" = "xyes"; then 193 if test "x$enable_libxml2" = "xyes"; then
194 AC_DEFINE(HAVE_LIBXML, 1, [Use libxml2 for xml parsing]) 194 AC_DEFINE(HAVE_LIBXML, 1, [Use libxml2 for xml parsing])
195 fi 195 fi
196 196
197 dnl ####################################################################### 197 dnl #######################################################################
394 AC_SUBST(GADU_CFLAGS) 394 AC_SUBST(GADU_CFLAGS)
395 395
396 396
397 AC_ARG_ENABLE(distrib,,,enable_distrib=no) 397 AC_ARG_ENABLE(distrib,,,enable_distrib=no)
398 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") 398 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes")
399 AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes) 399 AC_ARG_ENABLE(prpls, [AC_HELP_STRING([--disable-prpls], [don't build dynamic protocol plugins])], , enable_prpls=yes)
400 DYNAMIC_PRPLS=all 400 DYNAMIC_PRPLS=all
401 AC_ARG_WITH(static-prpls, [AC_HELP_STRING([--with-static-prpls], [Link to certain protocols statically])], [STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`], [STATIC_PRPLS=""]) 401 AC_ARG_WITH(static-prpls, [AC_HELP_STRING([--with-static-prpls], [Link to certain protocols statically])], [STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`], [STATIC_PRPLS=""])
402 if test "x$STATIC_PRPLS" != "x" -a "x$DYNAMIC_PRPLS" = "xall"; then 402 if test "x$STATIC_PRPLS" != "x" -a "x$DYNAMIC_PRPLS" = "xall"; then
403 DYNAMIC_PRPLS="" 403 DYNAMIC_PRPLS=""
404 fi 404 fi
516 AM_CONDITIONAL(DYNAMIC_SIMPLE, test "x$dynamic_simple" = "xyes") 516 AM_CONDITIONAL(DYNAMIC_SIMPLE, test "x$dynamic_simple" = "xyes")
517 AM_CONDITIONAL(DYNAMIC_TOC, test "x$dynamic_toc" = "xyes") 517 AM_CONDITIONAL(DYNAMIC_TOC, test "x$dynamic_toc" = "xyes")
518 AM_CONDITIONAL(DYNAMIC_YAHOO, test "x$dynamic_yahoo" = "xyes") 518 AM_CONDITIONAL(DYNAMIC_YAHOO, test "x$dynamic_yahoo" = "xyes")
519 AM_CONDITIONAL(DYNAMIC_ZEPHYR, test "x$dynamic_zephyr" = "xyes") 519 AM_CONDITIONAL(DYNAMIC_ZEPHYR, test "x$dynamic_zephyr" = "xyes")
520 520
521 AC_ARG_ENABLE(mono, [ --enable-mono compile with Mono runtime support],,enable_mono=no) 521 AC_ARG_ENABLE(mono, [AC_HELP_STRING([--enable-mono], [compile with Mono runtime support])], , enable_mono=no)
522 AC_ARG_ENABLE(plugins, [ --disable-plugins compile without plugin support],,enable_plugins=yes) 522 AC_ARG_ENABLE(plugins, [AC_HELP_STRING([--disable-plugins], [compile without plugin support])], , enable_plugins=yes)
523 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes) 523 AC_ARG_ENABLE(perl, [AC_HELP_STRING([--disable-perl], [compile without perl scripting])], , enable_perl=yes)
524 AC_ARG_ENABLE(tcl, [ --disable-tcl compile without Tcl scripting],,enable_tcl=yes) 524 AC_ARG_ENABLE(tcl, [AC_HELP_STRING([--disable-tcl], [compile without Tcl scripting])], , enable_tcl=yes)
525 AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tclConfig.sh]) 525 AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tclConfig.sh])
526 AC_ARG_ENABLE(tk, [ --disable-tk compile without Tcl support for Tk],,enable_tk=yes) 526 AC_ARG_ENABLE(tk, [ --disable-tk compile without Tcl support for Tk],,enable_tk=yes)
527 AC_ARG_WITH(tkconfig, [ --with-tkconfig=DIR directory containing tkConfig.sh]) 527 AC_ARG_WITH(tkconfig, [ --with-tkconfig=DIR directory containing tkConfig.sh])
528 AC_ARG_ENABLE(gtkspell, [ --disable-gtkspell compile without GtkSpell automatic spell checking],,enable_gtkspell=yes) 528 AC_ARG_ENABLE(gtkspell, [ --disable-gtkspell compile without GtkSpell automatic spell checking],,enable_gtkspell=yes)
529 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) 529 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no)
530 AC_ARG_ENABLE(gtkgaim, [ --disable-gtkgaim compile without GtkGaim client],,enable_gtk=yes) 530 AC_ARG_ENABLE(gtkgaim, [AC_HELP_STRING([--disable-gtkgaim], [compile without GtkGaim client])], , enable_gtk=yes)
531 AC_ARG_ENABLE(gntgaim, [ --disable-gntgaim compile without GntGaim console client],,enable_gnt=yes) 531 AC_ARG_ENABLE(gntgaim, [AC_HELP_STRING([--disable-gntgaim], [compile without GntGaim console client])], , enable_gnt=yes)
532 AC_ARG_ENABLE(fatal-asserts, [ --enable-fatal-asserts make assertions fatal (useful for debugging)],,enable_fatal_asserts=no) 532 AC_ARG_ENABLE(fatal-asserts, [ --enable-fatal-asserts make assertions fatal (useful for debugging)],,enable_fatal_asserts=no)
533 dnl We know Gaim won't compile with deprecated APIs disabled. 533 dnl We know Gaim won't compile with deprecated APIs disabled.
534 dnl We have no desire to support two different versions of the 534 dnl We have no desire to support two different versions of the
535 dnl same code when it's not necessary, so we're sticking with 535 dnl same code when it's not necessary, so we're sticking with
536 dnl the deprecated APIs in many cases. 536 dnl the deprecated APIs in many cases.
807 807
808 dnl ####################################################################### 808 dnl #######################################################################
809 dnl # GNT Gaim 809 dnl # GNT Gaim
810 dnl ####################################################################### 810 dnl #######################################################################
811 if test "x$enable_gnt" = "xyes"; then 811 if test "x$enable_gnt" = "xyes"; then
812 AC_CHECK_LIB(ncursesw, initscr, , [enable_gnt=no]) 812 AC_CHECK_LIB(ncursesw, initscr, , [enable_gnt=no])
813 AC_CHECK_LIB(panelw, update_panels, , [enable_gnt=no]) 813 AC_CHECK_LIB(panelw, update_panels, , [enable_gnt=no])
814 else
815 enable_gnt=no
814 fi 816 fi
815 AM_CONDITIONAL(ENABLE_GNT, test "x$enable_gnt" = "xyes") 817 AM_CONDITIONAL(ENABLE_GNT, test "x$enable_gnt" = "xyes")
816 818
817 dnl ####################################################################### 819 dnl #######################################################################
818 dnl # Look for startup-notification, evolution integration, X-libraries, 820 dnl # Look for startup-notification, evolution integration, X-libraries,
1864 echo 1866 echo
1865 echo Build Protocol Plugins........ : $enable_prpls 1867 echo Build Protocol Plugins........ : $enable_prpls
1866 echo Protocols to link statically.. : $STATIC_PRPLS 1868 echo Protocols to link statically.. : $STATIC_PRPLS
1867 echo Protocols to build dynamically : $DYNAMIC_PRPLS 1869 echo Protocols to build dynamically : $DYNAMIC_PRPLS
1868 echo 1870 echo
1869 if test "x$enable_gtk" = "xyes" ; then 1871 echo Build with GTK+ 2.x UI........ : $enable_gtk
1870 echo GTK UI Library................ : GTK+ 2.x
1871 else
1872 echo GTK UI Library................ : None
1873 fi
1874 echo Build with GNT Console UI..... : $enable_gnt 1872 echo Build with GNT Console UI..... : $enable_gnt
1875 echo SSL Library/Libraries......... : $msg_ssl 1873 echo SSL Library/Libraries......... : $msg_ssl
1876 echo 1874 echo
1877 echo Build with GStreamer support.. : $enable_gst 1875 echo Build with GStreamer support.. : $enable_gst
1878 echo Build with Plugin support..... : $enable_plugins 1876 echo Build with Plugin support..... : $enable_plugins