Jürgen Knödlseder
/
gammalib
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Snippets
Download as
Email Patches
Plain Diff
Browse Code »
Commit
f6f4f315504bec9c32a657dcafb410b2c533bc59
Authored by
Jürgen Knödlseder
2012-08-24 16:53:40 +0200
1 parent
2a0cbde2
Correctly search for libtool.
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
autogen.sh
autogen.sh
View file @
f6f4f31
1
1
#!/bin/sh
2
2
3
-#aclocal -I m4
4
-if which libtoolize >/dev/null; then
3
+if command -v libtoolize >/dev/null 2>&1; then
5
4
libtoolize --copy
6
5
else
7
- if
which glibtoolize >/dev/null
; then
6
+ if
command -v glibtoolize >/dev/null 2>&1
; then
8
7
glibtoolize --copy
9
8
fi
10
9
fi
...
...