~ubuntu-branches/ubuntu/trusty/librep/trusty

« back to all changes in this revision

Viewing changes to src/rep-config

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2007-01-25 11:09:23 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070125110923-2owlh6jsptg68pn5
Tags: 0.17+svn20070119-2ubuntu1
* Re-sync with Debian.  Following change kept:
  - Still building with --with-stack-direction=-1 for ppc/ia64.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
usage="usage: rep-config [--version] [--libs] [--cflags] [--execdir] [--lispdir]"
 
4
 
 
5
if test $# -eq 0; then
 
6
      echo "${usage}" 1>&2
 
7
      exit 1
 
8
fi
 
9
 
 
10
while test $# -gt 0; do
 
11
  case $1 in
 
12
    --version)
 
13
      echo "0.17"
 
14
      ;;
 
15
    --cflags)
 
16
      echo "-I/usr/local/include -I/usr/local/libexec/rep/i686-pc-linux-gnu"
 
17
      ;;
 
18
    --libs)
 
19
      echo "-L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lrep  -ldl  -lcrypt -lgmp -lm"
 
20
      ;;
 
21
    --execdir)
 
22
      echo "/usr/local/libexec/rep/i686-pc-linux-gnu"
 
23
      ;;
 
24
    --lispdir)
 
25
      echo "/usr/local/share/rep/site-lisp"
 
26
      ;;
 
27
    *)
 
28
      echo "${usage}" 1>&2
 
29
      exit 1
 
30
      ;;
 
31
  esac
 
32
  shift
 
33
done