Commit d227d8a0 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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)
parent d4407e38
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment