repo.or.cz
/
LibreOffice.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Avoid potential negative array index access to cached text.
[LibreOffice.git]
/
external
/
libxml2
/
xml2-config.in
blob
164508e47e67cbcb0360d755f6af165bc6f337b2
1
#! /bin/sh
2
3
while
test
$#
-gt
0
;
do
4
case
"
$1
"
in
5
-*=*)
optarg
=
`echo "
$1
" | sed 's/[-_a-zA-Z0-9]*=//'`
;;
6
*)
optarg
= ;;
7
esac
8
9
case
"
$1
"
in
10
--version
)
11
echo
@VERSION@
12
exit
0
13
;;
14
--cflags
)
15
cflags
=
"
$LIBXML_CFLAGS
"
16
;;
17
--libs
)
18
libs
=
"
$LIBXML_LIBS
"
19
;;
20
esac
21
shift
22
done
23
24
if
test -n
"
$cflags
$libs
"
;
then
25
echo
$cflags $libs
26
fi
27
28
exit
0