summaryrefslogtreecommitdiff
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
parent3e1a7baad5b0cbc7dc742ecc57f58882528343e5 (diff)
downloadlibxslt-a7716d3428768765d9271701e705310e04463bec.tar.gz
fixing Red Hat bug #59508 Daniel
* xslt-config: fixing Red Hat bug #59508 Daniel
-rw-r--r--ChangeLog4
-rw-r--r--xslt-config.in6
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 439b39c3..cd8151cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Feb 11 15:01:42 CET 2002 Daniel Veillard <daniel@veillard.com>
+
+ * xslt-config: fixing Red Hat bug #59508
+
Mon Feb 11 14:27:25 CET 2002 Daniel Veillard <daniel@veillard.com>
* tests/docs/Makefile.am tests/docs/bug-72.xml
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"