]> Dogcows Code - chaz/tar/blobdiff - configure.ac
(AC_AIX, AC_MINIX): Remove; subsumed by gl_USE_SYSTEM_EXTENSIONS.
[chaz/tar] / configure.ac
index 28bef09c2cda97c470f23de1a3400f50e207312e..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
@@ -25,10 +25,8 @@ AC_CONFIG_HEADERS([config.h:config.hin])
 AC_PREREQ([2.57])
 AM_INIT_AUTOMAKE([1.7.5 gnits dist-bzip2 dist-shar])
 
-AC_GNU_SOURCE
+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.021412 seconds and 4 git commands to generate.