+++ /dev/null
-#!/bin/sh
-
-VERSION="0.1.0"
-libdir="/usr/local/lib"
-pkglibdir="/usr/local/lib/minidom"
-includedir="/usr/local/include"
-pkgincludedir="/usr/local/include/minidom"
-
-
-usage()
-{
- cat <<EOF
-Usage: minidom-config [OPTIONS]
-Options:
- [--version]
- [--libs]
- [--cflags]
-EOF
- exit $1
-}
-
-if test $# -eq 0; then
- usage 1 1>&2
-fi
-
-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
- ;;
- --cflags)
- echo_cflags=yes
- ;;
- --libs)
- echo_libs=yes
- ;;
- *)
- usage 1 1>&2
- ;;
- esac
- shift
-done
-
-if test "$echo_cflags" = "yes"; then
- echo `xml-config --cflags` -I$pkgincludedir
-fi
-
-if test "$echo_libs" = "yes"; then
- echo `xml-config --libs` -L$libdir -lminidom
-fi
-