Determine gtkver for wxWidgets more correctly

This commit is contained in:
makise-homura 2020-12-07 22:40:36 +03:00
parent 57fa9d5ad7
commit 782299b7ef
1 changed files with 3 additions and 3 deletions

View File

@ -76,11 +76,11 @@ WARNING: No ${uprf} libraries for wxWidgets are installed.
AM_CONDITIONAL([GUI_GTK], echo $wx_default_config | grep -i ^gtk 2>&1 >/dev/null)
if echo $wx_default_config | grep -i gtk 2>&1 >/dev/null ; then
case ${wx_default_config} in
gtk3-*) gtkver=gtk+-3.0
gtk3-*|*-gtk3-*) gtkver=gtk+-3.0
;;
gtk2-*) gtkver=gtk+-2.0
gtk2-*|*-gtk2-*) gtkver=gtk+-2.0
;;
gtk-*) gtkver=gtk+
gtk-*|*-gtk-*) gtkver=gtk+
;;
esac
GTK_CFLAGS="`pkg-config --cflags $gtkver`"