blob: 4017150eb64f3f941b935d326e70a3599630f83e (
plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
|
# eXpat interface
configure:
AC_SUBST([EXPAT_LIBS])
AC_SUBST([EXPAT_INCS])
AC_ARG_WITH(expat,
AC_HELP_STRING([--with-expat=PATH],
[set path to the expat installation root directory]),
[case $withval in
/*) if test -d $withval; then
if test -d $withval/lib; then
EXPAT_LIBS="-L$withval/lib"
else
AC_MSG_ERROR([directory $withval/lib does not exist])
fi
if test -d $withval/include; then
EXPAT_INCS="-I$withval/includes"
else
AC_MSG_ERROR([directory $withval/includes does not exist])
fi
else
AC_MSG_ERROR([directory $withval does not exist])
fi
;;
*) AC_MSG_ERROR([--with-expat argument must be a pathname to the expat installation root directory]);;
esac])
MU_CHECK_LIB([expat], [XML_ParserCreate], [$EXPAT_LIBS],
[ EXPAT_LIBS="$EXPAT_LIBS -lexpat" ],
[ gamma_expat=no ])
libraries:
expat
sources:
gamma-expat.c
gamma-expat.h
eval.c
scm:
expat.sci
makefile:
expat.scm: Makefile
libgamma_expat_la_LIBADD = @LTLIBOBJS@ @GUILE_LIBS@ $(EXPAT_LIBS)
libgamma_expat_la_CPPFLAGS = $(AM_CPPFLAGS) $(EXPAT_INCS)
|