Skip to content
Snippets Groups Projects
Commit b6746657 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Test whether GNU tar understands --warning=no-timestamp

parent 09eb2309
No related branches found
No related tags found
No related merge requests found
......@@ -340,8 +340,8 @@ 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_CHECKING([if you have a recent GNU tar])
if $tar --version 2> /dev/null | grep -q GNU && tar cvf /dev/null --warning=no-timestamp ./configure > /dev/null; then
AC_MSG_RESULT(yes)
tarFlags="--warning=no-timestamp"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment