diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-02-11 14:03:50 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-02-11 14:03:50 +0000 |
commit | a7716d3428768765d9271701e705310e04463bec (patch) | |
tree | 2d4f2d66ea115ff0c928c8fbc0f9737c48630357 | |
parent | 3e1a7baad5b0cbc7dc742ecc57f58882528343e5 (diff) | |
download | libxslt-a7716d3428768765d9271701e705310e04463bec.tar.gz |
fixing Red Hat bug #59508 Daniel
* xslt-config: fixing Red Hat bug #59508
Daniel
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | xslt-config.in | 6 |
2 files changed, 9 insertions, 1 deletions
@@ -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" |