Modfied to use the gnome-config --yadayada gpilot script.
authorEskil Heyn Olsen <eskil@src.gnome.org>
Wed, 29 Mar 2000 00:30:07 +0000 (00:30 +0000)
committerEskil Heyn Olsen <eskil@src.gnome.org>
Wed, 29 Mar 2000 00:30:07 +0000 (00:30 +0000)
svn path=/trunk/; revision=1154

macros/gnome-pilot.m4

index 16e081a..cdf4071 100644 (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