summaryrefslogtreecommitdiff
path: root/libxslt/dummy/bin/xml2-config
diff options
context:
space:
mode:
Diffstat (limited to 'libxslt/dummy/bin/xml2-config')
-rwxr-xr-xlibxslt/dummy/bin/xml2-config17
1 files changed, 17 insertions, 0 deletions
diff --git a/libxslt/dummy/bin/xml2-config b/libxslt/dummy/bin/xml2-config
new file mode 100755
index 000000000000..4ee8dd0206c5
--- /dev/null
+++ b/libxslt/dummy/bin/xml2-config
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# Use flags found out by configure when we *don't* want
+# to use the "system" xml2-config in $PATH
+
+case $1 in
+--cflags)
+ echo $LIBXML_CFLAGS
+ ;;
+--libs)
+ echo $LIBXML_LIBS
+ ;;
+--version)
+ # Assume it's close enough to the system version...
+ xml2-config --version
+ ;;
+esac