#!/bin/sh

prefix="/usr/local"
exec_prefix=$prefix

WCFLAGS="-I$prefix/include -I/usr/local/include -I/usr/local/include/giflib -I/usr/local/include  -I/usr/X11R6/include"
WLFLAGS="-L$exec_prefix/lib -L/usr/local/lib -L/usr/local/lib  -L/usr/X11R6/lib"
WLIBS="-lWUtil  -lPropList"

usage="Usage: get-wutil-flags [--cflags] [--ldflags] [--libs]"

if test $# -eq 0; then
      echo "${usage}" 1>&2
      exit 1
fi

while test $# -gt 0; do
  case $1 in
    --cflags)
	echo $WCFLAGS
        ;;
    --ldflags|--lflags)
	echo $WLFLAGS
        ;;
    --libs)
	echo $WLIBS
        ;;
    *)
    	echo "${usage}" 1>&2
    	exit 1
      	;;
  esac
  shift
done


