File: autogen.sh

package info (click to toggle)
libgoby-java 3.3.1%2Bdfsg2-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 58,108 kB
  • sloc: java: 78,105; cpp: 5,011; xml: 3,170; python: 2,108; sh: 1,575; ansic: 277; makefile: 114
file content (20 lines) | stat: -rwxr-xr-x 458 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh -e

test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
#autoreconf --force -I /opt/local/share/aclocal --install --verbose "$srcdir"
# Need to set the following variable based on OS. MacOS needs the -I option to aclocal
OS=`uname -s`
if [ $OS = "Darwin" ]; then
  INCLUDE_OPTION="-I /opt/local/share/aclocal"
 else
  INCLUDE_OPTION=""
fi

autoreconf -i
aclocal $INCLUDE_OPTION
libtoolize --force
autoheader
automake
autoconf