X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fminidom%2Fminidom-config.in;fp=helm%2Fminidom%2Fminidom-config.in;h=cdae66aaa7c56dab1aa9234e64945de3dbf01a83;hb=e5d06bcdbc0f4bcd74b3a4eb38879976322488f2;hp=0000000000000000000000000000000000000000;hpb=fa11ed6dc134f8ad3421c37a97271018e075bbed;p=helm.git diff --git a/helm/minidom/minidom-config.in b/helm/minidom/minidom-config.in new file mode 100644 index 000000000..cdae66aaa --- /dev/null +++ b/helm/minidom/minidom-config.in @@ -0,0 +1,48 @@ + +usage() +{ + cat <&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 +