Avoid potential negative array index access to cached text.
[LibreOffice.git] / external / libxml2 / xml2-config.in
blob164508e47e67cbcb0360d755f6af165bc6f337b2
1 #! /bin/sh
3 while test $# -gt 0; do
4 case "$1" in
5 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
6 *) optarg= ;;
7 esac
9 case "$1" in
10 --version)
11 echo @VERSION@
12 exit 0
14 --cflags)
15 cflags="$LIBXML_CFLAGS"
17 --libs)
18 libs="$LIBXML_LIBS"
20 esac
21 shift
22 done
24 if test -n "$cflags$libs"; then
25 echo $cflags $libs
28 exit 0