Andreas Jochens
Chris Moore (dooglus)
Martin Michlmayr
+Ralf Corsepius
#!/bin/sh
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-
-bindir=@bindir@
-libexecdir=@libexecdir@
-datadir=@datadir@
-sysconfdir=@sysconfdir@
-sharedstatedir=@sharedstatedir@
-localstatedir=@localstatedir@
-libdir=@libdir@
-infodir=@infodir@
-mandir=@mandir@
-includedir=@includedir@
-
-LIBS="@LIBS@"
-
VERSION=@VERSION@
PACKAGE=@PACKAGE@
-CFLAGS=-I$includedir
-
usage()
{
cat <<EOF
exit 0
;;
--exec-prefix)
- echo $exec_prefix
+ pkg-config --variable=exec_prefix ETL
exit 0
;;
--prefix)
- echo $prefix
+ pkg-config --variable=prefix ETL
exit 0
;;
--help)
usage 0
;;
--cxxflags)
- echo $CFLAGS
+ pkg-config --cflags ETL
exit 0
;;
--cflags)
- echo $CFLAGS
+ pkg-config --cflags ETL
exit 0
;;
--libs)
- echo $LIBS
+ pkg-config --libs ETL
exit 0
;;
esac