#! /bin/sh
#

AFTERIMAGE_LIBS="@AFTERIMAGE_LIBS@"
AFTERIMAGE_LIBS_EXTERNAL="@AFTERIMAGE_LIBS_EXTERNAL@"
HAVE_AFTERBASE="@have_afterbase@"
AFTERIMAGE_PREF_FORMAT="@image_format@"

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
