gwenhywfar/gwenhywfar-config.in.in @ 684381cc
4ecc0776 | aquamaniac | # $Id$
|
|
# Author of this file: Martin Preuss<martin@libchipcard.de>
|
|||
3428bb8d | aquamaniac | prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|||
libdir=@libdir@
|
|||
4ecc0776 | aquamaniac | result=""
|
|
for d in $*; do
|
|||
case $d in
|
|||
--includes)
|
|||
e8a81de9 | cstim | result="$result @ssl_includes@ @gwenhywfar_includes@"
|
|
4ecc0776 | aquamaniac | ;;
|
|
--libraries)
|
|||
e8a81de9 | cstim | result="$result @gwenhywfar_ldflags@ @gwenhywfar_libs@"
|
|
4ecc0776 | aquamaniac | ;;
|
|
c3a505ab | aquamaniac | --libraries++)
|
|
e8a81de9 | cstim | result="$result @gwenhywfar_ldflags@ @gwenhywfar_libspp@"
|
|
c3a505ab | aquamaniac | ;;
|
|
9474b3bb | aquamaniac | --libraries-ui)
|
|
e8a81de9 | cstim | result="$result @gwenhywfar_ldflags@ @gwenhywfar_libsui@"
|
|
9474b3bb | aquamaniac | ;;
|
|
dafb784e | aquamaniac | --headers)
|
|
e8a81de9 | cstim | result="$result @gwenhywfar_pkgincludedir@"
|
|
dafb784e | aquamaniac | ;;
|
|
--plugins)
|
|||
e8a81de9 | cstim | result="$result @gwenhywfar_plugindir@"
|
|
dafb784e | aquamaniac | ;;
|
|
aaa30da8 | aquamaniac | --sections)
|
|
result="$result @gwenhywfar_sections@"
|
|||
;;
|
|||
4ecc0776 | aquamaniac | --vmajor)
|
|
793860b4 | aquamaniac | result="$result @GWENHYWFAR_VERSION_MAJOR@"
|
|
4ecc0776 | aquamaniac | ;;
|
|
--vminor)
|
|||
793860b4 | aquamaniac | result="$result @GWENHYWFAR_VERSION_MINOR@"
|
|
4ecc0776 | aquamaniac | ;;
|
|
--vpatchlevel)
|
|||
793860b4 | aquamaniac | result="$result @GWENHYWFAR_VERSION_PATCHLEVEL@"
|
|
4ecc0776 | aquamaniac | ;;
|
|
--vbuild)
|
|||
793860b4 | aquamaniac | result="$result @GWENHYWFAR_VERSION_BUILD@"
|
|
4ecc0776 | aquamaniac | ;;
|
|
--vtag)
|
|||
793860b4 | aquamaniac | result="$result @GWENHYWFAR_VERSION_TAG@"
|
|
4ecc0776 | aquamaniac | ;;
|
|
--vstring)
|
|||
793860b4 | aquamaniac | result="$result @GWENHYWFAR_VERSION_MAJOR@.@GWENHYWFAR_VERSION_MINOR@.@GWENHYWFAR_VERSION_PATCHLEVEL@"
|
|
4ecc0776 | aquamaniac | ;;
|
|
61372ca5 | aquamaniac | --has-ui)
|
|
result="$result @USE_NCURSES@"
|
|||
;;
|
|||
--has-crypt)
|
|||
result="$result @USE_CRYPT@"
|
|||
;;
|
|||
4ecc0776 | aquamaniac | *)
|
|
echo "Usage:"
|
|||
echo "$0 --includes gives you the include flags"
|
|||
echo "$0 --libraries gives you the library flags"
|
|||
9474b3bb | aquamaniac | echo "$0 --libraries++ gives you the library flags for GwenPP"
|
|
echo "$0 --libraries-ui returns the library flags for GwenUI"
|
|||
dafb784e | aquamaniac | echo "$0 --headers gives you the location of the header files"
|
|
aaa30da8 | aquamaniac | echo "$0 --sections returns a string containing all sections of gwen"
|
|
4ecc0776 | aquamaniac | echo "$0 --vmajor gives the major version of LibGwenhywfar"
|
|
echo "$0 --vminor gives the minor version of LibGwenhywfar"
|
|||
echo "$0 --vpatchlevel gives the patchlevel of LibGwenhywfar"
|
|||
echo "$0 --vbuild gives the build number of LibGwenhywfar"
|
|||
echo "$0 --vtag gives the tag of LibGwenhywfar (cvs, beta or stable)"
|
|||
echo "$0 --vstring returns a version string"
|
|||
61372ca5 | aquamaniac | echo "$0 --has-ui returns \"yes\" or \"no\" depending on whether"
|
|
echo " there is UI support compiled into Gwen"
|
|||
echo "$0 --has-crypt returns \"yes\" or \"no\" depending on whether"
|
|||
echo " there is cryto support compiled into Gwen"
|
|||
4ecc0776 | aquamaniac | exit 1
|
|
;;
|
|||
esac
|
|||
done
|
|||
echo $result
|