Commit 42e262b5 authored by David Zeuthen's avatar David Zeuthen

Revert "Add --enable-strict and default to this for developer builds"

It doesn't make much sense to do this as we're now relying on
deprecated functionality as per the previous revert.

This reverts commit 5d0ab243.
parent acf2be4d
......@@ -113,24 +113,7 @@ fi
GNOME_DOC_INIT
GNOME_DEBUG_CHECK
GNOME_COMPILE_WARNINGS([maximum])
dnl ---------------------------------------------------------------------------
dnl - Use strict options (default enabled for devs, disabled in releases)
dnl ---------------------------------------------------------------------------
dnl if .git directory is present, considering we are working in the repository
if test -d ".git"; then
default_strict=yes
else
default_strict=no
fi
AC_ARG_ENABLE(strict, AS_HELP_STRING([--enable-strict],
[Enable strict compilation options]), enable_strict=$enableval,
enable_strict=$default_strict)
if test x$enable_strict != xno; then
CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED"
fi
GNOME_MAINTAINER_MODE_DEFINES
AC_ARG_ENABLE(gtk-doc, AS_HELP_STRING([--enable-gtk-doc],
[use gtk-doc to build documentation [default=no]]),,
......@@ -298,7 +281,6 @@ echo "
compiler: ${CC}
cflags: ${CFLAGS}
cppflags: ${CPPFLAGS}
strict: ${enable_strict}
Maintainer mode: ${USE_MAINTAINER_MODE}
Building api docs: ${enable_gtk_doc}
......
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