File: libxml%2B%2B.m4

package info (click to toggle)
synfig 1.5.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 59,132 kB
  • sloc: cpp: 109,639; sh: 6,121; makefile: 1,458; csh: 243; perl: 238; python: 124; ruby: 73
file content (23 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
dnl AC_LIBXMLPP([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])

AC_DEFUN([AM_LIBXMLPP],
[

AC_PATH_PROG(XMLPP_CONFIG,xml++-config,no)

AC_MSG_CHECKING(for libxml++)

if $XMLPP_CONFIG --libs print > /dev/null 2>&1; then
    AC_MSG_RESULT(yes)
    LIBXMLPP_CFLAGS=`xml++-config --cflags`
    LIBXMLPP_LIBS=`xml++-config --libs`
    AC_SUBST(LIBXMLPP_CFLAGS)
    AC_SUBST(LIBXMLPP_LIBS)
    ifelse([$1], , :, [$1])
else
    AC_MSG_RESULT(no)
    ifelse([$2], , , [$2])
fi

])