Add -DG_DISABLE_CAST_CHECKS for everything but --enable-debug.

Mon Nov  4 10:45:48 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Add -DG_DISABLE_CAST_CHECKS for
        everything but --enable-debug.

        * configure.in: Require pkg-config 0.14. (#97553)
This commit is contained in:
Owen Taylor 2002-11-05 00:27:15 +00:00 committed by Owen Taylor
parent d4407e38fa
commit d227d8a02f
8 changed files with 54 additions and 31 deletions

View File

@ -1,3 +1,10 @@
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Add -DG_DISABLE_CAST_CHECKS for
everything but --enable-debug.
* configure.in: Require pkg-config 0.14. (#97553)
Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* glib/gbsearcharray.c: Include config.h
@ -6,10 +13,6 @@ Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* tests/uri-test.c: Include <config.h>
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Require pkg-config 0.14. (#97553)
2002-11-03 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Belarusian to ALL_LINGUAS

View File

@ -1,3 +1,10 @@
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Add -DG_DISABLE_CAST_CHECKS for
everything but --enable-debug.
* configure.in: Require pkg-config 0.14. (#97553)
Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* glib/gbsearcharray.c: Include config.h
@ -6,10 +13,6 @@ Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* tests/uri-test.c: Include <config.h>
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Require pkg-config 0.14. (#97553)
2002-11-03 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Belarusian to ALL_LINGUAS

View File

@ -1,3 +1,10 @@
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Add -DG_DISABLE_CAST_CHECKS for
everything but --enable-debug.
* configure.in: Require pkg-config 0.14. (#97553)
Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* glib/gbsearcharray.c: Include config.h
@ -6,10 +13,6 @@ Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* tests/uri-test.c: Include <config.h>
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Require pkg-config 0.14. (#97553)
2002-11-03 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Belarusian to ALL_LINGUAS

View File

@ -1,3 +1,10 @@
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Add -DG_DISABLE_CAST_CHECKS for
everything but --enable-debug.
* configure.in: Require pkg-config 0.14. (#97553)
Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* glib/gbsearcharray.c: Include config.h
@ -6,10 +13,6 @@ Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* tests/uri-test.c: Include <config.h>
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Require pkg-config 0.14. (#97553)
2002-11-03 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Belarusian to ALL_LINGUAS

View File

@ -1,3 +1,10 @@
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Add -DG_DISABLE_CAST_CHECKS for
everything but --enable-debug.
* configure.in: Require pkg-config 0.14. (#97553)
Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* glib/gbsearcharray.c: Include config.h
@ -6,10 +13,6 @@ Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* tests/uri-test.c: Include <config.h>
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Require pkg-config 0.14. (#97553)
2002-11-03 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Belarusian to ALL_LINGUAS

View File

@ -1,3 +1,10 @@
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Add -DG_DISABLE_CAST_CHECKS for
everything but --enable-debug.
* configure.in: Require pkg-config 0.14. (#97553)
Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* glib/gbsearcharray.c: Include config.h
@ -6,10 +13,6 @@ Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* tests/uri-test.c: Include <config.h>
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Require pkg-config 0.14. (#97553)
2002-11-03 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Belarusian to ALL_LINGUAS

View File

@ -1,3 +1,10 @@
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Add -DG_DISABLE_CAST_CHECKS for
everything but --enable-debug.
* configure.in: Require pkg-config 0.14. (#97553)
Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* glib/gbsearcharray.c: Include config.h
@ -6,10 +13,6 @@ Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
* tests/uri-test.c: Include <config.h>
Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Require pkg-config 0.14. (#97553)
2002-11-03 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Belarusian to ALL_LINGUAS

View File

@ -206,10 +206,10 @@ if test x$PKG_CONFIG = xno ; then
AC_MSG_ERROR([*** pkg-config not found. See http://www.freedesktop.org/software/pkgconfig/])
fi
if $PKG_CONFIG --atleast-pkgconfig-version 0.5 ; then
if $PKG_CONFIG --atleast-pkgconfig-version 0.14 ; then
:
else
AC_MSG_ERROR([*** pkg-config too old; version 0.5 or better required.])
AC_MSG_ERROR([*** pkg-config too old; version 0.14 or better required.])
fi
if test "x$enable_debug" = "xyes"; then
@ -222,8 +222,10 @@ if test "x$enable_debug" = "xyes"; then
GLIB_DEBUG_FLAGS="-DG_ENABLE_DEBUG"
else
GLIB_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS"
if test "x$enable_debug" = "xno"; then
GLIB_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
GLIB_DEBUG_FLAGS="$GLIB_DEBUG_FLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
fi
fi