#!/bin/sh # # This is intended to be the equivalent of gtk-config # to allow other packages/software that want to locate the # header/include files and libraries for a ggobi source # # --libs # --cflags # --version TOP=/export/data/scisoft/tmp/ggobi VERSION="0.9-2" CFLAGS="-I/export/data/scisoft/tmp/ggobi/include " XML_LIB_DIRS="" XML_LIB_DIRS_PATH="" LIBS="-L/export/data/scisoft/tmp/ggobi/lib -lggobi" GTK_CFLAGS=`/usr/bin/gtk-config --cflags` GTK_LIBS=`/usr/bin/gtk-config --libs` usage=" Usage: ggobi-config [option] Options: --cflags --libs --xml-support --xml --xml-libs --xml-path --ld-library-path " if test $# -lt 1 ; then echo "$usage" exit 0 fi case $1 in "--v") echo "${VERSION}" shift ;; "--cflags") echo "${CFLAGS}" shift ;; "--libs") echo "${LIBS}" shift ;; "--xml-support") echo "no" ;; "--xml-libs") echo "${XML_LIB_DIRS}" shift ;; "--xml-path") echo "${XML_LIB_DIRS_PATH}" shift ;; --ld-library-path) echo "/export/data/scisoft/tmp/ggobi/lib" shift ;; --help|-h) echo "$usage" exit 0;; "*") echo "Unrecognized argument $1" shift ;; esac