Build: Remove XSLT option and depend hard on XSLT.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Mar 2013 00:10:01 +0000 (00:10 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Mar 2013 00:10:01 +0000 (00:10 +0000)
You will now not be able to give --disable-xslt or --enable-xslt
because it is not optional anymore.
https://bugs.webkit.org/show_bug.cgi?id=112368

Patch by Tobias Mueller <tobiasmue@gnome.org> on 2013-03-14
Reviewed by Martin Robinson.

* Source/autotools/FindDependencies.m4:
    Always check for libxslt

* Source/autotools/PrintBuildConfiguration.m4:
    Removed printing out the value of XSLT

* Source/autotools/ReadCommandLineArguments.m4:
    Removed reading XSLT options

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@145859 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Source/autotools/FindDependencies.m4
Source/autotools/PrintBuildConfiguration.m4
Source/autotools/ReadCommandLineArguments.m4

index 6b9fa6d..28f8fed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2013-03-14  Tobias Mueller  <tobiasmue@gnome.org>
+
+        Build: Remove XSLT option and depend hard on XSLT.
+        You will now not be able to give --disable-xslt or --enable-xslt
+        because it is not optional anymore.
+        https://bugs.webkit.org/show_bug.cgi?id=112368
+
+        Reviewed by Martin Robinson.
+
+        * Source/autotools/FindDependencies.m4:
+            Always check for libxslt
+        
+        * Source/autotools/PrintBuildConfiguration.m4:
+            Removed printing out the value of XSLT
+
+        * Source/autotools/ReadCommandLineArguments.m4:
+            Removed reading XSLT options
+
 2013-03-14  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
 
         [EFL] Use CROSS_PLATFORM_CONTEXT_MENU
index 517eef2..a4936cc 100644 (file)
@@ -388,12 +388,9 @@ if (test "$sqlite3_found" = "no"); then
     AC_MSG_ERROR([SQLite3 is required for the Database related features])
 fi
 
-# Check if libxslt is available.
-if test "$enable_xslt" = "yes"; then
-    PKG_CHECK_MODULES([LIBXSLT],[libxslt >= libxslt_required_version])
-    AC_SUBST([LIBXSLT_CFLAGS])
-    AC_SUBST([LIBXSLT_LIBS])
-fi
+PKG_CHECK_MODULES([LIBXSLT],[libxslt >= libxslt_required_version])
+AC_SUBST([LIBXSLT_CFLAGS])
+AC_SUBST([LIBXSLT_LIBS])
 
 # Check if geoclue is available.
 if test "$enable_geolocation" = "yes"; then
index 0edf079..64d95ee 100644 (file)
@@ -26,7 +26,6 @@ Features:
  Spellcheck support                                       : $enable_spellcheck
  Web Audio support                                        : $enable_web_audio
  WebGL                                                    : $enable_webgl
- XSLT support                                             : $enable_xslt
 
 
 GTK+ configuration:
index 6e33483..60e2b4c 100644 (file)
@@ -89,13 +89,6 @@ AC_ARG_ENABLE(video,
     [enable_video="yes"])
 AC_MSG_RESULT([$enable_video])
 
-AC_MSG_CHECKING([whether to enable XSLT support])
-AC_ARG_ENABLE(xslt, 
-    AC_HELP_STRING([--enable-xslt], [enable support for XSLT [default=yes]]),
-    [],
-    [enable_xslt="yes"])
-AC_MSG_RESULT([$enable_xslt])
-
 AC_MSG_CHECKING([whether to enable geolocation support])
 AC_ARG_ENABLE(geolocation, 
     AC_HELP_STRING([--enable-geolocation], [enable support for geolocation [default=yes]]),