summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1999-09-27 20:57:07 +0000
committerArturo Espinosa <unammx@src.gnome.org>1999-09-27 20:57:07 +0000
commitf79df305998d9531856a762a2c13d911799aaf1f (patch)
treec9b4eb5f6d167e4c3b11369e103678865accbd65
parent8da4612fa746e2f776a4ebac0c252f247712efab (diff)
downloadgnome-common-f79df305998d9531856a762a2c13d911799aaf1f.tar.gz
ditto (mark_current_day): ditto (month_view_set): ditto
1999-09-27 Miguel de Icaza <miguel@nuclecu.unam.mx> * month-view.c (add_event): ditto (mark_current_day): ditto (month_view_set): ditto * goto.c (goto_dialog): ditto. * gnome-month-item.c (gnome_month_item_init): ditto. * gncal-day-panel.c (gncal_day_panel_new): ditto. * getdate.c (RelativeDate): ditto. * eventedit.c (set_all_day): ditto. (ee_rp_init_rule): ditto. * calendar.c (vcalendar_create_from_calendar): ditto. * calendar-conduit.c (update_record): ditto. * calobj.c (ical_object_generate_events): Get rid of pointers to values returned from localtime, as it uses a static buffer. svn path=/trunk/; revision=928
-rw-r--r--macros/gnome-pilot.m420
1 files changed, 14 insertions, 6 deletions
diff --git a/macros/gnome-pilot.m4 b/macros/gnome-pilot.m4
index a497b51..5895bf7 100644
--- a/macros/gnome-pilot.m4
+++ b/macros/gnome-pilot.m4
@@ -3,6 +3,20 @@ dnl GNOME_PILOT_HOOK(script if found, fail)
dnl if fail = "failure", abort if gnome-pilot not found
dnl
+GNOME_PILOT_CFLAGS=
+GNOME_PILOT_LIBS=
+PISOCK_INCLUDEDIR=
+PISOCK_LIBS=
+PILOT_BINS=
+PILOT_LIBS=
+
+AC_SUBST(GNOME_PILOT_CFLAGS)
+AC_SUBST(GNOME_PILOT_LIBS)
+AC_SUBST(PISOCK_INCLUDEDIR)
+AC_SUBST(PISOCK_LIBS)
+AC_SUBST(PILOT_BINS)
+AC_SUBST(PILOT_LIBS)
+
AC_DEFUN([GNOME_PILOT_HOOK],[
AC_PATH_PROG(GNOME_PILOT_CONFIG,gnome-pilot-config,no)
AC_CACHE_CHECK([for gnome-pilot environment],gnome_cv_pilot_found,[
@@ -20,12 +34,6 @@ AC_DEFUN([GNOME_PILOT_HOOK],[
AC_CHECK_LIB(pisock, pi_accept, [ PISOCK_LIBS="-lpisock" ])
GNOME_PILOT_CFLAGS=`gnome-pilot-config --cflags client conduitmgmt`
GNOME_PILOT_LIBS=`gnome-pilot-config --libs client conduitmgmt`
- AC_SUBST(GNOME_PILOT_CFLAGS)
- AC_SUBST(GNOME_PILOT_LIBS)
- AC_SUBST(PISOCK_INCLUDEDIR)
- AC_SUBST(PISOCK_LIBS)
- AC_SUBST(PILOT_BINS)
- AC_SUBST(PILOT_LIBS)
else
if test x$2 = xfailure; then
AC_MSG_ERROR(Gnome-pilot not installed or installation problem)