Commit 26e2720acd4f7ff3e2b245675c99582440f5ddf5

Authored by Jürgen Knödlseder
1 parent 9e2673b3

Correctly search for libtool.

Showing 1 changed file with 2 additions and 2 deletions
autogen.sh
1 1 #!/bin/sh
2 2  
3   -if which libtoolize >/dev/null; then
  3 +if command -v libtoolize >/dev/null 2>&1; then
4 4 libtoolize --copy
5 5 else
6   - if which glibtoolize >/dev/null; then
  6 + if command -v glibtoolize >/dev/null 2>&1; then
7 7 glibtoolize --copy
8 8 fi
9 9 fi
... ...