#! /bin/sh
#

AFTERIMAGE_LIBS="-L/usr/local/lib -lAfterImage  -lAfterBase -L/usr/X11R6/lib -lfreetype -lz -pthread -L/usr/X11R6/lib -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lglib-2.0 -lintl -liconv -lpixman-1 -lpthread-stubs -lfontconfig -lexpat -lfreetype -lGL -lpng -lz -lm -lxcb-shm -lxcb-render -lxcb -lXrender -lX11 -ltiff -lX11 -L/usr/X11R6/lib -lSM -lICE -lXext -ljpeg -lpng -lz -lm"
AFTERIMAGE_LIBS_EXTERNAL="-L/usr/X11R6/lib -lfreetype -lz -L/usr/local/lib -pthread -L/usr/X11R6/lib -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lglib-2.0 -lintl -liconv -lpixman-1 -lpthread-stubs -lfontconfig -lexpat -lfreetype -lGL -lpng -lz -lm -lxcb-shm -lxcb-render -lxcb -lXrender -lX11 -ltiff -lX11  -L/usr/X11R6/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
