#!/bin/sh # # libast-config -- libast configuration helper script # # 29 October 2000 # Michael Jennings # # See libast source/documentation for license # prefix= exec_prefix=${prefix} CPPFLAGS="-I/include -I/usr/local/include " LDFLAGS="-L/lib -L/usr/local/lib " LIBS="-L/lib -lImlib2 -L/usr/local/lib -lfreetype -lz -L/usr/X11R6/lib -lX11 -lXext -ldl -lm -lpcre " X11_SUPPORT= IMLIB2_SUPPORT= MMX_SUPPORT= REGEXP_SUPPORT=regexp-pcre 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