]> granicus.if.org Git - graphviz/commitdiff
remove checks for librsvg ≥2.36.0 and 'HAVE_SVG_2_36'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 14 Oct 2022 00:15:45 +0000 (17:15 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 19 Oct 2022 00:17:17 +0000 (17:17 -0700)
The only code that used this was removed in
63a5fcd96f53761630a37fff7657db5d03619a7d.

CMakeLists.txt
cmake/config_checks.cmake
configure.ac

index b609dfc33843034dc869d9557b5c7b7e9315bcd4..bc3f5e96c1965b03ff7fb0bd29c07fe1f25a266c 100644 (file)
@@ -194,11 +194,6 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/graphviz_version.h DESTINATION ${HEADE
 
 message(STATUS "Graphviz version: ${GRAPHVIZ_VERSION_FULL}")
 
-find_package(PkgConfig)
-if(PkgConfig_FOUND)
-  pkg_check_modules(SVG_2_36 librsvg-2.0>=2.36.0 cairo>=1.0.0)
-endif()
-
 include(config_checks)
 if(NOT HAVE_GETOPT_H)
   find_package(GETOPT REQUIRED)
index b9d9f178394f55374c77e0604209098d2ea9605d..4b9ab3e0c4bb3281dae4968fd6f07e8539cf9ee1 100644 (file)
@@ -40,7 +40,6 @@ set( HAVE_ANN       ${ANN_FOUND}        )
 set( HAVE_EXPAT     ${EXPAT_FOUND}      )
 set( HAVE_LIBGD     ${GD_FOUND}         )
 set( HAVE_ZLIB      ${ZLIB_FOUND}       )
-set( HAVE_SVG_2_36  ${SVG_2_36_FOUND}   )
 
 if(LTDL_FOUND)
   set(ENABLE_LTDL 1)
index 7d9c4d59bb20eb53d0e980aee838500c526b4f28..381febd57a9ea15ef64d5b1e227a39e48c5669eb 100644 (file)
@@ -1677,7 +1677,6 @@ AC_ARG_WITH(rsvg,
   [AS_HELP_STRING([--with-rsvg=yes],[rsvg library])],
   [], [with_rsvg=yes])
 
-have_svg_2_36="no"
 if test "x$with_rsvg" != "xyes"; then
   use_rsvg="No (disabled)"
 else
@@ -1690,12 +1689,6 @@ else
   ],[
     use_rsvg="No (rsvg library not available)"
   ])
-  PKG_CHECK_MODULES([SVG_2_36], [librsvg-2.0 >= 2.36.0 cairo >= 1.0.0],[
-      have_svg_2_36="yes"
-      AC_DEFINE(HAVE_SVG_2_36, 1, [Have librsvg >= 2.36])
-    ],[
-      have_svg_2_36="no"
-    ])
 fi
 AM_CONDITIONAL(WITH_RSVG, [test "x$use_rsvg" = "xYes"])