Commit b67d5ae7265455763bae59501d0a08fd4826b437

Authored by knodlseder
1 parent c438ff65

optionally use either libtoolize or glibtoolize

Showing 1 changed file with 8 additions and 1 deletions
autogen.sh
1 1 #!/bin/sh
2 2  
3 3 aclocal -I m4
4   -libtoolize --copy
  4 +if which libtoolize >/dev/null; then
  5 + libtoolize --copy
  6 +else
  7 + if which glibtoolize >/dev/null; then
  8 + glibtoolize --copy
  9 + fi
  10 +fi
  11 +#libtoolize --copy
5 12 autoconf
6 13 autoheader
7 14 automake --add-missing --copy
... ...