autogen.sh 358 Bytes
Newer Older
1
#!/bin/sh
2

3
if [ -x "`which autoreconf 2>/dev/null`" ] ; then
4
  opt="-i -f -W all,error"
5
6
7
8

  for i in $@; do
    case "$i" in
      -v)
9
        opt="${opt} -v"
10
11
12
13
14
        ;;
    esac
  done

  exec autoreconf $opt
15
16
fi

17
18
set -e

19
# Run this to generate all the initial makefiles, etc.
20
aclocal -I m4 && \
21
22
23
	autoheader && \
	autoconf && \
	automake --add-missing --copy