Kaydet (Commit) 5bd28c68 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

migrate EXTERNAL_WARNINGS_NOT_ERRORS out of set_soenv

üst 43b987e4
......@@ -116,6 +116,7 @@ export ENABLE_XMLSEC="@ENABLE_XMLSEC@"
export ENABLE_ZENITY="@ENABLE_ZENITY@"
export EPM="@EPM@"
export EPM_FLAGS="@EPM_FLAGS@"
export EXTERNAL_WARNINGS_NOT_ERRORS="@EXTERNAL_WARNINGS_NOT_ERRORS@"
export FLUTE_JAR="@FLUTE_JAR@"
export FONTCONFIG_CFLAGS="@FONTCONFIG_CFLAGS@"
export FONTCONFIG_LIBS="@FONTCONFIG_LIBS@"
......
......@@ -3163,13 +3163,13 @@ dnl Set the ENABLE_WERROR variable. (Activate --enable-werror)
dnl ===================================================================
AC_MSG_CHECKING([whether to turn warnings to errors])
if test -n "$enable_werror" && test "$enable_werror" != "no"; then
ENABLE_WERROR="TRUE"
EXTERNAL_WARNINGS_NOT_ERRORS="FALSE"
AC_MSG_RESULT([yes])
else
ENABLE_WERROR="FALSE"
EXTERNAL_WARNINGS_NOT_ERRORS="TRUE"
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_WERROR)
AC_SUBST(EXTERNAL_WARNINGS_NOT_ERRORS)
dnl Set the ENABLE_DEBUG variable. (Activate --enable-symbols)
dnl ===================================================================
......
......@@ -710,9 +710,6 @@ ToFile( "WITH_POOR_HELP_LOCALIZATIONS", $WITH_POOR_HELP_LOCALIZATIONS, "e" );
if ("@ENABLE_DEBUG@" eq "TRUE") {
ToFile( "debug", "true", "e" );
}
if ("@ENABLE_WERROR@" eq "FALSE") {
ToFile( "EXTERNAL_WARNINGS_NOT_ERRORS", "TRUE", "e" );
}
ToFile( "PROEXT", $PROEXT, "e" );
ToFile( "nodep", "@nodep@", "e" );
ToFile( "TARFILE_LOCATION", $TARFILE_LOCATION, "e" );
......
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