Mercurial > pidgin.yaz
comparison configure.ac @ 5719:29cded5d1ccf
[gaim-migrate @ 6141]
Evan Martin points out that it's probably not a good thing to include the
DISABLE_DEPRECATED #defines in released code. This makes it only define
those flags on --enable-debug.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 03 Jun 2003 20:48:08 +0000 |
parents | 6503d24fda09 |
children | 99ae9bd8b5fa |
comparison
equal
deleted
inserted
replaced
5718:c19cc2a3d65e | 5719:29cded5d1ccf |
---|---|
131 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) | 131 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) |
132 AC_ARG_ENABLE(sm, [ --disable-sm compile without X session management support],,enable_sm=yes) | 132 AC_ARG_ENABLE(sm, [ --disable-sm compile without X session management support],,enable_sm=yes) |
133 AC_ARG_WITH(krb4, [ --with-krb4=PREFIX Compile Zephyr plugin with Kerberos 4 support],kerberos="$withval",kerberos="no") | 133 AC_ARG_WITH(krb4, [ --with-krb4=PREFIX Compile Zephyr plugin with Kerberos 4 support],kerberos="$withval",kerberos="no") |
134 | 134 |
135 if test "$enable_debug" = yes ; then | 135 if test "$enable_debug" = yes ; then |
136 CFLAGS="$CFLAGS -Wall -g3" | 136 CFLAGS="$CFLAGS -Wall -g3 -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" |
137 AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) | 137 AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) |
138 fi | 138 fi |
139 | 139 |
140 AM_PATH_GLIB_2_0(2.0.0,,AC_MSG_ERROR([ | 140 AM_PATH_GLIB_2_0(2.0.0,,AC_MSG_ERROR([ |
141 *** GLib 2.0 is required to build Gaim; please make sure you have the GLib | 141 *** GLib 2.0 is required to build Gaim; please make sure you have the GLib |
145 *** GTK+ 2.0 is required to build Gaim; please make sure you have the GTK+ | 145 *** GTK+ 2.0 is required to build Gaim; please make sure you have the GTK+ |
146 *** development headers installed. The latest version of GTK+ is | 146 *** development headers installed. The latest version of GTK+ is |
147 *** always available at http://www.gtk.org/.])) | 147 *** always available at http://www.gtk.org/.])) |
148 | 148 |
149 AC_PATH_PROG(gaimpath, gaim) | 149 AC_PATH_PROG(gaimpath, gaim) |
150 CFLAGS="$CFLAGS $GTK_CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" | 150 CFLAGS="$CFLAGS $GTK_CFLAGS" |
151 | 151 |
152 AC_PATH_XTRA | 152 AC_PATH_XTRA |
153 # We can't assume that $x_libraries will be set, because autoconf does not | 153 # We can't assume that $x_libraries will be set, because autoconf does not |
154 # set it in the case when the X libraries are in a standard place. | 154 # set it in the case when the X libraries are in a standard place. |
155 # Ditto for $x_includes | 155 # Ditto for $x_includes |