Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
prefix=@prefix@ |
| 4 |
exec_prefix=@exec_prefix@ |
| 5 |
exec_prefix_set=no |
| 6 |
|
| 7 |
usage() |
| 8 |
{ |
| 9 |
cat <<EOF |
| 10 |
Usage: kakasi-config [OPTIONS] |
| 11 |
|
| 12 |
Options: |
| 13 |
[--prefix[=DIR]] |
| 14 |
[--exec-prefix[=DIR]] |
| 15 |
[--libs] |
| 16 |
[--cflags] |
| 17 |
[--help] |
| 18 |
[--version] |
| 19 |
EOF |
| 20 |
|
| 21 |
exit $1 |
| 22 |
} |
| 23 |
|
| 24 |
if test $# -eq 0; then |
| 25 |
usage 1 |
| 26 |
fi |
| 27 |
|
| 28 |
cflags=false |
| 29 |
libs=false |
| 30 |
|
| 31 |
while test $# -gt 0; do |
| 32 |
case "$1" in |
| 33 |
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
| 34 |
*) optarg= ;; |
| 35 |
esac |
| 36 |
|
| 37 |
case "$1" in |
| 38 |
--prefix=*) |
| 39 |
prefix=$optarg |
| 40 |
if test $exec_prefix_set = no ; then |
| 41 |
exec_prefix=$optarg |
| 42 |
fi |
| 43 |
;; |
| 44 |
|
| 45 |
--prefix) |
| 46 |
echo $prefix |
| 47 |
;; |
| 48 |
|
| 49 |
--exec-prefix=*) |
| 50 |
exec_prefix=$optarg |
| 51 |
exec_prefix_set=yes |
| 52 |
;; |
| 53 |
|
| 54 |
--exec-prefix) |
| 55 |
echo $exec_prefix |
| 56 |
;; |
| 57 |
|
| 58 |
--version) |
| 59 |
echo @VERSION@ |
| 60 |
exit 0 |
| 61 |
;; |
| 62 |
|
| 63 |
--help) |
| 64 |
usage 0 |
| 65 |
;; |
| 66 |
|
| 67 |
--cflags) |
| 68 |
if test @includedir@ != /usr/include ; then |
| 69 |
includes=-I@includedir@ |
| 70 |
fi |
| 71 |
echo $includes |
| 72 |
;; |
| 73 |
|
| 74 |
--libs) |
| 75 |
echo -L@libdir@ -lkakasi |
| 76 |
;; |
| 77 |
|
| 78 |
*) |
| 79 |
usage |
| 80 |
exit 1 |
| 81 |
;; |
| 82 |
esac |
| 83 |
shift |
| 84 |
done |
| 85 |
|
| 86 |
exit 0 |