#!/bin/sh # This is a shell archive (produced by GNU sharutils 4.2). # To extract the files from this archive, save it to some FILE, remove # everything before the `!/bin/sh' line above, then type `sh FILE'. # # Made on 1999-07-07 23:45 PDT by . # Source directory was `/net/knick/project/reb/src/base/tar'. # # Existing files will *not* be overwritten unless `-c' is specified. # # This shar contains: # length mode name # ------ ---------- ------------------------------------------ # 8221 -r--r--r-- tar-1.13/README # 10 -rw-rw-r-- tar-1.13/stamp-h.in # 11651 -r--r--r-- tar-1.13/ABOUT-NLS # 732 -r--r--r-- tar-1.13/AUTHORS # 85570 -r--r--r-- tar-1.13/BACKLOG # 17989 -r--r--r-- tar-1.13/COPYING # 50363 -rw-rw-r-- tar-1.13/ChangeLog # 7831 -r--r--r-- tar-1.13/INSTALL # 2484 -r--r--r-- tar-1.13/Makefile.am # 13933 -rw-rw-r-- tar-1.13/Makefile.in # 7340 -r--r--r-- tar-1.13/NEWS # 18002 -r--r--r-- tar-1.13/THANKS # 809 -r--r--r-- tar-1.13/TODO # 2571 -r--r--r-- tar-1.13/acconfig.h # 31952 -rw-rw-r-- tar-1.13/acinclude.m4 # 37120 -rw-rw-r-- tar-1.13/aclocal.m4 # 29612 -r--r--r-- tar-1.13/config.guess # 11992 -rw-rw-r-- tar-1.13/config.h.in # 20453 -r--r--r-- tar-1.13/config.sub # 187588 -rwxrwxr-x tar-1.13/configure # 8182 -r--r--r-- tar-1.13/configure.in # 5603 -r-xr-xr-x tar-1.13/install-sh # 6274 -r-xr-xr-x tar-1.13/missing # 722 -r-xr-xr-x tar-1.13/mkinstalldirs # 5015 -r--r--r-- tar-1.13/PORTS # 30361 -r--r--r-- tar-1.13/rebox.el # 5297 -r--r--r-- tar-1.13/doc/ChangeLog # 2268 -r--r--r-- tar-1.13/doc/Makefile.am # 11443 -rw-rw-r-- tar-1.13/doc/Makefile.in # 2679 -r-xr-xr-x tar-1.13/doc/mdate-sh # 62 -rw-rw-r-- tar-1.13/doc/stamp-vti # 194985 -r--r--r-- tar-1.13/doc/texinfo.tex # 62 -rw-rw-r-- tar-1.13/doc/version.texi # 354435 -r--r--r-- tar-1.13/doc/tar.texi # 2652 -r-xr-xr-x tar-1.13/doc/convtexi.pl # 16892 -r--r--r-- tar-1.13/doc/getdate.texi # 9241 -rw-rw-r-- tar-1.13/doc/header.texi # 5082 -r--r--r-- tar-1.13/doc/tar.info # 49886 -r--r--r-- tar-1.13/doc/tar.info-1 # 48095 -r--r--r-- tar-1.13/doc/tar.info-2 # 46870 -r--r--r-- tar-1.13/doc/tar.info-3 # 50628 -r--r--r-- tar-1.13/doc/tar.info-4 # 46417 -r--r--r-- tar-1.13/doc/tar.info-5 # 46857 -r--r--r-- tar-1.13/doc/tar.info-6 # 46626 -r--r--r-- tar-1.13/doc/tar.info-7 # 14724 -r--r--r-- tar-1.13/doc/tar.info-8 # 8095 -r--r--r-- tar-1.13/lib/ChangeLog # 1819 -r--r--r-- tar-1.13/lib/Makefile.am # 19451 -rw-rw-r-- tar-1.13/lib/Makefile.in # 14245 -r--r--r-- tar-1.13/lib/alloca.c # 4226 -r--r--r-- tar-1.13/lib/execlp.c # 2111 -r--r--r-- tar-1.13/lib/fileblocks.c # 5663 -r--r--r-- tar-1.13/lib/fnmatch.c # 1676 -r--r--r-- tar-1.13/lib/ftruncate.c # 54651 -rw-rw-r-- tar-1.13/lib/getdate.c # 1478 -r--r--r-- tar-1.13/lib/lchown.c # 1132 -r--r--r-- tar-1.13/lib/malloc.c # 940 -r--r--r-- tar-1.13/lib/memset.c # 2927 -r--r--r-- tar-1.13/lib/mkdir.c # 1274 -r--r--r-- tar-1.13/lib/realloc.c # 2813 -r--r--r-- tar-1.13/lib/rename.c # 1942 -r--r--r-- tar-1.13/lib/rmdir.c # 2629 -r--r--r-- tar-1.13/lib/strstr.c # 11501 -r--r--r-- tar-1.13/lib/strtol.c # 891 -r--r--r-- tar-1.13/lib/strtoul.c # 1104 -r--r--r-- tar-1.13/lib/strtoull.c # 1586 -r--r--r-- tar-1.13/lib/strtoumax.c # 2123 -r--r--r-- tar-1.13/lib/utime.c # 2629 -r--r--r-- tar-1.13/lib/addext.c # 8390 -r--r--r-- tar-1.13/lib/argmatch.c # 7426 -r--r--r-- tar-1.13/lib/backupfile.c # 1658 -r--r--r-- tar-1.13/lib/basename.c # 6356 -r--r--r-- tar-1.13/lib/error.c # 3019 -r--r--r-- tar-1.13/lib/exclude.c # 1836 -r--r--r-- tar-1.13/lib/full-write.c # 25769 -r--r--r-- tar-1.13/lib/getdate.y # 30070 -r--r--r-- tar-1.13/lib/getopt.c # 4550 -r--r--r-- tar-1.13/lib/getopt1.c # 12177 -r--r--r-- tar-1.13/lib/modechange.c # 3028 -r--r--r-- tar-1.13/lib/msleep.c # 9045 -r--r--r-- tar-1.13/lib/quotearg.c # 1487 -r--r--r-- tar-1.13/lib/safe-read.c # 1908 -r--r--r-- tar-1.13/lib/xgetcwd.c # 2731 -r--r--r-- tar-1.13/lib/xmalloc.c # 1318 -r--r--r-- tar-1.13/lib/xstrdup.c # 5669 -r--r--r-- tar-1.13/lib/xstrtol.c # 110 -r--r--r-- tar-1.13/lib/xstrtoul.c # 1042 -r--r--r-- tar-1.13/lib/xstrtoumax.c # 4586 -r--r--r-- tar-1.13/lib/argmatch.h # 1901 -r--r--r-- tar-1.13/lib/backupfile.h # 195 -r--r--r-- tar-1.13/lib/basename.h # 2672 -r--r--r-- tar-1.13/lib/error.h # 1306 -r--r--r-- tar-1.13/lib/exclude.h # 2436 -r--r--r-- tar-1.13/lib/fnmatch.h # 5861 -r--r--r-- tar-1.13/lib/getopt.h # 1301 -r--r--r-- tar-1.13/lib/getdate.h # 626 -r--r--r-- tar-1.13/lib/getpagesize.h # 188 -r--r--r-- tar-1.13/lib/lchown.h # 2446 -r--r--r-- tar-1.13/lib/modechange.h # 1720 -r--r--r-- tar-1.13/lib/pathmax.h # 4111 -r--r--r-- tar-1.13/lib/quotearg.h # 281 -r--r--r-- tar-1.13/lib/safe-read.h # 2003 -r--r--r-- tar-1.13/lib/xalloc.h # 1693 -r--r--r-- tar-1.13/lib/xstrtol.h # 15118 -r--r--r-- tar-1.13/lib/mktime.c # 1440 -r--r--r-- tar-1.13/lib/stpcpy.c # 35362 -r--r--r-- tar-1.13/intl/ChangeLog # 6512 -r--r--r-- tar-1.13/intl/Makefile.in # 2693 -r--r--r-- tar-1.13/intl/linux-msg.sed # 2421 -r--r--r-- tar-1.13/intl/po2tbl.sed.in # 2814 -r--r--r-- tar-1.13/intl/xopen-msg.sed # 3205 -r--r--r-- tar-1.13/intl/gettext.h # 2182 -r--r--r-- tar-1.13/intl/gettextP.h # 1787 -r--r--r-- tar-1.13/intl/hash-string.h # 5733 -r--r--r-- tar-1.13/intl/libgettext.h # 2413 -r--r--r-- tar-1.13/intl/loadinfo.h # 5331 -r--r--r-- tar-1.13/intl/bindtextdom.c # 16512 -r--r--r-- tar-1.13/intl/dcgettext.c # 1786 -r--r--r-- tar-1.13/intl/dgettext.c # 1939 -r--r--r-- tar-1.13/intl/gettext.c # 5852 -r--r--r-- tar-1.13/intl/finddomain.c # 6117 -r--r--r-- tar-1.13/intl/loadmsgcat.c # 10101 -r--r--r-- tar-1.13/intl/localealias.c # 3265 -r--r--r-- tar-1.13/intl/textdomain.c # 10404 -r--r--r-- tar-1.13/intl/l10nflist.c # 4616 -r--r--r-- tar-1.13/intl/explodename.c # 1646 -r--r--r-- tar-1.13/intl/intl-compat.c # 6625 -r--r--r-- tar-1.13/intl/cat-compat.c # 41 -r--r--r-- tar-1.13/intl/VERSION # 332 -r--r--r-- tar-1.13/m4/Makefile.am # 4988 -rw-rw-r-- tar-1.13/m4/Makefile.in # 2980 -r--r--r-- tar-1.13/m4/ccstdc.m4 # 984 -r--r--r-- tar-1.13/m4/d-ino.m4 # 10582 -r--r--r-- tar-1.13/m4/gettext.m4 # 621 -r--r--r-- tar-1.13/m4/inttypes_h.m4 # 615 -r--r--r-- tar-1.13/m4/isc-posix.m4 # 389 -r--r--r-- tar-1.13/m4/jm-mktime.m4 # 3611 -r--r--r-- tar-1.13/m4/largefile.m4 # 884 -r--r--r-- tar-1.13/m4/lcmessage.m4 # 1016 -r--r--r-- tar-1.13/m4/malloc.m4 # 3959 -r--r--r-- tar-1.13/m4/mktime.m4 # 1410 -r--r--r-- tar-1.13/m4/progtest.m4 # 1043 -r--r--r-- tar-1.13/m4/realloc.m4 # 583 -r--r--r-- tar-1.13/m4/uintmax_t.m4 # 466 -r--r--r-- tar-1.13/m4/ulonglong.m4 # 971 -r--r--r-- tar-1.13/m4/utimbuf.m4 # 329 -r--r--r-- tar-1.13/m4/utime.m4 # 882 -r--r--r-- tar-1.13/m4/utimes.m4 # 627 -r--r--r-- tar-1.13/m4/xstrtoumax.m4 # 156646 -r--r--r-- tar-1.13/src/ChangeLog # 1385 -r--r--r-- tar-1.13/src/Makefile.am # 15268 -rw-rw-r-- tar-1.13/src/Makefile.in # 1529 -r--r--r-- tar-1.13/src/ansi2knr.1 # 18704 -r--r--r-- tar-1.13/src/ansi2knr.c # 10934 -r--r--r-- tar-1.13/src/rmt.c # 4777 -r--r--r-- tar-1.13/src/arith.c # 44605 -r--r--r-- tar-1.13/src/buffer.c # 22294 -r--r--r-- tar-1.13/src/compare.c # 41901 -r--r--r-- tar-1.13/src/create.c # 8656 -r--r--r-- tar-1.13/src/delete.c # 28412 -r--r--r-- tar-1.13/src/extract.c # 19282 -r--r--r-- tar-1.13/src/incremen.c # 28260 -r--r--r-- tar-1.13/src/list.c # 3643 -r--r--r-- tar-1.13/src/mangle.c # 12123 -r--r--r-- tar-1.13/src/misc.c # 20821 -r--r--r-- tar-1.13/src/names.c # 5730 -r--r--r-- tar-1.13/src/open3.c # 19180 -r--r--r-- tar-1.13/src/rtapelib.c # 34553 -r--r--r-- tar-1.13/src/tar.c # 5762 -r--r--r-- tar-1.13/src/update.c # 4330 -r--r--r-- tar-1.13/src/arith.h # 16028 -r--r--r-- tar-1.13/src/common.h # 3513 -r--r--r-- tar-1.13/src/rmt.h # 13735 -r--r--r-- tar-1.13/src/system.h # 8960 -r--r--r-- tar-1.13/src/tar.h # 6878 -r--r--r-- tar-1.13/scripts/ChangeLog # 869 -r--r--r-- tar-1.13/scripts/Makefile.am # 5653 -rw-rw-r-- tar-1.13/scripts/Makefile.in # 183 -r--r--r-- tar-1.13/scripts/WARNING # 2678 -r--r--r-- tar-1.13/scripts/backup-specs # 3238 -r-xr-xr-x tar-1.13/scripts/dump-remind # 6526 -r-xr-xr-x tar-1.13/scripts/level-0 # 6646 -r-xr-xr-x tar-1.13/scripts/level-1 # 1015 -r--r--r-- tar-1.13/scripts/weekly.new # 6898 -r--r--r-- tar-1.13/po/Makefile.in.in # 437 -r--r--r-- tar-1.13/po/POTFILES.in # 29776 -rw-rw-r-- tar-1.13/po/tar.pot # 10 -rw-rw-r-- tar-1.13/po/stamp-cat-id # 46645 -rw-rw-r-- tar-1.13/po/cs.po # 50112 -rw-rw-r-- tar-1.13/po/de.po # 76252 -rw-rw-r-- tar-1.13/po/es.po # 50653 -rw-rw-r-- tar-1.13/po/fr.po # 47305 -rw-rw-r-- tar-1.13/po/it.po # 42202 -rw-rw-r-- tar-1.13/po/ko.po # 48210 -rw-rw-r-- tar-1.13/po/nl.po # 45775 -rw-rw-r-- tar-1.13/po/no.po # 46418 -rw-rw-r-- tar-1.13/po/pl.po # 52500 -rw-rw-r-- tar-1.13/po/pt.po # 46907 -rw-rw-r-- tar-1.13/po/ru.po # 48638 -rw-rw-r-- tar-1.13/po/sl.po # 45790 -rw-rw-r-- tar-1.13/po/sv.po # 31428 -rw-rw-r-- tar-1.13/po/cs.gmo # 31757 -rw-rw-r-- tar-1.13/po/de.gmo # 32838 -rw-rw-r-- tar-1.13/po/es.gmo # 34841 -rw-rw-r-- tar-1.13/po/fr.gmo # 29020 -rw-rw-r-- tar-1.13/po/it.gmo # 22638 -rw-rw-r-- tar-1.13/po/ko.gmo # 31056 -rw-rw-r-- tar-1.13/po/nl.gmo # 30528 -rw-rw-r-- tar-1.13/po/no.gmo # 30543 -rw-rw-r-- tar-1.13/po/pl.gmo # 16905 -rw-rw-r-- tar-1.13/po/pt.gmo # 31588 -rw-rw-r-- tar-1.13/po/ru.gmo # 30723 -rw-rw-r-- tar-1.13/po/sl.gmo # 30505 -rw-rw-r-- tar-1.13/po/sv.gmo # 18227 -rw-rw-r-- tar-1.13/po/cat-id-tbl.c # 4898 -r--r--r-- tar-1.13/tests/ChangeLog # 1429 -r--r--r-- tar-1.13/tests/Makefile.am # 10051 -rw-rw-r-- tar-1.13/tests/Makefile.in # 196 -r-xr-xr-x tar-1.13/tests/preset.in # 4704 -r--r--r-- tar-1.13/tests/genfile.c # 289 -r-xr-xr-x tar-1.13/tests/after # 230 -r-xr-xr-x tar-1.13/tests/before # 545 -r-xr-xr-x tar-1.13/tests/version.sh # 1223 -r-xr-xr-x tar-1.13/tests/ignfail.sh # 218 -r-xr-xr-x tar-1.13/tests/extrac01.sh # 227 -r-xr-xr-x tar-1.13/tests/extrac02.sh # 269 -r-xr-xr-x tar-1.13/tests/extrac03.sh # 203 -r-xr-xr-x tar-1.13/tests/old.sh # 713 -r-xr-xr-x tar-1.13/tests/volume.sh # 268 -r-xr-xr-x tar-1.13/tests/gzip.sh # 199 -r-xr-xr-x tar-1.13/tests/append.sh # 265 -r-xr-xr-x tar-1.13/tests/delete01.sh # 315 -r-xr-xr-x tar-1.13/tests/delete02.sh # save_IFS="${IFS}" IFS="${IFS}:" gettext_dir=FAILED locale_dir=FAILED first_param="$1" for dir in $PATH do if test "$gettext_dir" = FAILED && test -f $dir/gettext \ && ($dir/gettext --version >/dev/null 2>&1) then set `$dir/gettext --version 2>&1` if test "$3" = GNU then gettext_dir=$dir fi fi if test "$locale_dir" = FAILED && test -f $dir/shar \ && ($dir/shar --print-text-domain-dir >/dev/null 2>&1) then locale_dir=`$dir/shar --print-text-domain-dir` fi done IFS="$save_IFS" if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED then echo=echo else TEXTDOMAINDIR=$locale_dir export TEXTDOMAINDIR TEXTDOMAIN=sharutils export TEXTDOMAIN echo="$gettext_dir/gettext -s" fi touch -am 1231235999 $$.touch >/dev/null 2>&1 if test ! -f 1231235999 && test -f $$.touch; then shar_touch=touch else shar_touch=: echo $echo 'WARNING: not restoring timestamps. Consider getting and' $echo "installing GNU \`touch', distributed in GNU File Utilities..." echo fi rm -f 1231235999 $$.touch # if mkdir _sh15121; then $echo 'x -' 'creating lock directory' else $echo 'failed to create lock directory' exit 1 fi # ============= tar-1.13/README ============== if test ! -d 'tar-1.13'; then $echo 'x -' 'creating directory' 'tar-1.13' mkdir 'tar-1.13' fi if test -f 'tar-1.13/README' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/README' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/README' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/README' && Please glance through *all* sections of this `README' file before starting configuration. Also make sure you read files `ABOUT-NLS' and `INSTALL' if you are not familiar with them already. X If you got the `tar' distribution in `shar' format, timestamps ought to be properly restored, do not ignore such complaints at `unshar' time. X GNU `tar' saves many files together into a single tape or disk archive, and can restore individual files from the archive. It includes multivolume support, the ability to archive sparse files, automatic archive compression/decompression, remote archives and special features that allow `tar' to be used for incremental and full backups. This distribution also includes `rmt', the remote tape server. The `mt' tape drive control program is in the GNU `cpio' distribution. X GNU `tar' is derived from John Gilmore's public domain `tar'. X See file `ABOUT-NLS' for how to customize this program to your language. See file `BACKLOG' for a summary of pending mail and articles. See file `COPYING' for copying conditions. See file `INSTALL' for compilation and installation instructions. See file `PORTS' for various ports of GNU tar to non-Unix systems. See file `NEWS' for a list of major changes in the current release. See file `THANKS' for a list of contributors. X Besides those configure options documented in files `INSTALL' and `ABOUT-NLS', a few extra options may be accepted after `./configure': X * `--with-dmalloc' is a debugging option for looking at memory management problems, it prerequires Gray Watson's package, which is available as `ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz'. X The default archive device is now `stdin' on read and `stdout' on write. The installer can still override this by presetting `DEFAULT_ARCHIVE' in the environment before configuring (the behavior of `-[0-7]' or `-[0-7]lmh' options in `tar' are then derived automatically). Similarly, `DEFAULT_BLOCKING' can be preset to something else than 20. X For comprehensive modifications to GNU tar, you might need tools beyond those used in simple installations. Fully install GNU m4 1.4 first, and only then, Autoconf 2.13 or later. Install Perl, then Automake 1.4 or later. You might need Bison 1.26 or later, and GNU tar itself. All are available on GNU archive sites, like in ftp://ftp.gnu.org/pub/gnu/. X Send bug reports to `tar-bugs@gnu.org'. (Beware, old-timers: it is `@gnu', not `@prep'; and not `bug-gnu-utils' anymore.) A bug report is an adequate description of the problem: your input, what you expected, what you got, and why this is wrong. Diffs are welcome, but they only describe a solution, from which the problem might be uneasy to infer. If needed, submit actual data files with your report. Small data files are preferred. Big files may sometimes be necessary, but do not send them to the report address; rather take special arrangement with the maintainer. X Your feedback will help us to make a better and more portable package. Consider documentation errors as bugs, and report them as such. If you develop anything pertaining to `tar' or have suggestions, let us know and share your findings by writing at `tar-forum@iro.umontreal.ca'. X X.--------------------. | Installation hints | `--------------------' X Here are a few hints which might help installing `tar' on some systems. X * Static linking. X Some platform will, by default, prepare a smaller `tar' executable which depends on shared libraries. Since GNU `tar' may be used for system-level backups and disaster recovery, installers might prefer to force static linking, making a bigger `tar' executable maybe, but able to work standalone, in situations where shared libraries are not available. The way to achieve static linking varies between systems. Set LDFLAGS to a value from the table below, before configuration (see `INSTALL'). X X Platform Compiler LDFLAGS X X (any) Gnu C -static X AIX (vendor) "-bnso -bI:/lib/syscalls.exp" X HPUX (vendor) -Wl,-a,archive X IRIX (vendor) -non_shared X OSF (vendor) -non_shared X SCO 3.2v5 (vendor) -dn X Solaris (vendor) -Bstatic X SunOS (vendor) -Bstatic X * Failed `incremen.sh'. X In an NFS environment, lack of synchronisation between machine clocks might create difficulties to any tool comparing dates and file timestamps, like `tar' in incremental dumps. This has been a recurrent problem in GNU Makefiles for the last few years. We would like a general solution. X * BSD compatibility matters. X Set LIBS to `-lbsd' before configuration (see `INSTALL') if the linker complains about undefined `valloc' (AIX) or `bsd_ioctl' (Slackware). Also set CPPFLAGS to `-I/usr/include/bsd/sys' before configuration to solve dirent problems (NeXT), or to `-I/usr/include/bsd' if is not found (Slackware). X * `union wait' problems. X Configuration of `union wait' does not always take the best decision. If you have this problem, edit file `config.cache' after configuration, find the line about `tar_cv_header_union_wait', change `yes' by `no' or vice-versa, execute `./config.status', then launch `make'. X * `%lld' unsupported in `printf'. X GNU C has `long long', but the underneath C library might not support the `%lld' format. If you have this problem, edit file `config.cache' after configuration, find the line about `ac_cv_sizeof_long_long, change `8' by `0', execute `./config.status', then launch `make'. X * FreeBSD users -- `configure' fails. X It has been reported that `configure' does not run on FreeBSD 2.1.7, because of a buggy `sh'. It works using `bash', however. X * ISC users -- `S_*' symbols undefined. X On ISC 4.1mu, POSIX environment, set CFLAGS to `-posix' and CPPFLAGS to `-D_SYSV3' before configuration (see `INSTALL'). This will trigger the definition of a few `S_' prefixed symbols from . X * Ultrix users -- broken `make'. X It seems that Ultrix make does not correctly handle shell commands having logical connectives in them. Use `s5make' if you have it, try `PROG_ENV=SYSTEM_FIVE make' (works on Ultrix 4.4), or install GNU Make. X X.------------------. | Special topics. | `------------------' X Here are a few special matters about GNU `tar', not related to build matters. See previous section for such. X * File attributes. X About *security*, it is probable that future releases of `tar' will have some behaviour changed. There are many pending suggestions to choose from. Today, extracting an archive not being `root', `tar' will restore suid/sgid bits on files but owned by the extracting user. `root' automatically gets a lot of special priviledges, `-p' might later become required to get them. X GNU `tar' does not properly restore symlink attributes. Various systems implement flavours of symbolic links showing different behaviour and properties. We did not successfully sorted all these out yet. Currently, the `lchown' call will be used if available, but that's all. X * POSIX compliance. X GNU `tar' implements an early draft of the POSIX 1003.1 `ustar' standard which is different from the final standard. This will be progressively corrected over the incoming few years. Don't be mislead by the mere existence of the --posix option. Later releases will become able to read truly POSIX archives, and also to produce them under option. (Also, if you look at the internals, don't take the GNU extensions you see for granted, as they are planned to change.) GNU tar 2.0 will produce POSIX archives by default, but there is a long way before we get there. X * What's next? X The emphasis from 1.11.2 to 1.12 has been on solving the main portability, execution or usability bugs. This was accompanied all over with an internal cleanup in the sources, and the reassembly of a `tar' manual. X The `BACKLOG' file shows an approximative priorisation of the many pending problems and suggestions. Besides pending problems and all other matters listed above, the cleanup is planned to continue and extend to the general organisation of the code, preparing a long time in advance for a possible merge of the `cpio' and `tar' distributions, into some common `paxutils'. We also want to address some long-awaited performance issues (for example: double buffering) or enhancements (for example: per-file compression). SHAR_EOF $shar_touch -am 0628192699 'tar-1.13/README' && chmod 0444 'tar-1.13/README' || $echo 'restore of' 'tar-1.13/README' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/README:' 'MD5 check failed' 1b5d2394c13d2c31596f901c029d1319 tar-1.13/README SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/README'`" test 8221 -eq "$shar_count" || $echo 'tar-1.13/README:' 'original size' '8221,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/stamp-h.in ============== if test -f 'tar-1.13/stamp-h.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/stamp-h.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/stamp-h.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/stamp-h.in' && timestamp SHAR_EOF $shar_touch -am 0707012599 'tar-1.13/stamp-h.in' && chmod 0664 'tar-1.13/stamp-h.in' || $echo 'restore of' 'tar-1.13/stamp-h.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/stamp-h.in:' 'MD5 check failed' 1ded054093de910d9786c62bc4fe8cc6 tar-1.13/stamp-h.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/stamp-h.in'`" test 10 -eq "$shar_count" || $echo 'tar-1.13/stamp-h.in:' 'original size' '10,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/ABOUT-NLS ============== if test -f 'tar-1.13/ABOUT-NLS' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/ABOUT-NLS' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/ABOUT-NLS' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/ABOUT-NLS' && Notes on the Free Translation Project ************************************* X X Free software is going international! The Free Translation Project is a way to get maintainers of free software, translators, and users all together, so that will gradually become able to speak many languages. A few packages already provide translations for their messages. X X If you found this `ABOUT-NLS' file inside a distribution, you may assume that the distributed package does use GNU `gettext' internally, itself available at your nearest GNU archive site. But you do *not* need to install GNU `gettext' prior to configuring, installing or using this package with messages translated. X X Installers will find here some useful hints. These notes also explain how users should proceed for getting the programs to use the available translations. They tell how people wanting to contribute and work at translations should contact the appropriate team. X X When reporting bugs in the `intl/' directory or bugs which may be related to internationalization, you should tell about the version of `gettext' which is used. The information can be found in the `intl/VERSION' file, in internationalized packages. X One advise in advance ===================== X X If you want to exploit the full power of internationalization, you should configure it using X X ./configure --with-included-gettext X to force usage of internationalizing routines provided within this package, despite the existence of internationalizing capabilities in the operating system where this package is being installed. So far, only the `gettext' implementation in the GNU C library version 2 provides as many features (such as locale alias or message inheritance) as the implementation here. It is also not possible to offer this additional functionality on top of a `catgets' implementation. Future versions of GNU `gettext' will very likely convey even more functionality. So it might be a good idea to change to GNU `gettext' as soon as possible. X X So you need not provide this option if you are using GNU libc 2 or you have installed a recent copy of the GNU gettext package with the included `libintl'. X INSTALL Matters =============== X X Some packages are "localizable" when properly installed; the programs they contain can be made to speak your own native language. Most such packages use GNU `gettext'. Other packages have their own ways to internationalization, predating GNU `gettext'. X X By default, this package will be installed to allow translation of messages. It will automatically detect whether the system provides usable `catgets' (if using this is selected by the installer) or `gettext' functions. If neither is available, the GNU `gettext' own library will be used. This library is wholly contained within this package, usually in the `intl/' subdirectory, so prior installation of the GNU `gettext' package is *not* required. Installers may use special options at configuration time for changing the default behaviour. The commands: X X ./configure --with-included-gettext X ./configure --with-catgets X ./configure --disable-nls X will respectively bypass any pre-existing `catgets' or `gettext' to use the internationalizing routines provided within this package, enable the use of the `catgets' functions (if found on the locale system), or else, *totally* disable translation of messages. X X When you already have GNU `gettext' installed on your system and run configure without an option for your new package, `configure' will probably detect the previously built and installed `libintl.a' file and will decide to use this. This might be not what is desirable. You should use the more recent version of the GNU `gettext' library. I.e. if the file `intl/VERSION' shows that the library which comes with this package is more recent, you should use X X ./configure --with-included-gettext X to prevent auto-detection. X X By default the configuration process will not test for the `catgets' function and therefore they will not be used. The reasons are already given above: the emulation on top of `catgets' cannot provide all the extensions provided by the GNU `gettext' library. If you nevertheless want to use the `catgets' functions use X X ./configure --with-catgets X to enable the test for `catgets' (this causes no harm if `catgets' is not available on your system). If you really select this option we would like to hear about the reasons because we cannot think of any good one ourself. X X Internationalized packages have usually many `po/LL.po' files, where LL gives an ISO 639 two-letter code identifying the language. Unless translations have been forbidden at `configure' time by using the `--disable-nls' switch, all available translations are installed together with the package. However, the environment variable `LINGUAS' may be set, prior to configuration, to limit the installed set. `LINGUAS' should then contain a space separated list of two-letter codes, stating which languages are allowed. X Using This Package ================== X X As a user, if your language has been installed for this package, you only have to set the `LANG' environment variable to the appropriate ISO 639 `LL' two-letter code prior to using the programs in the package. For example, let's suppose that you speak German. At the shell prompt, merely execute `setenv LANG de' (in `csh'), `export LANG; LANG=de' (in `sh') or `export LANG=de' (in `bash'). This can be done from your `.login' or `.profile' file, once and for all. X X An operating system might already offer message localization for many of its programs, while other programs have been installed locally with the full capabilities of GNU `gettext'. Just using `gettext' extended syntax for `LANG' would break proper localization of already available operating system programs. In this case, users should set both `LANGUAGE' and `LANG' variables in their environment, as programs using GNU `gettext' give preference to `LANGUAGE'. For example, some Swedish users would rather read translations in German than English for when Swedish is not available. This is easily accomplished by setting `LANGUAGE' to `sv:de' while leaving `LANG' to `sv'. X Translating Teams ================= X X For the Free Translation Project to be a success, we need interested people who like their own language and write it well, and who are also able to synergize with other translators speaking the same language. Each translation team has its own mailing list, courtesy of Linux International. You may reach your translation team at the address `LL@li.org', replacing LL by the two-letter ISO 639 code for your language. Language codes are *not* the same as the country codes given in ISO 3166. The following translation teams exist, as of December 1997: X X Chinese `zh', Czech `cs', Danish `da', Dutch `nl', English `en', X Esperanto `eo', Finnish `fi', French `fr', German `de', Hungarian X `hu', Irish `ga', Italian `it', Indonesian `id', Japanese `ja', X Korean `ko', Latin `la', Norwegian `no', Persian `fa', Polish X `pl', Portuguese `pt', Russian `ru', Slovenian `sl', Spanish `es', X Swedish `sv', and Turkish `tr'. X For example, you may reach the Chinese translation team by writing to `zh@li.org'. X X If you'd like to volunteer to *work* at translating messages, you should become a member of the translating team for your own language. The subscribing address is *not* the same as the list itself, it has `-request' appended. For example, speakers of Swedish can send a message to `sv-request@li.org', having this message body: X X subscribe X X Keep in mind that team members are expected to participate *actively* in translations, or at solving translational difficulties, rather than merely lurking around. If your team does not exist yet and you want to start one, or if you are unsure about what to do or how to get started, please write to `translation@iro.umontreal.ca' to reach the coordinator for all translator teams. X X The English team is special. It works at improving and uniformizing the terminology in use. Proven linguistic skill are praised more than programming skill, here. X Available Packages ================== X X Languages are not equally supported in all packages. The following matrix shows the current state of internationalization, as of December 1997. The matrix shows, in regard of each package, for which languages PO files have been submitted to translation coordination. X X Ready PO files cs da de en es fi fr it ja ko nl no pl pt ru sl sv X .----------------------------------------------------. X bash | [] [] [] | 3 X bison | [] [] [] | 3 X clisp | [] [] [] [] | 4 X cpio | [] [] [] [] [] [] | 6 X diffutils | [] [] [] [] [] | 5 X enscript | [] [] [] [] [] [] | 6 X fileutils | [] [] [] [] [] [] [] [] [] [] | 10 X findutils | [] [] [] [] [] [] [] [] [] | 9 X flex | [] [] [] [] | 4 X gcal | [] [] [] [] [] | 5 X gettext | [] [] [] [] [] [] [] [] [] [] [] | 12 X grep | [] [] [] [] [] [] [] [] [] [] | 10 X hello | [] [] [] [] [] [] [] [] [] [] [] | 11 X id-utils | [] [] [] | 3 X indent | [] [] [] [] [] | 5 X libc | [] [] [] [] [] [] [] | 7 X m4 | [] [] [] [] [] [] | 6 X make | [] [] [] [] [] [] | 6 X music | [] [] | 2 X ptx | [] [] [] [] [] [] [] [] | 8 X recode | [] [] [] [] [] [] [] [] [] | 9 X sh-utils | [] [] [] [] [] [] [] [] | 8 X sharutils | [] [] [] [] [] [] | 6 X tar | [] [] [] [] [] [] [] [] [] [] [] | 11 X texinfo | [] [] [] | 3 X textutils | [] [] [] [] [] [] [] [] [] | 9 X wdiff | [] [] [] [] [] [] [] [] | 8 X `----------------------------------------------------' X 17 languages cs da de en es fi fr it ja ko nl no pl pt ru sl sv X 27 packages 6 4 25 1 18 1 26 2 1 12 20 9 19 7 4 7 17 179 X X Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are used for implementing regional variants of languages, or language dialects. X X For a PO file in the matrix above to be effective, the package to which it applies should also have been internationalized and distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a distribution. X X If December 1997 seems to be old, you may fetch a more recent copy of this `ABOUT-NLS' file on most GNU archive sites. X SHAR_EOF $shar_touch -am 0430230598 'tar-1.13/ABOUT-NLS' && chmod 0444 'tar-1.13/ABOUT-NLS' || $echo 'restore of' 'tar-1.13/ABOUT-NLS' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/ABOUT-NLS:' 'MD5 check failed' ef11564ccd2881c65a06c9b0d6f7deec tar-1.13/ABOUT-NLS SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/ABOUT-NLS'`" test 11651 -eq "$shar_count" || $echo 'tar-1.13/ABOUT-NLS:' 'original size' '11651,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/AUTHORS ============== if test -f 'tar-1.13/AUTHORS' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/AUTHORS' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/AUTHORS' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/AUTHORS' && Authors of GNU tar. X The following contributions warranted legal paper exchanges with the Free Software Foundation. Also see files ChangeLog and THANKS. X TAR Jay Fenlason Assigns his changes. X TAR Richard E Salz 1993-03-11 Disclaims changes to getdate.y. X TAR MANUAL (?) Amy Gorin (US 1963) 1995-01-10 Assigns the Tar Manual. X TAR Francois Pinard Canada 1949 1996-02-01 Assigns past and future changes. X TAR Melissa Weisshaus US 1966 1997-04-09 Assigns changes to the manual and future changes. melissa@gnu.ai.mit.edu X TAR Thomas Michael Innis Bushnell US 1967 1997-04-09 Assigns changes. thomas@gnu.ai.mit.edu X TAR Thomas Michael Innis Bushnell US 1967 1997-04-09 Assigns changes to manual. thomas@gnu.ai.mit.edu SHAR_EOF $shar_touch -am 0418123297 'tar-1.13/AUTHORS' && chmod 0444 'tar-1.13/AUTHORS' || $echo 'restore of' 'tar-1.13/AUTHORS' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/AUTHORS:' 'MD5 check failed' ce4d3aaf246049b3c48382c69d234b84 tar-1.13/AUTHORS SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/AUTHORS'`" test 732 -eq "$shar_count" || $echo 'tar-1.13/AUTHORS:' 'original size' '732,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/BACKLOG ============== if test -f 'tar-1.13/BACKLOG' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/BACKLOG' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/BACKLOG' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.13/BACKLOG M(R!3=6UM87)Y(&]F('!E;F1I;F<@96UA:6P@9F]R($=.52!T87(@,2XQ,BX* M(R!,87-T('5P9&%T960@;VX@,3DY-RTP-"TR-2X*"B,@5&AI2!E M>'!E8W0*(R!S;VUE(&9E961B86-K(&9R;VT@;64N("!5;G1I;"!T:&5N+"!P M;&5A7,@<')A8W1I M8V%L+"!N;W(@9F%I2P@=&\@=VET:&AO;&0@ M80HC(')E;&5AG5D;SH@4F5;,ETZ(%EO=7(@5]S=')I;F<@86YD"C$P+B`Q M.3DU+3`V+3$Y(%)O8F5R="!,:7!E.B!293H@4&%T8V@@=&\@9VYU('1A<@HQ M,2X@,3DY-2TP-RTP-2!3=&5F86X@0F]H;3H@4F4Z($)U9R!I;B!T87(M,2XQ M,2XX"C$R+B`Q.3DU+3`Y+3(P($IO97)G96X@2&%E9V&5L($AA8F5R;6%N;CH@0G5G M(&EN(&=N=2UT87(@,2TQ,2XR"C$X+B`Q.3DV+3`T+3$Y($EA;B!*86-K6]U(&9I M;F0@=&AE('-Y;6)O;&EC(&QI;FMS('1O(&9I;&4*(#(N(#$Y.3$M,3(M,#8@ M4&%U;"!%9V=E2=S(')E<&]R=&5D(&)U9W,@:6X@1TY5('1A M`H@."X@,3DY-BTP.2TP-"!Z=VEC:WDZ(%)E.B!;1G)A M;N=O:7,@4&EN87)D(#QP:6YA2`\8VIF0&YE=&%X',N8V\*,3(N(#$Y.38M,3`M M,38@4FEC:&%R9"!3=&%L;&UA;CH@4$]325@@8V]M<&QI86YC92!T97-TF%R+D1O0U,N554N4T4Z(%)E M.B!T87(@,2XQ,2XR"B`W*B`Q.3DT+3`Y+3$U(&MW>FA`9VYU+F%I+FUI="YE M9'4Z(&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H@4F4Z($=.52!T87(@,2XQ,2XQ-"!P3H@0V]M<&EL92!E"YC M(&EN('1A7-I8W,N=6)C+F-A.B!'3E4@=&%R(#$N,3$N,CH@&%N9')E($]L:79A.B!293H@1TY5(%1A&%N9&5R(%8N($QU:WEA;F]V.B!293H@02!F96%T M=7)E('1O(&%D9`H*&D*(#0N(#$Y.33H@4F4Z(%5N9&5S:7)A8FQE(&)E:&%V:6]R(&]F('1A M<@H@,RX@,3DY-RTP-"TQ,"!"0H*2!3=6)S>7-T96TZ(%)E M='5R;F5D(&UA:6PZ(%5S97(@=6YK;F]W;@H@-BX@,3DY-RTP-"TR,"!-86EL M($1E;&EV97)Y(%-U8G-Y2!3=6)S>7-T96TZ(%)E='5R;F5D(&UA:6PZ(%5S97(@=6YK M;F]W;@H@.2X@,3DY-RTP-"TR,R!-86EL($1E;&EV97)Y(%-U8G-Y2!3=6)S>7-T96TZ(%)E='5R;F5D(&UA M:6PZ($AO&5S"B!T ` end SHAR_EOF $shar_touch -am 0425172197 'tar-1.13/BACKLOG' && chmod 0444 'tar-1.13/BACKLOG' || $echo 'restore of' 'tar-1.13/BACKLOG' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/BACKLOG:' 'MD5 check failed' 0548a1b38f507adaffdda6e2613ad445 tar-1.13/BACKLOG SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/BACKLOG'`" test 85570 -eq "$shar_count" || $echo 'tar-1.13/BACKLOG:' 'original size' '85570,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/COPYING ============== if test -f 'tar-1.13/COPYING' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/COPYING' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/COPYING' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/COPYING' && X GNU GENERAL PUBLIC LICENSE X Version 2, June 1991 X X Copyright (C) 1989, 1991 Free Software Foundation, Inc. X 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA X Everyone is permitted to copy and distribute verbatim copies X of this license document, but changing it is not allowed. X X Preamble X X The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. X X When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. X X To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. X X For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. X X We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. X X Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. X X Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. X X The precise terms and conditions for copying, distribution and modification follow. X X GNU GENERAL PUBLIC LICENSE X TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION X X 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". X Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. X X 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. X You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. X X 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: X X a) You must cause the modified files to carry prominent notices X stating that you changed the files and the date of any change. X X b) You must cause any work that you distribute or publish, that in X whole or in part contains or is derived from the Program or any X part thereof, to be licensed as a whole at no charge to all third X parties under the terms of this License. X X c) If the modified program normally reads commands interactively X when run, you must cause it, when started running for such X interactive use in the most ordinary way, to print or display an X announcement including an appropriate copyright notice and a X notice that there is no warranty (or else, saying that you provide X a warranty) and that users may redistribute the program under X these conditions, and telling the user how to view a copy of this X License. (Exception: if the Program itself is interactive but X does not normally print such an announcement, your work based on X the Program is not required to print an announcement.) X These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. X Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. X In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. X X 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: X X a) Accompany it with the complete corresponding machine-readable X source code, which must be distributed under the terms of Sections X 1 and 2 above on a medium customarily used for software interchange; or, X X b) Accompany it with a written offer, valid for at least three X years, to give any third party, for a charge no more than your X cost of physically performing source distribution, a complete X machine-readable copy of the corresponding source code, to be X distributed under the terms of Sections 1 and 2 above on a medium X customarily used for software interchange; or, X X c) Accompany it with the information you received as to the offer X to distribute corresponding source code. (This alternative is X allowed only for noncommercial distribution and only if you X received the program in object code or executable form with such X an offer, in accord with Subsection b above.) X The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. X If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. X X 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. X X 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. X X 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. X X 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. X If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. X It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. X This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. X X 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. X X 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. X Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. X X 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. X X NO WARRANTY X X 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. X X 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. X X END OF TERMS AND CONDITIONS X X How to Apply These Terms to Your New Programs X X If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. X X To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. X X X Copyright (C) 19yy X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2 of the License, or X (at your option) any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software X Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA X X Also add information on how to contact you by electronic and paper mail. X If the program is interactive, make it output a short notice like this when it starts in an interactive mode: X X Gnomovision version 69, Copyright (C) 19yy name of author X Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. X This is free software, and you are welcome to redistribute it X under certain conditions; type `show c' for details. X The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. X You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: X X Yoyodyne, Inc., hereby disclaims all copyright interest in the program X `Gnomovision' (which makes passes at compilers) written by James Hacker. X X , 1 April 1989 X Ty Coon, President of Vice X This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. SHAR_EOF $shar_touch -am 0704123897 'tar-1.13/COPYING' && chmod 0444 'tar-1.13/COPYING' || $echo 'restore of' 'tar-1.13/COPYING' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/COPYING:' 'MD5 check failed' c93c0550bd3173f4504b2cbd8991e50b tar-1.13/COPYING SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/COPYING'`" test 17989 -eq "$shar_count" || $echo 'tar-1.13/COPYING:' 'original size' '17989,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/ChangeLog ============== if test -f 'tar-1.13/ChangeLog' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/ChangeLog' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/ChangeLog' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.13/ChangeLog M,3DY.2TP-RTP."`@4&%U;"!%9V=E&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GII M<#(@;W!T:6]N'0@=F5R2!C:&5C:VEN9R!F;W(@9V5T8V]N9@H)=VET:"!!0U]#2$5#2U]4 M3T],(&%N9"!B>2!D:71C:&EN9R!U;F%M92!I;B!F879O3H@57!D871E('1O(&9I;&5U=&EL M'0N8RP*"6EN=&PO M97AP;&]D96YA;64N8RP@:6YT;"]F:6YD9&]M86EN+F,L(&EN=&PO9V5T=&5X M="YC+`H):6YT;"]G971T97AT+F@L(&EN=&PO9V5T=&5X=%`N:"P@:6YT;"]H M87-H+7-T7)I9VAT+@H*"2H@3D574SH@,2XQ,BXV-#`P-`H*,3DY.2TP,BTP,2`@ M4&%U;"!%9V=E2!W97)E('1R87-H:6YG('1H92!T87(@9FEL92!H96%D M97(N"@H)*B!SFEP M,B!O%]T(&9O"P@:6YS M=&%L;"US:"P@;6ES2!03U-)6"XQ+3$Y.38@'1R86-T+F,@*'-E=%]S=&%T*3H@8VAM M;V0@869T97(@8VAO=VX@979E;B!W:&5N(&YO="!R;V]T.PH):68@=V4@87)E M('5S:6YG("TM2!I;G-T86QL M871I;VYS+"!R97AE8R!I'!L:6-I="!E;F%B M;&EN9RX*"2A(059%7TE.5%194$537T@L($A!5D5?4U1?1E-465!%7U-44DE. M1RP@9&%D9')?="P@;6%J;W)?="P@;6EN;W)?="P*"7-S:7IE7W0I.@H)3F5W M(&UA8W)O6YA;64@=VAI;&4*"6-H96-K M:6YG(&9O7,@;F\@=V]R:VEN9R!C;W!Y('=A2X*"5)E<&]R M=&5D(&)Y($)R=6YO($AA:6)L92P@0G)Y86YT($9U:FEM;W1O+"!*;VAN($1A M=FED($%N9VQI;BP*"4MA=F5H(%(N($=H87II+"!,875R96YT($-A:6QL870M M5F%L;&5T+"!386MA:2!+:7EO=&%K82!A;F0*"5-A;G1I86=O(%9I;&$@1&]N M8V5L+@H*,3DY-RTP-"TQ,2`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D0&ER M;RYU;6]N=')E86PN8V$^"@H)*B!C;VYF:6=U6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070@=&AE('-A;64@=&EM92P@2P*"4IO:&X@3"X@0VAM:65L97=S:VDL($MA60N M"@H)*B!C;VYF:6=UF5D M(&)Y(&UO=FEN9R!E;G1R:65S(')E;&%T960@=&\*"7-C&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/ChangeLog:' 'MD5 check failed' f61d316c8f0ad43dbe285742bd46ac84 tar-1.13/ChangeLog SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/ChangeLog'`" test 50363 -eq "$shar_count" || $echo 'tar-1.13/ChangeLog:' 'original size' '50363,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/INSTALL ============== if test -f 'tar-1.13/INSTALL' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/INSTALL' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/INSTALL' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/INSTALL' && Basic Installation ================== X X These are generic installation instructions. X X The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). X X If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If at some point `config.cache' contains results you don't want to keep, you may remove or edit it. X X The file `configure.in' is used to create `configure' by a program called `autoconf'. You only need `configure.in' if you want to change it or regenerate `configure' using a newer version of `autoconf'. X The simplest way to compile this package is: X X 1. `cd' to the directory containing the package's source code and type X `./configure' to configure the package for your system. If you're X using `csh' on an old version of System V, you might need to type X `sh ./configure' instead to prevent `csh' from trying to execute X `configure' itself. X X Running `configure' takes awhile. While running, it prints some X messages telling which features it is checking for. X X 2. Type `make' to compile the package. X X 3. Optionally, type `make check' to run any self-tests that come with X the package. X X 4. Type `make install' to install the programs and any data files and X documentation. X X 5. You can remove the program binaries and object files from the X source code directory by typing `make clean'. To also remove the X files that `configure' created (so you can compile the package for X a different kind of computer), type `make distclean'. There is X also a `make maintainer-clean' target, but that is intended mainly X for the package's developers. If you use it, you may have to get X all sorts of other programs in order to regenerate files that came X with the distribution. X Compilers and Options ===================== X X Some systems require unusual options for compilation or linking that the `configure' script does not know about. You can give `configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: X CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure X Or on systems that have the `env' program, you can do it like this: X env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure X Compiling For Multiple Architectures ==================================== X X You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. X X If you have to use a `make' that does not supports the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. X Installation Names ================== X X By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PATH'. X X You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. X X In addition, if you use an unusual directory layout you can give options like `--bindir=PATH' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. X X If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. X Optional Features ================= X X Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. X X For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. X Specifying the System Type ========================== X X There may be some features `configure' can not figure out automatically, but needs to determine by the type of host the package will run on. Usually `configure' can figure that out, but if it prints a message saying it can not guess the host type, give it the `--host=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name with three fields: X CPU-COMPANY-SYSTEM X See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the host type. X X If you are building compiler tools for cross-compiling, you can also use the `--target=TYPE' option to select the type of system they will produce code for and the `--build=TYPE' option to select the type of system on which you are compiling the package. X Sharing Defaults ================ X X If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. X Operation Controls ================== X X `configure' recognizes the following options to control how it operates. X `--cache-file=FILE' X Use and save the results of the tests in FILE instead of X `./config.cache'. Set FILE to `/dev/null' to disable caching, for X debugging `configure'. X `--help' X Print a summary of the options to `configure', and exit. X `--quiet' `--silent' `-q' X Do not print messages saying which checks are being made. To X suppress all normal output, redirect it to `/dev/null' (any error X messages will still be shown). X `--srcdir=DIR' X Look for the package's source code in directory DIR. Usually X `configure' can determine that directory automatically. X `--version' X Print the version of Autoconf used to generate the `configure' X script, and exit. X `configure' also accepts some other, not widely useful, options. SHAR_EOF $shar_touch -am 0623044097 'tar-1.13/INSTALL' && chmod 0444 'tar-1.13/INSTALL' || $echo 'restore of' 'tar-1.13/INSTALL' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/INSTALL:' 'MD5 check failed' 0d6be33865b76025c20b48bcac87adb7 tar-1.13/INSTALL SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/INSTALL'`" test 7831 -eq "$shar_count" || $echo 'tar-1.13/INSTALL:' 'original size' '7831,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/Makefile.am ============== if test -f 'tar-1.13/Makefile.am' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/Makefile.am' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/Makefile.am' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/Makefile.am' && # Main Makefile for GNU tar. # Copyright 1994, 1995, 1996, 1997, 1999 Free Software Foundation, Inc. X # 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 # the Free Software Foundation; either version 2, or (at your option) # any later version. X # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. X # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. X AUTOMAKE_OPTIONS = gnits dist-shar X BABYL = rmail/* admin/*/RMAIL EXTRA_DIST = PORTS rebox.el ACLOCAL_AMFLAGS = SUBDIRS = doc lib intl m4 src scripts po tests X all-local: $(CONFIG_HEADER) X id: ID X ID: X cd lib && $(MAKE) $@ X cd src && $(MAKE) $@ X # This is a bit of a hack; there must be a better way. M4DIR = $(srcdir)/m4 ACINCLUDE_INPUTS = $(M4DIR)/ccstdc.m4 $(M4DIR)/d-ino.m4 $(M4DIR)/gettext.m4 \ X $(M4DIR)/inttypes_h.m4 $(M4DIR)/isc-posix.m4 $(M4DIR)/jm-mktime.m4 \ X $(M4DIR)/largefile.m4 $(M4DIR)/lcmessage.m4 $(M4DIR)/malloc.m4 \ X $(M4DIR)/mktime.m4 $(M4DIR)/progtest.m4 $(M4DIR)/realloc.m4 \ X $(M4DIR)/uintmax_t.m4 $(M4DIR)/ulonglong.m4 $(M4DIR)/utimbuf.m4 \ X $(M4DIR)/utime.m4 $(M4DIR)/utimes.m4 $(M4DIR)/xstrtoumax.m4 X $(srcdir)/acinclude.m4 : $(ACINCLUDE_INPUTS) X cat $(ACINCLUDE_INPUTS) >$(srcdir)/acinclude.m4 X dist-zoo: $(DISTFILES) X rm -rf $(distdir) X mkdir $(distdir) X distdir=`cd $(distdir) && pwd` \ X && cd $(srcdir) \ X && automake --include-deps --output-dir=$$distdir X @for file in $(DISTFILES); do \ X test -f $(distdir)/$$file \ X || cp -p $(srcdir)/$$file $(distdir)/$$file; \ X done X for subdir in $(SUBDIRS); do \ X test -d $(distdir)/$$subdir \ X || mkdir $(distdir)/$$subdir \ X || exit 1; \ X chmod 777 $(distdir)/$$subdir; \ X (cd $$subdir && $(MAKE) dist) || exit 1; \ X done X @sublist="$(DIST_SUBDIRS)"; \ X for dir in $$sublist; do \ X echo copying directory $$dir; \ X tar -chf - $$dir | (cd $(distdir) && tar -xBpf -); \ X done X chmod -R a+r $(distdir) X find $(distdir) -type f | xargs dosfn # find $(distdir) -type f | xargs recode :ibmpc X mv $(distdir) $(PACKAGE) X find $(PACKAGE) -type f | zoo ahIq $(PACKAGE).zoo X rm -rf $(PACKAGE) SHAR_EOF $shar_touch -am 0702174299 'tar-1.13/Makefile.am' && chmod 0444 'tar-1.13/Makefile.am' || $echo 'restore of' 'tar-1.13/Makefile.am' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/Makefile.am:' 'MD5 check failed' e10716c25c84dbd5ac2543907ace842a tar-1.13/Makefile.am SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/Makefile.am'`" test 2484 -eq "$shar_count" || $echo 'tar-1.13/Makefile.am:' 'original size' '2484,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/Makefile.in ============== if test -f 'tar-1.13/Makefile.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/Makefile.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/Makefile.in' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.13/Makefile.in M(R!-86ME9FEL92YI;B!G96YE2!B>2!A=71O M;6%K92`Q+C0@9G)O;2!-86ME9FEL92YA;0H*(R!#;W!Y2!L87<[('=I=&AO=70*(R!E=F5N('1H92!I;7!L:65D('=A6]U(&-A;B!R961I0HC(&ET('5N9&5R('1H92!T97)M2!L871E2!O9@HC($U%4D-(04Y404)) M3$E462!O"`]($!P&5C9&ER(#T@0&QI8F5X96-D M:7)`"F1A=&%D:7(@/2!`9&%T861I7-C;VYF M9&ER0`IS:&%R961S=&%T961I2X*331$25(@/2`D*'-R8V1I6]U(')U;B!@;6%K92B`B)"1F86EL(@H* M;6]S=&QY8VQE86XM&ET M(#$[.R!ER!F:6QEGAF M("0H9&ES=&1I@H)+7)M("UR9B`D*&1I&5C.B!I;G-T86QL+65X96,M M&5C+6%M(&EN2!R97%U:7)E('-P96-I86P@=&]O M;',@=&\@&5C+7)E8W5R&5C+7)E8W5R6-L96%N+71A9W,@7`ID:7-T8VQE86XM=&%G&5C+6%M(&EN M6-L96%N(&1I2`D)&1I$)P9B`M*3L@7`H)9&]N90H)8VAM;V0@+5(@ M82MR("0H9&ES=&1I&%R M9W,@9&]S9FX*(PEF:6YD("0H9&ES=&1I7!E(&8@?"!Z;V\@86A)<2`D*%!!0TM!1T4I+GIO;PH) M&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/Makefile.in:' 'MD5 check failed' 22068063e5aaa9497e53a00eb6dcfeb4 tar-1.13/Makefile.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/Makefile.in'`" test 13933 -eq "$shar_count" || $echo 'tar-1.13/Makefile.in:' 'original size' '13933,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/NEWS ============== if test -f 'tar-1.13/NEWS' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/NEWS' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/NEWS' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.13/NEWS M1TY5('1A&5S(&%N9"!P;W)T:6YG(&9I>&5S+@HJ(%1H:7,@&5S(&EN('1H:7,@2!H879E;B=T(&)E96X@;65R9V5D('EE="X**B!!;B!I;G1E2!W:71H('!A>'5T:6QS+@H@(%!L96%S92!T6UO2!O=F5R('1H92!Q=6]T:6YG(&1O;F4@ M8GD@=&AE('-H96QL+@H*3W5T<'5T(&9O'0N"BH@365S6UB;VQI8R!N86UE2!A='1E;7!T(&1E;&5T:6YG M(&5X:7-T:6YG(&9I;&5S('=H96X@:6X@=&AE('=A>2X**B!/<'1I;VX@+2UU M;FQI;FLM9FER2X**B!/ M<'1I;VX@+2UN=6UE'1R M86-T('-Y;6)O;&EC(&QI;FMS(&%S(&AA"!A;F0@+2UV97)S:6]N+6-O M;G1R;VP@;W!T:6]N&EN9F\@;6%N=6%L+@HJ(%1H92!D979I8V4@ M9&5F875L=',@=&\@2!T:&4@:6YS=&%L;&5R+@HJ($]P=&EO;B`M+7-P87)S92`H+5,I('-H;W5L M9"!W;W)K(&]N(&UO3L@;F]T:6-E&%M<&QE(&]F(&$*1%5-4%]214U) M3D1?4T-225!4+@H**B!3=7!E&5D+@H**B!);F-O;7!A=&EB:6QI='D@<')O8FQE;7,@ M=VET:"!A(&)U9R!O;B!3;VQAFEP(&%N9"`M>BD[(&-A;&QS M(&=Z:7`@:6YS=&5A9`IO9B!C;VUP2!A;GD*8V]M<')E&5S+@H,"E9E&5S+@H**B!.;W<@=7-E2`M5"!T;R!B90IN=6QL+71E6]U M(&-A;B!N;W<@9VEV92!M=6QT:7!L92`M9B!A6]U(&1O;B=T('1E;&P@ M:70*=VAA="!T;R!D=6UP+@H**B!7:&5N(&5X=')A8W1I;F<@9&ER96-T;W)I M97,L('1A6]U(&YO"FQO;F=E'1R86-T('1O(&AI="!T:&4@96YD(&]F('1H92!T87!E(&9O<@IL;VYG M(&YA;65S('1O('=O&-L=61E+69R;VT@9&]E&-L=61E('5S M960@=&\@9&\N"@HJ($5X:70@'1R86-T+"!T:&4@;&%B96P@:7,@;F]W(&$@2!&96YL87-O;BX*"BH@4V5E($-H86YG94QO9R!F;W(@;6]R92!D971A %:6QS+@I& ` end SHAR_EOF $shar_touch -am 0707210999 'tar-1.13/NEWS' && chmod 0444 'tar-1.13/NEWS' || $echo 'restore of' 'tar-1.13/NEWS' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/NEWS:' 'MD5 check failed' e72eab89bd36c468aae595d9c8fc63b9 tar-1.13/NEWS SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/NEWS'`" test 7340 -eq "$shar_count" || $echo 'tar-1.13/NEWS:' 'original size' '7340,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/THANKS ============== if test -f 'tar-1.13/THANKS' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/THANKS' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/THANKS' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.13/THANKS M1TY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=&5M<&QE+F5D=0I+96QL>2!3=&5P:&5N M6-L;VYE+G-T86YF;W)D+F5D=0I,875R96YT($-A:6QL870M5F%L M;&5T"6-A:6QL871`;F]E+FQY;VXN8V5M86=R968N9G(*3&%U6YU;4!C M96YN87,N;FAM9FPN9V]V"DUAD!C"!(86EL<&5R M:6X)"6UA>$!N:6,N9V%C+F5D=0I-87AI;64@5&%K6=N=7,N8V]M"DUI8VAA96P@4"!5FUA;FXN86,N:6P*36EK92!-=75S2YA8RYU:PI0875L($YE=F%I"0EP86QI*T!OF1I='(Q+F%R M8W,N86,N870*4&5T97(@4V5E8F%C:`D)60)"5(N2RY, M;&]Y9$!C4!P86YI>"YC;VT*4F]B97)T($4N($)R;W=N"0EB0D)8F]B9D!U;FEX+F%D=F%N2!':6%N;FEN:0D)7,N8V]M"E)O9&5R:6-H(%-C:'5P<`D)6)OGEB;W)R84!C7,N:WEO=&\M=2YA8RYJ<`I3 M86T@4FEC:&%R9',)"7-A;4!B;'5E2YE9'4* M4V5T:"!2;V)E7,N8V]M"E-T97!H96X@ M2B!"979A;@D)'1E8V@N8V\N=6L*5&AE($MI;F<)"65L=FES0&=N=2YO6)OG1`=6YI<&QE>"YC;RYU:PI4 M:6UO=&AY($HN($QE90D)=&EM;&5E0&YE=&-O;2YC;VT*5&EM;W1H>2!&;W-S M=6T)"69O"YC;VT*5&]M M(%%U:6YN"0ET0D) M=')O;65Y0&1R:7`N8V]L;W)A9&\N961U"E1O2!2=61O;'!H"0ER=61T61E<@D)=G-N>61EG5D;PD)4T=2,#`T,3-`;FEF M='ES97)V92YO&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/THANKS:' 'MD5 check failed' 4c880b6edcaaa26c1e4bc761c8e51f52 tar-1.13/THANKS SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/THANKS'`" test 18002 -eq "$shar_count" || $echo 'tar-1.13/THANKS:' 'original size' '18002,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/TODO ============== if test -f 'tar-1.13/TODO' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/TODO' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/TODO' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/TODO' && * TODO file for GNU tar -*- outline -*- X Tell if you feel like volunteering for any of these ideas, listed more or less in decreasing order of priority. Some TODO items are implicit from received email. See file BACKLOG. Significant contributions require written assignments and disclaimers. X X.* create.c: diagnostics missing when `goto badfile'. X.* compare.c: confusion between stderr and stdlis, WARN and ERROR. X.* --ignore-failed-read might have been defeated. X.* Better clean sources for list.c, extract.c, create.c and buffer.c. X.* revise all NAMSIZ references, too often related to short buffers. X.* current_link_name, current_file_name not always quoted when printed. X.* Take over script maintenance, implement a `restore' script. X.* Make a debugging feature out of all `#if 0'. SHAR_EOF $shar_touch -am 0701224199 'tar-1.13/TODO' && chmod 0444 'tar-1.13/TODO' || $echo 'restore of' 'tar-1.13/TODO' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/TODO:' 'MD5 check failed' b25686d3002f038e88e3c33a13829da9 tar-1.13/TODO SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/TODO'`" test 809 -eq "$shar_count" || $echo 'tar-1.13/TODO:' 'original size' '809,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/acconfig.h ============== if test -f 'tar-1.13/acconfig.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/acconfig.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/acconfig.h' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.13/acconfig.h M+RH@4W!E8VEA;"!D969I;FET:6]NF4@ M9F]R(&%R8VAI=F5S+B`@*B\*(W5N9&5F($1%1D%53%1?0DQ/0TM)3D<*"B\J M($1E9FEN92!T;R`Q(&EF(&1E;G-I='D@;6%Y(&)E(&EN9&EC871E9"!B>2!; M;&UH72!A="!E;F0@;V8@9&5V:6-E+B`@*B\*(W5N9&5F($1%3E-)5%E?3$54 M5$52"@HO*B!$969I;F4@=&\@82!S=')I;F<@9VEV:6YG('1H92!P6]U(&QA8VL@82`S+6%R M9W5M96YT('9E&ES=',L(&]R(&EF('EO=2!H879E(#QN M971D8BYH/BX@("HO"B-U;F1E9B!(059%7U)405!%3$E""@HO*B!$969I;F4@ M=&\@,2!I9B!M:VYO9"!F=6YC=&EO;B!I&ES=',@86YD(&1E8VQA7,O='EP97,N:#X@9&]E7,O='EP97,N:#X@9&]E M6]U2X@("HO"B-U M;F1E9B!214U/5$5?4TA%3$P*"B\J($1E9FEN92!T;R!@:6YT)R!I9B`\&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/acconfig.h:' 'MD5 check failed' 30455c8ee687cfc838b2c217d5de2fc6 tar-1.13/acconfig.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/acconfig.h'`" test 2571 -eq "$shar_count" || $echo 'tar-1.13/acconfig.h:' 'original size' '2571,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/acinclude.m4 ============== if test -f 'tar-1.13/acinclude.m4' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/acinclude.m4' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/acinclude.m4' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/acinclude.m4' && # The following is taken from automake 1.4, # except that it prefers the compiler option -Ae to "-Aa -D_HPUX_SOURCE" # because only the former supports 64-bit integral types on HP-UX 10.20. X ## ----------------------------------------- ## ## ANSIfy the C compiler whenever possible. ## ## From Franc,ois Pinard ## ## ----------------------------------------- ## X # serial 2 X # @defmac AC_PROG_CC_STDC # @maindex PROG_CC_STDC # @ovindex CC # If the C compiler in not in ANSI C mode by default, try to add an option # to output variable @code{CC} to make it so. This macro tries various # options that select ANSI C on some system or another. It considers the # compiler to be in ANSI C mode if it handles function prototypes correctly. # # If you use this macro, you should check after calling it whether the C # compiler has been set to accept ANSI C; if not, the shell variable # @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source # code in ANSI C, you can make an un-ANSIfied copy of it by using the # program @code{ansi2knr}, which comes with Ghostscript. # @end defmac X AC_DEFUN(AM_PROG_CC_STDC, [AC_REQUIRE([AC_PROG_CC]) AC_BEFORE([$0], [AC_C_INLINE]) AC_BEFORE([$0], [AC_C_CONST]) dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require dnl a magic option to avoid problems with ANSI preprocessor commands dnl like #elif. dnl FIXME: can't do this because then AC_AIX won't work due to a dnl circular dependency. dnl AC_BEFORE([$0], [AC_PROG_CPP]) AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C) AC_CACHE_VAL(am_cv_prog_cc_stdc, [am_cv_prog_cc_stdc=no ac_save_CC="$CC" # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do X CC="$ac_save_CC $ac_arg" X AC_TRY_COMPILE( [#include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) X char **p; X int i; { X return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { X char *s; X va_list v; X va_start (v,p); X s = g (p, va_arg (v,int)); X va_end (v); X return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; ], [ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ], [am_cv_prog_cc_stdc="$ac_arg"; break]) done CC="$ac_save_CC" ]) if test -z "$am_cv_prog_cc_stdc"; then X AC_MSG_RESULT([none needed]) else X AC_MSG_RESULT($am_cv_prog_cc_stdc) fi case "x$am_cv_prog_cc_stdc" in X x|xno) ;; X *) CC="$CC $am_cv_prog_cc_stdc" ;; esac ]) #serial 2 X dnl From Jim Meyering. dnl dnl Check whether struct dirent has a member named d_ino. dnl X AC_DEFUN(jm_STRUCT_DIRENT_D_INO, X [AC_REQUIRE([AC_HEADER_DIRENT])dnl X AC_CACHE_CHECK([for d_ino member in directory struct], X jm_cv_struct_dirent_d_ino, X [AC_TRY_LINK(dnl X [ #include #ifdef HAVE_DIRENT_H # include #else /* not HAVE_DIRENT_H */ # define dirent direct # ifdef HAVE_SYS_NDIR_H # include # endif /* HAVE_SYS_NDIR_H */ # ifdef HAVE_SYS_DIR_H # include # endif /* HAVE_SYS_DIR_H */ # ifdef HAVE_NDIR_H # include # endif /* HAVE_NDIR_H */ #endif /* HAVE_DIRENT_H */ X ], X [struct dirent dp; dp.d_ino = 0;], X X jm_cv_struct_dirent_d_ino=yes, X jm_cv_struct_dirent_d_ino=no) X ] X ) X if test $jm_cv_struct_dirent_d_ino = yes; then X AC_DEFINE(D_INO_IN_DIRENT, 1, X [Define if there is a member named d_ino in the struct describing X directory headers.]) X fi X ] ) # Macro to add for using GNU gettext. # Ulrich Drepper , 1995. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. X # serial 107 X AC_PREREQ(2.13) dnl Minimum Autoconf version required. X AC_DEFUN(AM_WITH_NLS, X [AC_MSG_CHECKING([whether NLS is requested]) X dnl Default is enabled NLS X AC_ARG_ENABLE(nls, X [ --disable-nls do not use Native Language Support], X USE_NLS=$enableval, USE_NLS=yes) X AC_MSG_RESULT($USE_NLS) X AC_SUBST(USE_NLS) X X USE_INCLUDED_LIBINTL=no X X dnl If we use NLS figure out what method X if test "$USE_NLS" = "yes"; then X AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if NLS is requested.]) X AC_MSG_CHECKING([whether included gettext is requested]) X AC_ARG_WITH(included-gettext, X [ --with-included-gettext use the GNU gettext library included here], X nls_cv_force_use_gnu_gettext=$withval, X nls_cv_force_use_gnu_gettext=no) X AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) X X nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" X if test "$nls_cv_force_use_gnu_gettext" != "yes"; then X dnl User does not insist on using GNU NLS library. Figure out what X dnl to use. If gettext or catgets are available (in this order) we X dnl use this. Else we have to fall back to GNU NLS library. X dnl catgets is only used if permitted by option --with-catgets. X nls_cv_header_intl= X nls_cv_header_libgt= X CATOBJEXT=NONE X X AC_CHECK_HEADER(libintl.h, X [AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc, X [AC_TRY_LINK([#include ], [return (int) gettext ("")], X gt_cv_func_gettext_libc=yes, gt_cv_func_gettext_libc=no)]) X X if test "$gt_cv_func_gettext_libc" != "yes"; then X AC_CHECK_LIB(intl, bindtextdomain, X [AC_CHECK_LIB(intl, gettext)]) X fi X X if test "$gt_cv_func_gettext_libc" = "yes" \ X || test "$ac_cv_lib_intl_gettext" = "yes"; then X AC_DEFINE(HAVE_GETTEXT, 1, X [Define to 1 if you have gettext and don't want to use GNU gettext.]) X AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl X if test "$MSGFMT" != "no"; then X AC_CHECK_FUNCS(dcgettext) X AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) X AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) X AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; X return _nl_msg_cat_cntr], X [CATOBJEXT=.gmo X DATADIRNAME=share], X [CATOBJEXT=.mo X DATADIRNAME=lib]) X INSTOBJEXT=.mo X fi X fi X ]) X X if test "$CATOBJEXT" = "NONE"; then X AC_MSG_CHECKING([whether catgets can be used]) X AC_ARG_WITH(catgets, X [ --with-catgets use catgets functions if available], X nls_cv_use_catgets=$withval, nls_cv_use_catgets=no) X AC_MSG_RESULT($nls_cv_use_catgets) X X if test "$nls_cv_use_catgets" = "yes"; then X dnl No gettext in C library. Try catgets next. X AC_CHECK_LIB(i, main) X AC_CHECK_FUNC(catgets, X [AC_DEFINE(HAVE_CATGETS, 1, X [Define as 1 if you have catgets and don't want to use GNU gettext.]) X INTLOBJS="\$(CATOBJS)" X AC_PATH_PROG(GENCAT, gencat, no)dnl X if test "$GENCAT" != "no"; then X AC_PATH_PROG(GMSGFMT, gmsgfmt, no) X if test "$GMSGFMT" = "no"; then X AM_PATH_PROG_WITH_TEST(GMSGFMT, msgfmt, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no) X fi X AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) X USE_INCLUDED_LIBINTL=yes X CATOBJEXT=.cat X INSTOBJEXT=.cat X DATADIRNAME=lib X INTLDEPS='$(top_builddir)/intl/libintl.a' X INTLLIBS=$INTLDEPS X LIBS=`echo $LIBS | sed -e 's/-lintl//'` X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi]) X fi X fi X X if test "$CATOBJEXT" = "NONE"; then X dnl Neither gettext nor catgets in included in the C library. X dnl Fall back on GNU gettext library. X nls_cv_use_gnu_gettext=yes X fi X fi X X if test "$nls_cv_use_gnu_gettext" = "yes"; then X dnl Mark actions used to generate GNU NLS library. X INTLOBJS="\$(GETTOBJS)" X AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt) X AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) X AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) X AC_SUBST(MSGFMT) X USE_INCLUDED_LIBINTL=yes X CATOBJEXT=.gmo X INSTOBJEXT=.mo X DATADIRNAME=share X INTLDEPS='$(top_builddir)/intl/libintl.a' X INTLLIBS=$INTLDEPS X LIBS=`echo $LIBS | sed -e 's/-lintl//'` X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi X X dnl Test whether we really found GNU xgettext. X if test "$XGETTEXT" != ":"; then X dnl If it is no GNU xgettext we define it as : so that the X dnl Makefiles still can work. X if $XGETTEXT --omit-header /dev/null 2> /dev/null; then X : ; X else X AC_MSG_RESULT( X [found xgettext program is not GNU xgettext; ignore it]) X XGETTEXT=":" X fi X fi X X # We need to process the po/ directory. X POSUB=po X else X DATADIRNAME=share X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi X if test -z "$nls_cv_header_intl"; then X # Clean out junk possibly left behind by a previous configuration. X rm -f intl/libintl.h X fi X AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl) X AC_OUTPUT_COMMANDS( X [case "$CONFIG_FILES" in *po/Makefile.in*) X sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile X esac]) X X X # If this is used in GNU gettext we have to set USE_NLS to `yes' X # because some of the sources are only built for this goal. X if test "$PACKAGE" = gettext; then X USE_NLS=yes X USE_INCLUDED_LIBINTL=yes X fi X X dnl These rules are solely for the distribution goal. While doing this X dnl we only have to keep exactly one list of the available catalogs X dnl in configure.in. X for lang in $ALL_LINGUAS; do X GMOFILES="$GMOFILES $lang.gmo" X POFILES="$POFILES $lang.po" X done X X dnl Make all variables we use known to autoconf. X AC_SUBST(USE_INCLUDED_LIBINTL) X AC_SUBST(CATALOGS) X AC_SUBST(CATOBJEXT) X AC_SUBST(DATADIRNAME) X AC_SUBST(GMOFILES) X AC_SUBST(INSTOBJEXT) X AC_SUBST(INTLDEPS) X AC_SUBST(INTLLIBS) X AC_SUBST(INTLOBJS) X AC_SUBST(POFILES) X AC_SUBST(POSUB) X ]) X AC_DEFUN(AM_GNU_GETTEXT, X [AC_REQUIRE([AC_PROG_MAKE_SET])dnl X AC_REQUIRE([AC_PROG_CC])dnl X AC_REQUIRE([AC_PROG_RANLIB])dnl X AC_REQUIRE([AC_ISC_POSIX])dnl X AC_REQUIRE([AC_HEADER_STDC])dnl X AC_REQUIRE([AC_C_CONST])dnl X AC_REQUIRE([AC_C_INLINE])dnl X AC_REQUIRE([AC_TYPE_OFF_T])dnl X AC_REQUIRE([AC_TYPE_SIZE_T])dnl X AC_REQUIRE([AC_FUNC_ALLOCA])dnl X AC_REQUIRE([AC_FUNC_MMAP])dnl X X AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \ unistd.h sys/param.h]) X AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \ strdup __argz_count __argz_stringify __argz_next]) X X if test "${ac_cv_func_stpcpy+set}" != "set"; then X AC_CHECK_FUNCS(stpcpy) X fi X if test "${ac_cv_func_stpcpy}" = "yes"; then X AC_DEFINE(HAVE_STPCPY, 1, [Define to 1 if you have the stpcpy function.]) X fi X X AM_LC_MESSAGES X AM_WITH_NLS X X if test "x$CATOBJEXT" != "x"; then X if test "x$ALL_LINGUAS" = "x"; then X LINGUAS= X else X AC_MSG_CHECKING(for catalogs to be installed) X NEW_LINGUAS= X for lang in ${LINGUAS=$ALL_LINGUAS}; do X case "$ALL_LINGUAS" in X *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; X esac X done X LINGUAS=$NEW_LINGUAS X AC_MSG_RESULT($LINGUAS) X fi X X dnl Construct list of names of catalog files to be constructed. X if test -n "$LINGUAS"; then X for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done X fi X fi X X dnl The reference to in the installed file X dnl must be resolved because we cannot expect the users of this X dnl to define HAVE_LOCALE_H. X if test $ac_cv_header_locale_h = yes; then X INCLUDE_LOCALE_H="#include " X else X INCLUDE_LOCALE_H="\ /* The system does not provide the header . Take care yourself. */" X fi X AC_SUBST(INCLUDE_LOCALE_H) X X dnl Determine which catalog format we have (if any is needed) X dnl For now we know about two different formats: X dnl Linux libc-5 and the normal X/Open format X test -d intl || mkdir intl X if test "$CATOBJEXT" = ".cat"; then X AC_CHECK_HEADER(linux/version.h, msgformat=linux, msgformat=xopen) X X dnl Transform the SED scripts while copying because some dumb SEDs X dnl cannot handle comments. X sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed X fi X dnl po2tbl.sed is always needed. X sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ X $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed X X dnl In the intl/Makefile.in we have a special dependency which makes X dnl only sense for gettext. We comment this out for non-gettext X dnl packages. X if test "$PACKAGE" = "gettext"; then X GT_NO="#NO#" X GT_YES= X else X GT_NO= X GT_YES="#YES#" X fi X AC_SUBST(GT_NO) X AC_SUBST(GT_YES) X X dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly X dnl find the mkinstalldirs script in another subdir but ($top_srcdir). X dnl Try to locate is. X MKINSTALLDIRS= X if test -n "$ac_aux_dir"; then X MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" X fi X if test -z "$MKINSTALLDIRS"; then X MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" X fi X AC_SUBST(MKINSTALLDIRS) X X dnl *** For now the libtool support in intl/Makefile is not for real. X l= X AC_SUBST(l) X X dnl Generate list of files to be processed by xgettext which will X dnl be included in po/Makefile. X test -d po || mkdir po X changequote(, )dnl X case "$srcdir" in X .) X posrcprefix="../" ;; X /* | [A-Za-z]:*) X posrcprefix="$srcdir/" ;; X *) X posrcprefix="../$srcdir/" ;; X esac X changequote([, ])dnl X rm -f po/POTFILES X sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ X < $srcdir/po/POTFILES.in > po/POTFILES X ]) #serial 3 X dnl From Paul Eggert. X # Define HAVE_INTTYPES_H if exists, # doesn't clash with , and declares uintmax_t. X AC_DEFUN(jm_AC_HEADER_INTTYPES_H, [ X AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h, X [AC_TRY_COMPILE( X [#include #include ], X [uintmax_t i = (uintmax_t) -1;], X jm_ac_cv_header_inttypes_h=yes, X jm_ac_cv_header_inttypes_h=no)]) X if test $jm_ac_cv_header_inttypes_h = yes; then X AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1, [Define if exists, doesn't clash with , X and declares uintmax_t. ]) X fi ]) #serial 1 dnl This test replaces the one in autoconf. dnl Currently this macro should have the same name as the autoconf macro dnl because gettext's gettext.m4 (distributed in the automake package) dnl still uses it. Otherwise, the use in gettext.m4 makes autoheader dnl give these diagnostics: dnl configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX dnl configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX X undefine([AC_ISC_POSIX]) AC_DEFUN(AC_ISC_POSIX, X [ X dnl This test replaces the obsolescent AC_ISC_POSIX kludge. X AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) X ] ) #serial 7 X dnl From Jim Meyering. dnl A wrapper around AC_FUNC_MKTIME. X AC_DEFUN(jm_FUNC_MKTIME, [AC_REQUIRE([AC_FUNC_MKTIME])dnl X X dnl mktime.c uses localtime_r if it exists. Check for it. X AC_CHECK_FUNCS(localtime_r) X X if test $ac_cv_func_working_mktime = no; then X AC_DEFINE_UNQUOTED(mktime, rpl_mktime, X [Define to rpl_mktime if the replacement function should be used.]) X fi ]) #serial 4 X dnl By default, many hosts won't let programs access large files; dnl one must use special compiler options to get large-file access to work. dnl For more details about this brain damage please see: dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html X dnl Written by Paul Eggert . X dnl Internal subroutine of AC_SYS_LARGEFILE. dnl AC_SYS_LARGEFILE_FLAGS(FLAGSNAME) AC_DEFUN(AC_SYS_LARGEFILE_FLAGS, X [AC_CACHE_CHECK([for $1 value to request large file support], X ac_cv_sys_largefile_$1, X [ac_cv_sys_largefile_$1=`($GETCONF LFS_$1) 2>/dev/null` || { X ac_cv_sys_largefile_$1=no X ifelse($1, CFLAGS, X [case "$host_os" in X # IRIX 6.2 and later require cc -n32. changequote(, )dnl X irix6.[2-9]* | irix6.1[0-9]* | irix[7-9].* | irix[1-9][0-9]*) changequote([, ])dnl X if test "$GCC" != yes; then X ac_cv_sys_largefile_CFLAGS=-n32 X fi X ac_save_CC="$CC" X CC="$CC $ac_cv_sys_largefile_CFLAGS" X AC_TRY_LINK(, , , ac_cv_sys_largefile_CFLAGS=no) X CC="$ac_save_CC" X esac]) X }])]) X dnl Internal subroutine of AC_SYS_LARGEFILE. dnl AC_SYS_LARGEFILE_SPACE_APPEND(VAR, VAL) AC_DEFUN(AC_SYS_LARGEFILE_SPACE_APPEND, X [case $2 in X no) ;; X ?*) X case "[$]$1" in X '') $1=$2 ;; X *) $1=[$]$1' '$2 ;; X esac ;; X esac]) X dnl Internal subroutine of AC_SYS_LARGEFILE. dnl AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, CACHE-VAR, COMMENT, CODE-TO-SET-DEFAULT) AC_DEFUN(AC_SYS_LARGEFILE_MACRO_VALUE, X [AC_CACHE_CHECK([for $1], $2, X [$2=no changequote(, )dnl X $4 X for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do X case "$ac_flag" in X -D$1) X $2=1 ;; X -D$1=*) X $2=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;; X esac X done changequote([, ])dnl X ]) X if test "[$]$2" != no; then X AC_DEFINE_UNQUOTED([$1], [$]$2, [$3]) X fi]) X AC_DEFUN(AC_SYS_LARGEFILE, X [AC_REQUIRE([AC_CANONICAL_HOST]) X AC_ARG_ENABLE(largefile, X [ --disable-largefile omit support for large files]) X if test "$enable_largefile" != no; then X AC_CHECK_TOOL(GETCONF, getconf) X AC_SYS_LARGEFILE_FLAGS(CFLAGS) X AC_SYS_LARGEFILE_FLAGS(LDFLAGS) X AC_SYS_LARGEFILE_FLAGS(LIBS) X X for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do X case "$ac_flag" in X no) ;; X -D_FILE_OFFSET_BITS=*) ;; X -D_LARGEFILE_SOURCE | -D_LARGEFILE_SOURCE=*) ;; X -D_LARGE_FILES | -D_LARGE_FILES=*) ;; X -D?* | -I?*) X AC_SYS_LARGEFILE_SPACE_APPEND(CPPFLAGS, "$ac_flag") ;; X *) X AC_SYS_LARGEFILE_SPACE_APPEND(CFLAGS, "$ac_flag") ;; X esac X done X AC_SYS_LARGEFILE_SPACE_APPEND(LDFLAGS, "$ac_cv_sys_largefile_LDFLAGS") X AC_SYS_LARGEFILE_SPACE_APPEND(LIBS, "$ac_cv_sys_largefile_LIBS") X AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, X ac_cv_sys_file_offset_bits, X [Number of bits in a file offset, on hosts where this is settable.] X [case "$host_os" in X # HP-UX 10.20 and later X hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*) X ac_cv_sys_file_offset_bits=64 ;; X esac]) X AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, X ac_cv_sys_largefile_source, X [Define to make fseeko etc. visible, on some hosts.], X [case "$host_os" in X # HP-UX 10.20 and later X hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*) X ac_cv_sys_largefile_source=1 ;; X esac]) X AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, X ac_cv_sys_large_files, X [Define for large files, on AIX-style hosts.], X [case "$host_os" in X # AIX 4.2 and later X aix4.[2-9]* | aix4.1[0-9]* | aix[5-9].* | aix[1-9][0-9]*) X ac_cv_sys_large_files=1 ;; X esac]) X fi X ]) # Check whether LC_MESSAGES is available in . # Ulrich Drepper , 1995. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. X # serial 2 X AC_PREREQ(2.13) dnl Minimum Autoconf version required. X AC_DEFUN(AM_LC_MESSAGES, X [if test $ac_cv_header_locale_h = yes; then X AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, X [AC_TRY_LINK([#include ], [return LC_MESSAGES], X am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) X if test $am_cv_val_LC_MESSAGES = yes; then X AC_DEFINE(HAVE_LC_MESSAGES, 1, X [Define if your locale.h file contains LC_MESSAGES.]) X fi X fi]) #serial 3 X dnl From Jim Meyering. dnl Determine whether malloc accepts 0 as its argument. dnl If it doesn't, arrange to use the replacement function. dnl X AC_DEFUN(jm_FUNC_MALLOC, [ X dnl xmalloc.c requires that this symbol be defined so it doesn't X dnl mistakenly use a broken malloc -- as it might if this test were omitted. X AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_MALLOC_CHECK, 1, X [Define if the malloc check has been performed. ]) X X AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc, X [AC_TRY_RUN([ X char *malloc (); X int X main () X { X exit (malloc (0) ? 0 : 1); X } X ], X jm_cv_func_working_malloc=yes, X jm_cv_func_working_malloc=no, X dnl When crosscompiling, assume malloc is broken. X jm_cv_func_working_malloc=no) X ]) X if test $jm_cv_func_working_malloc = no; then X AC_SUBST(LIBOBJS) X LIBOBJS="$LIBOBJS malloc.$ac_objext" X AC_DEFINE_UNQUOTED(malloc, rpl_malloc, X [Define to rpl_malloc if the replacement function should be used.]) X fi ]) #serial 1 X dnl From Paul Eggert dnl Check for a working mktime. dnl This is a preview of what should appear in the next public autoconf release. X AC_DEFUN(AC_FUNC_MKTIME, [AC_REQUIRE([AC_HEADER_TIME])dnl AC_CHECK_HEADERS(sys/time.h unistd.h) AC_CHECK_FUNCS(alarm) AC_CACHE_CHECK([for working mktime], ac_cv_func_working_mktime, [AC_TRY_RUN( changequote(<<, >>)dnl < # include X #else # if HAVE_SYS_TIME_H # include # else # include # endif #endif X #if HAVE_UNISTD_H # include #endif X #if !HAVE_ALARM # define alarm(X) /* empty */ #endif X /* Work around redefinition to rpl_putenv by other config tests. */ #undef putenv X static time_t time_t_max; X /* Values we'll use to set the TZ environment variable. */ static const char *const tz_strings[] = { X (const char *) 0, "TZ=GMT0", "TZ=JST-9", X "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" }; #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) X /* Fail if mktime fails to convert a date in the spring-forward gap. X Based on a problem report from Andreas Jaeger. */ static void spring_forward_gap () { X /* glibc (up to about 1998-10-07) failed this test) */ X struct tm tm; X X /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" X instead of "TZ=America/Vancouver" in order to detect the bug even X on systems that don't support the Olson extension, or don't have the X full zoneinfo tables installed. */ X putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); X X tm.tm_year = 98; X tm.tm_mon = 3; X tm.tm_mday = 5; X tm.tm_hour = 2; X tm.tm_min = 0; X tm.tm_sec = 0; X tm.tm_isdst = -1; X if (mktime (&tm) == (time_t)-1) X exit (1); } X static void mktime_test (now) X time_t now; { X struct tm *lt; X if ((lt = localtime (&now)) && mktime (lt) != now) X exit (1); X now = time_t_max - now; X if ((lt = localtime (&now)) && mktime (lt) != now) X exit (1); } X static void irix_6_4_bug () { X /* Based on code from Ariel Faigon. */ X struct tm tm; X tm.tm_year = 96; X tm.tm_mon = 3; X tm.tm_mday = 0; X tm.tm_hour = 0; X tm.tm_min = 0; X tm.tm_sec = 0; X tm.tm_isdst = -1; X mktime (&tm); X if (tm.tm_mon != 2 || tm.tm_mday != 31) X exit (1); } X static void bigtime_test (j) X int j; { X struct tm tm; X time_t now; X tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; X now = mktime (&tm); X if (now != (time_t) -1) X { X struct tm *lt = localtime (&now); X if (! (lt X && lt->tm_year == tm.tm_year X && lt->tm_mon == tm.tm_mon X && lt->tm_mday == tm.tm_mday X && lt->tm_hour == tm.tm_hour X && lt->tm_min == tm.tm_min X && lt->tm_sec == tm.tm_sec X && lt->tm_yday == tm.tm_yday X && lt->tm_wday == tm.tm_wday X && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) X == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) X exit (1); X } } X int main () { X time_t t, delta; X int i, j; X X /* This test makes some buggy mktime implementations loop. X Give up after 60 seconds; a mktime slower than that X isn't worth using anyway. */ X alarm (60); X X for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) X continue; X time_t_max--; X delta = time_t_max / 997; /* a suitable prime number */ X for (i = 0; i < N_STRINGS; i++) X { X if (tz_strings[i]) X putenv (tz_strings[i]); X X for (t = 0; t <= time_t_max - delta; t += delta) X mktime_test (t); X mktime_test ((time_t) 60 * 60); X mktime_test ((time_t) 60 * 60 * 24); X X for (j = 1; 0 < j; j *= 2) X bigtime_test (j); X bigtime_test (j - 1); X } X irix_6_4_bug (); X spring_forward_gap (); X exit (0); } >>, changequote([, ])dnl ac_cv_func_working_mktime=yes, ac_cv_func_working_mktime=no, ac_cv_func_working_mktime=no)]) if test $ac_cv_func_working_mktime = no; then X LIBOBJS="$LIBOBJS mktime.${ac_objext}" fi ]) # Search path for a program which passes the given test. # Ulrich Drepper , 1996. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. X # serial 1 X dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN(AM_PATH_PROG_WITH_TEST, [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in X /*) X ac_cv_path_$1="[$]$1" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in ifelse([$5], , $PATH, [$5]); do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X if [$3]; then X ac_cv_path_$1="$ac_dir/$ac_word" X break X fi X fi X done X IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl X ;; esac])dnl $1="$ac_cv_path_$1" if test -n "[$]$1"; then X AC_MSG_RESULT([$]$1) else X AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) #serial 3 X dnl From Jim Meyering. dnl Determine whether realloc works when both arguments are 0. dnl If it doesn't, arrange to use the replacement function. dnl X AC_DEFUN(jm_FUNC_REALLOC, [ X dnl xmalloc.c requires that this symbol be defined so it doesn't X dnl mistakenly use a broken realloc -- as it might if this test were omitted. X AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_REALLOC_CHECK, 1, X [Define if the realloc check has been performed. ]) X X AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc, X [AC_TRY_RUN([ X char *realloc (); X int X main () X { X exit (realloc (0, 0) ? 0 : 1); X } X ], X jm_cv_func_working_realloc=yes, X jm_cv_func_working_realloc=no, X dnl When crosscompiling, assume realloc is broken. X jm_cv_func_working_realloc=no) X ]) X if test $jm_cv_func_working_realloc = no; then X AC_SUBST(LIBOBJS) X LIBOBJS="$LIBOBJS realloc.$ac_objext" X AC_DEFINE_UNQUOTED(realloc, rpl_realloc, X [Define to rpl_realloc if the replacement function should be used.]) X fi ]) #serial 3 X dnl From Paul Eggert. X AC_PREREQ(2.13) X # Define uintmax_t to `unsigned long' or `unsigned long long' # if does not exist. X AC_DEFUN(jm_AC_TYPE_UINTMAX_T, [ X AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) X if test $jm_ac_cv_header_inttypes_h = no; then X AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) X test $ac_cv_type_unsigned_long_long = yes \ X && ac_type='unsigned long long' \ X || ac_type='unsigned long' X AC_DEFINE_UNQUOTED(uintmax_t, $ac_type, [ Define to \`unsigned long' or \`unsigned long long' X if doesn't define.]) X fi ]) #serial 1 X dnl From Paul Eggert. X AC_DEFUN(jm_AC_TYPE_UNSIGNED_LONG_LONG, [ X AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long, X [AC_TRY_COMPILE([], X [unsigned long long i = (unsigned long long) -1;], X ac_cv_type_unsigned_long_long=yes, X ac_cv_type_unsigned_long_long=no)]) X if test $ac_cv_type_unsigned_long_long = yes; then X AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1, X [Define if you have the unsigned long long type.]) X fi ]) #serial 2 X dnl From Jim Meyering X dnl Define HAVE_STRUCT_UTIMBUF if `struct utimbuf' is declared -- dnl usually in . dnl Some systems have utime.h but don't declare the struct anywhere. X AC_DEFUN(jm_STRUCT_UTIMBUF, [ X AC_CHECK_HEADERS(utime.h) X AC_REQUIRE([AC_HEADER_TIME]) X AC_CACHE_CHECK([for struct utimbuf], fu_cv_sys_struct_utimbuf, X [AC_TRY_COMPILE( X [ #ifdef TIME_WITH_SYS_TIME # include # include #else # ifdef HAVE_SYS_TIME_H # include # else # include # endif #endif #ifdef HAVE_UTIME_H # include #endif X ], X [static struct utimbuf x; x.actime = x.modtime;], X fu_cv_sys_struct_utimbuf=yes, X fu_cv_sys_struct_utimbuf=no) X ]) X X if test $fu_cv_sys_struct_utimbuf = yes; then X AC_DEFINE_UNQUOTED(HAVE_STRUCT_UTIMBUF, 1, [Define if struct utimbuf is declared -- usually in . X Some systems have utime.h but don't declare the struct anywhere. ]) X fi ]) #serial 1 X dnl From Jim Meyering dnl Replace the utime function on systems that need it. X dnl FIXME X AC_DEFUN(jm_FUNC_UTIME, [ X AC_CHECK_HEADERS(utime.h) X AC_REQUIRE([jm_STRUCT_UTIMBUF]) X AC_REQUIRE([AC_FUNC_UTIME_NULL]) X X if test $ac_cv_func_utime_null = no; then X jm_FUNC_UTIMES_NULL X AC_REPLACE_FUNCS(utime) X fi ]) #serial 3 X dnl Shamelessly cloned from acspecific.m4's AC_FUNC_UTIME_NULL, dnl then do case-insensitive s/utime/utimes/. X AC_DEFUN(jm_FUNC_UTIMES_NULL, [AC_CACHE_CHECK(whether utimes accepts a null argument, ac_cv_func_utimes_null, [rm -f conftestdata; > conftestdata AC_TRY_RUN([ /* In case stat has been defined to rpl_stat, undef it here. */ #undef stat #include #include main() { struct stat s, t; exit(!(stat ("conftestdata", &s) == 0 && utimes("conftestdata", (long *)0) == 0 && stat("conftestdata", &t) == 0 && t.st_mtime >= s.st_mtime && t.st_mtime - s.st_mtime < 120)); }], X ac_cv_func_utimes_null=yes, X ac_cv_func_utimes_null=no, X ac_cv_func_utimes_null=no) rm -f core core.* *.core]) X X if test $ac_cv_func_utimes_null = yes; then X AC_DEFINE_UNQUOTED(HAVE_UTIMES_NULL, 1, X [Define if utimes accepts a null argument]) X fi X ] ) #serial 1 X # autoconf tests required for use of xstrtoumax.c X AC_DEFUN(jm_AC_PREREQ_XSTRTOUMAX, [ X AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) X AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) X AC_CHECK_HEADERS(stdlib.h) X AC_REPLACE_FUNCS(strtoumax) X X dnl We don't need (and can't compile) the replacement strtoull X dnl unless the type `unsigned long long' exists. X dnl Also, only the replacement strtoumax invokes strtoull, X dnl so we need the replacement strtoull only if strtoumax does not exist. X case "$ac_cv_type_unsigned_long_long,$ac_cv_func_strtoumax" in X yes,no) X AC_REPLACE_FUNCS(strtoull) X ;; X esac X ]) SHAR_EOF $shar_touch -am 0705000999 'tar-1.13/acinclude.m4' && chmod 0664 'tar-1.13/acinclude.m4' || $echo 'restore of' 'tar-1.13/acinclude.m4' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/acinclude.m4:' 'MD5 check failed' 0ac5c15de09c100def9fd1fc25644c79 tar-1.13/acinclude.m4 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/acinclude.m4'`" test 31952 -eq "$shar_count" || $echo 'tar-1.13/acinclude.m4:' 'original size' '31952,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/aclocal.m4 ============== if test -f 'tar-1.13/aclocal.m4' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/aclocal.m4' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/aclocal.m4' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/aclocal.m4' && dnl aclocal.m4 generated automatically by aclocal 1.4 X dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. X dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A dnl PARTICULAR PURPOSE. X # The following is taken from automake 1.4, # except that it prefers the compiler option -Ae to "-Aa -D_HPUX_SOURCE" # because only the former supports 64-bit integral types on HP-UX 10.20. X X # serial 2 X # @defmac AC_PROG_CC_STDC # @maindex PROG_CC_STDC # @ovindex CC # If the C compiler in not in ANSI C mode by default, try to add an option # to output variable @code{CC} to make it so. This macro tries various # options that select ANSI C on some system or another. It considers the # compiler to be in ANSI C mode if it handles function prototypes correctly. # # If you use this macro, you should check after calling it whether the C # compiler has been set to accept ANSI C; if not, the shell variable # @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source # code in ANSI C, you can make an un-ANSIfied copy of it by using the # program @code{ansi2knr}, which comes with Ghostscript. # @end defmac X AC_DEFUN(AM_PROG_CC_STDC, [AC_REQUIRE([AC_PROG_CC]) AC_BEFORE([$0], [AC_C_INLINE]) AC_BEFORE([$0], [AC_C_CONST]) dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require dnl a magic option to avoid problems with ANSI preprocessor commands dnl like #elif. dnl FIXME: can't do this because then AC_AIX won't work due to a dnl circular dependency. dnl AC_BEFORE([$0], [AC_PROG_CPP]) AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C) AC_CACHE_VAL(am_cv_prog_cc_stdc, [am_cv_prog_cc_stdc=no ac_save_CC="$CC" # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do X CC="$ac_save_CC $ac_arg" X AC_TRY_COMPILE( [#include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) X char **p; X int i; { X return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { X char *s; X va_list v; X va_start (v,p); X s = g (p, va_arg (v,int)); X va_end (v); X return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; ], [ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ], [am_cv_prog_cc_stdc="$ac_arg"; break]) done CC="$ac_save_CC" ]) if test -z "$am_cv_prog_cc_stdc"; then X AC_MSG_RESULT([none needed]) else X AC_MSG_RESULT($am_cv_prog_cc_stdc) fi case "x$am_cv_prog_cc_stdc" in X x|xno) ;; X *) CC="$CC $am_cv_prog_cc_stdc" ;; esac ]) #serial 2 X dnl From Jim Meyering. dnl dnl Check whether struct dirent has a member named d_ino. dnl X AC_DEFUN(jm_STRUCT_DIRENT_D_INO, X [AC_REQUIRE([AC_HEADER_DIRENT])dnl X AC_CACHE_CHECK([for d_ino member in directory struct], X jm_cv_struct_dirent_d_ino, X [AC_TRY_LINK(dnl X [ #include #ifdef HAVE_DIRENT_H # include #else /* not HAVE_DIRENT_H */ # define dirent direct # ifdef HAVE_SYS_NDIR_H # include # endif /* HAVE_SYS_NDIR_H */ # ifdef HAVE_SYS_DIR_H # include # endif /* HAVE_SYS_DIR_H */ # ifdef HAVE_NDIR_H # include # endif /* HAVE_NDIR_H */ #endif /* HAVE_DIRENT_H */ X ], X [struct dirent dp; dp.d_ino = 0;], X X jm_cv_struct_dirent_d_ino=yes, X jm_cv_struct_dirent_d_ino=no) X ] X ) X if test $jm_cv_struct_dirent_d_ino = yes; then X AC_DEFINE(D_INO_IN_DIRENT, 1, X [Define if there is a member named d_ino in the struct describing X directory headers.]) X fi X ] ) # Macro to add for using GNU gettext. # Ulrich Drepper , 1995. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. X # serial 107 X AC_PREREQ(2.13) dnl Minimum Autoconf version required. X AC_DEFUN(AM_WITH_NLS, X [AC_MSG_CHECKING([whether NLS is requested]) X dnl Default is enabled NLS X AC_ARG_ENABLE(nls, X [ --disable-nls do not use Native Language Support], X USE_NLS=$enableval, USE_NLS=yes) X AC_MSG_RESULT($USE_NLS) X AC_SUBST(USE_NLS) X X USE_INCLUDED_LIBINTL=no X X dnl If we use NLS figure out what method X if test "$USE_NLS" = "yes"; then X AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if NLS is requested.]) X AC_MSG_CHECKING([whether included gettext is requested]) X AC_ARG_WITH(included-gettext, X [ --with-included-gettext use the GNU gettext library included here], X nls_cv_force_use_gnu_gettext=$withval, X nls_cv_force_use_gnu_gettext=no) X AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) X X nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" X if test "$nls_cv_force_use_gnu_gettext" != "yes"; then X dnl User does not insist on using GNU NLS library. Figure out what X dnl to use. If gettext or catgets are available (in this order) we X dnl use this. Else we have to fall back to GNU NLS library. X dnl catgets is only used if permitted by option --with-catgets. X nls_cv_header_intl= X nls_cv_header_libgt= X CATOBJEXT=NONE X X AC_CHECK_HEADER(libintl.h, X [AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc, X [AC_TRY_LINK([#include ], [return (int) gettext ("")], X gt_cv_func_gettext_libc=yes, gt_cv_func_gettext_libc=no)]) X X if test "$gt_cv_func_gettext_libc" != "yes"; then X AC_CHECK_LIB(intl, bindtextdomain, X [AC_CHECK_LIB(intl, gettext)]) X fi X X if test "$gt_cv_func_gettext_libc" = "yes" \ X || test "$ac_cv_lib_intl_gettext" = "yes"; then X AC_DEFINE(HAVE_GETTEXT, 1, X [Define to 1 if you have gettext and don't want to use GNU gettext.]) X AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl X if test "$MSGFMT" != "no"; then X AC_CHECK_FUNCS(dcgettext) X AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) X AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) X AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; X return _nl_msg_cat_cntr], X [CATOBJEXT=.gmo X DATADIRNAME=share], X [CATOBJEXT=.mo X DATADIRNAME=lib]) X INSTOBJEXT=.mo X fi X fi X ]) X X if test "$CATOBJEXT" = "NONE"; then X AC_MSG_CHECKING([whether catgets can be used]) X AC_ARG_WITH(catgets, X [ --with-catgets use catgets functions if available], X nls_cv_use_catgets=$withval, nls_cv_use_catgets=no) X AC_MSG_RESULT($nls_cv_use_catgets) X X if test "$nls_cv_use_catgets" = "yes"; then X dnl No gettext in C library. Try catgets next. X AC_CHECK_LIB(i, main) X AC_CHECK_FUNC(catgets, X [AC_DEFINE(HAVE_CATGETS, 1, X [Define as 1 if you have catgets and don't want to use GNU gettext.]) X INTLOBJS="\$(CATOBJS)" X AC_PATH_PROG(GENCAT, gencat, no)dnl X if test "$GENCAT" != "no"; then X AC_PATH_PROG(GMSGFMT, gmsgfmt, no) X if test "$GMSGFMT" = "no"; then X AM_PATH_PROG_WITH_TEST(GMSGFMT, msgfmt, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no) X fi X AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) X USE_INCLUDED_LIBINTL=yes X CATOBJEXT=.cat X INSTOBJEXT=.cat X DATADIRNAME=lib X INTLDEPS='$(top_builddir)/intl/libintl.a' X INTLLIBS=$INTLDEPS X LIBS=`echo $LIBS | sed -e 's/-lintl//'` X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi]) X fi X fi X X if test "$CATOBJEXT" = "NONE"; then X dnl Neither gettext nor catgets in included in the C library. X dnl Fall back on GNU gettext library. X nls_cv_use_gnu_gettext=yes X fi X fi X X if test "$nls_cv_use_gnu_gettext" = "yes"; then X dnl Mark actions used to generate GNU NLS library. X INTLOBJS="\$(GETTOBJS)" X AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt) X AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) X AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) X AC_SUBST(MSGFMT) X USE_INCLUDED_LIBINTL=yes X CATOBJEXT=.gmo X INSTOBJEXT=.mo X DATADIRNAME=share X INTLDEPS='$(top_builddir)/intl/libintl.a' X INTLLIBS=$INTLDEPS X LIBS=`echo $LIBS | sed -e 's/-lintl//'` X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi X X dnl Test whether we really found GNU xgettext. X if test "$XGETTEXT" != ":"; then X dnl If it is no GNU xgettext we define it as : so that the X dnl Makefiles still can work. X if $XGETTEXT --omit-header /dev/null 2> /dev/null; then X : ; X else X AC_MSG_RESULT( X [found xgettext program is not GNU xgettext; ignore it]) X XGETTEXT=":" X fi X fi X X # We need to process the po/ directory. X POSUB=po X else X DATADIRNAME=share X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi X if test -z "$nls_cv_header_intl"; then X # Clean out junk possibly left behind by a previous configuration. X rm -f intl/libintl.h X fi X AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl) X AC_OUTPUT_COMMANDS( X [case "$CONFIG_FILES" in *po/Makefile.in*) X sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile X esac]) X X X # If this is used in GNU gettext we have to set USE_NLS to `yes' X # because some of the sources are only built for this goal. X if test "$PACKAGE" = gettext; then X USE_NLS=yes X USE_INCLUDED_LIBINTL=yes X fi X X dnl These rules are solely for the distribution goal. While doing this X dnl we only have to keep exactly one list of the available catalogs X dnl in configure.in. X for lang in $ALL_LINGUAS; do X GMOFILES="$GMOFILES $lang.gmo" X POFILES="$POFILES $lang.po" X done X X dnl Make all variables we use known to autoconf. X AC_SUBST(USE_INCLUDED_LIBINTL) X AC_SUBST(CATALOGS) X AC_SUBST(CATOBJEXT) X AC_SUBST(DATADIRNAME) X AC_SUBST(GMOFILES) X AC_SUBST(INSTOBJEXT) X AC_SUBST(INTLDEPS) X AC_SUBST(INTLLIBS) X AC_SUBST(INTLOBJS) X AC_SUBST(POFILES) X AC_SUBST(POSUB) X ]) X AC_DEFUN(AM_GNU_GETTEXT, X [AC_REQUIRE([AC_PROG_MAKE_SET])dnl X AC_REQUIRE([AC_PROG_CC])dnl X AC_REQUIRE([AC_PROG_RANLIB])dnl X AC_REQUIRE([AC_ISC_POSIX])dnl X AC_REQUIRE([AC_HEADER_STDC])dnl X AC_REQUIRE([AC_C_CONST])dnl X AC_REQUIRE([AC_C_INLINE])dnl X AC_REQUIRE([AC_TYPE_OFF_T])dnl X AC_REQUIRE([AC_TYPE_SIZE_T])dnl X AC_REQUIRE([AC_FUNC_ALLOCA])dnl X AC_REQUIRE([AC_FUNC_MMAP])dnl X X AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \ unistd.h sys/param.h]) X AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \ strdup __argz_count __argz_stringify __argz_next]) X X if test "${ac_cv_func_stpcpy+set}" != "set"; then X AC_CHECK_FUNCS(stpcpy) X fi X if test "${ac_cv_func_stpcpy}" = "yes"; then X AC_DEFINE(HAVE_STPCPY, 1, [Define to 1 if you have the stpcpy function.]) X fi X X AM_LC_MESSAGES X AM_WITH_NLS X X if test "x$CATOBJEXT" != "x"; then X if test "x$ALL_LINGUAS" = "x"; then X LINGUAS= X else X AC_MSG_CHECKING(for catalogs to be installed) X NEW_LINGUAS= X for lang in ${LINGUAS=$ALL_LINGUAS}; do X case "$ALL_LINGUAS" in X *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; X esac X done X LINGUAS=$NEW_LINGUAS X AC_MSG_RESULT($LINGUAS) X fi X X dnl Construct list of names of catalog files to be constructed. X if test -n "$LINGUAS"; then X for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done X fi X fi X X dnl The reference to in the installed file X dnl must be resolved because we cannot expect the users of this X dnl to define HAVE_LOCALE_H. X if test $ac_cv_header_locale_h = yes; then X INCLUDE_LOCALE_H="#include " X else X INCLUDE_LOCALE_H="\ /* The system does not provide the header . Take care yourself. */" X fi X AC_SUBST(INCLUDE_LOCALE_H) X X dnl Determine which catalog format we have (if any is needed) X dnl For now we know about two different formats: X dnl Linux libc-5 and the normal X/Open format X test -d intl || mkdir intl X if test "$CATOBJEXT" = ".cat"; then X AC_CHECK_HEADER(linux/version.h, msgformat=linux, msgformat=xopen) X X dnl Transform the SED scripts while copying because some dumb SEDs X dnl cannot handle comments. X sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed X fi X dnl po2tbl.sed is always needed. X sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ X $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed X X dnl In the intl/Makefile.in we have a special dependency which makes X dnl only sense for gettext. We comment this out for non-gettext X dnl packages. X if test "$PACKAGE" = "gettext"; then X GT_NO="#NO#" X GT_YES= X else X GT_NO= X GT_YES="#YES#" X fi X AC_SUBST(GT_NO) X AC_SUBST(GT_YES) X X dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly X dnl find the mkinstalldirs script in another subdir but ($top_srcdir). X dnl Try to locate is. X MKINSTALLDIRS= X if test -n "$ac_aux_dir"; then X MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" X fi X if test -z "$MKINSTALLDIRS"; then X MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" X fi X AC_SUBST(MKINSTALLDIRS) X X dnl *** For now the libtool support in intl/Makefile is not for real. X l= X AC_SUBST(l) X X dnl Generate list of files to be processed by xgettext which will X dnl be included in po/Makefile. X test -d po || mkdir po X changequote(, )dnl X case "$srcdir" in X .) X posrcprefix="../" ;; X /* | [A-Za-z]:*) X posrcprefix="$srcdir/" ;; X *) X posrcprefix="../$srcdir/" ;; X esac X changequote([, ])dnl X rm -f po/POTFILES X sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ X < $srcdir/po/POTFILES.in > po/POTFILES X ]) #serial 3 X dnl From Paul Eggert. X # Define HAVE_INTTYPES_H if exists, # doesn't clash with , and declares uintmax_t. X AC_DEFUN(jm_AC_HEADER_INTTYPES_H, [ X AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h, X [AC_TRY_COMPILE( X [#include #include ], X [uintmax_t i = (uintmax_t) -1;], X jm_ac_cv_header_inttypes_h=yes, X jm_ac_cv_header_inttypes_h=no)]) X if test $jm_ac_cv_header_inttypes_h = yes; then X AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1, [Define if exists, doesn't clash with , X and declares uintmax_t. ]) X fi ]) #serial 1 dnl This test replaces the one in autoconf. dnl Currently this macro should have the same name as the autoconf macro dnl because gettext's gettext.m4 (distributed in the automake package) dnl still uses it. Otherwise, the use in gettext.m4 makes autoheader dnl give these diagnostics: dnl configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX dnl configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX X undefine([AC_ISC_POSIX]) AC_DEFUN(AC_ISC_POSIX, X [ X dnl This test replaces the obsolescent AC_ISC_POSIX kludge. X AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) X ] ) #serial 7 X dnl From Jim Meyering. dnl A wrapper around AC_FUNC_MKTIME. X AC_DEFUN(jm_FUNC_MKTIME, [AC_REQUIRE([AC_FUNC_MKTIME])dnl X X dnl mktime.c uses localtime_r if it exists. Check for it. X AC_CHECK_FUNCS(localtime_r) X X if test $ac_cv_func_working_mktime = no; then X AC_DEFINE_UNQUOTED(mktime, rpl_mktime, X [Define to rpl_mktime if the replacement function should be used.]) X fi ]) #serial 4 X dnl By default, many hosts won't let programs access large files; dnl one must use special compiler options to get large-file access to work. dnl For more details about this brain damage please see: dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html X dnl Written by Paul Eggert . X dnl Internal subroutine of AC_SYS_LARGEFILE. dnl AC_SYS_LARGEFILE_FLAGS(FLAGSNAME) AC_DEFUN(AC_SYS_LARGEFILE_FLAGS, X [AC_CACHE_CHECK([for $1 value to request large file support], X ac_cv_sys_largefile_$1, X [ac_cv_sys_largefile_$1=`($GETCONF LFS_$1) 2>/dev/null` || { X ac_cv_sys_largefile_$1=no X ifelse($1, CFLAGS, X [case "$host_os" in X # IRIX 6.2 and later require cc -n32. changequote(, )dnl X irix6.[2-9]* | irix6.1[0-9]* | irix[7-9].* | irix[1-9][0-9]*) changequote([, ])dnl X if test "$GCC" != yes; then X ac_cv_sys_largefile_CFLAGS=-n32 X fi X ac_save_CC="$CC" X CC="$CC $ac_cv_sys_largefile_CFLAGS" X AC_TRY_LINK(, , , ac_cv_sys_largefile_CFLAGS=no) X CC="$ac_save_CC" X esac]) X }])]) X dnl Internal subroutine of AC_SYS_LARGEFILE. dnl AC_SYS_LARGEFILE_SPACE_APPEND(VAR, VAL) AC_DEFUN(AC_SYS_LARGEFILE_SPACE_APPEND, X [case $2 in X no) ;; X ?*) X case "[$]$1" in X '') $1=$2 ;; X *) $1=[$]$1' '$2 ;; X esac ;; X esac]) X dnl Internal subroutine of AC_SYS_LARGEFILE. dnl AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, CACHE-VAR, COMMENT, CODE-TO-SET-DEFAULT) AC_DEFUN(AC_SYS_LARGEFILE_MACRO_VALUE, X [AC_CACHE_CHECK([for $1], $2, X [$2=no changequote(, )dnl X $4 X for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do X case "$ac_flag" in X -D$1) X $2=1 ;; X -D$1=*) X $2=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;; X esac X done changequote([, ])dnl X ]) X if test "[$]$2" != no; then X AC_DEFINE_UNQUOTED([$1], [$]$2, [$3]) X fi]) X AC_DEFUN(AC_SYS_LARGEFILE, X [AC_REQUIRE([AC_CANONICAL_HOST]) X AC_ARG_ENABLE(largefile, X [ --disable-largefile omit support for large files]) X if test "$enable_largefile" != no; then X AC_CHECK_TOOL(GETCONF, getconf) X AC_SYS_LARGEFILE_FLAGS(CFLAGS) X AC_SYS_LARGEFILE_FLAGS(LDFLAGS) X AC_SYS_LARGEFILE_FLAGS(LIBS) X X for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do X case "$ac_flag" in X no) ;; X -D_FILE_OFFSET_BITS=*) ;; X -D_LARGEFILE_SOURCE | -D_LARGEFILE_SOURCE=*) ;; X -D_LARGE_FILES | -D_LARGE_FILES=*) ;; X -D?* | -I?*) X AC_SYS_LARGEFILE_SPACE_APPEND(CPPFLAGS, "$ac_flag") ;; X *) X AC_SYS_LARGEFILE_SPACE_APPEND(CFLAGS, "$ac_flag") ;; X esac X done X AC_SYS_LARGEFILE_SPACE_APPEND(LDFLAGS, "$ac_cv_sys_largefile_LDFLAGS") X AC_SYS_LARGEFILE_SPACE_APPEND(LIBS, "$ac_cv_sys_largefile_LIBS") X AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, X ac_cv_sys_file_offset_bits, X [Number of bits in a file offset, on hosts where this is settable.] X [case "$host_os" in X # HP-UX 10.20 and later X hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*) X ac_cv_sys_file_offset_bits=64 ;; X esac]) X AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, X ac_cv_sys_largefile_source, X [Define to make fseeko etc. visible, on some hosts.], X [case "$host_os" in X # HP-UX 10.20 and later X hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*) X ac_cv_sys_largefile_source=1 ;; X esac]) X AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, X ac_cv_sys_large_files, X [Define for large files, on AIX-style hosts.], X [case "$host_os" in X # AIX 4.2 and later X aix4.[2-9]* | aix4.1[0-9]* | aix[5-9].* | aix[1-9][0-9]*) X ac_cv_sys_large_files=1 ;; X esac]) X fi X ]) # Check whether LC_MESSAGES is available in . # Ulrich Drepper , 1995. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. X # serial 2 X AC_PREREQ(2.13) dnl Minimum Autoconf version required. X AC_DEFUN(AM_LC_MESSAGES, X [if test $ac_cv_header_locale_h = yes; then X AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, X [AC_TRY_LINK([#include ], [return LC_MESSAGES], X am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) X if test $am_cv_val_LC_MESSAGES = yes; then X AC_DEFINE(HAVE_LC_MESSAGES, 1, X [Define if your locale.h file contains LC_MESSAGES.]) X fi X fi]) #serial 3 X dnl From Jim Meyering. dnl Determine whether malloc accepts 0 as its argument. dnl If it doesn't, arrange to use the replacement function. dnl X AC_DEFUN(jm_FUNC_MALLOC, [ X dnl xmalloc.c requires that this symbol be defined so it doesn't X dnl mistakenly use a broken malloc -- as it might if this test were omitted. X AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_MALLOC_CHECK, 1, X [Define if the malloc check has been performed. ]) X X AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc, X [AC_TRY_RUN([ X char *malloc (); X int X main () X { X exit (malloc (0) ? 0 : 1); X } X ], X jm_cv_func_working_malloc=yes, X jm_cv_func_working_malloc=no, X dnl When crosscompiling, assume malloc is broken. X jm_cv_func_working_malloc=no) X ]) X if test $jm_cv_func_working_malloc = no; then X AC_SUBST(LIBOBJS) X LIBOBJS="$LIBOBJS malloc.$ac_objext" X AC_DEFINE_UNQUOTED(malloc, rpl_malloc, X [Define to rpl_malloc if the replacement function should be used.]) X fi ]) #serial 1 X dnl From Paul Eggert dnl Check for a working mktime. dnl This is a preview of what should appear in the next public autoconf release. X AC_DEFUN(AC_FUNC_MKTIME, [AC_REQUIRE([AC_HEADER_TIME])dnl AC_CHECK_HEADERS(sys/time.h unistd.h) AC_CHECK_FUNCS(alarm) AC_CACHE_CHECK([for working mktime], ac_cv_func_working_mktime, [AC_TRY_RUN( changequote(<<, >>)dnl < # include X #else # if HAVE_SYS_TIME_H # include # else # include # endif #endif X #if HAVE_UNISTD_H # include #endif X #if !HAVE_ALARM # define alarm(X) /* empty */ #endif X /* Work around redefinition to rpl_putenv by other config tests. */ #undef putenv X static time_t time_t_max; X /* Values we'll use to set the TZ environment variable. */ static const char *const tz_strings[] = { X (const char *) 0, "TZ=GMT0", "TZ=JST-9", X "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" }; #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) X /* Fail if mktime fails to convert a date in the spring-forward gap. X Based on a problem report from Andreas Jaeger. */ static void spring_forward_gap () { X /* glibc (up to about 1998-10-07) failed this test) */ X struct tm tm; X X /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" X instead of "TZ=America/Vancouver" in order to detect the bug even X on systems that don't support the Olson extension, or don't have the X full zoneinfo tables installed. */ X putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); X X tm.tm_year = 98; X tm.tm_mon = 3; X tm.tm_mday = 5; X tm.tm_hour = 2; X tm.tm_min = 0; X tm.tm_sec = 0; X tm.tm_isdst = -1; X if (mktime (&tm) == (time_t)-1) X exit (1); } X static void mktime_test (now) X time_t now; { X struct tm *lt; X if ((lt = localtime (&now)) && mktime (lt) != now) X exit (1); X now = time_t_max - now; X if ((lt = localtime (&now)) && mktime (lt) != now) X exit (1); } X static void irix_6_4_bug () { X /* Based on code from Ariel Faigon. */ X struct tm tm; X tm.tm_year = 96; X tm.tm_mon = 3; X tm.tm_mday = 0; X tm.tm_hour = 0; X tm.tm_min = 0; X tm.tm_sec = 0; X tm.tm_isdst = -1; X mktime (&tm); X if (tm.tm_mon != 2 || tm.tm_mday != 31) X exit (1); } X static void bigtime_test (j) X int j; { X struct tm tm; X time_t now; X tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; X now = mktime (&tm); X if (now != (time_t) -1) X { X struct tm *lt = localtime (&now); X if (! (lt X && lt->tm_year == tm.tm_year X && lt->tm_mon == tm.tm_mon X && lt->tm_mday == tm.tm_mday X && lt->tm_hour == tm.tm_hour X && lt->tm_min == tm.tm_min X && lt->tm_sec == tm.tm_sec X && lt->tm_yday == tm.tm_yday X && lt->tm_wday == tm.tm_wday X && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) X == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) X exit (1); X } } X int main () { X time_t t, delta; X int i, j; X X /* This test makes some buggy mktime implementations loop. X Give up after 60 seconds; a mktime slower than that X isn't worth using anyway. */ X alarm (60); X X for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) X continue; X time_t_max--; X delta = time_t_max / 997; /* a suitable prime number */ X for (i = 0; i < N_STRINGS; i++) X { X if (tz_strings[i]) X putenv (tz_strings[i]); X X for (t = 0; t <= time_t_max - delta; t += delta) X mktime_test (t); X mktime_test ((time_t) 60 * 60); X mktime_test ((time_t) 60 * 60 * 24); X X for (j = 1; 0 < j; j *= 2) X bigtime_test (j); X bigtime_test (j - 1); X } X irix_6_4_bug (); X spring_forward_gap (); X exit (0); } >>, changequote([, ])dnl ac_cv_func_working_mktime=yes, ac_cv_func_working_mktime=no, ac_cv_func_working_mktime=no)]) if test $ac_cv_func_working_mktime = no; then X LIBOBJS="$LIBOBJS mktime.${ac_objext}" fi ]) # Search path for a program which passes the given test. # Ulrich Drepper , 1996. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. X # serial 1 X dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN(AM_PATH_PROG_WITH_TEST, [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in X /*) X ac_cv_path_$1="[$]$1" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in ifelse([$5], , $PATH, [$5]); do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X if [$3]; then X ac_cv_path_$1="$ac_dir/$ac_word" X break X fi X fi X done X IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl X ;; esac])dnl $1="$ac_cv_path_$1" if test -n "[$]$1"; then X AC_MSG_RESULT([$]$1) else X AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) #serial 3 X dnl From Jim Meyering. dnl Determine whether realloc works when both arguments are 0. dnl If it doesn't, arrange to use the replacement function. dnl X AC_DEFUN(jm_FUNC_REALLOC, [ X dnl xmalloc.c requires that this symbol be defined so it doesn't X dnl mistakenly use a broken realloc -- as it might if this test were omitted. X AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_REALLOC_CHECK, 1, X [Define if the realloc check has been performed. ]) X X AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc, X [AC_TRY_RUN([ X char *realloc (); X int X main () X { X exit (realloc (0, 0) ? 0 : 1); X } X ], X jm_cv_func_working_realloc=yes, X jm_cv_func_working_realloc=no, X dnl When crosscompiling, assume realloc is broken. X jm_cv_func_working_realloc=no) X ]) X if test $jm_cv_func_working_realloc = no; then X AC_SUBST(LIBOBJS) X LIBOBJS="$LIBOBJS realloc.$ac_objext" X AC_DEFINE_UNQUOTED(realloc, rpl_realloc, X [Define to rpl_realloc if the replacement function should be used.]) X fi ]) #serial 3 X dnl From Paul Eggert. X AC_PREREQ(2.13) X # Define uintmax_t to `unsigned long' or `unsigned long long' # if does not exist. X AC_DEFUN(jm_AC_TYPE_UINTMAX_T, [ X AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) X if test $jm_ac_cv_header_inttypes_h = no; then X AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) X test $ac_cv_type_unsigned_long_long = yes \ X && ac_type='unsigned long long' \ X || ac_type='unsigned long' X AC_DEFINE_UNQUOTED(uintmax_t, $ac_type, [ Define to \`unsigned long' or \`unsigned long long' X if doesn't define.]) X fi ]) #serial 1 X dnl From Paul Eggert. X AC_DEFUN(jm_AC_TYPE_UNSIGNED_LONG_LONG, [ X AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long, X [AC_TRY_COMPILE([], X [unsigned long long i = (unsigned long long) -1;], X ac_cv_type_unsigned_long_long=yes, X ac_cv_type_unsigned_long_long=no)]) X if test $ac_cv_type_unsigned_long_long = yes; then X AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1, X [Define if you have the unsigned long long type.]) X fi ]) #serial 2 X dnl From Jim Meyering X dnl Define HAVE_STRUCT_UTIMBUF if `struct utimbuf' is declared -- dnl usually in . dnl Some systems have utime.h but don't declare the struct anywhere. X AC_DEFUN(jm_STRUCT_UTIMBUF, [ X AC_CHECK_HEADERS(utime.h) X AC_REQUIRE([AC_HEADER_TIME]) X AC_CACHE_CHECK([for struct utimbuf], fu_cv_sys_struct_utimbuf, X [AC_TRY_COMPILE( X [ #ifdef TIME_WITH_SYS_TIME # include # include #else # ifdef HAVE_SYS_TIME_H # include # else # include # endif #endif #ifdef HAVE_UTIME_H # include #endif X ], X [static struct utimbuf x; x.actime = x.modtime;], X fu_cv_sys_struct_utimbuf=yes, X fu_cv_sys_struct_utimbuf=no) X ]) X X if test $fu_cv_sys_struct_utimbuf = yes; then X AC_DEFINE_UNQUOTED(HAVE_STRUCT_UTIMBUF, 1, [Define if struct utimbuf is declared -- usually in . X Some systems have utime.h but don't declare the struct anywhere. ]) X fi ]) #serial 1 X dnl From Jim Meyering dnl Replace the utime function on systems that need it. X dnl FIXME X AC_DEFUN(jm_FUNC_UTIME, [ X AC_CHECK_HEADERS(utime.h) X AC_REQUIRE([jm_STRUCT_UTIMBUF]) X AC_REQUIRE([AC_FUNC_UTIME_NULL]) X X if test $ac_cv_func_utime_null = no; then X jm_FUNC_UTIMES_NULL X AC_REPLACE_FUNCS(utime) X fi ]) #serial 3 X dnl Shamelessly cloned from acspecific.m4's AC_FUNC_UTIME_NULL, dnl then do case-insensitive s/utime/utimes/. X AC_DEFUN(jm_FUNC_UTIMES_NULL, [AC_CACHE_CHECK(whether utimes accepts a null argument, ac_cv_func_utimes_null, [rm -f conftestdata; > conftestdata AC_TRY_RUN([ /* In case stat has been defined to rpl_stat, undef it here. */ #undef stat #include #include main() { struct stat s, t; exit(!(stat ("conftestdata", &s) == 0 && utimes("conftestdata", (long *)0) == 0 && stat("conftestdata", &t) == 0 && t.st_mtime >= s.st_mtime && t.st_mtime - s.st_mtime < 120)); }], X ac_cv_func_utimes_null=yes, X ac_cv_func_utimes_null=no, X ac_cv_func_utimes_null=no) rm -f core core.* *.core]) X X if test $ac_cv_func_utimes_null = yes; then X AC_DEFINE_UNQUOTED(HAVE_UTIMES_NULL, 1, X [Define if utimes accepts a null argument]) X fi X ] ) #serial 1 X # autoconf tests required for use of xstrtoumax.c X AC_DEFUN(jm_AC_PREREQ_XSTRTOUMAX, [ X AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) X AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) X AC_CHECK_HEADERS(stdlib.h) X AC_REPLACE_FUNCS(strtoumax) X X dnl We don't need (and can't compile) the replacement strtoull X dnl unless the type `unsigned long long' exists. X dnl Also, only the replacement strtoumax invokes strtoull, X dnl so we need the replacement strtoull only if strtoumax does not exist. X case "$ac_cv_type_unsigned_long_long,$ac_cv_func_strtoumax" in X yes,no) X AC_REPLACE_FUNCS(strtoull) X ;; X esac X ]) X # Like AC_CONFIG_HEADER, but automatically create stamp file. X AC_DEFUN(AM_CONFIG_HEADER, [AC_PREREQ([2.12]) AC_CONFIG_HEADER([$1]) dnl When config.status generates a header, we must update the stamp-h file. dnl This file resides in the same directory as the config header dnl that is generated. We must strip everything past the first ":", dnl and everything past the last "/". AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>, <>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>, <>; do X case " <<$>>CONFIG_HEADERS " in X *" <<$>>am_file "*<<)>> X echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx X ;; X esac X am_indx=`expr "<<$>>am_indx" + 1` done<<>>dnl>>) changequote([,]))]) X # Do all the work for Automake. This macro actually does too much -- # some checks are only needed if your package does certain things. # But this isn't really a big deal. X # serial 1 X dnl Usage: dnl AM_INIT_AUTOMAKE(package,version, [no-define]) X AC_DEFUN(AM_INIT_AUTOMAKE, [AC_REQUIRE([AC_PROG_INSTALL]) PACKAGE=[$1] AC_SUBST(PACKAGE) VERSION=[$2] AC_SUBST(VERSION) dnl test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then X AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi ifelse([$3],, AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) AC_REQUIRE([AM_SANITY_CHECK]) AC_REQUIRE([AC_ARG_PROGRAM]) dnl FIXME This is truly gross. missing_dir=`cd $ac_aux_dir && pwd` AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AC_REQUIRE([AC_PROG_MAKE_SET])]) X # # Check to make sure that the build environment is sane. # X AC_DEFUN(AM_SANITY_CHECK, [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( X set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` X if test "[$]*" = "X"; then X # -L didn't work. X set X `ls -t $srcdir/configure conftestfile` X fi X if test "[$]*" != "X $srcdir/configure conftestfile" \ X && test "[$]*" != "X conftestfile $srcdir/configure"; then X X # If neither matched, then we have a broken ls. This can happen X # if, for instance, CONFIG_SHELL is bash and it inherits a X # broken ls alias from the environment. This has actually X # happened. Such a system could not be considered "sane". X AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) X fi X X test "[$]2" = conftestfile X ) then X # Ok. X : else X AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi rm -f conftest* AC_MSG_RESULT(yes)]) X dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) dnl The program must properly implement --version. AC_DEFUN(AM_MISSING_PROG, [AC_MSG_CHECKING(for working $2) # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if ($2 --version) < /dev/null > /dev/null 2>&1; then X $1=$2 X AC_MSG_RESULT(found) else X $1="$3/missing $2" X AC_MSG_RESULT(missing) fi AC_SUBST($1)]) X X # serial 1 X AC_DEFUN(AM_C_PROTOTYPES, [AC_REQUIRE([AM_PROG_CC_STDC]) AC_REQUIRE([AC_PROG_CPP]) AC_MSG_CHECKING([for function prototypes]) if test "$am_cv_prog_cc_stdc" != no; then X AC_MSG_RESULT(yes) X AC_DEFINE(PROTOTYPES,1,[Define if compiler has function prototypes]) X U= ANSI2KNR= else X AC_MSG_RESULT(no) X U=_ ANSI2KNR=./ansi2knr X # Ensure some checks needed by ansi2knr itself. X AC_HEADER_STDC X AC_CHECK_HEADERS(string.h) fi AC_SUBST(U)dnl AC_SUBST(ANSI2KNR)dnl ]) X X # serial 1 X AC_DEFUN(AM_WITH_DMALLOC, [AC_MSG_CHECKING(if malloc debugging is wanted) AC_ARG_WITH(dmalloc, [ --with-dmalloc use dmalloc, as in X ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz], [if test "$withval" = yes; then X AC_MSG_RESULT(yes) X AC_DEFINE(WITH_DMALLOC,1, X [Define if using the dmalloc debugging malloc package]) X LIBS="$LIBS -ldmalloc" X LDFLAGS="$LDFLAGS -g" else X AC_MSG_RESULT(no) fi], [AC_MSG_RESULT(no)]) ]) X SHAR_EOF $shar_touch -am 0707012499 'tar-1.13/aclocal.m4' && chmod 0664 'tar-1.13/aclocal.m4' || $echo 'restore of' 'tar-1.13/aclocal.m4' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/aclocal.m4:' 'MD5 check failed' c362e72943f835f2717daf64fbff2d2c tar-1.13/aclocal.m4 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/aclocal.m4'`" test 37120 -eq "$shar_count" || $echo 'tar-1.13/aclocal.m4:' 'original size' '37120,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/config.guess ============== if test -f 'tar-1.13/config.guess' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/config.guess' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/config.guess' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/config.guess' && #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. X # Written by Per Bothner . # The master version of this file is at the FSF in /home/gd/gnu/lib. # Please send patches to the Autoconf mailing list . # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit system type (host/target name). # # Only a few systems have been added to this list; please add others # (but try to keep the structure clean). # X # Use $HOST_CC if defined. $CC may point to a cross-compiler if test x"$CC_FOR_BUILD" = x; then X if test x"$HOST_CC" != x; then X CC_FOR_BUILD="$HOST_CC" X else X if test x"$CC" != x; then X CC_FOR_BUILD="$CC" X else X CC_FOR_BUILD=cc X fi X fi fi X X # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 8/24/94.) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then X PATH=$PATH:/.attbin ; export PATH fi X UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown X dummy=dummy-$$ trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15 X # Note: order is significant - the case branches are not exclusive. X case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in X alpha:OSF1:*:*) X if test $UNAME_RELEASE = "V4.0"; then X UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` X fi X # A Vn.n version is a released version. X # A Tn.n version is a released field test version. X # A Xn.n version is an unreleased experimental baselevel. X # 1.2 uses "1.2" for uname -r. X cat <$dummy.s X .globl main X .ent main main: X .frame \$30,0,\$26,0 X .prologue 0 X .long 0x47e03d80 # implver $0 X lda \$2,259 X .long 0x47e20c21 # amask $2,$1 X srl \$1,8,\$2 X sll \$2,2,\$2 X sll \$0,3,\$0 X addl \$1,\$0,\$0 X addl \$2,\$0,\$0 X ret \$31,(\$26),1 X .end main EOF X $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null X if test "$?" = 0 ; then X ./$dummy X case "$?" in X 7) X UNAME_MACHINE="alpha" X ;; X 15) X UNAME_MACHINE="alphaev5" X ;; X 14) X UNAME_MACHINE="alphaev56" X ;; X 10) X UNAME_MACHINE="alphapca56" X ;; X 16) X UNAME_MACHINE="alphaev6" X ;; X esac X fi X rm -f $dummy.s $dummy X echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]` X exit 0 ;; X 21064:Windows_NT:50:3) X echo alpha-dec-winnt3.5 X exit 0 ;; X Amiga*:UNIX_System_V:4.0:*) X echo m68k-cbm-sysv4 X exit 0;; X amiga:NetBSD:*:*) X echo m68k-cbm-netbsd${UNAME_RELEASE} X exit 0 ;; X amiga:OpenBSD:*:*) X echo m68k-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X *:[Aa]miga[Oo][Ss]:*:*) X echo ${UNAME_MACHINE}-unknown-amigaos X exit 0 ;; X arc64:OpenBSD:*:*) X echo mips64el-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X arc:OpenBSD:*:*) X echo mipsel-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X hkmips:OpenBSD:*:*) X echo mips-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X pmax:OpenBSD:*:*) X echo mipsel-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X sgi:OpenBSD:*:*) X echo mips-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X wgrisc:OpenBSD:*:*) X echo mipsel-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) X echo arm-acorn-riscix${UNAME_RELEASE} X exit 0;; X arm32:NetBSD:*:*) X echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` X exit 0 ;; X SR2?01:HI-UX/MPP:*:*) X echo hppa1.1-hitachi-hiuxmpp X exit 0;; X Pyramid*:OSx*:*:*|MIS*:OSx*:*:*|MIS*:SMP_DC-OSx*:*:*) X # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. X if test "`(/bin/universe) 2>/dev/null`" = att ; then X echo pyramid-pyramid-sysv3 X else X echo pyramid-pyramid-bsd X fi X exit 0 ;; X NILE*:*:*:dcosx) X echo pyramid-pyramid-svr4 X exit 0 ;; X sun4H:SunOS:5.*:*) X echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` X exit 0 ;; X sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) X echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` X exit 0 ;; X i86pc:SunOS:5.*:*) X echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` X exit 0 ;; X sun4*:SunOS:6*:*) X # According to config.sub, this is the proper way to canonicalize X # SunOS6. Hard to guess exactly what SunOS6 will be like, but X # it's likely to be more like Solaris than SunOS4. X echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` X exit 0 ;; X sun4*:SunOS:*:*) X case "`/usr/bin/arch -k`" in X Series*|S4*) X UNAME_RELEASE=`uname -v` X ;; X esac X # Japanese Language versions have a version number like `4.1.3-JL'. X echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` X exit 0 ;; X sun3*:SunOS:*:*) X echo m68k-sun-sunos${UNAME_RELEASE} X exit 0 ;; X sun*:*:4.2BSD:*) X UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` X test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 X case "`/bin/arch`" in X sun3) X echo m68k-sun-sunos${UNAME_RELEASE} X ;; X sun4) X echo sparc-sun-sunos${UNAME_RELEASE} X ;; X esac X exit 0 ;; X aushp:SunOS:*:*) X echo sparc-auspex-sunos${UNAME_RELEASE} X exit 0 ;; X atari*:NetBSD:*:*) X echo m68k-atari-netbsd${UNAME_RELEASE} X exit 0 ;; X atari*:OpenBSD:*:*) X echo m68k-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X # The situation for MiNT is a little confusing. The machine name X # can be virtually everything (everything which is not X # "atarist" or "atariste" at least should have a processor X # > m68000). The system name ranges from "MiNT" over "FreeMiNT" X # to the lowercase version "mint" (or "freemint"). Finally X # the system name "TOS" denotes a system which is actually not X # MiNT. But MiNT is downward compatible to TOS, so this should X # be no problem. X atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) X echo m68k-atari-mint${UNAME_RELEASE} X exit 0 ;; X atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) X echo m68k-atari-mint${UNAME_RELEASE} X exit 0 ;; X *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) X echo m68k-atari-mint${UNAME_RELEASE} X exit 0 ;; X milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) X echo m68k-milan-mint${UNAME_RELEASE} X exit 0 ;; X hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) X echo m68k-hades-mint${UNAME_RELEASE} X exit 0 ;; X *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) X echo m68k-unknown-mint${UNAME_RELEASE} X exit 0 ;; X sun3*:NetBSD:*:*) X echo m68k-sun-netbsd${UNAME_RELEASE} X exit 0 ;; X sun3*:OpenBSD:*:*) X echo m68k-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X mac68k:NetBSD:*:*) X echo m68k-apple-netbsd${UNAME_RELEASE} X exit 0 ;; X mac68k:OpenBSD:*:*) X echo m68k-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X mvme68k:OpenBSD:*:*) X echo m68k-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X mvme88k:OpenBSD:*:*) X echo m88k-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X powerpc:machten:*:*) X echo powerpc-apple-machten${UNAME_RELEASE} X exit 0 ;; X macppc:NetBSD:*:*) X echo powerpc-apple-netbsd${UNAME_RELEASE} X exit 0 ;; X RISC*:Mach:*:*) X echo mips-dec-mach_bsd4.3 X exit 0 ;; X RISC*:ULTRIX:*:*) X echo mips-dec-ultrix${UNAME_RELEASE} X exit 0 ;; X VAX*:ULTRIX*:*:*) X echo vax-dec-ultrix${UNAME_RELEASE} X exit 0 ;; X 2020:CLIX:*:* | 2430:CLIX:*:*) X echo clipper-intergraph-clix${UNAME_RELEASE} X exit 0 ;; X mips:*:*:UMIPS | mips:*:*:RISCos) X sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus X int main (int argc, char *argv[]) { #else X int main (argc, argv) int argc; char *argv[]; { #endif X #if defined (host_mips) && defined (MIPSEB) X #if defined (SYSTYPE_SYSV) X printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); X #endif X #if defined (SYSTYPE_SVR4) X printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); X #endif X #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) X printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); X #endif X #endif X exit (-1); X } EOF X $CC_FOR_BUILD $dummy.c -o $dummy \ X && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ X && rm $dummy.c $dummy && exit 0 X rm -f $dummy.c $dummy X echo mips-mips-riscos${UNAME_RELEASE} X exit 0 ;; X Night_Hawk:Power_UNIX:*:*) X echo powerpc-harris-powerunix X exit 0 ;; X m88k:CX/UX:7*:*) X echo m88k-harris-cxux7 X exit 0 ;; X m88k:*:4*:R4*) X echo m88k-motorola-sysv4 X exit 0 ;; X m88k:*:3*:R3*) X echo m88k-motorola-sysv3 X exit 0 ;; X AViiON:dgux:*:*) X # DG/UX returns AViiON for all architectures X UNAME_PROCESSOR=`/usr/bin/uname -p` X if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then X if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \ X -o ${TARGET_BINARY_INTERFACE}x = x ] ; then X echo m88k-dg-dgux${UNAME_RELEASE} X else X echo m88k-dg-dguxbcs${UNAME_RELEASE} X fi X else echo i586-dg-dgux${UNAME_RELEASE} X fi X exit 0 ;; X M88*:DolphinOS:*:*) # DolphinOS (SVR3) X echo m88k-dolphin-sysv3 X exit 0 ;; X M88*:*:R3*:*) X # Delta 88k system running SVR3 X echo m88k-motorola-sysv3 X exit 0 ;; X XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) X echo m88k-tektronix-sysv3 X exit 0 ;; X Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) X echo m68k-tektronix-bsd X exit 0 ;; X *:IRIX*:*:*) X echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` X exit 0 ;; X ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. X echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id X exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' X i?86:AIX:*:*) X echo i386-ibm-aix X exit 0 ;; X *:AIX:2:3) X if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then X sed 's/^ //' << EOF >$dummy.c X #include X X main() X { X if (!__power_pc()) X exit(1); X puts("powerpc-ibm-aix3.2.5"); X exit(0); X } EOF X $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0 X rm -f $dummy.c $dummy X echo rs6000-ibm-aix3.2.5 X elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then X echo rs6000-ibm-aix3.2.4 X else X echo rs6000-ibm-aix3.2 X fi X exit 0 ;; X *:AIX:*:4) X IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` X if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then X IBM_ARCH=rs6000 X else X IBM_ARCH=powerpc X fi X if [ -x /usr/bin/oslevel ] ; then X IBM_REV=`/usr/bin/oslevel` X else X IBM_REV=4.${UNAME_RELEASE} X fi X echo ${IBM_ARCH}-ibm-aix${IBM_REV} X exit 0 ;; X *:AIX:*:*) X echo rs6000-ibm-aix X exit 0 ;; X ibmrt:4.4BSD:*|romp-ibm:BSD:*) X echo romp-ibm-bsd4.4 X exit 0 ;; X ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and X echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to X exit 0 ;; # report: romp-ibm BSD 4.3 X *:BOSX:*:*) X echo rs6000-bull-bosx X exit 0 ;; X DPX/2?00:B.O.S.:*:*) X echo m68k-bull-sysv3 X exit 0 ;; X 9000/[34]??:4.3bsd:1.*:*) X echo m68k-hp-bsd X exit 0 ;; X hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) X echo m68k-hp-bsd4.4 X exit 0 ;; X 9000/[34678]??:HP-UX:*:*) X case "${UNAME_MACHINE}" in X 9000/31? ) HP_ARCH=m68000 ;; X 9000/[34]?? ) HP_ARCH=m68k ;; X 9000/6?? | 9000/7?? | 9000/80[024] | 9000/8?[136790] | 9000/892 ) X sed 's/^ //' << EOF >$dummy.c X #include X #include X X int main () X { X #if defined(_SC_KERNEL_BITS) X long bits = sysconf(_SC_KERNEL_BITS); X #endif X long cpu = sysconf (_SC_CPU_VERSION); X X switch (cpu) X { X case CPU_PA_RISC1_0: puts ("hppa1.0"); break; X case CPU_PA_RISC1_1: puts ("hppa1.1"); break; X case CPU_PA_RISC2_0: X #if defined(_SC_KERNEL_BITS) X switch (bits) X { X case 64: puts ("hppa2.0w"); break; X case 32: puts ("hppa2.0n"); break; X default: puts ("hppa2.0"); break; X } break; X #else /* !defined(_SC_KERNEL_BITS) */ X puts ("hppa2.0"); break; X #endif X default: puts ("hppa1.0"); break; X } X exit (0); X } EOF X ($CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` X rm -f $dummy.c $dummy X esac X HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` X echo ${HP_ARCH}-hp-hpux${HPUX_REV} X exit 0 ;; X 3050*:HI-UX:*:*) X sed 's/^ //' << EOF >$dummy.c X #include X int X main () X { X long cpu = sysconf (_SC_CPU_VERSION); X /* The order matters, because CPU_IS_HP_MC68K erroneously returns X true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct X results, however. */ X if (CPU_IS_PA_RISC (cpu)) X { X switch (cpu) X { X case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; X case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; X case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; X default: puts ("hppa-hitachi-hiuxwe2"); break; X } X } X else if (CPU_IS_HP_MC68K (cpu)) X puts ("m68k-hitachi-hiuxwe2"); X else puts ("unknown-hitachi-hiuxwe2"); X exit (0); X } EOF X $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0 X rm -f $dummy.c $dummy X echo unknown-hitachi-hiuxwe2 X exit 0 ;; X 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) X echo hppa1.1-hp-bsd X exit 0 ;; X 9000/8??:4.3bsd:*:*) X echo hppa1.0-hp-bsd X exit 0 ;; X *9??*:MPE*:*:*) X echo hppa1.0-hp-mpeix X exit 0 ;; X hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) X echo hppa1.1-hp-osf X exit 0 ;; X hp8??:OSF1:*:*) X echo hppa1.0-hp-osf X exit 0 ;; X i?86:OSF1:*:*) X if [ -x /usr/sbin/sysversion ] ; then X echo ${UNAME_MACHINE}-unknown-osf1mk X else X echo ${UNAME_MACHINE}-unknown-osf1 X fi X exit 0 ;; X parisc*:Lites*:*:*) X echo hppa1.1-hp-lites X exit 0 ;; X C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) X echo c1-convex-bsd X exit 0 ;; X C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) X if getsysinfo -f scalar_acc X then echo c32-convex-bsd X else echo c2-convex-bsd X fi X exit 0 ;; X C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) X echo c34-convex-bsd X exit 0 ;; X C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) X echo c38-convex-bsd X exit 0 ;; X C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) X echo c4-convex-bsd X exit 0 ;; X CRAY*X-MP:*:*:*) X echo xmp-cray-unicos X exit 0 ;; X CRAY*Y-MP:*:*:*) X echo ymp-cray-unicos${UNAME_RELEASE} X exit 0 ;; X CRAY*[A-Z]90:*:*:*) X echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ X | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ X -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ X exit 0 ;; X CRAY*TS:*:*:*) X echo t90-cray-unicos${UNAME_RELEASE} X exit 0 ;; X CRAY*T3E:*:*:*) X echo t3e-cray-unicosmk${UNAME_RELEASE} X exit 0 ;; X CRAY-2:*:*:*) X echo cray2-cray-unicos X exit 0 ;; X F300:UNIX_System_V:*:*) X FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'` X FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` X echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" X exit 0 ;; X F301:UNIX_System_V:*:*) X echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'` X exit 0 ;; X hp3[0-9][05]:NetBSD:*:*) X echo m68k-hp-netbsd${UNAME_RELEASE} X exit 0 ;; X hp300:OpenBSD:*:*) X echo m68k-unknown-openbsd${UNAME_RELEASE} X exit 0 ;; X sparc*:BSD/OS:*:*) X echo sparc-unknown-bsdi${UNAME_RELEASE} X exit 0 ;; X i?86:BSD/386:*:* | i?86:BSD/OS:*:*) X echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} X exit 0 ;; X *:BSD/OS:*:*) X echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} X exit 0 ;; X *:FreeBSD:*:*) X if test -x /usr/bin/objformat; then X if test "elf" = "`/usr/bin/objformat`"; then X echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'` X exit 0 X fi X fi X echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` X exit 0 ;; X *:NetBSD:*:*) X echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` X exit 0 ;; X *:OpenBSD:*:*) X echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` X exit 0 ;; X i*:CYGWIN*:*) X echo ${UNAME_MACHINE}-pc-cygwin X exit 0 ;; X i*:MINGW*:*) X echo ${UNAME_MACHINE}-pc-mingw32 X exit 0 ;; X p*:CYGWIN*:*) X echo powerpcle-unknown-cygwin X exit 0 ;; X prep*:SunOS:5.*:*) X echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` X exit 0 ;; X *:GNU:*:*) X echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` X exit 0 ;; X *:Linux:*:*) X # uname on the ARM produces all sorts of strangeness, and we need to X # filter it out. X case "$UNAME_MACHINE" in X armv*) UNAME_MACHINE=$UNAME_MACHINE ;; X arm* | sa110*) UNAME_MACHINE="arm" ;; X esac X X # The BFD linker knows what the default object file format is, so X # first see if it will tell us. cd to the root directory to prevent X # problems with other programs or directories called `ld' in the path. X ld_help_string=`cd /; ld --help 2>&1` X ld_supported_emulations=`echo $ld_help_string \ X | sed -ne '/supported emulations:/!d X s/[ ][ ]*/ /g X s/.*supported emulations: *// X s/ .*// X p'` X case "$ld_supported_emulations" in X i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;; X i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;; X sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; X armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; X m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; X elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;; X esac X X if test "${UNAME_MACHINE}" = "alpha" ; then X sed 's/^ //' <$dummy.s X .globl main X .ent main X main: X .frame \$30,0,\$26,0 X .prologue 0 X .long 0x47e03d80 # implver $0 X lda \$2,259 X .long 0x47e20c21 # amask $2,$1 X srl \$1,8,\$2 X sll \$2,2,\$2 X sll \$0,3,\$0 X addl \$1,\$0,\$0 X addl \$2,\$0,\$0 X ret \$31,(\$26),1 X .end main EOF X LIBC="" X $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null X if test "$?" = 0 ; then X ./$dummy X case "$?" in X 7) X UNAME_MACHINE="alpha" X ;; X 15) X UNAME_MACHINE="alphaev5" X ;; X 14) X UNAME_MACHINE="alphaev56" X ;; X 10) X UNAME_MACHINE="alphapca56" X ;; X 16) X UNAME_MACHINE="alphaev6" X ;; X esac X X objdump --private-headers $dummy | \ X grep ld.so.1 > /dev/null X if test "$?" = 0 ; then X LIBC="libc1" X fi X fi X rm -f $dummy.s $dummy X echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0 X elif test "${UNAME_MACHINE}" = "mips" ; then X cat >$dummy.c </dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 X rm -f $dummy.c $dummy X else X # Either a pre-BFD a.out linker (linux-gnuoldld) X # or one that does not give us useful --help. X # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout. X # If ld does not provide *any* "supported emulations:" X # that means it is gnuoldld. X echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:" X test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0 X X case "${UNAME_MACHINE}" in X i?86) X VENDOR=pc; X ;; X *) X VENDOR=unknown; X ;; X esac X # Determine whether the default compiler is a.out or elf X cat >$dummy.c < #ifdef __cplusplus X int main (int argc, char *argv[]) { #else X int main (argc, argv) int argc; char *argv[]; { #endif #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 X printf ("%s-${VENDOR}-linux-gnu\n", argv[1]); # else X printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); # endif # else X printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); # endif #else X printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]); #endif X return 0; } EOF X $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 X rm -f $dummy.c $dummy X fi ;; # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions # are messed up and put the nodename in both sysname and nodename. X i?86:DYNIX/ptx:4*:*) X echo i386-sequent-sysv4 X exit 0 ;; X i?86:UNIX_SV:4.2MP:2.*) X # Unixware is an offshoot of SVR4, but it has its own version X # number series starting with 2... X # I am not positive that other SVR4 systems won't match this, X # I just have to hope. -- rms. X # Use sysv4.2uw... so that sysv4* matches it. X echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} X exit 0 ;; X i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*) X if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then X echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE} X else X echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} X fi X exit 0 ;; X i?86:*:3.2:*) X if test -f /usr/options/cb.name; then X UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then X UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` X (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 X (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ X && UNAME_MACHINE=i586 X echo ${UNAME_MACHINE}-pc-sco$UNAME_REL X else X echo ${UNAME_MACHINE}-pc-sysv32 X fi X exit 0 ;; X i?86:UnixWare:*:*) X if /bin/uname -X 2>/dev/null >/dev/null ; then X (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ X && UNAME_MACHINE=i586 X fi X echo ${UNAME_MACHINE}-unixware-${UNAME_RELEASE}-${UNAME_VERSION} X exit 0 ;; X pc:*:*:*) X # uname -m prints for DJGPP always 'pc', but it prints nothing about X # the processor, so we play safe by assuming i386. X echo i386-pc-msdosdjgpp X exit 0 ;; X Intel:Mach:3*:*) X echo i386-pc-mach3 X exit 0 ;; X paragon:*:*:*) X echo i860-intel-osf1 X exit 0 ;; X i860:*:4.*:*) # i860-SVR4 X if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then X echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 X else # Add other i860-SVR4 vendors below as they are discovered. X echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 X fi X exit 0 ;; X mini*:CTIX:SYS*5:*) X # "miniframe" X echo m68010-convergent-sysv X exit 0 ;; X M68*:*:R3V[567]*:*) X test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; X 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) X OS_REL='' X test -r /etc/.relid \ X && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` X /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ X && echo i486-ncr-sysv4.3${OS_REL} && exit 0 X /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ X && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; X 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) X /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ X && echo i486-ncr-sysv4 && exit 0 ;; X m68*:LynxOS:2.*:*) X echo m68k-unknown-lynxos${UNAME_RELEASE} X exit 0 ;; X mc68030:UNIX_System_V:4.*:*) X echo m68k-atari-sysv4 X exit 0 ;; X i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*) X echo i386-unknown-lynxos${UNAME_RELEASE} X exit 0 ;; X TSUNAMI:LynxOS:2.*:*) X echo sparc-unknown-lynxos${UNAME_RELEASE} X exit 0 ;; X rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*) X echo rs6000-unknown-lynxos${UNAME_RELEASE} X exit 0 ;; X SM[BE]S:UNIX_SV:*:*) X echo mips-dde-sysv${UNAME_RELEASE} X exit 0 ;; X RM*:ReliantUNIX-*:*:*) X echo mips-sni-sysv4 X exit 0 ;; X RM*:SINIX-*:*:*) X echo mips-sni-sysv4 X exit 0 ;; X *:SINIX-*:*:*) X if uname -p 2>/dev/null >/dev/null ; then X UNAME_MACHINE=`(uname -p) 2>/dev/null` X echo ${UNAME_MACHINE}-sni-sysv4 X else X echo ns32k-sni-sysv X fi X exit 0 ;; X PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort X # says X echo i586-unisys-sysv4 X exit 0 ;; X *:UNIX_System_V:4*:FTX*) X # From Gerald Hewes . X # How about differentiating between stratus architectures? -djm X echo hppa1.1-stratus-sysv4 X exit 0 ;; X *:*:*:FTX*) X # From seanf@swdc.stratus.com. X echo i860-stratus-sysv4 X exit 0 ;; X mc68*:A/UX:*:*) X echo m68k-apple-aux${UNAME_RELEASE} X exit 0 ;; X news*:NEWS-OS:*:6*) X echo mips-sony-newsos6 X exit 0 ;; X R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R4000:UNIX_SV:*:*) X if [ -d /usr/nec ]; then X echo mips-nec-sysv${UNAME_RELEASE} X else X echo mips-unknown-sysv${UNAME_RELEASE} X fi X exit 0 ;; X BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. X echo powerpc-be-beos X exit 0 ;; X BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. X echo powerpc-apple-beos X exit 0 ;; X BePC:BeOS:*:*) # BeOS running on Intel PC compatible. X echo i586-pc-beos X exit 0 ;; X SX-4:SUPER-UX:*:*) X echo sx4-nec-superux${UNAME_RELEASE} X exit 0 ;; X SX-5:SUPER-UX:*:*) X echo sx5-nec-superux${UNAME_RELEASE} X exit 0 ;; X Power*:Rhapsody:*:*) X echo powerpc-apple-rhapsody${UNAME_RELEASE} X exit 0 ;; X *:Rhapsody:*:*) X echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} X exit 0 ;; esac X #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 X cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) X /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, X I don't know.... */ X printf ("mips-sony-bsd\n"); exit (0); #else #include X printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 X "4" #else X "" #endif X ); exit (0); #endif #endif X #if defined (__arm) && defined (__acorn) && defined (__unix) X printf ("arm-acorn-riscix"); exit (0); #endif X #if defined (hp300) && !defined (hpux) X printf ("m68k-hp-bsd\n"); exit (0); #endif X #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif X int version; X version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; X if (version < 4) X printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); X else X printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); X exit (0); #endif X #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) X printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) X printf ("ns32k-encore-mach\n"); exit (0); #else X printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif X #if defined (__386BSD__) X printf ("i386-pc-bsd\n"); exit (0); #endif X #if defined (sequent) #if defined (i386) X printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) X printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif X #if defined (_SEQUENT_) X struct utsname un; X X uname(&un); X X if (strncmp(un.version, "V2", 2) == 0) { X printf ("i386-sequent-ptx2\n"); exit (0); X } X if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ X printf ("i386-sequent-ptx1\n"); exit (0); X } X printf ("i386-sequent-ptx\n"); exit (0); X #endif X #if defined (vax) #if !defined (ultrix) X printf ("vax-dec-bsd\n"); exit (0); #else X printf ("vax-dec-ultrix\n"); exit (0); #endif #endif X #if defined (alliant) && defined (i860) X printf ("i860-alliant-bsd\n"); exit (0); #endif X X exit (1); } EOF X $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0 rm -f $dummy.c $dummy X # Apollos put the system type in the environment. X test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } X # Convex versions that predate uname can use getsysinfo(1) X if [ -x /usr/convex/getsysinfo ] then X case `getsysinfo -f cpu_type` in X c1*) X echo c1-convex-bsd X exit 0 ;; X c2*) X if getsysinfo -f scalar_acc X then echo c32-convex-bsd X else echo c2-convex-bsd X fi X exit 0 ;; X c34*) X echo c34-convex-bsd X exit 0 ;; X c38*) X echo c38-convex-bsd X exit 0 ;; X c4*) X echo c4-convex-bsd X exit 0 ;; X esac fi X #echo '(Unable to guess system type)' 1>&2 X exit 1 SHAR_EOF $shar_touch -am 0420192299 'tar-1.13/config.guess' && chmod 0444 'tar-1.13/config.guess' || $echo 'restore of' 'tar-1.13/config.guess' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/config.guess:' 'MD5 check failed' ba1c02e4530453e06dc7eecdff82c2ca tar-1.13/config.guess SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/config.guess'`" test 29612 -eq "$shar_count" || $echo 'tar-1.13/config.guess:' 'original size' '29612,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/config.h.in ============== if test -f 'tar-1.13/config.h.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/config.h.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/config.h.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/config.h.in' && /* config.h.in. Generated automatically from configure.in by autoheader. */ X /* Define if on AIX 3. X System headers sometimes define this. X We just want to avoid a redefinition error message. */ #ifndef _ALL_SOURCE #undef _ALL_SOURCE #endif X /* Define if using alloca.c. */ #undef C_ALLOCA X /* Define to empty if the keyword does not work. */ #undef const X /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. X This function is required for alloca.c support on those systems. */ #undef CRAY_STACKSEG_END X /* Define to `int' if doesn't define. */ #undef gid_t X /* Define if you have alloca, as a function or macro. */ #undef HAVE_ALLOCA X /* Define if you have and it should be used (not on Ultrix). */ #undef HAVE_ALLOCA_H X /* Define if you don't have vprintf but do have _doprnt. */ #undef HAVE_DOPRNT X /* Define if your system has a working fnmatch function. */ #undef HAVE_FNMATCH X /* Define if you have a working `mmap' system call. */ #undef HAVE_MMAP X /* Define if your struct stat has st_blksize. */ #undef HAVE_ST_BLKSIZE X /* Define if your struct stat has st_blocks. */ #undef HAVE_ST_BLOCKS X /* Define if you have the vprintf function. */ #undef HAVE_VPRINTF X /* Define as __inline if that's what the C compiler calls it. */ #undef inline X /* Define if major, minor, and makedev are declared in . */ #undef MAJOR_IN_MKDEV X /* Define if major, minor, and makedev are declared in . */ #undef MAJOR_IN_SYSMACROS X /* Define if on MINIX. */ #undef _MINIX X /* Define to `int' if doesn't define. */ #undef mode_t X /* Define to `long' if doesn't define. */ #undef off_t X /* Define to `int' if doesn't define. */ #undef pid_t X /* Define if the system does not provide POSIX.1 features except X with this defined. */ #undef _POSIX_1_SOURCE X /* Define if you need to in order for stat and other things to work. */ #undef _POSIX_SOURCE X /* Define as the return type of signal handlers (int or void). */ #undef RETSIGTYPE X /* Define to `unsigned' if doesn't define. */ #undef size_t X /* If using the C implementation of alloca, define if you know the X direction of stack growth for your system; otherwise it will be X automatically deduced at run-time. X STACK_DIRECTION > 0 => grows toward higher addresses X STACK_DIRECTION < 0 => grows toward lower addresses X STACK_DIRECTION = 0 => direction of growth unknown X */ #undef STACK_DIRECTION X /* Define if the `S_IS*' macros in do not work properly. */ #undef STAT_MACROS_BROKEN X /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS X /* Define if you can safely include both and . */ #undef TIME_WITH_SYS_TIME X /* Define to `int' if doesn't define. */ #undef uid_t X /* This is unconditionally defined for setting a GNU environment. */ #undef _GNU_SOURCE X /* Define to `int' if doesn't define. */ #undef daddr_t X /* Define to a string giving the full name of the default archive file. */ #undef DEFAULT_ARCHIVE X /* Define to a number giving the default blocking size for archives. */ #undef DEFAULT_BLOCKING X /* Define to 1 if density may be indicated by [lmh] at end of device. */ #undef DENSITY_LETTER X /* Define to a string giving the prefix of the default device, without the X part specifying the unit and density. */ #undef DEVICE_PREFIX X /* Define to 1 if you lack a 3-argument version of open, and want to X emulate it with system calls you do have. */ #undef EMUL_OPEN3 X /* Define to 1 if you have getgrgid(3). */ #undef HAVE_GETGRGID X /* Define to 1 if you have getpwuid(3). */ #undef HAVE_GETPWUID X /* Define to 1 if mknod function is available. */ #undef HAVE_MKNOD X /* Define if struct stat has a char st_fstype[] member. */ #undef HAVE_ST_FSTYPE_STRING X /* Define if `union wait' is the type of the first arg to wait functions. */ #undef HAVE_UNION_WAIT X /* Define to 1 if utime.h exists and declares struct utimbuf. */ #undef HAVE_UTIME_H X /* Define to `int' if doesn't define. */ #undef major_t X /* Define to `int' if doesn't define. */ #undef minor_t X /* Define to mt_model (v.g., for DG/UX), else to mt_type. */ #undef MTIO_CHECK_FIELD X /* Define to the full path of your rsh, if any. */ #undef REMOTE_SHELL X /* Define to `int' if doesn't define. */ #undef ssize_t X /* The number of bytes in a long long. */ #undef SIZEOF_LONG_LONG X /* The number of bytes in a unsigned long. */ #undef SIZEOF_UNSIGNED_LONG X /* Define if you have the __argz_count function. */ #undef HAVE___ARGZ_COUNT X /* Define if you have the __argz_next function. */ #undef HAVE___ARGZ_NEXT X /* Define if you have the __argz_stringify function. */ #undef HAVE___ARGZ_STRINGIFY X /* Define if you have the alarm function. */ #undef HAVE_ALARM X /* Define if you have the dcgettext function. */ #undef HAVE_DCGETTEXT X /* Define if you have the execlp function. */ #undef HAVE_EXECLP X /* Define if you have the fsync function. */ #undef HAVE_FSYNC X /* Define if you have the ftime function. */ #undef HAVE_FTIME X /* Define if you have the ftruncate function. */ #undef HAVE_FTRUNCATE X /* Define if you have the getcwd function. */ #undef HAVE_GETCWD X /* Define if you have the getpagesize function. */ #undef HAVE_GETPAGESIZE X /* Define if you have the isascii function. */ #undef HAVE_ISASCII X /* Define if you have the lchown function. */ #undef HAVE_LCHOWN X /* Define if you have the localtime_r function. */ #undef HAVE_LOCALTIME_R X /* Define if you have the memset function. */ #undef HAVE_MEMSET X /* Define if you have the mkdir function. */ #undef HAVE_MKDIR X /* Define if you have the mkfifo function. */ #undef HAVE_MKFIFO X /* Define if you have the munmap function. */ #undef HAVE_MUNMAP X /* Define if you have the nap function. */ #undef HAVE_NAP X /* Define if you have the napms function. */ #undef HAVE_NAPMS X /* Define if you have the poll function. */ #undef HAVE_POLL X /* Define if you have the putenv function. */ #undef HAVE_PUTENV X /* Define if you have the rename function. */ #undef HAVE_RENAME X /* Define if you have the rmdir function. */ #undef HAVE_RMDIR X /* Define if you have the select function. */ #undef HAVE_SELECT X /* Define if you have the setenv function. */ #undef HAVE_SETENV X /* Define if you have the setlocale function. */ #undef HAVE_SETLOCALE X /* Define if you have the stpcpy function. */ #undef HAVE_STPCPY X /* Define if you have the strcasecmp function. */ #undef HAVE_STRCASECMP X /* Define if you have the strchr function. */ #undef HAVE_STRCHR X /* Define if you have the strdup function. */ #undef HAVE_STRDUP X /* Define if you have the strerror function. */ #undef HAVE_STRERROR X /* Define if you have the strstr function. */ #undef HAVE_STRSTR X /* Define if you have the strtol function. */ #undef HAVE_STRTOL X /* Define if you have the strtoul function. */ #undef HAVE_STRTOUL X /* Define if you have the strtoull function. */ #undef HAVE_STRTOULL X /* Define if you have the strtoumax function. */ #undef HAVE_STRTOUMAX X /* Define if you have the usleep function. */ #undef HAVE_USLEEP X /* Define if you have the header file. */ #undef HAVE_ARGZ_H X /* Define if you have the header file. */ #undef HAVE_DIRENT_H X /* Define if you have the header file. */ #undef HAVE_FCNTL_H X /* Define if you have the header file. */ #undef HAVE_LIMITS_H X /* Define if you have the header file. */ #undef HAVE_LINUX_FD_H X /* Define if you have the header file. */ #undef HAVE_LOCALE_H X /* Define if you have the header file. */ #undef HAVE_MALLOC_H X /* Define if you have the header file. */ #undef HAVE_MEMORY_H X /* Define if you have the header file. */ #undef HAVE_NDIR_H X /* Define if you have the header file. */ #undef HAVE_NET_ERRNO_H X /* Define if you have the header file. */ #undef HAVE_NETDB_H X /* Define if you have the header file. */ #undef HAVE_NL_TYPES_H X /* Define if you have the header file. */ #undef HAVE_POLL_H X /* Define if you have the header file. */ #undef HAVE_SGTTY_H X /* Define if you have the header file. */ #undef HAVE_STDLIB_H X /* Define if you have the header file. */ #undef HAVE_STRING_H X /* Define if you have the header file. */ #undef HAVE_STROPTS_H X /* Define if you have the header file. */ #undef HAVE_SYS_BUF_H X /* Define if you have the header file. */ #undef HAVE_SYS_DEVICE_H X /* Define if you have the header file. */ #undef HAVE_SYS_DIR_H X /* Define if you have the header file. */ #undef HAVE_SYS_GENTAPE_H X /* Define if you have the header file. */ #undef HAVE_SYS_INET_H X /* Define if you have the header file. */ #undef HAVE_SYS_IO_TRIOCTL_H X /* Define if you have the header file. */ #undef HAVE_SYS_IOCCOM_H X /* Define if you have the header file. */ #undef HAVE_SYS_MTIO_H X /* Define if you have the header file. */ #undef HAVE_SYS_NDIR_H X /* Define if you have the header file. */ #undef HAVE_SYS_PARAM_H X /* Define if you have the header file. */ #undef HAVE_SYS_TAPE_H X /* Define if you have the header file. */ #undef HAVE_SYS_TIME_H X /* Define if you have the header file. */ #undef HAVE_SYS_TIMEB_H X /* Define if you have the header file. */ #undef HAVE_SYS_TPRINTF_H X /* Define if you have the header file. */ #undef HAVE_SYS_WAIT_H X /* Define if you have the header file. */ #undef HAVE_UNISTD_H X /* Define if you have the i library (-li). */ #undef HAVE_LIBI X /* Define if you have the intl library (-lintl). */ #undef HAVE_LIBINTL X /* Define if you have the nsl library (-lnsl). */ #undef HAVE_LIBNSL X /* Define if you have the socket library (-lsocket). */ #undef HAVE_LIBSOCKET X /* Name of package */ #undef PACKAGE X /* Version number of package */ #undef VERSION X /* Number of bits in a file offset, on hosts where this is settable. X case in X # HP-UX 10.20 and later X hpux10.2-90-9* | hpux11-9* | hpux2-90-9*) X ac_cv_sys_file_offset_bits=64 ;; X esac */ #undef _FILE_OFFSET_BITS X /* Define to make fseeko etc. visible, on some hosts. */ #undef _LARGEFILE_SOURCE X /* Define for large files, on AIX-style hosts. */ #undef _LARGE_FILES X /* Define if compiler has function prototypes */ #undef PROTOTYPES X /* Define if exists, doesn't clash with , X and declares uintmax_t. */ #undef HAVE_INTTYPES_H X /* Define if there is a member named d_ino in the struct describing X directory headers. */ #undef D_INO_IN_DIRENT X /* Define if you have the unsigned long long type. */ #undef HAVE_UNSIGNED_LONG_LONG X /* Define to `unsigned long' or `unsigned long long' X if doesn't define. */ #undef uintmax_t X /* Define if the malloc check has been performed. */ #undef HAVE_DONE_WORKING_MALLOC_CHECK X /* Define to rpl_malloc if the replacement function should be used. */ #undef malloc X /* Define to rpl_mktime if the replacement function should be used. */ #undef mktime X /* Define if the realloc check has been performed. */ #undef HAVE_DONE_WORKING_REALLOC_CHECK X /* Define to rpl_realloc if the replacement function should be used. */ #undef realloc X /* Define if using the dmalloc debugging malloc package */ #undef WITH_DMALLOC X /* Define to 1 if you have the stpcpy function. */ #undef HAVE_STPCPY X /* Define if your locale.h file contains LC_MESSAGES. */ #undef HAVE_LC_MESSAGES X /* Define to 1 if NLS is requested. */ #undef ENABLE_NLS X /* Define to 1 if you have gettext and don't want to use GNU gettext. */ #undef HAVE_GETTEXT X /* Define as 1 if you have catgets and don't want to use GNU gettext. */ #undef HAVE_CATGETS X SHAR_EOF $shar_touch -am 0702194299 'tar-1.13/config.h.in' && chmod 0664 'tar-1.13/config.h.in' || $echo 'restore of' 'tar-1.13/config.h.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/config.h.in:' 'MD5 check failed' 65df91fe74e14bcf9a1737d8e6eed51b tar-1.13/config.h.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/config.h.in'`" test 11992 -eq "$shar_count" || $echo 'tar-1.13/config.h.in:' 'original size' '11992,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/config.sub ============== if test -f 'tar-1.13/config.sub' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/config.sub' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/config.sub' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/config.sub' && #! /bin/sh # Configuration validation subroutine script, version 1.1. # Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc. # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. X # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. X # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. X # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. X # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. X if [ x$1 = x ] then X echo Configuration name missing. 1>&2 X echo "Usage: $0 CPU-MFR-OPSYS" 1>&2 X echo "or $0 ALIAS" 1>&2 X echo where ALIAS is a recognized configuration type. 1>&2 X exit 1 fi X # First pass through any local machine types. case $1 in X *local*) X echo $1 X exit 0 X ;; X *) X ;; esac X # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in X linux-gnu*) X os=-$maybe_os X basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` X ;; X *) X basic_machine=`echo $1 | sed 's/-[^-]*$//'` X if [ $basic_machine != $1 ] X then os=`echo $1 | sed 's/.*-/-/'` X else os=; fi X ;; esac X ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in X -sun*os*) X # Prevent following clause from handling this invalid input. X ;; X -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ X -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ X -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ X -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ X -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ X -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ X -apple) X os= X basic_machine=$1 X ;; X -hiux*) X os=-hiuxwe2 X ;; X -sco5) X os=sco3.2v5 X basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` X ;; X -sco4) X os=-sco3.2v4 X basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` X ;; X -sco3.2.[4-9]*) X os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` X basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` X ;; X -sco3.2v[4-9]*) X # Don't forget version if it is 3.2v4 or newer. X basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` X ;; X -sco*) X os=-sco3.2v2 X basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` X ;; X -isc) X os=-isc2.2 X basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` X ;; X -clix*) X basic_machine=clipper-intergraph X ;; X -isc*) X basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` X ;; X -lynx*) X os=-lynxos X ;; X -ptx*) X basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` X ;; X -windowsnt*) X os=`echo $os | sed -e 's/windowsnt/winnt/'` X ;; X -psos*) X os=-psos X ;; esac X # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in X # Recognize the basic CPU types without company name. X # Some are omitted here because they have special meanings below. X tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ X | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \ X | 580 | i960 | h8300 \ X | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w \ X | alpha | alphaev[4-7] | alphaev56 | alphapca5[67] \ X | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \ X | 1750a | dsp16xx | pdp11 | mips64 | mipsel | mips64el \ X | mips64orion | mips64orionel | mipstx39 | mipstx39el \ X | sparc | sparclet | sparclite | sparc64 | v850) X basic_machine=$basic_machine-unknown X ;; X # We use `pc' rather than `unknown' X # because (1) that's what they normally are, and X # (2) the word "unknown" tends to confuse beginning users. X i[34567]86) X basic_machine=$basic_machine-pc X ;; X # Object if more than one company name word. X *-*-*) X echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 X exit 1 X ;; X # Recognize the basic CPU types with company name. X vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \ X | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ X | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ X | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \ X | xmp-* | ymp-* \ X | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ X | alpha-* | alphaev[4-7]-* | alphaev56-* | alphapca5[67] \ X | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ X | clipper-* | orion-* \ X | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ X | sparc64-* | mips64-* | mipsel-* \ X | mips64el-* | mips64orion-* | mips64orionel-* \ X | mipstx39-* | mipstx39el-* \ X | f301-* | armv*-*) X ;; X # Recognize the various machine names and aliases which stand X # for a CPU type and a company and sometimes even an OS. X 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) X basic_machine=m68000-att X ;; X 3b*) X basic_machine=we32k-att X ;; X alliant | fx80) X basic_machine=fx80-alliant X ;; X altos | altos3068) X basic_machine=m68k-altos X ;; X am29k) X basic_machine=a29k-none X os=-bsd X ;; X amdahl) X basic_machine=580-amdahl X os=-sysv X ;; X amiga | amiga-*) X basic_machine=m68k-cbm X ;; X amigaos | amigados) X basic_machine=m68k-cbm X os=-amigaos X ;; X amigaunix | amix) X basic_machine=m68k-cbm X os=-sysv4 X ;; X apollo68) X basic_machine=m68k-apollo X os=-sysv X ;; X aux) X basic_machine=m68k-apple X os=-aux X ;; X balance) X basic_machine=ns32k-sequent X os=-dynix X ;; X convex-c1) X basic_machine=c1-convex X os=-bsd X ;; X convex-c2) X basic_machine=c2-convex X os=-bsd X ;; X convex-c32) X basic_machine=c32-convex X os=-bsd X ;; X convex-c34) X basic_machine=c34-convex X os=-bsd X ;; X convex-c38) X basic_machine=c38-convex X os=-bsd X ;; X cray | ymp) X basic_machine=ymp-cray X os=-unicos X ;; X cray2) X basic_machine=cray2-cray X os=-unicos X ;; X [ctj]90-cray) X basic_machine=c90-cray X os=-unicos X ;; X crds | unos) X basic_machine=m68k-crds X ;; X da30 | da30-*) X basic_machine=m68k-da30 X ;; X decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) X basic_machine=mips-dec X ;; X delta | 3300 | motorola-3300 | motorola-delta \ X | 3300-motorola | delta-motorola) X basic_machine=m68k-motorola X ;; X delta88) X basic_machine=m88k-motorola X os=-sysv3 X ;; X dpx20 | dpx20-*) X basic_machine=rs6000-bull X os=-bosx X ;; X dpx2* | dpx2*-bull) X basic_machine=m68k-bull X os=-sysv3 X ;; X ebmon29k) X basic_machine=a29k-amd X os=-ebmon X ;; X elxsi) X basic_machine=elxsi-elxsi X os=-bsd X ;; X encore | umax | mmax) X basic_machine=ns32k-encore X ;; X fx2800) X basic_machine=i860-alliant X ;; X genix) X basic_machine=ns32k-ns X ;; X gmicro) X basic_machine=tron-gmicro X os=-sysv X ;; X h3050r* | hiux*) X basic_machine=hppa1.1-hitachi X os=-hiuxwe2 X ;; X h8300hms) X basic_machine=h8300-hitachi X os=-hms X ;; X harris) X basic_machine=m88k-harris X os=-sysv3 X ;; X hp300-*) X basic_machine=m68k-hp X ;; X hp300bsd) X basic_machine=m68k-hp X os=-bsd X ;; X hp300hpux) X basic_machine=m68k-hp X os=-hpux X ;; X hp9k2[0-9][0-9] | hp9k31[0-9]) X basic_machine=m68000-hp X ;; X hp9k3[2-9][0-9]) X basic_machine=m68k-hp X ;; X hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7) X basic_machine=hppa1.1-hp X ;; X hp9k8[0-9][0-9] | hp8[0-9][0-9]) X basic_machine=hppa1.0-hp X ;; X hppa-next) X os=-nextstep3 X ;; X hp3k9[0-9][0-9] | hp9[0-9][0-9]) X basic_machine=hppa1.0-hp X os=-mpeix X ;; X hp3k9[0-9][0-9] | hp9[0-9][0-9]) X basic_machine=hppa1.0-hp X os=-mpeix X ;; X i370-ibm* | ibm*) X basic_machine=i370-ibm X os=-mvs X ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? X i[34567]86v32) X basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` X os=-sysv32 X ;; X i[34567]86v4*) X basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` X os=-sysv4 X ;; X i[34567]86v) X basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` X os=-sysv X ;; X i[34567]86sol2) X basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` X os=-solaris2 X ;; X iris | iris4d) X basic_machine=mips-sgi X case $os in X -irix*) X ;; X *) X os=-irix4 X ;; X esac X ;; X isi68 | isi) X basic_machine=m68k-isi X os=-sysv X ;; X m88k-omron*) X basic_machine=m88k-omron X ;; X magnum | m3230) X basic_machine=mips-mips X os=-sysv X ;; X merlin) X basic_machine=ns32k-utek X os=-sysv X ;; X miniframe) X basic_machine=m68000-convergent X ;; X mipsel*-linux*) X basic_machine=mipsel-unknown X os=-linux-gnu X ;; X mips*-linux*) X basic_machine=mips-unknown X os=-linux-gnu X ;; X mips3*-*) X basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` X ;; X mips3*) X basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown X ;; X ncr3000) X basic_machine=i486-ncr X os=-sysv4 X ;; X netwinder) X basic_machine=armv4l-corel X os=-linux X ;; X news | news700 | news800 | news900) X basic_machine=m68k-sony X os=-newsos X ;; X news1000) X basic_machine=m68030-sony X os=-newsos X ;; X news-3600 | risc-news) X basic_machine=mips-sony X os=-newsos X ;; X next | m*-next ) X basic_machine=m68k-next X case $os in X -nextstep* ) X ;; X -ns2*) X os=-nextstep2 X ;; X *) X os=-nextstep3 X ;; X esac X ;; X nh3000) X basic_machine=m68k-harris X os=-cxux X ;; X nh[45]000) X basic_machine=m88k-harris X os=-cxux X ;; X nindy960) X basic_machine=i960-intel X os=-nindy X ;; X np1) X basic_machine=np1-gould X ;; X pa-hitachi) X basic_machine=hppa1.1-hitachi X os=-hiuxwe2 X ;; X paragon) X basic_machine=i860-intel X os=-osf X ;; X pbd) X basic_machine=sparc-tti X ;; X pbb) X basic_machine=m68k-tti X ;; X pc532 | pc532-*) X basic_machine=ns32k-pc532 X ;; X pentium | p5 | k5 | k6 | nexen) X basic_machine=i586-pc X ;; X pentiumpro | p6 | 6x86) X basic_machine=i686-pc X ;; X pentiumii | pentium2) X basic_machine=i786-pc X ;; X pentium-* | p5-* | k5-* | k6-* | nexen-*) X basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` X ;; X pentiumpro-* | p6-* | 6x86-*) X basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` X ;; X pentiumii-* | pentium2-*) X basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` X ;; X pn) X basic_machine=pn-gould X ;; X power) basic_machine=rs6000-ibm X ;; X ppc) basic_machine=powerpc-unknown X ;; X ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` X ;; X ppcle | powerpclittle | ppc-le | powerpc-little) X basic_machine=powerpcle-unknown X ;; X ppcle-* | powerpclittle-*) X basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` X ;; X ps2) X basic_machine=i386-ibm X ;; X rm[46]00) X basic_machine=mips-siemens X ;; X rtpc | rtpc-*) X basic_machine=romp-ibm X ;; X sequent) X basic_machine=i386-sequent X ;; X sh) X basic_machine=sh-hitachi X os=-hms X ;; X sps7) X basic_machine=m68k-bull X os=-sysv2 X ;; X spur) X basic_machine=spur-unknown X ;; X sun2) X basic_machine=m68000-sun X ;; X sun2os3) X basic_machine=m68000-sun X os=-sunos3 X ;; X sun2os4) X basic_machine=m68000-sun X os=-sunos4 X ;; X sun3os3) X basic_machine=m68k-sun X os=-sunos3 X ;; X sun3os4) X basic_machine=m68k-sun X os=-sunos4 X ;; X sun4os3) X basic_machine=sparc-sun X os=-sunos3 X ;; X sun4os4) X basic_machine=sparc-sun X os=-sunos4 X ;; X sun4sol2) X basic_machine=sparc-sun X os=-solaris2 X ;; X sun3 | sun3-*) X basic_machine=m68k-sun X ;; X sun4) X basic_machine=sparc-sun X ;; X sun386 | sun386i | roadrunner) X basic_machine=i386-sun X ;; X symmetry) X basic_machine=i386-sequent X os=-dynix X ;; X tx39) X basic_machine=mipstx39-unknown X ;; X tx39el) X basic_machine=mipstx39el-unknown X ;; X tower | tower-32) X basic_machine=m68k-ncr X ;; X udi29k) X basic_machine=a29k-amd X os=-udi X ;; X ultra3) X basic_machine=a29k-nyu X os=-sym1 X ;; X vaxv) X basic_machine=vax-dec X os=-sysv X ;; X vms) X basic_machine=vax-dec X os=-vms X ;; X vpp*|vx|vx-*) X basic_machine=f301-fujitsu X ;; X vxworks960) X basic_machine=i960-wrs X os=-vxworks X ;; X vxworks68) X basic_machine=m68k-wrs X os=-vxworks X ;; X vxworks29k) X basic_machine=a29k-wrs X os=-vxworks X ;; X xmp) X basic_machine=xmp-cray X os=-unicos X ;; X xps | xps100) X basic_machine=xps100-honeywell X ;; X *mint | *MiNT) X basic_machine=m68k-atari X os=-mint X ;; X none) X basic_machine=none-none X os=-none X ;; X # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. X mips) X if [ x$os = x-linux-gnu ]; then X basic_machine=mips-unknown X else X basic_machine=mips-mips X fi X ;; X romp) X basic_machine=romp-ibm X ;; X rs6000) X basic_machine=rs6000-ibm X ;; X vax) X basic_machine=vax-dec X ;; X pdp11) X basic_machine=pdp11-dec X ;; X we32k) X basic_machine=we32k-att X ;; X sparc) X basic_machine=sparc-sun X ;; X cydra) X basic_machine=cydra-cydrome X ;; X orion) X basic_machine=orion-highlevel X ;; X orion105) X basic_machine=clipper-highlevel X ;; X *) X echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 X exit 1 X ;; esac X # Here we canonicalize certain aliases for manufacturers. case $basic_machine in X *-digital*) X basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` X ;; X *-commodore*) X basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` X ;; X *) X ;; esac X # Decode manufacturer-specific aliases for certain operating systems. X if [ x"$os" != x"" ] then case $os in X # First match some system type aliases X # that might get confused with valid system types. X # -solaris* is a basic system type, with this one exception. X -solaris1 | -solaris1.*) X os=`echo $os | sed -e 's|solaris1|sunos4|'` X ;; X -solaris) X os=-solaris2 X ;; X -svr4*) X os=-sysv4 X ;; X -unixware*) X os=-sysv4.2uw X ;; X -gnu/linux*) X os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` X ;; X # First accept the basic system types. X # The portable systems comes first. X # Each alternative MUST END IN A *, to match a version number. X # -sysv* is not here because it comes later, after sysvr4. X -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ X | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ X | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ X | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ X | -aos* \ X | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ X | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ X | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ X | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ X | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ X | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ X | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ X | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -rhapsody* \ X | -openstep* | -mpeix* | -oskit*) X # Remember, each alternative MUST END IN *, to match a version number. X ;; X -linux*) X os=`echo $os | sed -e 's|linux|linux-gnu|'` X ;; X -sunos5*) X os=`echo $os | sed -e 's|sunos5|solaris2|'` X ;; X -sunos6*) X os=`echo $os | sed -e 's|sunos6|solaris3|'` X ;; X -osfrose*) X os=-osfrose X ;; X -osf*) X os=-osf X ;; X -utek*) X os=-bsd X ;; X -dynix*) X os=-bsd X ;; X -acis*) X os=-aos X ;; X -ctix* | -uts*) X os=-sysv X ;; X -ns2 ) X os=-nextstep2 X ;; X # Preserve the version number of sinix5. X -sinix5.*) X os=`echo $os | sed -e 's|sinix|sysv|'` X ;; X -sinix*) X os=-sysv4 X ;; X -triton*) X os=-sysv3 X ;; X -oss*) X os=-sysv3 X ;; X -svr4) X os=-sysv4 X ;; X -svr3) X os=-sysv3 X ;; X -sysvr4) X os=-sysv4 X ;; X # This must come after -sysvr4. X -sysv*) X ;; X -xenix) X os=-xenix X ;; X -*mint | -*MiNT) X os=-mint X ;; X -none) X ;; X *) X # Get rid of the `-' at the beginning of $os. X os=`echo $os | sed 's/[^-]*-//'` X echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 X exit 1 X ;; esac else X # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. X # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. X case $basic_machine in X *-acorn) X os=-riscix1.2 X ;; X arm*-corel) X os=-linux X ;; X arm*-semi) X os=-aout X ;; X pdp11-*) X os=-none X ;; X *-dec | vax-*) X os=-ultrix4.2 X ;; X m68*-apollo) X os=-domain X ;; X i386-sun) X os=-sunos4.0.2 X ;; X m68000-sun) X os=-sunos3 X # This also exists in the configure program, but was not the X # default. X # os=-sunos4 X ;; X *-tti) # must be before sparc entry or we get the wrong os. X os=-sysv3 X ;; X sparc-* | *-sun) X os=-sunos4.1.1 X ;; X *-be) X os=-beos X ;; X *-ibm) X os=-aix X ;; X *-hp) X os=-hpux X ;; X *-hitachi) X os=-hiux X ;; X i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) X os=-sysv X ;; X *-cbm) X os=-amigaos X ;; X *-dg) X os=-dgux X ;; X *-dolphin) X os=-sysv3 X ;; X m68k-ccur) X os=-rtu X ;; X m88k-omron*) X os=-luna X ;; X *-next ) X os=-nextstep X ;; X *-sequent) X os=-ptx X ;; X *-crds) X os=-unos X ;; X *-ns) X os=-genix X ;; X i370-*) X os=-mvs X ;; X *-next) X os=-nextstep3 X ;; X *-gould) X os=-sysv X ;; X *-highlevel) X os=-bsd X ;; X *-encore) X os=-bsd X ;; X *-sgi) X os=-irix X ;; X *-siemens) X os=-sysv4 X ;; X *-masscomp) X os=-rtu X ;; X f301-fujitsu) X os=-uxpv X ;; X *-atari*) X os=-mint X ;; X *) X os=-none X ;; esac fi X # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in X *-unknown) X case $os in X -riscix*) X vendor=acorn X ;; X -sunos*) X vendor=sun X ;; X -aix*) X vendor=ibm X ;; X -hpux*) X vendor=hp X ;; X -mpeix*) X vendor=hp X ;; X -mpeix*) X vendor=hp X ;; X -hiux*) X vendor=hitachi X ;; X -unos*) X vendor=crds X ;; X -dgux*) X vendor=dg X ;; X -luna*) X vendor=omron X ;; X -genix*) X vendor=ns X ;; X -mvs*) X vendor=ibm X ;; X -ptx*) X vendor=sequent X ;; X -vxsim* | -vxworks*) X vendor=wrs X ;; X -aux*) X vendor=apple X ;; X -*mint | -*MiNT) X vendor=atari X ;; X esac X basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` X ;; esac X echo $basic_machine$os SHAR_EOF $shar_touch -am 0420192299 'tar-1.13/config.sub' && chmod 0444 'tar-1.13/config.sub' || $echo 'restore of' 'tar-1.13/config.sub' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.13/config.sub:' 'MD5 check failed' 4b07b1f3926ad7c54599dcdd64d0a8aa tar-1.13/config.sub SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.13/config.sub'`" test 20453 -eq "$shar_count" || $echo 'tar-1.13/config.sub:' 'original size' '20453,' 'current size' "$shar_count!" fi fi # ============= tar-1.13/configure ============== if test -f 'tar-1.13/configure' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.13/configure' '(file already exists)' else $echo 'x -' extracting 'tar-1.13/configure' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.13/configure' && #! /bin/sh X # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. X # Defaults: ac_help= ac_default_prefix=/usr/local # Any additions from configure.in: ac_help="$ac_help X --disable-largefile omit support for large files" ac_help="$ac_help X --with-dmalloc use dmalloc, as in X ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz" ac_help="$ac_help X --disable-nls do not use Native Language Support" ac_help="$ac_help X --with-included-gettext use the GNU gettext library included here" ac_help="$ac_help X --with-catgets use catgets functions if available" X # Initialize some variables set by options. # The variables have the same names as the options, with # dashes changed to underlines. build=NONE cache_file=./config.cache exec_prefix=NONE host=NONE no_create= nonopt=NONE no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= target=NONE verbose= x_includes=NONE x_libraries=NONE bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' X # Initialize some other variables. subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. ac_max_here_lines=12 X ac_prev= for ac_option do X X # If the previous option needs an argument, assign it. X if test -n "$ac_prev"; then X eval "$ac_prev=\$ac_option" X ac_prev= X continue X fi X X case "$ac_option" in X -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; X *) ac_optarg= ;; X esac X X # Accept the important Cygnus configure options, so we can diagnose typos. X X case "$ac_option" in X X -bindir | --bindir | --bindi | --bind | --bin | --bi) X ac_prev=bindir ;; X -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) X bindir="$ac_optarg" ;; X X -build | --build | --buil | --bui | --bu) X ac_prev=build ;; X -build=* | --build=* | --buil=* | --bui=* | --bu=*) X build="$ac_optarg" ;; X X -cache-file | --cache-file | --cache-fil | --cache-fi \ X | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) X ac_prev=cache_file ;; X -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ X | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) X cache_file="$ac_optarg" ;; X X -datadir | --datadir | --datadi | --datad | --data | --dat | --da) X ac_prev=datadir ;; X -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ X | --da=*) X datadir="$ac_optarg" ;; X X -disable-* | --disable-*) X ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` X # Reject names that are not valid shell variable names. X if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then X { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } X fi X ac_feature=`echo $ac_feature| sed 's/-/_/g'` X eval "enable_${ac_feature}=no" ;; X X -enable-* | --enable-*) X ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` X # Reject names that are not valid shell variable names. X if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then X { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } X fi X ac_feature=`echo $ac_feature| sed 's/-/_/g'` X case "$ac_option" in X *=*) ;; X *) ac_optarg=yes ;; X esac X eval "enable_${ac_feature}='$ac_optarg'" ;; X X -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ X | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ X | --exec | --exe | --ex) X ac_prev=exec_prefix ;; X -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ X | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ X | --exec=* | --exe=* | --ex=*) X exec_prefix="$ac_optarg" ;; X X -gas | --gas | --ga | --g) X # Obsolete; use --with-gas. X with_gas=yes ;; X X -help | --help | --hel | --he) X # Omit some internal or obsolete options to make the list less imposing. X # This message is too long to be a string in the A/UX 3.1 sh. X cat << EOF Usage: configure [options] [host] Options: [defaults in brackets after descriptions] Configuration: X --cache-file=FILE cache test results in FILE X --help print this message X --no-create do not create output files X --quiet, --silent do not print \`checking...' messages X --version print the version of autoconf that created configure Directory and file names: X --prefix=PREFIX install architecture-independent files in PREFIX X [$ac_default_prefix] X --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX X [same as prefix] X --bindir=DIR user executables in DIR [EPREFIX/bin] X --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] X --libexecdir=DIR program executables in DIR [EPREFIX/libexec] X --datadir=DIR read-only architecture-independent data in DIR X [PREFIX/share] X --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] X --sharedstatedir=DIR modifiable architecture-independent data in DIR X [PREFIX/com] X --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] X --libdir=DIR object code libraries in DIR [EPREFIX/lib] X --includedir=DIR C header files in DIR [PREFIX/include] X --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] X --infodir=DIR info documentation in DIR [PREFIX/info] X --mandir=DIR man documentation in DIR [PREFIX/man] X --srcdir=DIR find the sources in DIR [configure dir or ..] X --program-prefix=PREFIX prepend PREFIX to installed program names X --program-suffix=SUFFIX append SUFFIX to installed program names X --program-transform-name=PROGRAM X run sed PROGRAM on installed program names EOF X cat << EOF Host type: X --build=BUILD configure for building on BUILD [BUILD=HOST] X --host=HOST configure for HOST [guessed] X --target=TARGET configure for TARGET [TARGET=HOST] Features and packages: X --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) X --enable-FEATURE[=ARG] include FEATURE [ARG=yes] X --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] X --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) X --x-includes=DIR X include files are in DIR X --x-libraries=DIR X library files are in DIR EOF X if test -n "$ac_help"; then X echo "--enable and --with options recognized:$ac_help" X fi X exit 0 ;; X X -host | --host | --hos | --ho) X ac_prev=host ;; X -host=* | --host=* | --hos=* | --ho=*) X host="$ac_optarg" ;; X X -includedir | --includedir | --includedi | --included | --include \ X | --includ | --inclu | --incl | --inc) X ac_prev=includedir ;; X -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ X | --includ=* | --inclu=* | --incl=* | --inc=*) X includedir="$ac_optarg" ;; X X -infodir | --infodir | --infodi | --infod | --info | --inf) X ac_prev=infodir ;; X -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) X infodir="$ac_optarg" ;; X X -libdir | --libdir | --libdi | --libd) X ac_prev=libdir ;; X -libdir=* | --libdir=* | --libdi=* | --libd=*) X libdir="$ac_optarg" ;; X X -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ X | --libexe | --libex | --libe) X ac_prev=libexecdir ;; X -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ X | --libexe=* | --libex=* | --libe=*) X libexecdir="$ac_optarg" ;; X X -localstatedir | --localstatedir | --localstatedi | --localstated \ X | --localstate | --localstat | --localsta | --localst \ X | --locals | --local | --loca | --loc | --lo) X ac_prev=localstatedir ;; X -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ X | --localstate=* | --localstat=* | --localsta=* | --localst=* \ X | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) X localstatedir="$ac_optarg" ;; X X -mandir | --mandir | --mandi | --mand | --man | --ma | --m) X ac_prev=mandir ;; X -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) X mandir="$ac_optarg" ;; X X -nfp | --nfp | --nf) X # Obsolete; use --without-fp. X with_fp=no ;; X X -no-create | --no-create | --no-creat | --no-crea | --no-cre \ X | --no-cr | --no-c) X no_create=yes ;; X X -no-recursion | --no-recursion | --no-recursio | --no-recursi \ X | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) X no_recursion=yes ;; X X -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ X | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ X | --oldin | --oldi | --old | --ol | --o) X ac_prev=oldincludedir ;; X -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ X | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ X | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) X oldincludedir="$ac_optarg" ;; X X -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) X ac_prev=prefix ;; X -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) X prefix="$ac_optarg" ;; X X -program-prefix | --program-prefix | --program-prefi | --program-pref \ X | --program-pre | --program-pr | --program-p) X ac_prev=program_prefix ;; X -program-prefix=* | --program-prefix=* | --program-prefi=* \ X | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) X program_prefix="$ac_optarg" ;; X X -program-suffix | --program-suffix | --program-suffi | --program-suff \ X | --program-suf | --program-su | --program-s) X ac_prev=program_suffix ;; X -program-suffix=* | --program-suffix=* | --program-suffi=* \ X | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) X program_suffix="$ac_optarg" ;; X X -program-transform-name | --program-transform-name \ X | --program-transform-nam | --program-transform-na \ X | --program-transform-n | --program-transform- \ X | --program-transform | --program-transfor \ X | --program-transfo | --program-transf \ X | --program-trans | --program-tran \ X | --progr-tra | --program-tr | --program-t) X ac_prev=program_transform_name ;; X -program-transform-name=* | --program-transform-name=* \ X | --program-transform-nam=* | --program-transform-na=* \ X | --program-transform-n=* | --program-transform-=* \ X | --program-transform=* | --program-transfor=* \ X | --program-transfo=* | --program-transf=* \ X | --program-trans=* | --program-tran=* \ X | --progr-tra=* | --program-tr=* | --program-t=*) X program_transform_name="$ac_optarg" ;; X X -q | -quiet | --quiet | --quie | --qui | --qu | --q \ X | -silent | --silent | --silen | --sile | --sil) X silent=yes ;; X X -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) X ac_prev=sbindir ;; X -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ X | --sbi=* | --sb=*) X sbindir="$ac_optarg" ;; X X -sharedstatedir | --sharedstatedir | --sharedstatedi \ X | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ X | --sharedst | --shareds | --shared | --share | --shar \ X | --sha | --sh) X ac_prev=sharedstatedir ;; X -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ X | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ X | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ X | --sha=* | --sh=*) X sharedstatedir="$ac_optarg" ;; X X -site | --site | --sit) X ac_prev=site ;; X -site=* | --site=* | --sit=*) X site="$ac_optarg" ;; X X -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) X ac_prev=srcdir ;; X -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) X srcdir="$ac_optarg" ;; X X -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ X | --syscon | --sysco | --sysc | --sys | --sy) X ac_prev=sysconfdir ;; X -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ X | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) X sysconfdir="$ac_optarg" ;; X X -target | --target | --targe | --targ | --tar | --ta | --t) X ac_prev=target ;; X -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) X target="$ac_optarg" ;; X X -v | -verbose | --verbose | --verbos | --verbo | --verb) X verbose=yes ;; X X -version | --version | --versio | --versi | --vers) X echo "configure generated by autoconf version 2.13" X exit 0 ;; X X -with-* | --with-*) X ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` X # Reject names that are not valid shell variable names. X if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then X { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } X fi X ac_package=`echo $ac_package| sed 's/-/_/g'` X case "$ac_option" in X *=*) ;; X *) ac_optarg=yes ;; X esac X eval "with_${ac_package}='$ac_optarg'" ;; X X -without-* | --without-*) X ac_package=`echo $ac_option|sed -e 's/-*without-//'` X # Reject names that are not valid shell variable names. X if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then X { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } X fi X ac_package=`echo $ac_package| sed 's/-/_/g'` X eval "with_${ac_package}=no" ;; X X --x) X # Obsolete; use --with-x. X with_x=yes ;; X X -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ X | --x-incl | --x-inc | --x-in | --x-i) X ac_prev=x_includes ;; X -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ X | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) X x_includes="$ac_optarg" ;; X X -x-libraries | --x-libraries | --x-librarie | --x-librari \ X | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) X ac_prev=x_libraries ;; X -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ X | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) X x_libraries="$ac_optarg" ;; X X -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } X ;; X X *) X if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then X echo "configure: warning: $ac_option: invalid host type" 1>&2 X fi X if test "x$nonopt" != xNONE; then X { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } X fi X nonopt="$ac_option" X ;; X X esac done X if test -n "$ac_prev"; then X { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } fi X trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 X # File descriptor usage: # 0 standard input # 1 file creation # 2 errors and warnings # 3 some systems may open it to /dev/tty # 4 used on the Kubota Titan # 6 checking for... messages and results # 5 compiler messages saved in config.log if test "$silent" = yes; then X exec 6>/dev/null else X exec 6>&1 fi exec 5>./config.log X echo "\ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. " 1>&5 X # Strip out --no-create and --no-recursion so they do not pile up. # Also quote any args containing shell metacharacters. ac_configure_args= for ac_arg do X case "$ac_arg" in X -no-create | --no-create | --no-creat | --no-crea | --no-cre \ X | --no-cr | --no-c) ;; X -no-recursion | --no-recursion | --no-recursio | --no-recursi \ X | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; X *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) X ac_configure_args="$ac_configure_args '$ac_arg'" ;; X *) ac_configure_args="$ac_configure_args $ac_arg" ;; X esac done X # NLS nuisances. # Only set these to C if already set. These must not be set unconditionally # because not all systems understand e.g. LANG=C (notably SCO). # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! # Non-C LC_CTYPE values break the ctype check. if test "${LANG+set}" = set; then LANG=C; export LANG; fi if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi X # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo > confdefs.h X # A filename unique to this package, relative to the directory that # configure is in, which we can look for to find out if srcdir is correct. ac_unique_file=src/tar.c X # Find the source files, if location was not specified. if test -z "$srcdir"; then X ac_srcdir_defaulted=yes X # Try the directory containing this script, then its parent. X ac_prog=$0 X ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` X test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. X srcdir=$ac_confdir X if test ! -r $srcdir/$ac_unique_file; then X srcdir=.. X fi else X ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then X if test "$ac_srcdir_defaulted" = yes; then X { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } X else X { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } X fi fi srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` X # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then X if test "x$prefix" != xNONE; then X CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" X else X CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" X fi fi for ac_site_file in $CONFIG_SITE; do X if test -r "$ac_site_file"; then X echo "loading site script $ac_site_file" X . "$ac_site_file" X fi done X if test -r "$cache_file"; then X echo "loading cache $cache_file" X . $cache_file else X echo "creating cache $cache_file" X > $cache_file fi X ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross X ac_exeext= ac_objext=o if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then X # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. X if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then X ac_n= ac_c=' ' ac_t=' ' X else X ac_n=-n ac_c= ac_t= X fi else X ac_n= ac_c='\c' ac_t= fi X X X X X X ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do X if test -f $ac_dir/install-sh; then X ac_aux_dir=$ac_dir X ac_install_sh="$ac_aux_dir/install-sh -c" X break X elif test -f $ac_dir/install.sh; then X ac_aux_dir=$ac_dir X ac_install_sh="$ac_aux_dir/install.sh -c" X break X fi done if test -z "$ac_aux_dir"; then X { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } fi ac_config_guess=$ac_aux_dir/config.guess ac_config_sub=$ac_aux_dir/config.sub ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. X X # Make sure we can run config.sub. if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi X echo $ac_n "checking host system type""... $ac_c" 1>&6 echo "configure:566: checking host system type" >&5 X host_alias=$host case "$host_alias" in NONE) X case $nonopt in X NONE) X if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : X else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } X fi ;; X *) host_alias=$nonopt ;; X esac ;; esac X host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$host" 1>&6 X # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 echo "configure:598: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" X for ac_dir in $PATH; do X # Account for people who put trailing slashes in PATH elements. X case "$ac_dir/" in X /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; X *) X # OSF1 and SCO ODT 3.0 have their own names for install. X # Don't use installbsd from OSF since it installs stuff as root X # by default. X for ac_prog in ginstall scoinst install; do X if test -f $ac_dir/$ac_prog; then X if test $ac_prog = install && X grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then X # AIX install. It has an incompatible calling convention. X : X else X ac_cv_path_install="$ac_dir/$ac_prog -c" X break 2 X fi X fi X done X ;; X esac X done X IFS="$ac_save_IFS" X fi X if test "${ac_cv_path_install+set}" = set; then X INSTALL="$ac_cv_path_install" X else X # As a last resort, use the slow shell script. We don't cache a X # path for INSTALL within a source directory, because that will X # break other packages using the cache if that directory is X # removed, or if the path is relative. X INSTALL="$ac_install_sh" X fi fi echo "$ac_t""$INSTALL" 1>&6 X # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' X test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' X test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' X echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 echo "configure:651: checking whether build environment is sane" >&5 # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( X set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` X if test "$*" = "X"; then X # -L didn't work. X set X `ls -t $srcdir/configure conftestfile` X fi X if test "$*" != "X $srcdir/configure conftestfile" \ X && test "$*" != "X conftestfile $srcdir/configure"; then X X # If neither matched, then we have a broken ls. This can happen X # if, for instance, CONFIG_SHELL is bash and it inherits a X # broken ls alias from the environment. This has actually X # happened. Such a system could not be considered "sane". X { echo "configure: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" 1>&2; exit 1; } X fi X X test "$2" = conftestfile X ) then X # Ok. X : else X { echo "configure: error: newly created file is older than distributed files! Check your system clock" 1>&2; exit 1; } fi rm -f conftest* echo "$ac_t""yes" 1>&6 if test "$program_transform_name" = s,x,x,; then X program_transform_name= else X # Double any \ or $. echo might interpret backslashes. X cat <<\EOF_SED > conftestsed s,\\,\\\\,g; s,\$,$$,g EOF_SED X program_transform_name="`echo $program_transform_name|sed -f conftestsed`" X rm -f conftestsed fi test "$program_prefix" != NONE && X program_transform_name="s,^,${program_prefix},; $program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && X program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" X # sed with no file args requires a program. test "$program_transform_name" = "" && program_transform_name="s,x,x," X echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo "configure:708: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftestmake <<\EOF all: X @echo 'ac_maketemp="${MAKE}"' EOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then X eval ac_cv_prog_make_${ac_make}_set=yes else X eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftestmake fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then X echo "$ac_t""yes" 1>&6 X SET_MAKE= else X echo "$ac_t""no" 1>&6 X SET_MAKE="MAKE=${MAKE-make}" fi X X PACKAGE=tar X VERSION=1.13 X if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then X { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } fi cat >> confdefs.h <> confdefs.h <&6 echo "configure:754: checking for working aclocal" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (aclocal --version) < /dev/null > /dev/null 2>&1; then X ACLOCAL=aclocal X echo "$ac_t""found" 1>&6 else X ACLOCAL="$missing_dir/missing aclocal" X echo "$ac_t""missing" 1>&6 fi X echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 echo "configure:767: checking for working autoconf" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoconf --version) < /dev/null > /dev/null 2>&1; then X AUTOCONF=autoconf X echo "$ac_t""found" 1>&6 else X AUTOCONF="$missing_dir/missing autoconf" X echo "$ac_t""missing" 1>&6 fi X echo $ac_n "checking for working automake""... $ac_c" 1>&6 echo "configure:780: checking for working automake" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (automake --version) < /dev/null > /dev/null 2>&1; then X AUTOMAKE=automake X echo "$ac_t""found" 1>&6 else X AUTOMAKE="$missing_dir/missing automake" X echo "$ac_t""missing" 1>&6 fi X echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 echo "configure:793: checking for working autoheader" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoheader --version) < /dev/null > /dev/null 2>&1; then X AUTOHEADER=autoheader X echo "$ac_t""found" 1>&6 else X AUTOHEADER="$missing_dir/missing autoheader" X echo "$ac_t""missing" 1>&6 fi X echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 echo "configure:806: checking for working makeinfo" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then X MAKEINFO=makeinfo X echo "$ac_t""found" 1>&6 else X MAKEINFO="$missing_dir/missing makeinfo" X echo "$ac_t""missing" 1>&6 fi X X cat >> confdefs.h <<\EOF #define _GNU_SOURCE 1 EOF X ALL_LINGUAS="cs de es fr it ko nl no pl pt ru sl sv" X # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:828: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test -n "$CC"; then X ac_cv_prog_CC="$CC" # Let the user override the test. else X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" X ac_dummy="$PATH" X for ac_dir in $ac_dummy; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X ac_cv_prog_CC="gcc" X break X fi X done X IFS="$ac_save_ifs" fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then X echo "$ac_t""$CC" 1>&6 else X echo "$ac_t""no" 1>&6 fi X if test -z "$CC"; then X # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:858: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test -n "$CC"; then X ac_cv_prog_CC="$CC" # Let the user override the test. else X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" X ac_prog_rejected=no X ac_dummy="$PATH" X for ac_dir in $ac_dummy; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then X ac_prog_rejected=yes X continue X fi X ac_cv_prog_CC="cc" X break X fi X done X IFS="$ac_save_ifs" if test $ac_prog_rejected = yes; then X # We found a bogon in the path, so make sure we never use it. X set dummy $ac_cv_prog_CC X shift X if test $# -gt 0; then X # We chose a different compiler from the bogus one. X # However, it has the same basename, so the bogon will be chosen X # first if we set CC to just the basename; use the full file name. X shift X set dummy "$ac_dir/$ac_word" "$@" X shift X ac_cv_prog_CC="$@" X fi fi fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then X echo "$ac_t""$CC" 1>&6 else X echo "$ac_t""no" 1>&6 fi X X if test -z "$CC"; then X case "`uname -s`" in X *win32* | *WIN32*) X # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:909: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test -n "$CC"; then X ac_cv_prog_CC="$CC" # Let the user override the test. else X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" X ac_dummy="$PATH" X for ac_dir in $ac_dummy; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X ac_cv_prog_CC="cl" X break X fi X done X IFS="$ac_save_ifs" fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then X echo "$ac_t""$CC" 1>&6 else X echo "$ac_t""no" 1>&6 fi X ;; X esac X fi X test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } fi X echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 echo "configure:941: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 X ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross X cat > conftest.$ac_ext << EOF X #line 952 "configure" #include "confdefs.h" X main(){return(0);} EOF if { (eval echo configure:957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then X ac_cv_prog_cc_works=yes X # If we can't run a trivial program, we are probably using a cross compiler. X if (./conftest; exit) 2>/dev/null; then X ac_cv_prog_cc_cross=no X else X ac_cv_prog_cc_cross=yes X fi else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X ac_cv_prog_cc_works=no fi rm -fr conftest* ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross X echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 if test $ac_cv_prog_cc_works = no; then X { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 echo "configure:983: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross X echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 echo "configure:988: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then X ac_cv_prog_gcc=yes else X ac_cv_prog_gcc=no fi fi X echo "$ac_t""$ac_cv_prog_gcc" 1>&6 X if test $ac_cv_prog_gcc = yes; then X GCC=yes else X GCC= fi X ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 echo "configure:1016: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X echo 'void f(){}' > conftest.c if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then X ac_cv_prog_cc_g=yes else X ac_cv_prog_cc_g=no fi rm -f conftest* X fi X echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 if test "$ac_test_CFLAGS" = set; then X CFLAGS="$ac_save_CFLAGS" elif test $ac_cv_prog_cc_g = yes; then X if test "$GCC" = yes; then X CFLAGS="-g -O2" X else X CFLAGS="-g" X fi else X if test "$GCC" = yes; then X CFLAGS="-O2" X else X CFLAGS= X fi fi X echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 echo "configure:1048: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then X CPP= fi if test -z "$CPP"; then if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X # This must be in double quotes, not single quotes, because CPP may get X # substituted into the Makefile and "${CC-cc}" will confuse make. X CPP="${CC-cc} -E" X # On the NeXT, cc -E runs the code through the compiler's parser, X # not just through cpp. X cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then X : else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X CPP="${CC-cc} -E -traditional-cpp" X cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then X : else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X CPP="${CC-cc} -nologo -E" X cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then X : else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X CPP=/lib/cpp fi rm -f conftest* fi rm -f conftest* fi rm -f conftest* X ac_cv_prog_CPP="$CPP" fi X CPP="$ac_cv_prog_CPP" else X ac_cv_prog_CPP="$CPP" fi echo "$ac_t""$CPP" 1>&6 X if test $ac_cv_prog_gcc = yes; then X echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 echo "configure:1129: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_pattern="Autoconf.*'x'" X cat > conftest.$ac_ext < Autoconf TIOCGETP EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "$ac_pattern" >/dev/null 2>&1; then X rm -rf conftest* X ac_cv_prog_gcc_traditional=yes else X rm -rf conftest* X ac_cv_prog_gcc_traditional=no fi rm -f conftest* X X X if test $ac_cv_prog_gcc_traditional = no; then X cat > conftest.$ac_ext < Autoconf TCGETA EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "$ac_pattern" >/dev/null 2>&1; then X rm -rf conftest* X ac_cv_prog_gcc_traditional=yes fi rm -f conftest* X X fi fi X echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 X if test $ac_cv_prog_gcc_traditional = yes; then X CC="$CC -traditional" X fi fi X echo $ac_n "checking for AIX""... $ac_c" 1>&6 echo "configure:1175: checking for AIX" >&5 cat > conftest.$ac_ext <&5 | X egrep "yes" >/dev/null 2>&1; then X rm -rf conftest* X echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF #define _ALL_SOURCE 1 EOF X else X rm -rf conftest* X echo "$ac_t""no" 1>&6 fi rm -f conftest* X X ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 echo "configure:1200: checking for minix/config.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then X rm -rf conftest* X eval "ac_cv_header_$ac_safe=yes" else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X MINIX=yes else X echo "$ac_t""no" 1>&6 MINIX= fi X if test "$MINIX" = yes; then X cat >> confdefs.h <<\EOF #define _POSIX_SOURCE 1 EOF X X cat >> confdefs.h <<\EOF #define _POSIX_1_SOURCE 2 EOF X X cat >> confdefs.h <<\EOF #define _MINIX 1 EOF X fi X echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 echo "configure:1248: checking for Cygwin environment" >&5 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X ac_cv_cygwin=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_cygwin=no fi rm -f conftest* rm -f conftest* fi X echo "$ac_t""$ac_cv_cygwin" 1>&6 CYGWIN= test "$ac_cv_cygwin" = yes && CYGWIN=yes echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 echo "configure:1281: checking for mingw32 environment" >&5 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X ac_cv_mingw32=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_mingw32=no fi rm -f conftest* rm -f conftest* fi X echo "$ac_t""$ac_cv_mingw32" 1>&6 MINGW32= test "$ac_cv_mingw32" = yes && MINGW32=yes X X echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 echo "configure:1312: checking for executable suffix" >&5 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test "$CYGWIN" = yes || test "$MINGW32" = yes; then X ac_cv_exeext=.exe else X rm -f conftest* X echo 'int main () { return 0; }' > conftest.$ac_ext X ac_cv_exeext= X if { (eval echo configure:1322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then X for file in conftest.*; do X case $file in X *.c | *.o | *.obj) ;; X *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; X esac X done X else X { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } X fi X rm -f conftest* X test x"${ac_cv_exeext}" = x && ac_cv_exeext=no fi fi X EXEEXT="" test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} echo "$ac_t""${ac_cv_exeext}" 1>&6 ac_exeext=$EXEEXT X # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1345: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test -n "$RANLIB"; then X ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" X ac_dummy="$PATH" X for ac_dir in $ac_dummy; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X ac_cv_prog_RANLIB="ranlib" X break X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" fi fi RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then X echo "$ac_t""$RANLIB" 1>&6 else X echo "$ac_t""no" 1>&6 fi X for ac_prog in 'bison -y' byacc do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1377: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test -n "$YACC"; then X ac_cv_prog_YACC="$YACC" # Let the user override the test. else X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" X ac_dummy="$PATH" X for ac_dir in $ac_dummy; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X ac_cv_prog_YACC="$ac_prog" X break X fi X done X IFS="$ac_save_ifs" fi fi YACC="$ac_cv_prog_YACC" if test -n "$YACC"; then X echo "$ac_t""$YACC" 1>&6 else X echo "$ac_t""no" 1>&6 fi X test -n "$YACC" && break done test -n "$YACC" || YACC="yacc" X echo $ac_n "checking build system type""... $ac_c" 1>&6 echo "configure:1408: checking build system type" >&5 X build_alias=$build case "$build_alias" in NONE) X case $nonopt in X NONE) build_alias=$host_alias ;; X *) build_alias=$nonopt ;; X esac ;; esac X build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$build" 1>&6 X if test $host != $build; then X ac_tool_prefix=${host_alias}- else X ac_tool_prefix= fi X X X # Check whether --enable-largefile or --disable-largefile was given. if test "${enable_largefile+set}" = set; then X enableval="$enable_largefile" X : fi X X if test "$enable_largefile" != no; then X # Extract the first word of "${ac_tool_prefix}getconf", so it can be a program name with args. set dummy ${ac_tool_prefix}getconf; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1442: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_GETCONF'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test -n "$GETCONF"; then X ac_cv_prog_GETCONF="$GETCONF" # Let the user override the test. else X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" X ac_dummy="$PATH" X for ac_dir in $ac_dummy; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X ac_cv_prog_GETCONF="${ac_tool_prefix}getconf" X break X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_prog_GETCONF" && ac_cv_prog_GETCONF="getconf" fi fi GETCONF="$ac_cv_prog_GETCONF" if test -n "$GETCONF"; then X echo "$ac_t""$GETCONF" 1>&6 else X echo "$ac_t""no" 1>&6 fi X X X X echo $ac_n "checking for CFLAGS value to request large file support""... $ac_c" 1>&6 echo "configure:1472: checking for CFLAGS value to request large file support" >&5 if eval "test \"`echo '$''{'ac_cv_sys_largefile_CFLAGS'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_cv_sys_largefile_CFLAGS=`($GETCONF LFS_CFLAGS) 2>/dev/null` || { X ac_cv_sys_largefile_CFLAGS=no X case "$host_os" in X # IRIX 6.2 and later require cc -n32. X irix6.[2-9]* | irix6.1[0-9]* | irix[7-9].* | irix[1-9][0-9]*) X if test "$GCC" != yes; then X ac_cv_sys_largefile_CFLAGS=-n32 X fi X ac_save_CC="$CC" X CC="$CC $ac_cv_sys_largefile_CFLAGS" X cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then X : else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_sys_largefile_CFLAGS=no fi rm -f conftest* X CC="$ac_save_CC" X esac X } fi X echo "$ac_t""$ac_cv_sys_largefile_CFLAGS" 1>&6 X echo $ac_n "checking for LDFLAGS value to request large file support""... $ac_c" 1>&6 echo "configure:1510: checking for LDFLAGS value to request large file support" >&5 if eval "test \"`echo '$''{'ac_cv_sys_largefile_LDFLAGS'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_cv_sys_largefile_LDFLAGS=`($GETCONF LFS_LDFLAGS) 2>/dev/null` || { X ac_cv_sys_largefile_LDFLAGS=no X X } fi X echo "$ac_t""$ac_cv_sys_largefile_LDFLAGS" 1>&6 X echo $ac_n "checking for LIBS value to request large file support""... $ac_c" 1>&6 echo "configure:1522: checking for LIBS value to request large file support" >&5 if eval "test \"`echo '$''{'ac_cv_sys_largefile_LIBS'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_cv_sys_largefile_LIBS=`($GETCONF LFS_LIBS) 2>/dev/null` || { X ac_cv_sys_largefile_LIBS=no X X } fi X echo "$ac_t""$ac_cv_sys_largefile_LIBS" 1>&6 X X for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do X case "$ac_flag" in X no) ;; X -D_FILE_OFFSET_BITS=*) ;; X -D_LARGEFILE_SOURCE | -D_LARGEFILE_SOURCE=*) ;; X -D_LARGE_FILES | -D_LARGE_FILES=*) ;; X -D?* | -I?*) X case "$ac_flag" in X no) ;; X ?*) X case "$CPPFLAGS" in X '') CPPFLAGS="$ac_flag" ;; X *) CPPFLAGS=$CPPFLAGS' '"$ac_flag" ;; X esac ;; X esac ;; X *) X case "$ac_flag" in X no) ;; X ?*) X case "$CFLAGS" in X '') CFLAGS="$ac_flag" ;; X *) CFLAGS=$CFLAGS' '"$ac_flag" ;; X esac ;; X esac ;; X esac X done X case "$ac_cv_sys_largefile_LDFLAGS" in X no) ;; X ?*) X case "$LDFLAGS" in X '') LDFLAGS="$ac_cv_sys_largefile_LDFLAGS" ;; X *) LDFLAGS=$LDFLAGS' '"$ac_cv_sys_largefile_LDFLAGS" ;; X esac ;; X esac X case "$ac_cv_sys_largefile_LIBS" in X no) ;; X ?*) X case "$LIBS" in X '') LIBS="$ac_cv_sys_largefile_LIBS" ;; X *) LIBS=$LIBS' '"$ac_cv_sys_largefile_LIBS" ;; X esac ;; X esac X echo $ac_n "checking for _FILE_OFFSET_BITS""... $ac_c" 1>&6 echo "configure:1577: checking for _FILE_OFFSET_BITS" >&5 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_cv_sys_file_offset_bits=no X X for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do X case "$ac_flag" in X -D_FILE_OFFSET_BITS) X ac_cv_sys_file_offset_bits=1 ;; X -D_FILE_OFFSET_BITS=*) X ac_cv_sys_file_offset_bits=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;; X esac X done X fi X echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6 X if test "$ac_cv_sys_file_offset_bits" != no; then X cat >> confdefs.h <&6 echo "configure:1602: checking for _LARGEFILE_SOURCE" >&5 if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_cv_sys_largefile_source=no X case "$host_os" in X # HP-UX 10.20 and later X hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*) X ac_cv_sys_largefile_source=1 ;; X esac X for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do X case "$ac_flag" in X -D_LARGEFILE_SOURCE) X ac_cv_sys_largefile_source=1 ;; X -D_LARGEFILE_SOURCE=*) X ac_cv_sys_largefile_source=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;; X esac X done X fi X echo "$ac_t""$ac_cv_sys_largefile_source" 1>&6 X if test "$ac_cv_sys_largefile_source" != no; then X cat >> confdefs.h <&6 echo "configure:1631: checking for _LARGE_FILES" >&5 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_cv_sys_large_files=no X case "$host_os" in X # AIX 4.2 and later X aix4.[2-9]* | aix4.1[0-9]* | aix[5-9].* | aix[1-9][0-9]*) X ac_cv_sys_large_files=1 ;; X esac X for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do X case "$ac_flag" in X -D_LARGE_FILES) X ac_cv_sys_large_files=1 ;; X -D_LARGE_FILES=*) X ac_cv_sys_large_files=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;; X esac X done X fi X echo "$ac_t""$ac_cv_sys_large_files" 1>&6 X if test "$ac_cv_sys_large_files" != no; then X cat >> confdefs.h <&6 echo "configure:1663: checking for strerror in -lcposix" >&5 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_save_LIBS="$LIBS" LIBS="-lcposix $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" X fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then X echo "$ac_t""yes" 1>&6 X LIBS="$LIBS -lcposix" else X echo "$ac_t""no" 1>&6 fi X X X X X X echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 echo "configure:1708: checking for ${CC-cc} option to accept ANSI C" >&5 if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X am_cv_prog_cc_stdc=no ac_save_CC="$CC" # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do X CC="$ac_save_CC $ac_arg" X cat > conftest.$ac_ext < #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) X char **p; X int i; { X return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { X char *s; X va_list v; X va_start (v,p); X s = g (p, va_arg (v,int)); X va_end (v); X return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; X int main() { X return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; X ; return 0; } EOF if { (eval echo configure:1761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X am_cv_prog_cc_stdc="$ac_arg"; break else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 fi rm -f conftest* done CC="$ac_save_CC" X fi X if test -z "$am_cv_prog_cc_stdc"; then X echo "$ac_t""none needed" 1>&6 else X echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6 fi case "x$am_cv_prog_cc_stdc" in X x|xno) ;; X *) CC="$CC $am_cv_prog_cc_stdc" ;; esac X X X echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 echo "configure:1787: checking for function prototypes" >&5 if test "$am_cv_prog_cc_stdc" != no; then X echo "$ac_t""yes" 1>&6 X cat >> confdefs.h <<\EOF #define PROTOTYPES 1 EOF X X U= ANSI2KNR= else X echo "$ac_t""no" 1>&6 X U=_ ANSI2KNR=./ansi2knr X # Ensure some checks needed by ansi2knr itself. X echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:1800: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #include #include #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then X rm -rf conftest* X ac_cv_header_stdc=yes else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_header_stdc=no fi rm -f conftest* X if test $ac_cv_header_stdc = yes; then X # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "memchr" >/dev/null 2>&1; then X : else X rm -rf conftest* X ac_cv_header_stdc=no fi rm -f conftest* X fi X if test $ac_cv_header_stdc = yes; then X # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "free" >/dev/null 2>&1; then X : else X rm -rf conftest* X ac_cv_header_stdc=no fi rm -f conftest* X fi X if test $ac_cv_header_stdc = yes; then X # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then X : else X cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } X EOF if { (eval echo configure:1880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then X : else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -fr conftest* X ac_cv_header_stdc=no fi rm -fr conftest* fi X fi fi X echo "$ac_t""$ac_cv_header_stdc" 1>&6 if test $ac_cv_header_stdc = yes; then X cat >> confdefs.h <<\EOF #define STDC_HEADERS 1 EOF X fi X X for ac_hdr in string.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1907: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then X rm -rf conftest* X eval "ac_cv_header_$ac_safe=yes" else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` X cat >> confdefs.h <&6 fi done X fi X echo $ac_n "checking for working const""... $ac_c" 1>&6 echo "configure:1946: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext <j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ X const int foo = 10; } X ; return 0; } EOF if { (eval echo configure:2000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X ac_cv_c_const=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_c_const=no fi rm -f conftest* fi X echo "$ac_t""$ac_cv_c_const" 1>&6 if test $ac_cv_c_const = no; then X cat >> confdefs.h <<\EOF #define const EOF X fi X echo $ac_n "checking for inline""... $ac_c" 1>&6 echo "configure:2021: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do X cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X ac_cv_c_inline=$ac_kw; break else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 fi rm -f conftest* done X fi X echo "$ac_t""$ac_cv_c_inline" 1>&6 case "$ac_cv_c_inline" in X inline | yes) ;; X no) cat >> confdefs.h <<\EOF #define inline EOF X ;; X *) cat >> confdefs.h <&6 echo "configure:2061: checking size of unsigned long" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test "$cross_compiling" = yes; then X ac_cv_sizeof_unsigned_long=4 else X cat > conftest.$ac_ext < main() { X FILE *f=fopen("conftestval", "w"); X if (!f) exit(1); X fprintf(f, "%d\n", sizeof(unsigned long)); X exit(0); } EOF if { (eval echo configure:2080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then X ac_cv_sizeof_unsigned_long=`cat conftestval` else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -fr conftest* X ac_cv_sizeof_unsigned_long=0 fi rm -fr conftest* fi X fi echo "$ac_t""$ac_cv_sizeof_unsigned_long" 1>&6 cat >> confdefs.h <&6 echo "configure:2100: checking size of long long" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if