2003-02-02 Christian Stimming <stimming@tuhh.de>

* configure.in: Disable error-on-warning by default because this
	seriously breaks quite a number of configure tests. May be enabled
	again for the development branch, but definitely not for
	end-users.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7920 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2003-02-02 13:16:15 +00:00
parent 66c78b40a6
commit 93fd3bff82
2 changed files with 14 additions and 5 deletions

View File

@ -1,5 +1,10 @@
2003-02-02 Christian Stimming <stimming@tuhh.de> 2003-02-02 Christian Stimming <stimming@tuhh.de>
* configure.in: Disable error-on-warning by default because this
seriously breaks quite a number of configure tests. May be enabled
again for the development branch, but definitely not for
end-users.
* configure.in: Fix libofx test. * configure.in: Fix libofx test.
* src/import-export/hbci/gnc-hbci-utils.c, po/de.po: Recognize * src/import-export/hbci/gnc-hbci-utils.c, po/de.po: Recognize

View File

@ -345,16 +345,20 @@ AC_SUBST(GNC_SCM_INSTALL_DIR)
AC_SUBST(GNC_SHAREDIR) AC_SUBST(GNC_SHAREDIR)
AC_SUBST(GNC_LIBEXECDIR) AC_SUBST(GNC_LIBEXECDIR)
# Enable error-on-warning by default -- I'm tired of fixing other ## Enable error-on-warning by default -- I'm tired of fixing other
# people's missing #includes, etc. ## people's missing #includes, etc.
# Disable error-on-warning by default again because this seriously
# breaks quite a number of configure tests (due to, like, 'warning:
# unused variable some_variable') -- cstim, 02/02/2003
AC_ARG_ENABLE(error-on-warning, AC_ARG_ENABLE(error-on-warning,
[ --enable-error-on-warning treat compile warnings as errors], [ --enable-error-on-warning treat compile warnings as errors],
[case "${enableval}" in [case "${enableval}" in
yes) CFLAGS="${CFLAGS} -Werror" ;; yes) CFLAGS="${CFLAGS} -Werror" ;;
no) ;; no) ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;;
esac], esac])
[ CFLAGS="${CFLAGS} -Werror" ]) #, [ CFLAGS="${CFLAGS} -Werror" ])
AC_ARG_ENABLE( debug, AC_ARG_ENABLE( debug,
[ --enable-debug compile with debugging flags set], [ --enable-debug compile with debugging flags set],