diff options
author | raveit65 <[email protected]> | 2015-04-04 17:36:11 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-04-04 17:37:38 +0200 |
commit | ddc6a900e0447f39c5e3c20c6dba10d25f9df496 (patch) | |
tree | a029df902ee477f6228439ff3c4574b6c1633fa5 | |
parent | b8655a135bef9f832fc0a27c928150a5a6172ca4 (diff) | |
download | mate-themes-ddc6a900e0447f39c5e3c20c6dba10d25f9df496.tar.bz2 mate-themes-ddc6a900e0447f39c5e3c20c6dba10d25f9df496.tar.xz |
clean up configure options
-rw-r--r-- | configure.ac | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/configure.ac b/configure.ac index 58fd2716..48a3ff77 100644 --- a/configure.ac +++ b/configure.ac @@ -29,59 +29,6 @@ PKG_CHECK_MODULES(THEME_ENGINE, GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0` AC_SUBST(GTK_VERSION) -# Check if it's a development (odd minor) version (obsolete with date versions) -#AC_MSG_CHECKING([development series build]) -#MINOR_VERSION="`echo $PACKAGE_VERSION|cut -d. -f2`" -#if expr $MINOR_VERSION % 2 > /dev/null != "0"; then - # Development version, disable mapping - # and enable placeholder by default -# icon_mapping_policy=no -# placeholders_policy=yes -# enable_test_themes=yes -# AC_MSG_RESULT([yes]) -#else - # Stable version, enable mapping - # and disable placeholders by default - icon_mapping_policy=yes - placeholders_policy=no -# AC_MSG_RESULT([no]) -#fi - -# Configure option to force placeholders -AC_ARG_ENABLE([placeholders], - AC_HELP_STRING([--enable-placeholders], - [Enable placeholder icons [default=auto]]), - enable_placeholders=$enableval, - enable_placeholders=$placeholders_policy) - -AM_CONDITIONAL(PLACEHOLDERS, test "x$enable_placeholders" != "xno") - -# Configure option to force icon mapping -AC_ARG_ENABLE([icon-mapping], - AC_HELP_STRING([--enable-icon-mapping], - [Enable compatibility symlinks [default=auto]]), - enable_mapping=$enableval, - enable_mapping=$icon_mapping_policy) - -# Check for icon-naming-utils -ICONMAP="true" -if test "x$enable_mapping" != "xno"; then - UTILS_REQUIRED=0.8.7 - - AC_MSG_CHECKING([icon-naming-utils >= $UTILS_REQUIRED]) - PKG_CHECK_EXISTS(icon-naming-utils >= $UTILS_REQUIRED, have_utils=yes, have_utils=no) - if test "x$have_utils" = "xyes"; then - UTILS_PATH="`$PKG_CONFIG --variable=program_path icon-naming-utils`" - ICONMAP="$UTILS_PATH/icon-name-mapping" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - AC_MSG_ERROR([icon-naming-utils >= $UTILS_REQUIRED is required to build and install mate-themes]) - fi -fi -AC_SUBST(ICONMAP) -AM_CONDITIONAL(LEGACY_ICON_MAPPING, test "x$enable_mapping" != "xno") - dnl used to substitute in common sections of theme gtkrc files gtk_stock_icons_rc=${srcdir}/common/gtk-stock-icons.rc panel_stock_icons_rc=${srcdir}/common/panel-stock-icons.rc @@ -277,7 +224,4 @@ mate-themes-$VERSION: Installation prefix: ${prefix} - Enable placeholders: ${enable_placeholders} - Enable legacy icons: ${enable_mapping} - " |