Modfied to use the gnome-config --yadayada gpilot script.

svn path=/trunk/; revision=2220
This commit is contained in:
Eskil Heyn Olsen
2000-03-29 00:30:07 +00:00
parent 4c9fe1015c
commit bce1144ad7

View File

@ -97,7 +97,7 @@ AC_DEFUN([PILOT_LINK_CHECK],[
])
AC_DEFUN([GNOME_PILOT_HOOK],[
AC_PATH_PROG(GNOME_PILOT_CONFIG,gnome-pilot-config,no)
AC_PATH_PROG(GNOME_PILOT_CONFIG,gnome-config,no)
AC_CACHE_CHECK([for gnome-pilot environment],gnome_cv_pilot_found,[
if test x$GNOME_PILOT_CONFIG = xno; then
gnome_cv_pilot_found=no
@ -108,8 +108,8 @@ AC_DEFUN([GNOME_PILOT_HOOK],[
AM_CONDITIONAL(HAVE_GNOME_PILOT,test x$gnome_cv_pilot_found = xyes)
if test x$gnome_cv_pilot_found = xyes; then
PILOT_LINK_CHECK($1)
GNOME_PILOT_CFLAGS=`gnome-pilot-config --cflags client conduitmgmt`
GNOME_PILOT_LIBS=`gnome-pilot-config --libs client conduitmgmt`
GNOME_PILOT_CFLAGS=`gnome-config --cflags gpilot`
GNOME_PILOT_LIBS=`gnome-config --libs gpilot`
$2
else
if test x$3 = xfailure; then