Commit 298e7166 authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Arturo Espinosa

Simplified the Bonobo detection code.

1999-07-09  Miguel de Icaza  <miguel@gnu.org>

	* configure.in (GNOMEGNORBA_LIBS): Simplified the Bonobo detection code.
parent 447a07ef
1999-07-09 Miguel de Icaza <miguel@gnu.org>
* configure.in (GNOMEGNORBA_LIBS): Simplified the Bonobo detection code.
1999-07-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/analysis-tools.c: Changed prototype of int_compare to
......
1999-07-09 Miguel de Icaza <miguel@gnu.org>
* configure.in (GNOMEGNORBA_LIBS): Simplified the Bonobo detection code.
1999-07-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/analysis-tools.c: Changed prototype of int_compare to
......
1999-07-09 Miguel de Icaza <miguel@gnu.org>
* configure.in (GNOMEGNORBA_LIBS): Simplified the Bonobo detection code.
1999-07-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/analysis-tools.c: Changed prototype of int_compare to
......
1999-07-09 Miguel de Icaza <miguel@gnu.org>
* configure.in (GNOMEGNORBA_LIBS): Simplified the Bonobo detection code.
1999-07-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/analysis-tools.c: Changed prototype of int_compare to
......
......@@ -122,14 +122,26 @@ AM_CONDITIONAL(WITH_PYTHON, $python_val)
dnl ******************************
dnl Check for Bonobo
dnl ******************************
AM_PATH_BONOBO(0.1.0, [
AC_MSG_CHECKING(For Bonobo > 0.2)
if gnome-config --libs bonobo >& /dev/null; then
vers=`gnome-config --mod-version bonobo`
case $vers; in
bonobo-0.2) bonobo_ok=true ;;
*) bonobo_ok=false ;;
esac
else
ok=false
fi
if $bonobo_ok; then
AC_MSG_RESULT(found)
AC_DEFINE(ENABLE_BONOBO)
have_bonobo=true
bonobo=bonobo
],[
have_bonobo=false
else
AC_MSG_RESULT(not found)
bonobo=
])
fi
AM_CONDITIONAL(BONOBO, $have_bonobo)
dnl ******************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment