]> Dogcows Code - chaz/tar/blobdiff - configure.ac
Updated
[chaz/tar] / configure.ac
index 5d94ce201c0117534a39ab1f0e389d07223d33c3..ebcb8c9138061aa1d8e02f115c3bb0872bda188a 100644 (file)
@@ -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
This page took 0.022065 seconds and 4 git commands to generate.