X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=configure.ac;h=a02494e223fe0eef8d5f24ec2b4149aff972a108;hb=c4e054673b8fe8b84a4ac1fb8af14334f6a75f6b;hp=d461b88b2f7e04949fb424ffddad014d59a59592;hpb=0500b1ba3e8a8e61149a314e67093696f5472f88;p=chaz%2Ftar diff --git a/configure.ac b/configure.ac index d461b88..a02494e 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -AC_INIT([GNU tar], [1.14], [bug-tar@gnu.org]) +AC_INIT([GNU tar], [1.14.1], [bug-tar@gnu.org]) AC_CONFIG_SRCDIR([src/tar.c]) AC_CONFIG_AUX_DIR([config]) AC_CONFIG_HEADERS([config.h:config.hin]) @@ -132,7 +132,6 @@ LIBS=$tar_save_LIBS AC_CHECK_FUNCS(fsync lstat mkfifo readlink strerror symlink setlocale utimes) AC_CHECK_DECLS([getgrgid],,, [#include ]) AC_CHECK_DECLS([getpwuid],,, [#include ]) -AC_CHECK_DECLS([valloc]) AC_CHECK_DECLS([time],,, [#include ]) # Set LIB_SETSOCKOPT to -lnsl -lsocket if necessary. @@ -262,6 +261,14 @@ AC_CHECK_TYPE(iconv_t,:, #endif ]) +# Check if we have reentrant versions of getopt. Argp needs them, +# but many versions of Glibc lack them, though they define the +# same getopt interface version as lib/getopt.c. +AC_CHECK_FUNC(_getopt_long_only_r, + :, + [AC_DEFINE(WANT_INCLUDED_GETOPT,1, + [Define if the included version of getopt has to be used])]) + AC_SUBST(BACKUP_LIBEXEC_SCRIPTS) AC_SUBST(BACKUP_SBIN_SCRIPTS) AC_ARG_ENABLE(backup-scripts,