4 exec_prefix=@exec_prefix@
6 includedir=@includedir@
9 # if this script is in the same directory as libvncserver-config.in, assume not installed
10 if [ -f "`dirname "$0"`/libvncserver-config.in" ]; then
12 prefix="`cd "$dir"; pwd`"
14 libdir="$prefix/libvncserver/.libs $prefix/libvncclient/.libs"
18 Usage: @PACKAGE@-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--link] [--libs] [--cflags]"
20 if test $# -eq 0; then
25 while test $# -gt 0; do
27 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
34 if test $exec_prefix_set = no ; then
52 if [ "$includedir" != /usr/include ]; then
53 includes=-I"$includedir"
59 for dir in $libdir; do
61 if [ "`uname`" = "SunOS" ]; then
66 echo "$libs" -lvncserver -lvncclient @LIBS@ @WSOCKLIB@