[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Autoconf Bug in 2.63 When Looking for GTAR on Amanda 2.6.1p1 on OpenBSD
From: |
Eric Olsen |
Subject: |
Autoconf Bug in 2.63 When Looking for GTAR on Amanda 2.6.1p1 on OpenBSD 4.5 |
Date: |
Thu, 28 May 2009 21:22:10 -0500 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
- found in Amanda 2.6.1p1\configure file:
# Generated by GNU Autoconf 2.63.
- when running configure, cannot detect gtar present on OpenBSD 4.5
system, but gtar is present:
# gtar --version
tar (GNU tar) 1.21
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
# grep gtar config.log
configure:31920: checking for gtar
configure:31938: found /usr/local/bin/gtar
configure:31950: result: /usr/local/bin/gtar
configure:31970: WARNING: /usr/local/bin/gtar is not GNU tar, so it will
not be used.
- traced down to line 31970 in generated configure file:
case "`\"$GNUTAR\" --version 2>&1`" in
- if change line as shown below, does work:
case "`$GNUTAR --version 2>&1`" in
- strangely, if I pull the section taking a look at the gtar --version
and put it in a separate script, it works:
# cat test
#!/bin/sh
GNUTAR=/usr/local/bin/gtar
if test -n "$GNUTAR"; then
echo "Found $GNUTAR"
GNUTEST="`\"$GNUTAR\" --version 2>&1`"
case "`\"$GNUTAR\" --version 2>&1`" in
*GNU*tar* | *Free*paxutils* )
echo "hooray"
echo "--$GNUTEST--"
;;
*)
echo "bah"
;;
esac
fi
# ./test
Found /usr/local/bin/gtar
hooray
--tar (GNU tar) 1.21
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.--
- tried regenerating configure using autoconf 2.62 on OpenBSD,
but have same results
Thanks for any help.
Eric Olsen
- Autoconf Bug in 2.63 When Looking for GTAR on Amanda 2.6.1p1 on OpenBSD 4.5,
Eric Olsen <=