3
echo " Setting Slackware specific flag values"
4
# Hmm, don't think so...
5
# CPPFLAGS="-DHAVE_FILEDESCRIPTORBUG ${CPPFLAGS}"
7
# XML Dump plugin stuff... leeched from Burton
8
# Note - this assumes you've installed the packages that include:
9
# glib, glib-devel, libxml2, libxml2-devel
10
# and the gdome2 and gdome2-devel from http://gdome2.cs.unibo.it/
11
if test -f /usr/lib/libglib.so; then
12
LDFLAGS="${LDFLAGS} -lglib"
14
if test -d /usr/include/libxml2/libxml; then
15
CPPFLAGS="${CPPFLAGS} -I/usr/include/libxml2/libxml"
17
if test -d /usr/include/glib-1.2; then
18
CPPFLAGS="${CPPFLAGS} -I/usr/include/glib-1.2"
20
if test -d /usr/lib/glib-1.2/include; then
21
CPPFLAGS="${CPPFLAGS} -I/usr/lib/glib-1.2/include"
23
if test -d /usr/include/libgdome; then
24
CPPFLAGS="${CPPFLAGS} -I/usr/include/libgdome"
26
if test -d /usr/lib/glib/include; then
27
CPPFLAGS="${CPPFLAGS} -I/usr/lib/glib/include"