#! /bin/sh
#

AFTERIMAGE_LIBS="-L/usr/pkg/lib -lAfterImage  -lAfterBase -Wl,-R/usr/pkg/lib -lfreetype -ltiff -lX11 -L/usr/X11R7/lib -R/usr/X11R7/lib -lSM -lICE -lXext -ljpeg -lpng -lz -lm"
AFTERIMAGE_LIBS_EXTERNAL="-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lfreetype -ltiff -lX11  -L/usr/X11R7/lib -R/usr/X11R7/lib   -lSM -lICE -lXext -ljpeg -lpng -lz -lm"
HAVE_AFTERBASE="yes"
AFTERIMAGE_PREF_FORMAT="png"

export AFTERIMAGE_LIBS
export AFTERIMAGE_LIBS_EXTERNAL
export HAVE_AFTERBASE
export AFTERIMAGE_PREF_FORMAT

if test "x$1" = "x--external-only" ; then
	echo $AFTERIMAGE_LIBS_EXTERNAL
else
  if test "x$1" = "x--have-afterbase" ; then
	echo $HAVE_AFTERBASE
  else
        if test "x$1" = "x--preferred-image-format" ; then
                echo $AFTERIMAGE_PREF_FORMAT
        else
                echo $AFTERIMAGE_LIBS
        fi
  fi
fi
exit 0
