jean perrot
/
ctools
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Snippets
Download as
Email Patches
Plain Diff
Browse Code »
Commit
26e2720acd4f7ff3e2b245675c99582440f5ddf5
Authored by
Jürgen Knödlseder
2012-08-24 16:52:44 +0200
1 parent
9e2673b3
Correctly search for libtool.
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
autogen.sh
autogen.sh
View file @
26e2720
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
...
...