Mass Deface
Email Grabber
if test xyes = xno ; then
case $includedir in
$prefix/include/ncurses)
includedir=`echo "$includedir" | sed -e 's,/[^/]*$,,'`
;;
esac
fi
test $# = 0 && exec /bin/sh $0 --error
while test $# -gt 0; do
case "$1" in
# basic configuration
--prefix)
echo "$prefix"
;;
--exec-prefix)
echo "$exec_prefix"
;;
# compile/link
--cflags)
INCS=
if test "xyes" = xno ; then
INCS="$INCS -I${includedir}/${THIS}"
fi
if test "${includedir}" != /usr/include ; then
INCS="$INCS -I${includedir}"
fi
sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
$INCS
ENDECHO
;;
--libs)
LIBDIR=
if test tinfo = ncurses ; then
sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
$LIBDIR -l${THIS}
ENDECHO
else
sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
$LIBDIR -l${THIS} -l${TINFO_LIB}
ENDECHO
fi
;;
# identification
--version)
echo "5.9.20130511"
;;
--abi-version)
echo "5"
;;
--mouse-version)
echo "1"
;;
# locations
--bindir)
echo "${bindir}"
;;
--datadir)
echo "${datadir}"
;;
--includedir)
echo "${includedir}"
;;
--libdir)
;;
--mandir)
echo "${mandir}"
;;
--terminfo)
echo "/usr/share/terminfo"
;;
--terminfo-dirs)
echo "/etc/terminfo:/usr/share/terminfo"
;;
--termpath)
echo ""
;;
# general info
--help)
cat <&2
exit 1
;;
esac
shift
done
# vi:ts=4 sw=4
# vile:shmode