Files
heimdal/tools/krb5-config.in
Assar Westerlund fa5f7acd5c new files, used by other programs linking against this
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:41:40 +00:00

33 lines
521 B
Bash
Executable File

#!/bin/sh
# $Id$
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
for i in $*; do
case $i in
--help)
echo "usage: $0 [--ldflags] [--cflags]"
exit 0
;;
--version)
echo "@PACKAGE@ @VERSION@"
echo "$Id$"
exit 0
;;
--ldflags)
echo "-L${libdir} -lkrb5 -lasn1 -ldes -lroken @LIB_crypt@ @LIB_dbopen@ @LIBS@"
exit 0
;;
--cflags)
echo "-I${includedir}"
exit 0
;;
*)
echo "unknown option: $i"
exit 1
;;
esac
done
exit 0