From a7716d3428768765d9271701e705310e04463bec Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 11 Feb 2002 14:03:50 +0000 Subject: fixing Red Hat bug #59508 Daniel * xslt-config: fixing Red Hat bug #59508 Daniel --- xslt-config.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'xslt-config.in') 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" -- cgit v1.2.3