aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-xml-check.m4
blob: 1caad1009fba8076a0a8a9549278420b0c0dac82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
dnl
dnl GNOME_XML_HOOK (script-if-xml-found, failflag)
dnl
dnl If failflag is "failure", script aborts due to lack of XML
dnl 
dnl Check for availability of the libxml library
dnl the XML parser uses libz if available too
dnl

AC_DEFUN([GNOME_XML_HOOK],[
    AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
    if test "$GNOME_CONFIG" = no; then
        if test x$2 = xfailure; then
            AC_MSG_ERROR(Could not find gnome-config)
        fi
    fi
    GNOME_XML_CFLAGS=`$GNOME_CONFIG --cflags xml`
    AC_SUBST(GNOME_XML_CFLAGS)
    AC_CHECK_LIB(xml, xmlNewDoc, [
        $1
        GNOME_XML_LIB=`$GNOME_CONFIG --libs xml`
    ], [
        if test x$2 = xfailure; then 
            AC_MSG_ERROR(Could not link sample xml program)
        fi
    ], `$GNOME_CONFIG --libs xml`)
    AC_SUBST(GNOME_XML_LIB)
])

AC_DEFUN([GNOME_XML_CHECK], [
    GNOME_XML_HOOK([],failure)
])
lass='deletions'>-15/+50 * Set the sensitivity for the OK button when a storage is selected too. BugJason Leach2001-08-082-0/+21 * Set the release flag on the returned icon to %TRUE.Ettore Perazzoli2001-08-082-0/+7 * ifdef this HAVE_LDAP.Chris Toshok2001-08-082-0/+7 * giving up for now. removed netcenter.Chris Toshok2001-08-082-8/+4 * set the title of the window to "Advanced Search".Chris Toshok2001-08-082-1/+7 * pass view->view instead of the EBook. (addressbook_search_menu_items):Chris Toshok2001-08-084-122/+74 * So it turns out that I needed to name the recipient's part name to "to"Jeffrey Stedfast2001-08-082-2/+11 * New function to stop further notification from happening.Federico Mena Quintero2001-08-085-45/+68 * Hide the app->window. (do_mail_print): Set the parent of the gnome-dialogJeffrey Stedfast2001-08-083-43/+28 * [ Fixes bug #5066 ] new function, remove the source. (register_storage):Chris Toshok2001-08-082-0/+22 * Revert Jeff's changes to subscribe-dialog.[ch]. It's not a widget, it's anPeter Williams2001-08-083-5/+10 * Hide the app->window.Jeffrey Stedfast2001-08-082-1/+3 * Implemented this function. Fixes Ximian bug #5353.Christopher James Lahey2001-08-081-6/+50 * [ Use bonobo_object_unref on the storage since it's a bonobo object. ]Peter Williams2001-08-083-4/+8 * This should return a GtkWidget not a GtkObject.Jeffrey Stedfast2001-08-08