git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35833e5
)
Make autogen.sh more portable by having it work on both Linux and FreeBSD
author
Richard Sharpe
<sharpe@samba.org>
Sun, 6 Apr 2003 02:46:10 +0000
(
02:46
+0000)
committer
Richard Sharpe
<sharpe@samba.org>
Sun, 6 Apr 2003 02:46:10 +0000
(
02:46
+0000)
under sh and bash.
(This used to be commit
4070ff1c6907c0cc3a86db735e7df25352dfb625
)
source3/autogen.sh
patch
|
blob
|
history
diff --git
a/source3/autogen.sh
b/source3/autogen.sh
index 32dfd9f72a5d1b2ee025911d4915e8ed47a02f5d..be3e473b40590bfab43663c88ff2c90a9cd6ac10 100755
(executable)
--- a/
source3/autogen.sh
+++ b/
source3/autogen.sh
@@
-15,7
+15,7
@@
AUTOCONFFOUND="0"
## Look for autoheader
##
for i in $TESTAUTOHEADER; do
- if which $i > /dev/null; then
+ if which $i > /dev/null
2>&1
; then
if [ `$i --version | head -1 | cut -d. -f 2` -ge 53 ]; then
AUTOHEADER=$i
AUTOHEADERFOUND="1"
@@
-29,7
+29,7
@@
done
##
for i in $TESTAUTOCONF; do
- if which $i > /dev/null; then
+ if which $i > /dev/null
2>&1
; then
if [ `$i --version | head -1 | cut -d. -f 2` -ge 53 ]; then
AUTOCONF=$i
AUTOCONFFOUND="1"