summaryrefslogtreecommitdiff
path: root/xslt-config.in
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-02-11 14:03:50 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-02-11 14:03:50 +0000
commita7716d3428768765d9271701e705310e04463bec (patch)
tree2d4f2d66ea115ff0c928c8fbc0f9737c48630357 /xslt-config.in
parent3e1a7baad5b0cbc7dc742ecc57f58882528343e5 (diff)
downloadlibxslt-a7716d3428768765d9271701e705310e04463bec.tar.gz
fixing Red Hat bug #59508 Daniel
* xslt-config: fixing Red Hat bug #59508 Daniel
Diffstat (limited to 'xslt-config.in')
-rw-r--r--xslt-config.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/xslt-config.in b/xslt-config.in
index 6d35d53a..fb614bae 100644
--- a/xslt-config.in
+++ b/xslt-config.in
@@ -84,7 +84,11 @@ while test $# -gt 0; do
done
the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@"
-the_flags="$the_flags -I$includedir `@XML_CONFIG@ --cflags`"
+if test "$includedir" != "/usr/include"; then
+ the_flags="$the_flags -I$includedir `@XML_CONFIG@ --cflags`"
+else
+ the_flags="$the_flags `@XML_CONFIG@ --cflags`"
+fi
if $cflags; then
all_flags="$the_flags"