X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=configure.ac;h=ebcb8c9138061aa1d8e02f115c3bb0872bda188a;hb=33b04d5ecddd98d61d07b1d9000e1fffa6e00a16;hp=5d94ce201c0117534a39ab1f0e389d07223d33c3;hpb=01f19e973bfc7636b2ca9c54482d3ccf490ed7dd;p=chaz%2Ftar diff --git a/configure.ac b/configure.ac index 5d94ce2..ebcb8c9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # Configure template for GNU tar. -# Copyright (C) 1991, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. +# Copyright (C) 1991, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +# 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -27,8 +27,6 @@ AM_INIT_AUTOMAKE([1.7.5 gnits dist-bzip2 dist-shar]) gl_USE_SYSTEM_EXTENSIONS AC_PROG_CC -AC_AIX -AC_MINIX AC_EXEEXT AC_PROG_RANLIB AC_SYS_LARGEFILE @@ -201,6 +199,19 @@ else [Define to the full path of your rsh, if any.]) fi +AC_MSG_CHECKING(for default archive format) + +if test -z "$DEFAULT_ARCHIVE_FORMAT"; then + DEFAULT_ARCHIVE_FORMAT="GNU" +fi +case $DEFAULT_ARCHIVE_FORMAT in + V7|OLDGNU|POSIX|GNU) ;; + *) AC_MSG_ERROR(Invalid format name);; +esac +AC_DEFINE_UNQUOTED(DEFAULT_ARCHIVE_FORMAT, ${DEFAULT_ARCHIVE_FORMAT}_FORMAT, + [By default produce archives of this format]) +AC_MSG_RESULT($DEFAULT_ARCHIVE_FORMAT) + AC_MSG_CHECKING(for default archive) if test -z "$DEFAULT_ARCHIVE"; then