Commits

Anonymous committed 21b55c1

masterfix OOO340: #i117770# use system libs if not ENABLE_LIBRSVG

Comments (0)

Files changed (2)

 
 
 
+if test "$ENABLE_LIBRSVG" = "TRUE"
+then
 echo "$as_me:$LINENO: checking whether to build own version of librsvg" >&5
 echo $ECHO_N "checking whether to build own version of librsvg... $ECHO_C" >&6
 
    ;;
 esac
 
+else
+   SYSTEM_LIBGSF=YES
+
+   SYSTEM_LIBRSVG=YES
+
+   SYSTEM_GDKPIXBUF=YES
+
+   SYSTEM_GLIB=YES
+
+   SYSTEM_GETTEXT=YES
+
+   SYSTEM_LIBCROCO=YES
+
+   SYSTEM_PANGO=YES
+
+fi
 
 echo "$as_me:$LINENO: checking whether to build own version of libpng" >&5
 echo $ECHO_N "checking whether to build own version of libpng... $ECHO_C" >&6
 AC_SUBST(USE_XINERAMA)
 AC_SUBST(XINERAMA_LINK)
 
+if test "$ENABLE_LIBRSVG" = "TRUE"
+then
 dnl ===================================================================
 dnl Test whether to build librsvg or rely on the system version
 dnl ===================================================================
    ;;
 esac
 AC_SUBST(SYSTEM_LIBGSF)
+else
+   SYSTEM_LIBGSF=YES
+   AC_SUBST(SYSTEM_LIBGSF)
+   SYSTEM_LIBRSVG=YES
+   AC_SUBST(SYSTEM_LIBRSVG)
+   SYSTEM_GDKPIXBUF=YES
+   AC_SUBST(SYSTEM_GDKPIXBUF)
+   SYSTEM_GLIB=YES
+   AC_SUBST(SYSTEM_GLIB)
+   SYSTEM_GETTEXT=YES
+   AC_SUBST(SYSTEM_GETTEXT)
+   SYSTEM_LIBCROCO=YES
+   AC_SUBST(SYSTEM_LIBCROCO)
+   SYSTEM_PANGO=YES
+   AC_SUBST(SYSTEM_PANGO)
+fi
 
 dnl ===================================================================
 dnl Test whether to build libpng or rely on the system version
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.