[guppi-list] configure.in and gnomecanvaspixbuf
- From: Benoit Pelletier <bpelle tsp ece mcgill ca>
- To: guppi-list gnome org
- Subject: [guppi-list] configure.in and gnomecanvaspixbuf
- Date: 08 Jun 2001 11:46:32 -0400
Hi,
There is a small error in the configure.in file which should be fixed;
in the vers line (see below), the original file has
'gnome-config --modversion print | awk ' ...
so gnome config looks for the library 'print' instead of
gnomecanvaspixbuf. It should be fixed as below:
dnl ******************************
dnl gnomeCanvasPixbuf checking
dnl ******************************
AC_MSG_CHECKING(for GnomeCanvasPixbuf libraries >= 0.8.0)
GNOMECANVASPIXBUF_CFLAGS=
GNOMECANVASPIXBUF_LIBS=
if gnome-config --libs gnomecanvaspixbuf > /dev/null 2>&1; then
vers=`gnome-config --modversion gnomecanvaspixbuf | awk 'BEGIN { FS
= "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
if test "$vers" -ge 8000; then
AC_MSG_RESULT(found)
GNOMECANVASPIXBUF_CFLAGS=`gnome-config --cflags
gnomecanvaspixbuf`
GNOMECANVASPIXBUF_LIBS=`gnome-config --libs gnomecanvaspixbuf`
else
AC_MSG_ERROR(You need at least GNOME Canvas Pixbuf 0.8.0 for
this version of Guppi3)
fi
else
AC_MSG_ERROR(Did not find GnomeCanvasPixbuf installed)
fi
... etc.
Thanks,
BP
--
Benoit Pelletier,
Telecommunications and Signal Processing Laboratory
McGill University,
http://www.tsp.ece.mcgill.ca
mailto:bpelle tsp ece mcgill ca
Tel: (514)398-5233
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]