X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=blobdiff_plain;f=configure.ac;h=b4817240d4a50d3bfb41c632cc4e83543aa88ef3;hp=a18330907ad6b61609d3742d5b08655a303556b6;hb=677fb4264412007f6d830e5899c9b1fa41b4c95b;hpb=5aad740a527e4aa6b1a96dadecbb6d6a29cc7e7c diff --git a/configure.ac b/configure.ac index a1833090..b4817240 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.54]) -AC_INIT([openbox], [3.5.0], [http://bugzilla.icculus.org]) +AC_INIT([openbox], [3.5.1], [http://bugzilla.icculus.org]) AC_CONFIG_SRCDIR([openbox/openbox.c]) AM_INIT_AUTOMAKE([foreign]) @@ -20,16 +20,16 @@ dnl if MAJOR or MINOR version changes, be sure to change AC_INIT above to match dnl RR_MAJOR_VERSION=3 RR_MINOR_VERSION=5 -RR_MICRO_VERSION=28 -RR_INTERFACE_AGE=1 -RR_BINARY_AGE=1 +RR_MICRO_VERSION=29 +RR_INTERFACE_AGE=0 +RR_BINARY_AGE=0 RR_VERSION=$RR_MAJOR_VERSION.$RR_MINOR_VERSION OBT_MAJOR_VERSION=3 OBT_MINOR_VERSION=5 -OBT_MICRO_VERSION=1 -OBT_INTERFACE_AGE=1 -OBT_BINARY_AGE=1 +OBT_MICRO_VERSION=2 +OBT_INTERFACE_AGE=0 +OBT_BINARY_AGE=0 OBT_VERSION=$OBT_MAJOR_VERSION.$OBT_MINOR_VERSION AC_SUBST(RR_MAJOR_VERSION) @@ -195,6 +195,36 @@ fi AM_CONDITIONAL(USE_IMLIB2, [test $imlib2_found = yes]) +AC_ARG_ENABLE(librsvg, + AC_HELP_STRING( + [--disable-librsvg], + [disable use of SVG image files for loading icons. [default=enabled]] + ), + [enable_librsvg=$enableval], + [enable_librsvg=yes] +) + +if test "$enable_librsvg" = yes; then +PKG_CHECK_MODULES(LIBRSVG, [librsvg-2.0], + [ + AC_DEFINE(USE_LIBRSVG, [1], [Use SVG image files]) + AC_SUBST(LIBRSVG_CFLAGS) + AC_SUBST(LIBRSVG_LIBS) + # export it for the pkg-config file + PKG_CONFIG_LIBRSVG=librsvg-2.0 + AC_SUBST(PKG_CONFIG_LIBRSVG) + librsvg_found=yes + ], + [ + librsvg_found=no + ] +) +else + librsvg_found=no +fi + +AM_CONDITIONAL(USE_LIBRSVG, [test $librsvg_found = yes]) + dnl Check for session management X11_SM @@ -233,6 +263,7 @@ AC_MSG_RESULT([Compiling with these options: Startup Notification... $sn_found X Cursor Library... $xcursor_found Session Management... $SM - Imlib2 library... $imlib2_found + Imlib2 Library... $imlib2_found + SVG Support (librsvg)... $librsvg_found ]) AC_MSG_RESULT([configure complete, now type "make"])