mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
Only build GUI when the necessary dependencies are found.
Sat Jan 14 18:24:43 2006 Soeren Sandmann <sandmann@redhat.com> * configure.ac, Makefile.am: Only build GUI when the necessary dependencies are found. * sysprof.c (compute_text_width): Remove unused variable * profile.c (build_object_list): Follow next instead of siblings.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
9125c4e644
commit
98308836af
@ -86,11 +86,12 @@ fi
|
||||
core_dep="glib-2.0"
|
||||
gui_dep="gtk+-2.0 > 2.6.0 gdk-pixbuf-2.0 pangoft2 libglade-2.0"
|
||||
|
||||
PKG_CHECK_MODULES(CORE_DEP, $core_dep, [],
|
||||
AC_MSG_ERROR([sysprof dependencies not satisfied]))
|
||||
PKG_CHECK_MODULES(CORE_DEP, $core_dep, [], AC_MSG_ERROR([sysprof dependencies not satisfied]))
|
||||
|
||||
PKG_CHECK_MODULES(GUI_DEP, $gui_dep, [],
|
||||
AC_MSG_ERROR([sysprof dependencies not satisfied]))
|
||||
build_gui=yes
|
||||
PKG_CHECK_MODULES(GUI_DEP, $gui_dep, [], build_gui=no)
|
||||
|
||||
AM_CONDITIONAL([BUILD_GUI], [test "$build_gui" = yes])
|
||||
|
||||
# libiberty and libbfd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user