diff options
author | Miguel de Icaza <miguel@nuclecu.unam.mx> | 2000-02-19 01:53:53 +0800 |
---|---|---|
committer | Miguel de Icaza <miguel@src.gnome.org> | 2000-02-19 01:53:53 +0800 |
commit | 85daf8e5a6b9155c34d6231190594cf96dd8d5c3 (patch) | |
tree | 692898d467b9a42d25b001dfa3a5a9b6cbdec9cc | |
parent | 3e317e1b1776d0cd505aaba4a446899af8798eaa (diff) | |
download | gsoc2013-evolution-85daf8e5a6b9155c34d6231190594cf96dd8d5c3.tar.gz gsoc2013-evolution-85daf8e5a6b9155c34d6231190594cf96dd8d5c3.tar.zst gsoc2013-evolution-85daf8e5a6b9155c34d6231190594cf96dd8d5c3.zip |
Use the new method for gnome-print checking instead of the old crufty gtk+
2000-02-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
* configure.in (have_pthread): Use the new method for gnome-print
checking instead of the old crufty gtk+ based one that nobody can
svn path=/trunk/; revision=1839
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.in | 13 |
2 files changed, 18 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2000-02-18 Miguel de Icaza <miguel@nuclecu.unam.mx> + + * configure.in (have_pthread): Use the new method for gnome-print + checking instead of the old crufty gtk+ based one that nobody can + debug. ever. + 2000-02-17 Dan Winship <danw@helixcode.com> * camel/camel-service.h: diff --git a/configure.in b/configure.in index f0e5d704fe..8f3bf12ec1 100644 --- a/configure.in +++ b/configure.in @@ -65,7 +65,18 @@ AM_CONDITIONAL(ENABLE_THREADS, $have_pthread) dnl ************************************************** dnl * Print check dnl ************************************************** -GNOME_PRINT_CHECK +AC_MSG_CHECKING(for GnomePrint libraries >= 0.10) +if gnome-config --libs print > /dev/null 2>&1; then + vers=`gnome-config --modversion print | sed -e "s/gnome-print-//" | \ + awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'` + if test "$vers" -ge 10; then + AC_MSG_RESULT(found) + else + AC_MSG_ERROR(You need at least GNOME print 0.10 for this version of Gnumeric) + fi +else + AC_MSG_ERROR(Did not find GnomePrint installed) +fi dnl ************************************************** dnl * ORBit support |