Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3d8810c
)
neater getconf test
author
Andrew Tridgell
<tridge@samba.org>
Wed, 6 Sep 2000 07:15:37 +0000
(07:15 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 6 Sep 2000 07:15:37 +0000
(07:15 +0000)
configure.in
patch
|
blob
|
blame
|
history
diff --git
a/configure.in
b/configure.in
index
8c16d43
..
f0def70
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-10,10
+10,10
@@
AC_CANONICAL_SYSTEM
AC_VALIDATE_CACHE_SYSTEM_TYPE
# look for getconf early as this affects just about everything
AC_VALIDATE_CACHE_SYSTEM_TYPE
# look for getconf early as this affects just about everything
-AC_CHECK_PROG(HAVE_GETCONF, getconf,
1, 0
)
-if test $HAVE_GETCONF =
1
; then
- CFLAGS=$CFLAGS" "`getconf LFS_CFLAGS`
- LDFLAGS=$LDFLAGS" "`getconf LFS_LDFLAGS`
+AC_CHECK_PROG(HAVE_GETCONF, getconf,
"yes", "no"
)
+if test $HAVE_GETCONF =
"yes"
; then
+ CFLAGS=$CFLAGS" "`getconf LFS_CFLAGS
2> /dev/null
`
+ LDFLAGS=$LDFLAGS" "`getconf LFS_LDFLAGS
2> /dev/null
`
fi
dnl Checks for programs.
fi
dnl Checks for programs.