22 lines
953 B
Diff
22 lines
953 B
Diff
--- a/configure.ac 2023-09-12 15:39:14.086662519 +0300
|
|
+++ b/configure.ac 2023-09-19 16:38:17.902652152 +0300
|
|
@@ -117,8 +117,16 @@
|
|
dnl ***********************
|
|
dnl *** Indicator info ***
|
|
dnl ***********************
|
|
-INDICATORDIR=`$PKG_CONFIG --variable=indicatordir ${INDICATOR_PKGNAME}`
|
|
-INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir ${INDICATOR_PKGNAME}`
|
|
+
|
|
+AC_ARG_ENABLE([custom_indicator_paths], AS_HELP_STRING([--enable-custom-indicator-paths],
|
|
+ [Enable custom-indicator-paths support]), [enable_custom_indicator_paths=yes], [enable_custom_indicator_paths=no])
|
|
+if test x"$enable_custom_indicator_paths" == x"yes"; then
|
|
+ INDICATORDIR=`$INDICATOR_CUSTOM_PATH`
|
|
+ INDICATORICONSDIR=`$IND_ICONS_CUSTOM_PATH`
|
|
+else
|
|
+ INDICATORDIR=`$PKG_CONFIG --variable=indicatordir ${INDICATOR_PKGNAME}`
|
|
+ INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir ${INDICATOR_PKGNAME}`
|
|
+fi
|
|
|
|
AC_SUBST([INDICATORDIR])
|
|
AC_SUBST([INDICATORICONSDIR])
|