mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
Test whether GNU tar understands --warning=no-timestamp
http://hydra.nixos.org/build/3031618
This commit is contained in:
parent
09eb230900
commit
b674665765
1 changed files with 2 additions and 2 deletions
|
@ -340,8 +340,8 @@ AC_SUBST(dynlib_suffix)
|
||||||
|
|
||||||
|
|
||||||
# Do we have GNU tar?
|
# Do we have GNU tar?
|
||||||
AC_MSG_CHECKING([if you have GNU tar])
|
AC_MSG_CHECKING([if you have a recent GNU tar])
|
||||||
if $tar --version 2> /dev/null | grep -q GNU; then
|
if $tar --version 2> /dev/null | grep -q GNU && tar cvf /dev/null --warning=no-timestamp ./configure > /dev/null; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
tarFlags="--warning=no-timestamp"
|
tarFlags="--warning=no-timestamp"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue