mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
Use a GNU tar flag to shut up warnings about implausibly old timestamp
This commit is contained in:
parent
afa7e01878
commit
46f852cda0
4 changed files with 15 additions and 1 deletions
12
configure.ac
12
configure.ac
|
@ -339,6 +339,18 @@ eval dynlib_suffix=$shrext_cmds
|
|||
AC_SUBST(dynlib_suffix)
|
||||
|
||||
|
||||
# Do we have GNU tar?
|
||||
AC_MSG_CHECKING([if you have GNU tar])
|
||||
if $tar --version 2> /dev/null | grep -q GNU; then
|
||||
AC_MSG_RESULT(yes)
|
||||
tarFlags="--warning=no-timestamp"
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
AC_SUBST(tarFlags)
|
||||
|
||||
|
||||
|
||||
AM_CONFIG_HEADER([config.h])
|
||||
AC_CONFIG_FILES([Makefile
|
||||
src/Makefile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue