mirror of https://github.com/BOINC/boinc.git
Determine gtkver for wxWidgets more correctly
This commit is contained in:
parent
57fa9d5ad7
commit
782299b7ef
|
@ -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`"
|
||||
|
|
Loading…
Reference in New Issue