diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 (patch) | |
tree | 67208f7c145782a7e90b123b982ca78d88cc2c87 /indexlib/indexlib-config.in | |
download | tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.tar.gz tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'indexlib/indexlib-config.in')
-rw-r--r-- | indexlib/indexlib-config.in | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/indexlib/indexlib-config.in b/indexlib/indexlib-config.in new file mode 100644 index 000000000..f478bad4c --- /dev/null +++ b/indexlib/indexlib-config.in @@ -0,0 +1,60 @@ +#!/bin/sh + +usage() +{ + echo "usage: $0 [OPTIONS]" +cat << EOH + +options: + [--libs] + [--cflags] + [--version] + [--prefix] +EOH +} + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +flags="" + +if test $# -eq 0 ; then + usage + exit 0 +fi + +while test $# -gt 0 +do + case $1 in + --libs) + flags="$flags -L$libdir -lindex" + ;; + --cflags) + flags="$flags -I$includedir/index" + ;; + --version) + echo 0.94 + ;; + --prefix) + echo $prefix + ;; + --help) + usage + exit 0 + ;; + *) + echo "$0: unknown option $1" + echo + usage + exit 1 + ;; + esac + shift +done + +if test -n "$flags" +then + echo $flags +fi |