~sharpie/geos/3.3.2

« back to all changes in this revision

Viewing changes to tools/geos-config.in

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2006-11-06 21:35:52 UTC
  • mfrom: (3.1.3 feisty)
  • Revision ID: james.westby@ubuntu.com-20061106213552-m03o92ggj1na737b
Tags: 2.2.3-3
debian/control: move doxygen from build-depends-indep to build-depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
prefix=@prefix@
 
3
exec_prefix=@exec_prefix@
 
4
libdir=@libdir@
3
5
 
4
6
usage()
5
7
{
10
12
     [--version]
11
13
     [--libs]
12
14
     [--cflags]
 
15
     [--ldflags]
13
16
     [--includes]
14
17
     [--jtsport]
15
18
EOF
25
28
esac
26
29
case $1 in
27
30
    --prefix)
28
 
    echo @prefix@
 
31
    echo ${prefix}
29
32
     ;;
30
33
    --version)
31
34
    echo @VERSION@
32
35
     ;;
33
36
    --cflags)
34
 
    echo -I@prefix@/include 
 
37
    echo -I${prefix}/include 
35
38
      ;;
36
39
    --libs)
37
 
      echo -L@prefix@/lib -lgeos
 
40
      echo -L${libdir} -lgeos
 
41
      ;;
 
42
    --ldflags)
 
43
      echo -L${libdir}
38
44
      ;;
39
45
    --includes)
40
 
      echo @prefix@/include
 
46
      echo ${prefix}/include
41
47
      ;;
42
48
    --jtsport)
43
49
    echo @JTS_PORT@