2 # Modified from gtk-config
5 # gotten from LDADD in c++/Makefile.am
7 cassowary_libs="-L/usr/local/lib $cassowary_gtllibs"
8 cassowary_cflags="-I/usr/local/include "
17 Usage: cassowary-config [OPTIONS]
29 if test $# -eq 0; then
33 while test $# -gt 0; do
35 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
42 if test $exec_prefix_set = no ; then
75 if test "$echo_prefix" = "yes"; then
79 if test "$echo_exec_prefix" = "yes"; then
84 if test "$echo_cflags" = "yes"; then
85 if test ${prefix}/include != /usr/include ; then
86 includes=-I${prefix}/include
87 for i in $cassowary_cflags ; do
88 if test $i = -I${prefix}/include ; then
93 echo $includes $cassowary_cflags
96 if test "$echo_libs" = "yes"; then
97 echo -L${exec_prefix}/lib -lcassowary -lstdc++ $cassowary_libs
100 if test "$echo_gtllibs" = "yes"; then
101 echo $cassowary_gtllibs