File: autogen.sh

package info (click to toggle)
libzen 0.4.41-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,496 kB
  • sloc: cpp: 10,502; ansic: 3,590; sh: 274; makefile: 97
file content (31 lines) | stat: -rwxr-xr-x 556 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh

#libtoolize 
if test "$(uname)" = "Darwin" ; then
  #Darwin based Systems like Mac OS X: libtoolize is called glibtoolize.
  glibtoolize --automake
else
  libtoolize --automake
fi

#aclocal
if test -e /usr/bin/aclocal-1.11 ; then
  #OpenSolaris: no aclocal
  aclocal-1.11
elif test -e /usr/bin/aclocal-1.10 ; then
  aclocal-1.10
else
  aclocal
fi

#automake
if test -e /usr/bin/automake-1.11 ; then
  #OpenSolaris: no automake
  automake-1.11 -a
elif test -e /usr/bin/automake-1.10 ; then
  automake-1.10 -a
else
  automake -a
fi

autoreconf -fi