diff options
author | Dom Lachowicz <doml@src.gnome.org> | 2003-03-18 06:00:54 +0000 |
---|---|---|
committer | Dom Lachowicz <doml@src.gnome.org> | 2003-03-18 06:00:54 +0000 |
commit | 68e9afdcfd3b71b13e65131b1cd48c0ff6c3c5d7 (patch) | |
tree | a8788ec8e1a9504486683cdcd938c9901924ce64 | |
parent | 54cda8dd6ad7a5f378bf0ab447462fbed0c3559c (diff) | |
download | librsvg-68e9afdcfd3b71b13e65131b1cd48c0ff6c3c5d7.tar.gz |
better gimp detection
-rw-r--r-- | configure.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.in b/configure.in index c2476811..b5e1f4f3 100644 --- a/configure.in +++ b/configure.in @@ -231,7 +231,7 @@ dnl =========================================================================== LIBGIMP_CFLAGS="" LIBGIMP_LIBS="" -LIBGIMPPKG="" +rsvg_gimp=no test_gimp=true AC_ARG_WITH(gimp,[ --with-gimp Build a gimp plugin],[ @@ -244,12 +244,11 @@ if test "x$test_gimp" = "xtrue"; then fi if test "x$test_gimp" = "xtrue"; then - LIBGIMP_CFLAGS="$LIBGIMP_CFLAGS" - LIBGIMPPKG="gimp-1.3" + rsvg_gimp=yes else AC_MSG_WARN([Gimp plugin disbled, as requested (Use --with-gimp to enable)]) fi -AM_CONDITIONAL(ENABLE_GIMP_PLUGIN,[test "$LIBGIMPPKG" != ""]) +AM_CONDITIONAL(ENABLE_GIMP_PLUGIN,[test $rsvg_gimp = yes]) AC_SUBST(LIBGIMP_CFLAGS) AC_SUBST(LIBGIMP_LIBS) |