1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#! /bin/sh while test $# -gt 0; do case "$1" in -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac case "$1" in --version) echo @VERSION@ exit 0 ;; --cflags) cflags="$LIBXML_CFLAGS" ;; --libs) libs="$LIBXML_LIBS" ;; esac shift done if test -n "$cflags$libs"; then echo $cflags $libs fi exit 0