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

render the --enable-pch option inert.

üst 88611e70
...@@ -444,7 +444,7 @@ AC_ARG_ENABLE(vba, ...@@ -444,7 +444,7 @@ AC_ARG_ENABLE(vba,
AC_ARG_ENABLE(pch, AC_ARG_ENABLE(pch,
AS_HELP_STRING([--enable-pch], AS_HELP_STRING([--enable-pch],
[EXPERIMENTAL: Enables precompiled header support for C++.]) [DEPRECATED : is ignored])
) )
AC_ARG_ENABLE(mozilla, AC_ARG_ENABLE(mozilla,
...@@ -2642,23 +2642,7 @@ dnl =================================================================== ...@@ -2642,23 +2642,7 @@ dnl ===================================================================
dnl Set the ENABLE_PCH variable. (Activate --enable-pch) dnl Set the ENABLE_PCH variable. (Activate --enable-pch)
dnl =================================================================== dnl ===================================================================
AC_MSG_CHECKING([whether to enable pch feature]) AC_MSG_CHECKING([whether to enable pch feature])
if test -n "$enable_pch" && test "$enable_pch" != "no"; then AC_MSG_RESULT([no, obsolete])
if test "$_os" = "WINNT" -a "$WITH_MINGW" != "yes"; then
ENABLE_PCH="TRUE"
AC_MSG_RESULT([yes])
dnl There is no PCH support in GCC versions prior to this
elif test "$GCC" = "yes"; then
ENABLE_PCH="TRUE"
AC_MSG_RESULT([yes])
else
ENABLE_PCH=""
AC_MSG_WARN([Precompiled header not yet supported for your platform/compiler])
fi
else
ENABLE_PCH=""
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_PCH)
dnl =================================================================== dnl ===================================================================
dnl Search all the common names for GNU make dnl Search all the common names for GNU make
......
...@@ -1812,7 +1812,6 @@ ToFile( "ENABLE_FONTCONFIG", "@ENABLE_FONTCONFIG@", "e" ); ...@@ -1812,7 +1812,6 @@ ToFile( "ENABLE_FONTCONFIG", "@ENABLE_FONTCONFIG@", "e" );
ToFile( "FONTCONFIG_LIBS", "@FONTCONFIG_LIBS@", "e"); ToFile( "FONTCONFIG_LIBS", "@FONTCONFIG_LIBS@", "e");
ToFile( "FONTCONFIG_CFLAGS", "@FONTCONFIG_CFLAGS@", "e"); ToFile( "FONTCONFIG_CFLAGS", "@FONTCONFIG_CFLAGS@", "e");
ToFile( "ENABLE_DIRECTX", "@ENABLE_DIRECTX@", "e" ); ToFile( "ENABLE_DIRECTX", "@ENABLE_DIRECTX@", "e" );
ToFile( "ENABLE_PCH", "@ENABLE_PCH@", "e" );
ToFile( "ENABLE_GRAPHITE", "@ENABLE_GRAPHITE@", "e"); ToFile( "ENABLE_GRAPHITE", "@ENABLE_GRAPHITE@", "e");
ToFile( "SYSTEM_GRAPHITE", "@SYSTEM_GRAPHITE@", "e"); ToFile( "SYSTEM_GRAPHITE", "@SYSTEM_GRAPHITE@", "e");
ToFile( "GRAPHITE_LIBS", "@GRAPHITE_LIBS@", "e"); ToFile( "GRAPHITE_LIBS", "@GRAPHITE_LIBS@", "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