Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
CONFIGURE: fix configure when gtk+ is not installed
Browse files Browse the repository at this point in the history
AM_PATH_GTK_2_0 would be an undefined macro then
  • Loading branch information
hasufell committed Mar 31, 2013
1 parent f317076 commit 212adf6
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions configure.ac
Expand Up @@ -199,14 +199,16 @@ dnl *********************************************************************
dnl ** GTK **************************************************************
dnl *********************************************************************

AM_PATH_GTK_2_0(2.10.0, havegtk=yes, havegtk=no)

if test "$havegtk" = no; then
gtkfe=no
echo
echo Cannot find GTK\! Not building GTK FrontEnd.
echo
fi
# we might get undefined macro without this test
if test "$gtkfe" = yes ; then
AM_PATH_GTK_2_0(2.10.0, havegtk=yes, havegtk=no)

if test "$havegtk" = no; then
gtkfe=no
echo
echo Cannot find GTK\! Not building GTK FrontEnd.
echo
fi

if test "$gtkfe" != yes; then
gnome=no
Expand Down

0 comments on commit 212adf6

Please sign in to comment.