File: autogen.sh

package info (click to toggle)
hexter 1.1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,664 kB
  • sloc: ansic: 14,105; makefile: 131; sh: 26
file content (31 lines) | stat: -rwxr-xr-x 735 bytes parent folder | download | duplicates (14)
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

WANT_AUTOMAKE=1.7
export WANT_AUTOMAKE

case `uname -s` in
  Linux)
      LIBTOOLIZE=libtoolize
      ACLOCALARGS=''
      ;;
  Darwin)
      LIBTOOLIZE=glibtoolize
      ACLOCALARGS='-I /usr/local/share/aclocal'
      ;;
  *)  echo error: unrecognized OS
      exit
      ;;
esac

echo "=============== running libtoolize --force --copy" &&
    $LIBTOOLIZE --force --copy &&
    echo "=============== running aclocal" &&
    aclocal $ACLOCALARGS &&
    echo "=============== running autoheader" &&
    autoheader &&
    echo "=============== running automake --add-missing --foreign" &&
    automake --add-missing --foreign &&
    echo "=============== running autoconf" &&
    autoconf &&
    echo "=============== done"