diff options
author | raveit65 <[email protected]> | 2015-04-04 17:36:11 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-04-04 17:37:51 +0200 |
commit | ebe4b5c277880f3ffc5021d76d6f6cb47392343e (patch) | |
tree | 5d46c4bd04dd5f074c340b25a8bc0805edfc9adf /configure.ac | |
parent | 7ada5f074cdb99027059e8333d94f8fffc5b7ffd (diff) | |
download | mate-themes-ebe4b5c277880f3ffc5021d76d6f6cb47392343e.tar.bz2 mate-themes-ebe4b5c277880f3ffc5021d76d6f6cb47392343e.tar.xz |
clean up configure options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/configure.ac b/configure.ac index 85c559f2..f31ae231 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} - " |