aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-gnorba-check.m4
blob: dbac0a6cf75be4e9560f4653eed1437962b07710 (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
33
34
35
dnl
dnl GNOME_GNORBA_HOOK (script-if-gnorba-found, failflag)
dnl
dnl if failflag is "failure" it aborts if gnorba is not found.
dnl

AC_DEFUN([GNOME_GNORBA_HOOK],[
    GNOME_ORBIT_HOOK([],$2)
    AC_CACHE_CHECK([for gnorba libraries],gnome_cv_gnorba_found,[
        gnome_cv_gnorba_found=no
        if test x$gnome_cv_orbit_found = xyes; then
            GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
            GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
            if test -n "$GNORBA_LIBS"; then
                gnome_cv_gnorba_found=yes
            fi
        fi
    ])
    AM_CONDITIONAL(HAVE_GNORBA, test x$gnome_cv_gnorba_found = xyes)
    if test x$gnome_cv_orbit_found = xyes; then
        $1
        GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
        GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
        AC_SUBST(GNORBA_CFLAGS)
        AC_SUBST(GNORBA_LIBS)
    else
            if test x$2 = xfailure; then
            AC_MSG_ERROR(gnorba library not installed or installation problem)
            fi
    fi
])

AC_DEFUN([GNOME_GNORBA_CHECK], [
    GNOME_GNORBA_HOOK([],failure)
])
td class='commitgraph'>* Fix update_dat so it won't repeatedly fetch the same DAT filejeh2006-11-032-2/+3 * * Upgrade to version 5.10jeh2006-10-312-8/+9 * Update the portrevision that wasn't part of the patchjeh2006-07-151-1/+1 * Add support for amd64jeh2006-07-152-7/+18 * Commit a patch that allows libmap.conf to swap out libc.so.3 which hasjeh2006-05-161-5/+22 * Since the DAT files are so short lived on the server, have this portjeh2006-05-094-4/+45 * SHA256ifyedwin2006-01-241-0/+1 * I can't believe I had that link line backwards and I tested it. Anywaysjeh2004-11-221-2/+3 * Upgrade to version 4.40ejeh2004-11-223-25/+28 * - uvscan depends on libm.so.2jeh2004-11-212-8/+18 * SIZEifyjeh2004-03-191-0/+1 * If the system was compiled with COMPAT3X, don't use misc/compat3xjeh2004-03-101-0/+5 * Correct the URL of the product evaluation page which has movedandreas2004-02-281-1/+1 * Upgrade to version 4.32. This also include a script uvscan_secure, whichjeh2004-01-193-6/+8 * Update to version 4.24ejeh2003-04-153-7/+6 * Clear moonlight beckons.ade2003-03-072-1/+1 * They added another library file, that I missed.jeh2002-01-102-0/+3 * Update the scanner to version 4.16jeh2002-01-102-4/+6 * Switch to using ports/misc/compat3xjeh2001-08-151-4/+1 * There are actually checks for some Linux viruses/wormsjeh2001-08-071-1/+1 * Applied a patch to check for compat3x libraries.jeh2001-08-051-0/+4 * Update URLjeh2001-04-221-1/+1 * Correct the description. This is actually FreeBSD and not a Linux version.jeh2001-04-171-2/+1 * Take over MAINTAINERshipjeh2001-04-141-1/+1 * Update to uvscan 4.14ekris2001-03-243-6/+8 * Move uvscan 4.07e from security/uvscan. This location held an olderkris2000-09-226-0/+64 * Remove vscan which was mistakenly superceded by the uvscan port.kris2000-09-055-83/+0 * Use {MASTER,PATCH}_SITE_SUBDIR instead of make's sed capabilities.steve2000-07-081-1/+2 * Use the distfiles now on ftp.freebsd.org instead of from my home directorysteve2000-06-171-1/+1 * Correct whitespace introduced during PORTNAME conversion and portlintmharo2000-04-211-2/+2