autogen.sh 410 Bytes
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3 4
#!/bin/sh 

set -x

Pekka Pessi's avatar
Pekka Pessi committed
5
aclocal -I m4 &&
6 7 8 9 10 11 12 13 14 15 16
autoheader 

if libtoolize --force 2> /dev/null
  then echo using libtoolize
elif glibtoolize --force 2> /dev/null
  then echo using glibtoolize
else
  echo "error: no libtoolize or glibtoolize found."
  exit -1
fi

Pekka Pessi's avatar
Pekka Pessi committed
17
automake --add-missing --copy --include-deps --foreign &&
Pekka Pessi's avatar
Pekka Pessi committed
18
autoconf
Pekka Pessi's avatar
Pekka Pessi committed
19

20
find . \( -name 'run*' -o -name '*.sh' \) -a -type f | xargs chmod +x
Pekka Pessi's avatar
Pekka Pessi committed
21
chmod +x scripts/*