Sergio Hernández Cadena
/
gammalib
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Snippets
Download as
Email Patches
Plain Diff
Browse Code »
Commit
c47a6dea3b463c6dd9afc4f09d9c1d6abdd63d8b
Authored by
Jürgen Knödlseder
2012-08-24 16:53:00 +0200
1 parent
02381f44
Correctly search for libtool.
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
autogen.sh
autogen.sh
View file @
c47a6de
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
...
...