#!/bin/sh
#
# libast-config -- libast configuration helper script
#
# 29 October 2000
# Michael Jennings <mej@eterm.org>
#
# See libast source/documentation for license
#

prefix=/usr/local
exec_prefix=${prefix}
CPPFLAGS="-I/usr/local/include -I/usr/X11R6/include "
LDFLAGS="-L/usr/local/lib -L/usr/X11R6/lib "
LIBS="-L/usr/local/lib -lImlib2 -L/usr/X11R6/lib -lfreetype -lm -lXext -lXext -lX11 -L/usr/X11R6/lib  -lSM -lICE  "
X11_SUPPORT=X11
IMLIB2_SUPPORT=
MMX_SUPPORT=
REGEXP_SUPPORT=regexp-posix
VERSION=0.7

case $1 in
  -h | --help | -help)
    echo "Usage:  libast-config [--version] [--prefix] [--exec-prefix] [--cppflags] [--ldflags] [--libs] [--support]"
    ;;
  -v | --version | -version)
    echo "Libary of Assorted Spiffy Things:  libast $VERSION"
    ;;
  -p | --prefix | -prefix)
    echo "$prefix"
    ;;
  -e | --exec-prefix | -exec-prefix)
    echo "$exec_prefix"
    ;;
  -c | --cppflags | -cppflags | --cflags | -cflags)
    echo "$CPPFLAGS"
    ;;
  -l | --ldflags | -ldflags)
    echo "$LDFLAGS"
    ;;
  -L | --libs | -libs)
    echo "$LIBS"
    ;;
  -s | --support | -support)
    echo "$MMX_SUPPORT $X11_SUPPORT $IMLIB2_SUPPORT"
    ;;
esac
