Mercurial > pidgin.yaz
comparison configure.ac @ 8525:d8dfab355d2c
[gaim-migrate @ 9264]
--enable-debug no longer breaks compilation when using gtk 2.4. This was
a problem for me personally for a long time, and with the release of gtk
2.4, we're going to see it more without this. It affected gargnome (I think
it was garnome?) as well. I added a --disable-deprecated flag for configure
that will disable deprecated gtk/glib/pango code. This should suffice, imho.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 30 Mar 2004 06:00:04 +0000 |
parents | db4a125edd7b |
children | 5c3542e63997 |
comparison
equal
deleted
inserted
replaced
8524:253eb32e344c | 8525:d8dfab355d2c |
---|---|
179 AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tclConfig.sh]) | 179 AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tclConfig.sh]) |
180 AC_ARG_ENABLE(tk, [ --disable-tk compile without Tcl support for Tk],,enable_tk=yes) | 180 AC_ARG_ENABLE(tk, [ --disable-tk compile without Tcl support for Tk],,enable_tk=yes) |
181 AC_ARG_WITH(tkconfig, [ --with-tkconfig=DIR directory containing tkConfig.sh]) | 181 AC_ARG_WITH(tkconfig, [ --with-tkconfig=DIR directory containing tkConfig.sh]) |
182 AC_ARG_ENABLE(gtkspell, [ --disable-gtkspell compile without GtkSpell automatic spell checking],,enable_gtkspell=yes) | 182 AC_ARG_ENABLE(gtkspell, [ --disable-gtkspell compile without GtkSpell automatic spell checking],,enable_gtkspell=yes) |
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(deprecated, [ --disable-deprecated compile without deprecated API usage],,enable_deprecated=yes) | |
184 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) | 185 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) | 186 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") | 187 AC_ARG_WITH(krb4, [ --with-krb4=PREFIX Compile Zephyr plugin with Kerberos 4 support],kerberos="$withval",kerberos="no") |
187 | 188 |
188 AC_ARG_WITH(zephyr, [ --with-zephyr=PREFIX Compile Zephyr plugin against external libzephyr],zephyr="$withval",zephyr="no") | 189 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 AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test "x$zephyr" != "xno") |
190 | 191 |
191 if test "$enable_debug" = yes ; then | 192 if test "$enable_debug" = yes ; then |
193 AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) | |
194 fi | |
195 | |
196 if test "x$enable_deprecated" = no; then | |
192 DEBUG_CFLAGS="$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" | 197 DEBUG_CFLAGS="$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" |
193 AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) | |
194 fi | 198 fi |
195 | 199 |
196 if test "x$GCC" = "xyes"; then | 200 if test "x$GCC" = "xyes"; then |
197 CFLAGS="$CFLAGS -Wall -g3" | 201 CFLAGS="$CFLAGS -Wall -g3" |
198 fi | 202 fi |