166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
|
# Default is GTK version of BaConGUI
if test "$GTK" = true -o "$FLTK" = false; then
AC_CHECK_LIB([gtk-x11-2.0], [gtk_init], [GTK="true"], [], [])
if test "$GTK" = false; then
AC_CHECK_LIB([gtk-3], [gtk_init], [GTK="true"], [], [])
if test "$GTK" = false; then
AC_MSG_NOTICE(No GTK found on this system. Trying FLTK to build GUI.)
fi
fi
fi
# No GTK found? Then verify presence of FLTK library
if test "$GTK" = false -o "$FLTK" = true; then
AC_CHECK_PROG(FLTK_CONFIG, fltk-config, found, missing)
|
|
|
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
|
# Default is GTK version of BaConGUI
if test "$GTK" = true -o "$FLTK" = false; then
AC_CHECK_LIB([gtk-x11-2.0], [gtk_init], [GTK="true"], [], [])
if test "$GTK" = false; then
AC_CHECK_LIB([gtk-3], [gtk_init], [GTK="true"], [], [])
if test "$GTK" = false; then
AC_MSG_NOTICE(No GTK found on this system.)
fi
fi
fi
# No GTK found? Then verify presence of FLTK library
if test "$GTK" = false -o "$FLTK" = true; then
AC_CHECK_PROG(FLTK_CONFIG, fltk-config, found, missing)
|