xscreensaver: fix the path to /usr/local/share if gtk+2 is not present

at configure time. (xscreensaver moved to gtk+3 but there is still a
remnant of gtk+2 in the autoconf script).
This commit is contained in:
sthen 2022-09-15 15:42:33 +00:00
parent c1d5e94f69
commit 232e643c35

View File

@ -1,3 +1,5 @@
- Fix path to /usr/local/share
- Don't fail if unrecognised autoconf command-line flags are present
(avoid problem with --disable-gtk-doc)
@ -22,6 +24,15 @@ Index: configure
###############################################################################
#
# Autoheader stuff
@@ -15029,7 +15024,7 @@ printf "%s\n" "$ac_cv_gtk_config_libs" >&6; }
GTK_DATADIR=""
if test "$have_gtk" = yes; then
- GTK_DATADIR=`$pkg_config --variable=prefix gtk+-2.0`
+ GTK_DATADIR=`$pkg_config --variable=prefix gtk+-3.0`
GTK_DATADIR="$GTK_DATADIR/share"
fi
@@ -15060,9 +15055,9 @@ fi
# Check for the various Gnome help and URL loading programs.