--- doschk-1.1.orig/Makefile.in +++ doschk-1.1/Makefile.in @@ -29,11 +29,11 @@ DEFS = @DEFS@ LIBS = @LIBS@ -CFLAGS = -g +CFLAGS = -g -Wall -W LDFLAGS = -g -prefix = /usr/local -exec_prefix = $(prefix) +prefix = @prefix@ +exec_prefix = @exec_prefix@ bindir = $(exec_prefix)/bin datadir = $(prefix)/lib @@ -80,7 +80,7 @@ mostlyclean: clean distclean: clean - rm -f Makefile config.status + rm -f Makefile config.status config.log config.cache realclean: distclean rm -f TAGS @@ -93,7 +93,8 @@ rm -rf $(DISTNAME) install: all - $(INSTALL_PROGRAM) doschk $(bindir)/doschk + mkdir -p $(DESTDIR)$(bindir) + $(INSTALL_PROGRAM) doschk $(DESTDIR)$(bindir)/doschk uninstall: force -cd $(bindir); rm -f doschk --- doschk-1.1.orig/autoscan.log +++ doschk-1.1/autoscan.log @@ -0,0 +1,19 @@ +autoscan: warning: missing AC_CHECK_FUNCS([memset]) wanted by: + doschk.c:138 +autoscan: warning: missing AC_CHECK_FUNCS([strrchr]) wanted by: + doschk.c:149 + doschk.c:156 +autoscan: warning: missing AC_CHECK_HEADERS([stdlib.h]) wanted by: + doschk.c:54 +autoscan: warning: missing AC_CHECK_HEADERS([string.h]) wanted by: + doschk.c:53 +autoscan: warning: missing AC_FUNC_MALLOC wanted by: + doschk.c:123 +autoscan: warning: missing AC_HEADER_STDC wanted by: + doschk.c:54 + doschk.c:53 + doschk.c:138 +autoscan: warning: missing AC_PREREQ wanted by: + autoscan +autoscan: warning: missing AC_PROG_LN_S wanted by: + Makefile.in:91 --- doschk-1.1.orig/configure +++ doschk-1.1/configure @@ -1,260 +1,1089 @@ -#!/bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf. -# Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. +#! /bin/sh -# 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. - -# 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., 675 Mass Ave, Cambridge, MA 02139, USA. - -# Usage: configure [--srcdir=DIR] [--host=HOST] [--gas] [--nfp] [--no-create] -# [--prefix=PREFIX] [--exec-prefix=PREFIX] [--with-PACKAGE] [TARGET] -# Ignores all args except --srcdir, --prefix, --exec-prefix, --no-create, and -# --with-PACKAGE unless this script has special code to handle it. +# 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. +# Defaults: +ac_help= +ac_default_prefix=/usr/local +# Any additions from configure.in: + +# 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' + +# 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 -for arg +ac_prev= +for ac_option do - # Handle --exec-prefix with a space before the argument. - if test x$next_exec_prefix = xyes; then exec_prefix=$arg; next_exec_prefix= - # Handle --host with a space before the argument. - elif test x$next_host = xyes; then next_host= - # Handle --prefix with a space before the argument. - elif test x$next_prefix = xyes; then prefix=$arg; next_prefix= - # Handle --srcdir with a space before the argument. - elif test x$next_srcdir = xyes; then srcdir=$arg; next_srcdir= - else - case $arg in - # For backward compatibility, also recognize exact --exec_prefix. - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* | --exec=* | --exe=* | --ex=* | --e=*) - exec_prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;; - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- | --exec | --exe | --ex | --e) - next_exec_prefix=yes ;; - - -gas | --gas | --ga | --g) ;; - - -host=* | --host=* | --hos=* | --ho=* | --h=*) ;; - -host | --host | --hos | --ho | --h) - next_host=yes ;; - - -nfp | --nfp | --nf) ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre | --no-cr | --no-c | --no- | --no) - no_create=1 ;; - - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;; - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - next_prefix=yes ;; - - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=* | --s=*) - srcdir=`echo $arg | sed 's/[-a-z_]*=//'` ;; - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr | --s) - next_srcdir=yes ;; - - -with-* | --with-*) - package=`echo $arg|sed 's/-*with-//'` - # Delete all the valid chars; see if any are left. - if test -n "`echo $package|sed 's/[-a-zA-Z0-9_]*//g'`"; then - echo "configure: $package: invalid package name" >&2; exit 1 - fi - eval "with_`echo $package|sed s/-/_/g`=1" ;; - -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v) - verbose=yes ;; + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval "$ac_prev=\$ac_option" + ac_prev= + continue + fi + + case "$ac_option" in + -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) ac_optarg= ;; + esac - *) ;; + # Accept the important Cygnus configure options, so we can diagnose typos. + + case "$ac_option" in + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir="$ac_optarg" ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build="$ac_optarg" ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file="$ac_optarg" ;; + + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ + | --da=*) + datadir="$ac_optarg" ;; + + -disable-* | --disable-*) + ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + eval "enable_${ac_feature}=no" ;; + + -enable-* | --enable-*) + ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; + *) ac_optarg=yes ;; esac - fi + eval "enable_${ac_feature}='$ac_optarg'" ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix="$ac_optarg" ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he) + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat << EOF +Usage: configure [options] [host] +Options: [defaults in brackets after descriptions] +Configuration: + --cache-file=FILE cache test results in FILE + --help print this message + --no-create do not create output files + --quiet, --silent do not print \`checking...' messages + --version print the version of autoconf that created configure +Directory and file names: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [same as prefix] + --bindir=DIR user executables in DIR [EPREFIX/bin] + --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] + --libexecdir=DIR program executables in DIR [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data in DIR + [PREFIX/share] + --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data in DIR + [PREFIX/com] + --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] + --libdir=DIR object code libraries in DIR [EPREFIX/lib] + --includedir=DIR C header files in DIR [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] + --infodir=DIR info documentation in DIR [PREFIX/info] + --mandir=DIR man documentation in DIR [PREFIX/man] + --srcdir=DIR find the sources in DIR [configure dir or ..] + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM + run sed PROGRAM on installed program names +EOF + cat << EOF +Host type: + --build=BUILD configure for building on BUILD [BUILD=HOST] + --host=HOST configure for HOST [guessed] + --target=TARGET configure for TARGET [TARGET=HOST] +Features and packages: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --x-includes=DIR X include files are in DIR + --x-libraries=DIR X library files are in DIR +EOF + if test -n "$ac_help"; then + echo "--enable and --with options recognized:$ac_help" + fi + exit 0 ;; + + -host | --host | --hos | --ho) + ac_prev=host ;; + -host=* | --host=* | --hos=* | --ho=*) + host="$ac_optarg" ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir="$ac_optarg" ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir="$ac_optarg" ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir="$ac_optarg" ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir="$ac_optarg" ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst \ + | --locals | --local | --loca | --loc | --lo) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* \ + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) + localstatedir="$ac_optarg" ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir="$ac_optarg" ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir="$ac_optarg" ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix="$ac_optarg" ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix="$ac_optarg" ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix="$ac_optarg" ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name="$ac_optarg" ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir="$ac_optarg" ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir="$ac_optarg" ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site="$ac_optarg" ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir="$ac_optarg" ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir="$ac_optarg" ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target="$ac_optarg" ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers) + echo "configure generated by autoconf version 2.13" + exit 0 ;; + + -with-* | --with-*) + ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } + fi + ac_package=`echo $ac_package| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; + *) ac_optarg=yes ;; + esac + eval "with_${ac_package}='$ac_optarg'" ;; + + -without-* | --without-*) + ac_package=`echo $ac_option|sed -e 's/-*without-//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } + fi + ac_package=`echo $ac_package| sed 's/-/_/g'` + eval "with_${ac_package}=no" ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes="$ac_optarg" ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries="$ac_optarg" ;; + + -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } + ;; + + *) + if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then + echo "configure: warning: $ac_option: invalid host type" 1>&2 + fi + if test "x$nonopt" != xNONE; then + { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } + fi + nonopt="$ac_option" + ;; + + esac done -trap 'rm -f conftest* core; exit 1' 1 3 15 +if test -n "$ac_prev"; then + { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } +fi -rm -f conftest* -compile='${CC-cc} $CFLAGS $DEFS conftest.c -o conftest $LIBS >/dev/null 2>&1' +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +# 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 + exec 6>/dev/null +else + exec 6>&1 +fi +exec 5>./config.log + +echo "\ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. +" 1>&5 + +# 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 + case "$ac_arg" in + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c) ;; + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) + ac_configure_args="$ac_configure_args '$ac_arg'" ;; + *) ac_configure_args="$ac_configure_args $ac_arg" ;; + esac +done + +# 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 + +# 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 # 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. -unique_file=doschk.c +ac_unique_file=doschk.c # Find the source files, if location was not specified. if test -z "$srcdir"; then - srcdirdefaulted=yes - # Try the directory containing this script, then `..'. - prog=$0 - confdir=`echo $prog|sed 's%/[^/][^/]*$%%'` - test "X$confdir" = "X$prog" && confdir=. - srcdir=$confdir - if test ! -r $srcdir/$unique_file; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then its parent. + ac_prog=$0 + ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` + test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. + srcdir=$ac_confdir + if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi +else + ac_srcdir_defaulted=no +fi +if test ! -r $srcdir/$ac_unique_file; then + if test "$ac_srcdir_defaulted" = yes; then + { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } + else + { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } + fi +fi +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` + +# Prefer explicitly selected file to automatically selected ones. +if test -z "$CONFIG_SITE"; then + if test "x$prefix" != xNONE; then + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" + else + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + fi +fi +for ac_site_file in $CONFIG_SITE; do + if test -r "$ac_site_file"; then + echo "loading site script $ac_site_file" + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + echo "loading cache $cache_file" + . $cache_file +else + echo "creating cache $cache_file" + > $cache_file +fi + +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 + +ac_exeext= +ac_objext=o +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then + # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. + if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then + ac_n= ac_c=' +' ac_t=' ' + else + ac_n=-n ac_c= ac_t= + fi +else + ac_n= ac_c='\c' ac_t= +fi + + +# 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:528: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="gcc" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + echo "$ac_t""$CC" 1>&6 +else + echo "$ac_t""no" 1>&6 fi -if test ! -r $srcdir/$unique_file; then - if test x$srcdirdefaulted = xyes; then - echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2 - else - echo "configure: Can not find sources in \`${srcdir}'." 1>&2 - fi - exit 1 -fi -# Preserve a srcdir of `.' to avoid automounter screwups with pwd. -# But we can't avoid them for `..', to make subdirectories work. -case $srcdir in - .|/*|~*) ;; - *) srcdir=`cd $srcdir; pwd` ;; # Make relative path absolute. -esac if test -z "$CC"; then - # Extract the first word of `gcc', so it can be a program name with args. - set dummy gcc; word=$2 - echo checking for $word - IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:" - for dir in $PATH; do - test -z "$dir" && dir=. - if test -f $dir/$word; then - CC="gcc" + # 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:558: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_prog_rejected=no + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + break + fi + done + IFS="$ac_save_ifs" +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# -gt 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + set dummy "$ac_dir/$ac_word" "$@" + shift + ac_cv_prog_CC="$@" + fi +fi +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + echo "$ac_t""$CC" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + + if test -z "$CC"; then + case "`uname -s`" in + *win32* | *WIN32*) + # 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:609: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="cl" break fi done - IFS="$saveifs" + IFS="$ac_save_ifs" +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + echo "$ac_t""$CC" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + ;; + esac + fi + test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } fi -test -z "$CC" && CC="cc" -test -n "$CC" -a -n "$verbose" && echo " setting CC to $CC" -# Find out if we are using GNU C, under whatever name. -cat > conftest.c <&6 +echo "configure:641: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 + +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 + +cat > conftest.$ac_ext << EOF + +#line 652 "configure" +#include "confdefs.h" + +main(){return(0);} +EOF +if { (eval echo configure:657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes + # If we can't run a trivial program, we are probably using a cross compiler. + if (./conftest; exit) 2>/dev/null; then + ac_cv_prog_cc_cross=no + else + ac_cv_prog_cc_cross=yes + fi +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + 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 + +echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 +if test $ac_cv_prog_cc_works = no; then + { 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:683: 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 + +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 +echo "configure:688: checking whether we are using GNU C" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.c < conftest.out 2>&1 -if egrep yes conftest.out >/dev/null 2>&1; then - GCC=1 # For later tests. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + ac_cv_prog_gcc=yes +else + ac_cv_prog_gcc=no +fi +fi + +echo "$ac_t""$ac_cv_prog_gcc" 1>&6 + +if test $ac_cv_prog_gcc = yes; then + GCC=yes +else + GCC= +fi + +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:716: checking whether ${CC-cc} accepts -g" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + echo 'void f(){}' > conftest.c +if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then + ac_cv_prog_cc_g=yes +else + ac_cv_prog_cc_g=no fi rm -f conftest* -# Make sure to not get the incompatible SysV /etc/install and -# /usr/sbin/install, which might be in PATH before a BSD-like install, -# or the SunOS /usr/etc/install directory, or the AIX /bin/install, -# or the AFS install, which mishandles nonexistent args, or -# /usr/ucb/install on SVR4 (which tries to use the nonexistent group -# `staff'. On most BSDish systems install is in /usr/bin, not /usr/ucb -# anyway). Sigh. -if test "z${INSTALL}" = "z" ; then - echo checking for install - IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:" - for dir in $PATH; do - test -z "$dir" && dir=. - case $dir in - /etc|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;; +fi + +echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 +if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi + +ac_aux_dir= +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do + if test -f $ac_dir/install-sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f $ac_dir/install.sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + fi +done +if test -z "$ac_aux_dir"; then + { 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. + +# 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:778: checking for a BSD compatible install" >&5 +if test -z "$INSTALL"; then +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" + for ac_dir in $PATH; do + # Account for people who put trailing slashes in PATH elements. + case "$ac_dir/" in + /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; *) - if test -f $dir/installbsd; then - INSTALL="$dir/installbsd -c" # OSF1 - INSTALL_PROGRAM='$(INSTALL)' - INSTALL_DATA='$(INSTALL) -m 644' - break - fi - if test -f $dir/install; then - if grep dspmsg $dir/install >/dev/null 2>&1; then - : # AIX - else - INSTALL="$dir/install -c" - INSTALL_PROGRAM='$(INSTALL)' - INSTALL_DATA='$(INSTALL) -m 644' - break + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + if test -f $ac_dir/$ac_prog; then + if test $ac_prog = install && + grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + else + ac_cv_path_install="$ac_dir/$ac_prog -c" + break 2 + fi fi - fi + done ;; esac done - IFS="$saveifs" + IFS="$ac_save_IFS" + fi -INSTALL=${INSTALL-cp} -INSTALL_PROGRAM=${INSTALL_PROGRAM-'$(INSTALL)'} -INSTALL_DATA=${INSTALL_DATA-'$(INSTALL)'} - -if test -n "$prefix"; then - test -z "$exec_prefix" && exec_prefix='${prefix}' - prsub="s%^prefix\\([ ]*\\)=\\([ ]*\\).*$%prefix\\1=\\2$prefix%" -fi -if test -n "$exec_prefix"; then - prsub="$prsub -s%^exec_prefix\\([ ]*\\)=\\([ ]*\\).*$%\ -exec_prefix\\1=\\2$exec_prefix%" -fi -DEFS="`echo \"$DEFS\" | sed 's%[&\\\]%\\\&%g'`" - -trap 'rm -f config.status; exit 1' 1 3 15 -echo creating config.status -rm -f config.status -cat > config.status <&6 + +# 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}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +trap '' 1 2 15 +cat > confcache <<\EOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs. It is not useful on other systems. +# If it contains results you don't want to keep, you may remove or edit it. +# +# By default, configure uses ./config.cache as the cache file, +# creating it if it does not exist already. You can give configure +# the --cache-file=FILE option to use a different cache file; that is +# what configure does when it calls configure scripts in +# subdirectories, so they share the cache. +# Giving --cache-file=/dev/null disables caching, for debugging configure. +# config.status only pays attention to the cache file if you give it the +# --recheck option to rerun configure. +# +EOF +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, don't put newlines in cache variables' values. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +(set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote substitution + # turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + -e "s/'/'\\\\''/g" \ + -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' + ;; + esac >> confcache +if cmp -s $cache_file confcache; then + : +else + if test -w $cache_file; then + echo "updating cache $cache_file" + cat confcache > $cache_file + else + echo "not updating unwritable cache $cache_file" + fi +fi +rm -f confcache + +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +# Any assignment to VPATH causes Sun make to only execute +# the first set of double-colon rules, so remove it if not needed. +# If there is a colon in the path, we need to keep it. +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' +fi + +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 + +# Transform confdefs.h into DEFS. +# Protect against shell expansion while executing Makefile rules. +# Protect against Makefile macro expansion. +cat > conftest.defs <<\EOF +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g +s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g +s%\[%\\&%g +s%\]%\\&%g +s%\$%$$%g +EOF +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` +rm -f conftest.defs + + +# Without the "./", some shells look in PATH for config.status. +: ${CONFIG_STATUS=./config.status} + +echo creating $CONFIG_STATUS +rm -f $CONFIG_STATUS +cat > $CONFIG_STATUS </dev/null | sed 1q`: # -# $0 $* +# $0 $ac_configure_args +# +# Compiler output produced by configure, useful for debugging +# configure, is in ./config.log if it exists. -for arg +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" +for ac_option do - case "\$arg" in - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - exec /bin/sh $0 $* ;; - *) echo "Usage: config.status --recheck" 2>&1; exit 1 ;; + case "\$ac_option" in + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" + exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; + -version | --version | --versio | --versi | --vers | --ver | --ve | --v) + echo "$CONFIG_STATUS generated by autoconf version 2.13" + exit 0 ;; + -help | --help | --hel | --he | --h) + echo "\$ac_cs_usage"; exit 0 ;; + *) echo "\$ac_cs_usage"; exit 1 ;; esac done -trap 'rm -f Makefile; exit 1' 1 3 15 -CC='$CC' -INSTALL='$INSTALL' -INSTALL_PROGRAM='$INSTALL_PROGRAM' -INSTALL_DATA='$INSTALL_DATA' -LIBS='$LIBS' -srcdir='$srcdir' -DEFS='$DEFS' -prefix='$prefix' -exec_prefix='$exec_prefix' -prsub='$prsub' -EOF -cat >> config.status <<\EOF - -top_srcdir=$srcdir -for file in .. Makefile; do if [ "x$file" != "x.." ]; then - srcdir=$top_srcdir - # Remove last slash and all that follows it. Not all systems have dirname. - dir=`echo $file|sed 's%/[^/][^/]*$%%'` - if test "$dir" != "$file"; then - test "$top_srcdir" != . && srcdir=$top_srcdir/$dir - test ! -d $dir && mkdir $dir - fi - echo creating $file - rm -f $file - echo "# Generated automatically from `echo $file|sed 's|.*/||'`.in by configure." > $file - sed -e " -$prsub +ac_given_srcdir=$srcdir +ac_given_INSTALL="$INSTALL" + +trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +EOF +cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF +$ac_vpsub +$extrasub +s%@SHELL@%$SHELL%g +s%@CFLAGS@%$CFLAGS%g +s%@CPPFLAGS@%$CPPFLAGS%g +s%@CXXFLAGS@%$CXXFLAGS%g +s%@FFLAGS@%$FFLAGS%g +s%@DEFS@%$DEFS%g +s%@LDFLAGS@%$LDFLAGS%g +s%@LIBS@%$LIBS%g +s%@exec_prefix@%$exec_prefix%g +s%@prefix@%$prefix%g +s%@program_transform_name@%$program_transform_name%g +s%@bindir@%$bindir%g +s%@sbindir@%$sbindir%g +s%@libexecdir@%$libexecdir%g +s%@datadir@%$datadir%g +s%@sysconfdir@%$sysconfdir%g +s%@sharedstatedir@%$sharedstatedir%g +s%@localstatedir@%$localstatedir%g +s%@libdir@%$libdir%g +s%@includedir@%$includedir%g +s%@oldincludedir@%$oldincludedir%g +s%@infodir@%$infodir%g +s%@mandir@%$mandir%g s%@CC@%$CC%g -s%@INSTALL@%$INSTALL%g s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g +s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g s%@INSTALL_DATA@%$INSTALL_DATA%g -s%@LIBS@%$LIBS%g + +CEOF +EOF + +cat >> $CONFIG_STATUS <<\EOF + +# Split the substitutions into bite-sized pieces for seds with +# small command number limits, like on Digital OSF/1 and HP-UX. +ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. +ac_file=1 # Number of current file. +ac_beg=1 # First line for current file. +ac_end=$ac_max_sed_cmds # Line after last line for current file. +ac_more_lines=: +ac_sed_cmds="" +while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file + else + sed "${ac_end}q" conftest.subs > conftest.s$ac_file + fi + if test ! -s conftest.s$ac_file; then + ac_more_lines=false + rm -f conftest.s$ac_file + else + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f conftest.s$ac_file" + else + ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" + fi + ac_file=`expr $ac_file + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_cmds` + fi +done +if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat +fi +EOF + +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; + esac + + # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. + + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" + ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" + # A "../" for each directory in $ac_dir_suffix. + ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` + else + ac_dir_suffix= ac_dots= + fi + + case "$ac_given_srcdir" in + .) srcdir=. + if test -z "$ac_dots"; then top_srcdir=. + else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; + /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; + *) # Relative path. + srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" + top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + + case "$ac_given_INSTALL" in + [/$]*) INSTALL="$ac_given_INSTALL" ;; + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + esac + + echo creating "$ac_file" + rm -f "$ac_file" + configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." + case "$ac_file" in + *Makefile*) ac_comsub="1i\\ +# $configure_input" ;; + *) ac_comsub= ;; + esac + + ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` + sed -e "$ac_comsub +s%@configure_input@%$configure_input%g s%@srcdir@%$srcdir%g -s%@DEFS@%$DEFS% -" $top_srcdir/${file}.in >> $file +s%@top_srcdir@%$top_srcdir%g +s%@INSTALL@%$INSTALL%g +" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file fi; done +rm -f conftest.s* + +EOF +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF exit 0 EOF -chmod +x config.status -test -n "$no_create" || ./config.status +chmod +x $CONFIG_STATUS +rm -fr confdefs* $ac_clean_files +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 --- doschk-1.1.orig/configure.scan +++ doschk-1.1/configure.scan @@ -0,0 +1,27 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) +AC_CONFIG_SRCDIR([doschk.c]) +AC_CONFIG_HEADER([config.h]) + +# Checks for programs. +AC_PROG_CC +AC_PROG_LN_S +AC_PROG_INSTALL + +# Checks for libraries. + +# Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS([stdlib.h string.h]) + +# Checks for typedefs, structures, and compiler characteristics. + +# Checks for library functions. +AC_FUNC_MALLOC +AC_CHECK_FUNCS([memset strrchr]) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT --- doschk-1.1.orig/debian/changelog +++ doschk-1.1/debian/changelog @@ -0,0 +1,77 @@ +doschk (1.1-7) unstable; urgency=medium + + * debian/control: Orphan package. + + -- Ben Pfaff Sun, 10 Jun 2018 11:47:36 -0700 + +doschk (1.1-6) unstable; urgency=low + + * doschk.1: Use \- for minus sign. + + * debian/control: Update standards version (no changes needed). + + * debian/control: Add ${misc:Depends} to dependencies, because of + dependencies possibly added by debhelper. + + * debian/rules: Do not ignore all errors from "make distclean". + + * debian/watch: New file. + + * Makefile.in: Add support for DESTDIR. Get "prefix" and "exec_prefix" + from autoconf. + + * Upgrade to Debhelper 7: + - debian/compat: New file. + - debian/rules: Use dh_autoinstall instead of running "make install" + by hand. Use dh_prep instead of "dh_clean -k". Use dh_installman + instead of dh_installmanpages. + - debian/control: Add versioned build dependency on debhelper. + + -- Ben Pfaff Mon, 15 Feb 2010 12:28:48 -0800 + +doschk (1.1-5) unstable; urgency=low + + * doschk.c: Remove unneeded declaration of malloc. Thanks to Andreas + Jochens for reporting this bug. Closes: #258614. + + * debian/control: Update maintainer address. + + * Makefile.in: Remove config.log, config.cache on distclean. + + -- Ben Pfaff Sun, 11 Jul 2004 11:25:44 -0700 + +doschk (1.1-4) unstable; urgency=low + + * debian/control: change Priority: to optional. + + -- Ben Pfaff Sun, 20 Apr 2003 11:58:18 -0700 + +doschk (1.1-3) unstable; urgency=low + + * Add Build-Depends: debhelper. Closes: #189582. + + * Add install-sh to source tree. + + -- Ben Pfaff Sun, 20 Apr 2003 11:39:46 -0700 + +doschk (1.1-2) unstable; urgency=low + + * Fixed two warnings in doschk.c source. + + * Updated to latest Debian policy. + + * Use debhelper. + + * Fix wording of package description. + + -- Ben Pfaff Mon, 29 May 2000 14:42:38 -0400 + +doschk (1.1-1) unstable; urgency=low + + * Added Debian control files. + + -- Ben Pfaff Fri, 10 Jan 1997 15:06:38 -0500 + +Local Variables: +mode:debian-changelog +End: --- doschk-1.1.orig/debian/compat +++ doschk-1.1/debian/compat @@ -0,0 +1 @@ +7 --- doschk-1.1.orig/debian/control +++ doschk-1.1/debian/control @@ -0,0 +1,15 @@ +Source: doschk +Section: utils +Priority: optional +Maintainer: Debian QA Group +Standards-Version: 3.8.4 +Build-Depends: debhelper (>= 7) +Homepage: http://www.gnu.org/software/doschk/ + +Package: doschk +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SYSV and DOS filename conflicts check + Checks filenames for conflicts under 14-character SYSV and + 8.3 DOS limitations. + --- doschk-1.1.orig/debian/copyright +++ doschk-1.1/debian/copyright @@ -0,0 +1,22 @@ +This package contains doschk by DJ Delorie. + +Packaged for Debian by Ben Pfaff . + +Upstream sources obtained from http://ftp.gnu.org/pub/gnu/non-gnu/doschk/doschk-1.1.tar.gz. + +Copyright for doschk: + + Copyright (C) 1993 DJ Delorie. + + 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 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. + +On Debian GNU/Linux systems, a copy of the GNU General Public License +can be found in /usr/share/common-licenses/GPL. --- doschk-1.1.orig/debian/rules +++ doschk-1.1/debian/rules @@ -0,0 +1,45 @@ +#!/usr/bin/make -f +# debian/rules for doschk, modified by Ben Pfaff from original by Joey +# Hess. + +build: build-stamp +build-stamp: + dh_testdir + dh_auto_configure -- --cache-file=/dev/null + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_auto_install + +binary-indep: build install +# We have nothing to do. + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installman doschk.1 + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- doschk-1.1.orig/debian/substvars +++ doschk-1.1/debian/substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.3.2.ds1-4) --- doschk-1.1.orig/debian/watch +++ doschk-1.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +ftp://ftp.gnu.org/non-gnu/doschk/doschk-(.*)\.tar\.gz --- doschk-1.1.orig/doschk.1 +++ doschk-1.1/doschk.1 @@ -0,0 +1,45 @@ +.TH DOSCHK 1 "doschk 1.1" +.SH NAME +doschk \- checks filenames for SYSV and DOS compatibility +.SH SYNOPSIS +.HP +.B doschk +filename ... +.SH DESCRIPTION +This program is intended as a utility to help software developers +ensure that their source file names are distinguishable on MS-DOS and +14-character SYSV platforms. To perform this task, doschk reads a +list of filenames and produces a report of all the conflicts that +would arise if the files were transferred to a MS-DOS or SYSV +platform. + +To use this program, you must feed it a list of filenames in this +format: + +.P + dir +.P + dir/file1.ext +.P + dir/file2.exe +.P + dir/dir2 +.P + dir/dir2/file3.ext + +If the list does not include the directory-only lines (like dir/dir2) +then their names will not be checked for uniqueness, else they will +be. Typical uses of this program are like these: + +.P + find . \-print | doschk +.P + tar tf file.tar | doschk + +If this program produces no output, then all your files are MS-DOS +compatible. Any output messages are designed to be self-explanatory +and indicate cases where the files will not transfer to MS-DOS without +problems. +.SH AUTHORS +DJ Delorie. This manpage written by Ben Pfaff + for Debian GNU/Linux. --- doschk-1.1.orig/doschk.c +++ doschk-1.1/doschk.c @@ -51,8 +51,7 @@ #include #include #include - -extern char *malloc (); +#include typedef struct ENT { @@ -200,7 +199,7 @@ { /* If trailing dot, it will be ignored by MSDOG, so don't */ /* actually complain. */ - if (*(cp + 1) != NULL) + if (*(cp + 1) != 0) { invalid_msg (); printf ("%s - too many dots\n", path); @@ -445,6 +444,7 @@ * Main entry point * \****************************************************************/ +int main (argc, argv) int argc; char **argv; --- doschk-1.1.orig/foo +++ doschk-1.1/foo @@ -0,0 +1,1468 @@ +3928 execve("/usr/bin/autoconf2.13", ["autoconf2.13"], [/* 26 vars */]) = 0 +3928 uname({sys="Linux", node="pfaffben", ...}) = 0 +3928 brk(0) = 0x80b350c +3928 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) +3928 open("/etc/ld.so.cache", O_RDONLY) = 3 +3928 fstat64(3, {st_mode=S_IFREG|0644, st_size=31120, ...}) = 0 +3928 old_mmap(NULL, 31120, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 +3928 close(3) = 0 +3928 open("/lib/libreadline.so.4", O_RDONLY) = 3 +3928 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \244\0"..., 1024) = 1024 +3928 fstat64(3, {st_mode=S_IFREG|0644, st_size=144248, ...}) = 0 +3928 old_mmap(NULL, 150672, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 +3928 mprotect(0x4003f000, 19600, PROT_NONE) = 0 +3928 old_mmap(0x4003f000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1f000) = 0x4003f000 +3928 old_mmap(0x40043000, 3216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40043000 +3928 close(3) = 0 +3928 open("/lib/libhistory.so.4", O_RDONLY) = 3 +3928 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\25\0\000"..., 1024) = 1024 +3928 fstat64(3, {st_mode=S_IFREG|0644, st_size=20464, ...}) = 0 +3928 old_mmap(NULL, 23528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40044000 +3928 mprotect(0x40049000, 3048, PROT_NONE) = 0 +3928 old_mmap(0x40049000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x40049000 +3928 close(3) = 0 +3928 open("/lib/libncurses.so.5", O_RDONLY) = 3 +3928 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \342\0"..., 1024) = 1024 +3928 fstat64(3, {st_mode=S_IFREG|0644, st_size=246200, ...}) = 0 +3928 old_mmap(NULL, 260960, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4004a000 +3928 mprotect(0x4007e000, 47968, PROT_NONE) = 0 +3928 old_mmap(0x4007e000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x33000) = 0x4007e000 +3928 old_mmap(0x40087000, 11104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40087000 +3928 close(3) = 0 +3928 open("/lib/libdl.so.2", O_RDONLY) = 3 +3928 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0T\36\0\000"..., 1024) = 1024 +3928 fstat64(3, {st_mode=S_IFREG|0644, st_size=10232, ...}) = 0 +3928 old_mmap(NULL, 13112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4008a000 +3928 mprotect(0x4008d000, 824, PROT_NONE) = 0 +3928 old_mmap(0x4008d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x4008d000 +3928 close(3) = 0 +3928 open("/lib/libc.so.6", O_RDONLY) = 3 +3928 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270\323"..., 1024) = 1024 +3928 fstat64(3, {st_mode=S_IFREG|0755, st_size=1105224, ...}) = 0 +3928 old_mmap(NULL, 1121924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4008e000 +3928 mprotect(0x40196000, 40580, PROT_NONE) = 0 +3928 old_mmap(0x40196000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x40196000 +3928 old_mmap(0x4019c000, 16004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4019c000 +3928 close(3) = 0 +3928 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401a0000 +3928 munmap(0x40017000, 31120) = 0 +3928 getpid() = 3928 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3 +3928 close(3) = 0 +3928 brk(0) = 0x80b350c +3928 brk(0x80b4000) = 0x80b4000 +3928 brk(0x80b5000) = 0x80b5000 +3928 getuid32() = 1000 +3928 getgid32() = 1000 +3928 geteuid32() = 1000 +3928 getegid32() = 1000 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 time(NULL) = 990810105 +3928 brk(0x80b6000) = 0x80b6000 +3928 open("/etc/mtab", O_RDONLY) = 3 +3928 fstat64(3, {st_mode=S_IFREG|0644, st_size=128, ...}) = 0 +3928 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 +3928 read(3, "/dev/hda1 / ext2 rw,errors=remou"..., 4096) = 128 +3928 close(3) = 0 +3928 munmap(0x40017000, 4096) = 0 +3928 open("/proc/meminfo", O_RDONLY) = 3 +3928 fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 +3928 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 +3928 read(3, " total: used: free:"..., 4096) = 548 +3928 close(3) = 0 +3928 munmap(0x40017000, 4096) = 0 +3928 brk(0x80b7000) = 0x80b7000 +3928 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0 +3928 uname({sys="Linux", node="pfaffben", ...}) = 0 +3928 stat64("/home/blp/debian/doschk/doschk-1.1", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 +3928 stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 +3928 getpid() = 3928 +3928 getppid() = 3927 +3928 brk(0x80b8000) = 0x80b8000 +3928 getpgrp() = 3927 +3928 rt_sigaction(SIGCHLD, {0x806c54c, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 open("/usr/bin/autoconf2.13", O_RDONLY|O_LARGEFILE) = 3 +3928 ioctl(3, 0x5401, 0xbffffa78) = -1 ENOTTY (Inappropriate ioctl for device) +3928 _llseek(3, 0, [0], SEEK_CUR) = 0 +3928 read(3, "#! /bin/sh\n# autoconf -- create "..., 80) = 80 +3928 _llseek(3, 0, [0], SEEK_SET) = 0 +3928 getrlimit(0x7, 0xbffffad4) = 0 +3928 dup2(3, 255) = 255 +3928 close(3) = 0 +3928 fcntl64(0xff, 0x2, 0x1, 0) = 0 +3928 fcntl64(0xff, 0x3, 0, 0x40015fe4) = 32768 +3928 fstat64(255, {st_mode=S_IFREG|0755, st_size=5306, ...}) = 0 +3928 _llseek(255, 0, [0], SEEK_CUR) = 0 +3928 brk(0x80ba000) = 0x80ba000 +3928 brk(0x80bb000) = 0x80bb000 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 brk(0x80bc000) = 0x80bc000 +3928 read(255, "#! /bin/sh\n# autoconf -- create "..., 5306) = 5306 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 brk(0x80bd000) = 0x80bd000 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 stat64("/usr/bin/m4", {st_mode=S_IFREG|0755, st_size=74684, ...}) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 pipe([3, 4]) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 +3928 _llseek(255, -3299, [2007], SEEK_CUR) = 0 +3928 fork() = 3929 +3929 getpid() = 3929 +3929 close(255) = 0 +3929 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3929 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3929 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3929 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3929 rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3929 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0 +3929 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3929 rt_sigaction(SIGCHLD, {0x806c54c, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3929 rt_sigaction(SIGINT, {0x80788dc, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3929 dup2(4, 1) = 1 +3929 close(4) = 0 +3929 close(3) = 0 +3929 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3929 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3929 stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 +3929 stat64("/home/blp/bin/mktemp", 0xbffff340) = -1 ENOENT (No such file or directory) +3929 stat64("/usr/local/bin/mktemp", 0xbffff340) = -1 ENOENT (No such file or directory) +3929 stat64("/usr/bin/mktemp", 0xbffff340) = -1 ENOENT (No such file or directory) +3929 stat64("/bin/mktemp", {st_mode=S_IFREG|0755, st_size=3968, ...}) = 0 +3929 brk(0x80be000) = 0x80be000 +3929 getgroups32(0x20, 0x80bd00c) = 5 +3929 stat64("/bin/mktemp", {st_mode=S_IFREG|0755, st_size=3968, ...}) = 0 +3929 brk(0x80bf000) = 0x80bf000 +3929 rt_sigaction(SIGINT, {SIG_DFL}, {0x80788dc, [], 0x4000000}, 8) = 0 +3929 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3929 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3929 execve("/bin/mktemp", ["mktemp", "/tmp/acout.XXXXXX"], [/* 24 vars */]) = 0 +3929 uname({sys="Linux", node="pfaffben", ...}) = 0 +3929 brk(0) = 0x8049ae8 +3929 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) +3929 open("/etc/ld.so.cache", O_RDONLY) = 3 +3929 fstat64(3, {st_mode=S_IFREG|0644, st_size=31120, ...}) = 0 +3929 old_mmap(NULL, 31120, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 +3929 close(3) = 0 +3929 open("/lib/libc.so.6", O_RDONLY) = 3 +3929 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270\323"..., 1024) = 1024 +3929 fstat64(3, {st_mode=S_IFREG|0755, st_size=1105224, ...}) = 0 +3929 old_mmap(NULL, 1121924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 +3929 mprotect(0x40127000, 40580, PROT_NONE) = 0 +3929 old_mmap(0x40127000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x40127000 +3929 old_mmap(0x4012d000, 16004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012d000 +3929 close(3) = 0 +3929 munmap(0x40017000, 31120) = 0 +3929 getpid() = 3929 +3929 brk(0) = 0x8049ae8 +3929 brk(0x8049b10) = 0x8049b10 +3929 brk(0x804a000) = 0x804a000 +3929 gettimeofday({990810105, 241166}, NULL) = 0 +3929 getpid() = 3929 +3929 open("/tmp/acout.UPXkXq", O_RDWR|O_CREAT|O_EXCL, 0600) = 3 +3929 fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 +3929 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 +3929 write(1, "/tmp/acout.UPXkXq\n", 18) = 18 +3929 munmap(0x40017000, 4096) = 0 +3929 _exit(0) = ? +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 --- SIGCHLD (Child exited) --- +3928 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 3929 +3928 wait4(-1, 0xbffff218, WNOHANG, NULL) = -1 ECHILD (No child processes) +3928 sigreturn() = ? (mask now []) +3928 rt_sigaction(SIGCHLD, {0x806c54c, [], 0x4000000}, {0x806c54c, [], 0x4000000}, 8) = 0 +3928 close(4) = 0 +3928 read(3, "/tmp/acout.UPXkXq\n", 128) = 18 +3928 read(3, "", 128) = 0 +3928 close(3) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigaction(SIGINT, {0x806b7d8, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigaction(SIGINT, {SIG_DFL}, {0x806b7d8, [], 0x4000000}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 read(255, "trap \'rm -f $tmpin $tmpout\' 0\nlo"..., 5306) = 3299 +3928 rt_sigaction(SIGHUP, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGINT, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGILL, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGTRAP, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGABRT, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGFPE, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGBUS, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGSEGV, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGUNUSED, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGPIPE, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGALRM, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGTERM, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGXCPU, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGXFSZ, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGVTALRM, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGUSR1, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGUSR2, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 brk(0x80be000) = 0x80be000 +3928 brk(0x80bf000) = 0x80bf000 +3928 brk(0x80c0000) = 0x80c0000 +3928 brk(0x80c1000) = 0x80c1000 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 brk(0x80c2000) = 0x80c2000 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 pipe([3, 4]) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 +3928 _llseek(255, -2004, [3302], SEEK_CUR) = 0 +3928 fork() = 3930 +3930 getpid() = 3930 +3930 close(255) = 0 +3930 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3930 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3930 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3930 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3930 rt_sigaction(SIGINT, {SIG_DFL}, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, 8) = 0 +3930 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0 +3930 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3930 rt_sigaction(SIGCHLD, {0x806c54c, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3930 rt_sigaction(SIGINT, {0x80788dc, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3930 dup2(4, 1) = 1 +3930 close(4) = 0 +3930 close(3) = 0 +3930 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3930 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3930 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3930 pipe([3, 4]) = 0 +3930 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 +3930 fork() = 3931 +3931 getpid() = 3931 +3931 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3931 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3931 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3931 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3931 close(3) = 0 +3931 dup2(4, 1) = 1 +3931 close(4) = 0 +3931 rt_sigaction(SIGINT, {SIG_DFL}, {0x80788dc, [], 0x4000000}, 8) = 0 +3931 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3931 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3931 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3931 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3931 rt_sigaction(SIGCHLD, {0x806c54c, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3931 rt_sigaction(SIGINT, {0x80788dc, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3931 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3931 write(1, "$infile\n", 8) = 8 +3931 _exit(0) = ? +3930 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3930 close(4) = 0 +3930 close(4) = -1 EBADF (Bad file descriptor) +3930 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 +3930 fork() = 3932 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigaction(SIGCHLD, {0x806c54c, [], 0x4000000}, {0x806c54c, [], 0x4000000}, 8) = 0 +3928 close(4) = 0 +3928 read(3, +3930 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3930 close(3) = 0 +3930 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3930 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3930 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3930 rt_sigaction(SIGINT, {0x806b7d8, [], 0x4000000}, {0x80788dc, [], 0x4000000}, 8) = 0 +3930 wait4(-1, +3932 getpid() = 3932 +3932 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3932 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3932 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3932 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3932 dup2(3, 0) = 0 +3932 close(3) = 0 +3932 stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 +3932 stat64("/home/blp/bin/sed", 0xbffff090) = -1 ENOENT (No such file or directory) +3932 stat64("/usr/local/bin/sed", 0xbffff090) = -1 ENOENT (No such file or directory) +3932 stat64("/usr/bin/sed", 0xbffff090) = -1 ENOENT (No such file or directory) +3932 stat64("/bin/sed", {st_mode=S_IFREG|0755, st_size=21052, ...}) = 0 +3932 getgroups32(0x20, 0x80c110c) = 5 +3932 stat64("/bin/sed", {st_mode=S_IFREG|0755, st_size=21052, ...}) = 0 +3932 rt_sigaction(SIGINT, {SIG_DFL}, {0x80788dc, [], 0x4000000}, 8) = 0 +3932 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3932 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3932 execve("/bin/sed", ["sed", "s/configure\\.in$/Makefile.am/"], [/* 24 vars */]) = 0 +3932 uname({sys="Linux", node="pfaffben", ...}) = 0 +3932 brk(0) = 0x804de50 +3932 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) +3932 open("/etc/ld.so.cache", O_RDONLY) = 3 +3932 fstat64(3, {st_mode=S_IFREG|0644, st_size=31120, ...}) = 0 +3932 old_mmap(NULL, 31120, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 +3932 close(3) = 0 +3932 open("/lib/libc.so.6", O_RDONLY) = 3 +3932 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270\323"..., 1024) = 1024 +3932 fstat64(3, {st_mode=S_IFREG|0755, st_size=1105224, ...}) = 0 +3932 old_mmap(NULL, 1121924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 +3932 mprotect(0x40127000, 40580, PROT_NONE) = 0 +3932 old_mmap(0x40127000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x40127000 +3932 old_mmap(0x4012d000, 16004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012d000 +3932 close(3) = 0 +3932 munmap(0x40017000, 31120) = 0 +3932 getpid() = 3932 +3932 brk(0) = 0x804de50 +3932 brk(0x804de80) = 0x804de80 +3932 brk(0x804e000) = 0x804e000 +3932 brk(0x804f000) = 0x804f000 +3932 brk(0x8052000) = 0x8052000 +3932 fstat64(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 +3932 ioctl(0, 0x5401, 0xbffffae0) = -1 EINVAL (Invalid argument) +3932 fstat64(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 +3932 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 +3932 read(0, "$infile\n", 8192) = 8 +3932 read(0, "", 4096) = 0 +3932 fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 +3932 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 +3932 write(1, "$infile\n", 8) = 8 +3928 <... read resumed> "$infile\n", 128) = 8 +3928 read(3, +3932 close(1) = 0 +3932 munmap(0x40018000, 4096) = 0 +3932 _exit(0) = ? +3930 <... wait4 resumed> [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 3931 +3930 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 3932 +3930 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0 +3930 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3930 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3930 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3930 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3930 rt_sigaction(SIGINT, {0x80788dc, [], 0x4000000}, {0x806b7d8, [], 0x4000000}, 8) = 0 +3930 close(3) = -1 EBADF (Bad file descriptor) +3930 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3930 --- SIGCHLD (Child exited) --- +3930 wait4(-1, 0xbffff050, WNOHANG, NULL) = -1 ECHILD (No child processes) +3930 sigreturn() = ? (mask now []) +3930 _exit(0) = ? +3928 <... read resumed> 0xbffff53c, 128) = ? ERESTARTSYS (To be restarted) +3928 --- SIGCHLD (Child exited) --- +3928 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 3930 +3928 wait4(-1, 0xbffff1b8, WNOHANG, NULL) = -1 ECHILD (No child processes) +3928 sigreturn() = ? (mask now []) +3928 read(3, "", 128) = 0 +3928 close(3) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigaction(SIGINT, {0x806b7d8, [], 0x4000000}, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigaction(SIGINT, {0x80788dc, [], 0x4000000}, {0x806b7d8, [], 0x4000000}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 read(255, "if test -r $amfile; then\n if "..., 5306) = 2004 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 stat64("$infile", 0xbffff7cc) = -1 ENOENT (No such file or directory) +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigaction(SIGHUP, {SIG_DFL}, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, 8) = 0 +3928 rt_sigaction(SIGHUP, {0x80788dc, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGHUP, {SIG_IGN}, {0x80788dc, [], 0x4000000}, 8) = 0 +3928 rt_sigaction(SIGHUP, {0x8076bfc, [], 0x4000000}, {SIG_IGN}, 8) = 0 +3928 rt_sigaction(SIGINT, {SIG_IGN}, {0x80788dc, [], 0x4000000}, 8) = 0 +3928 rt_sigaction(SIGINT, {0x8076bfc, [], 0x4000000}, {SIG_IGN}, 8) = 0 +3928 rt_sigaction(SIGTERM, {SIG_DFL}, {0x80788dc, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, 8) = 0 +3928 rt_sigaction(SIGTERM, {0x80788dc, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3928 rt_sigaction(SIGTERM, {SIG_IGN}, {0x80788dc, [], 0x4000000}, 8) = 0 +3928 rt_sigaction(SIGTERM, {0x8076bfc, [], 0x4000000}, {SIG_IGN}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 pipe([3, 4]) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 +3928 _llseek(255, -1594, [3712], SEEK_CUR) = 0 +3928 fork() = 3933 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigaction(SIGCHLD, {0x806c54c, [], 0x4000000}, {0x806c54c, [], 0x4000000}, 8) = 0 +3928 close(4) = 0 +3928 read(3, +3933 getpid() = 3933 +3933 close(255) = 0 +3933 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3933 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3933 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3933 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3933 rt_sigaction(SIGHUP, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3933 rt_sigaction(SIGINT, {SIG_DFL}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3933 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0 +3933 rt_sigaction(SIGTERM, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3933 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3933 rt_sigaction(SIGCHLD, {0x806c54c, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3933 rt_sigaction(SIGINT, {0x8076bfc, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3933 dup2(4, 1) = 1 +3933 close(4) = 0 +3933 close(3) = 0 +3933 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3933 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3933 stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 +3933 stat64("/home/blp/bin/mktemp", 0xbffff340) = -1 ENOENT (No such file or directory) +3933 stat64("/usr/local/bin/mktemp", 0xbffff340) = -1 ENOENT (No such file or directory) +3933 stat64("/usr/bin/mktemp", 0xbffff340) = -1 ENOENT (No such file or directory) +3933 stat64("/bin/mktemp", {st_mode=S_IFREG|0755, st_size=3968, ...}) = 0 +3933 getgroups32(0x20, 0x80c110c) = 5 +3933 stat64("/bin/mktemp", {st_mode=S_IFREG|0755, st_size=3968, ...}) = 0 +3933 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 +3933 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3933 rt_sigaction(SIGHUP, {0x80788dc, [], 0x4000000}, {0x80788dc, [], 0x4000000}, 8) = 0 +3933 rt_sigaction(SIGINT, {SIG_DFL}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3933 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3933 rt_sigaction(SIGTERM, {0x80788dc, [], 0x4000000}, {0x80788dc, [], 0x4000000}, 8) = 0 +3933 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3933 execve("/bin/mktemp", ["mktemp", "/tmp/acin.XXXXXX"], [/* 24 vars */]) = 0 +3933 uname({sys="Linux", node="pfaffben", ...}) = 0 +3933 brk(0) = 0x8049ae8 +3933 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) +3933 open("/etc/ld.so.cache", O_RDONLY) = 3 +3933 fstat64(3, {st_mode=S_IFREG|0644, st_size=31120, ...}) = 0 +3933 old_mmap(NULL, 31120, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 +3933 close(3) = 0 +3933 open("/lib/libc.so.6", O_RDONLY) = 3 +3933 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270\323"..., 1024) = 1024 +3933 fstat64(3, {st_mode=S_IFREG|0755, st_size=1105224, ...}) = 0 +3933 old_mmap(NULL, 1121924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 +3933 mprotect(0x40127000, 40580, PROT_NONE) = 0 +3933 old_mmap(0x40127000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x40127000 +3933 old_mmap(0x4012d000, 16004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012d000 +3933 close(3) = 0 +3933 munmap(0x40017000, 31120) = 0 +3933 getpid() = 3933 +3933 brk(0) = 0x8049ae8 +3933 brk(0x8049b10) = 0x8049b10 +3933 brk(0x804a000) = 0x804a000 +3933 gettimeofday({990810105, 450068}, NULL) = 0 +3933 getpid() = 3933 +3933 open("/tmp/acin.EjuhuG", O_RDWR|O_CREAT|O_EXCL, 0600) = 3 +3933 fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 +3933 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 +3933 write(1, "/tmp/acin.EjuhuG\n", 17) = 17 +3928 <... read resumed> "/tmp/acin.EjuhuG\n", 128) = 17 +3928 read(3, +3933 munmap(0x40017000, 4096) = 0 +3933 _exit(0) = ? +3928 <... read resumed> 0xbffff5fc, 128) = ? ERESTARTSYS (To be restarted) +3928 --- SIGCHLD (Child exited) --- +3928 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 3933 +3928 wait4(-1, 0xbffff278, WNOHANG, NULL) = -1 ECHILD (No child processes) +3928 sigreturn() = ? (mask now []) +3928 read(3, "", 128) = 0 +3928 close(3) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigaction(SIGINT, {0x806b7d8, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigaction(SIGINT, {0x8076bfc, [], 0x4000000}, {0x806b7d8, [], 0x4000000}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 read(255, "if test z$infile = z-; then\n in"..., 5306) = 1594 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 stat64("configure.in", {st_mode=S_IFREG|0664, st_size=132, ...}) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 pipe([3, 4]) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 +3928 _llseek(255, -978, [4328], SEEK_CUR) = 0 +3928 fork() = 3934 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigaction(SIGCHLD, {0x806c54c, [], 0x4000000}, {0x806c54c, [], 0x4000000}, 8) = 0 +3928 close(4) = 0 +3928 read(3, +3934 getpid() = 3934 +3934 close(255) = 0 +3934 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3934 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3934 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3934 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3934 rt_sigaction(SIGHUP, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3934 rt_sigaction(SIGINT, {SIG_DFL}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3934 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0 +3934 rt_sigaction(SIGTERM, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3934 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3934 rt_sigaction(SIGCHLD, {0x806c54c, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3934 rt_sigaction(SIGINT, {0x8076bfc, [], 0x4000000}, {SIG_DFL}, 8) = 0 +3934 dup2(4, 1) = 1 +3934 close(4) = 0 +3934 close(3) = 0 +3934 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3934 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3934 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 +3934 fork() = 3935 +3934 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3934 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3934 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3934 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3934 rt_sigaction(SIGINT, {0x806b7d8, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3934 wait4(-1, +3935 getpid() = 3935 +3935 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3935 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3935 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3935 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3935 rt_sigaction(SIGHUP, {0x80788dc, [], 0x4000000}, {0x80788dc, [], 0x4000000}, 8) = 0 +3935 rt_sigaction(SIGINT, {SIG_DFL}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3935 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3935 rt_sigaction(SIGTERM, {0x80788dc, [], 0x4000000}, {0x80788dc, [], 0x4000000}, 8) = 0 +3935 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3935 open("/dev/null", O_RDONLY|O_LARGEFILE) = 3 +3935 dup2(3, 0) = 0 +3935 close(3) = 0 +3935 dup2(1, 2) = 2 +3935 fcntl64(0x1, 0x1, 0, 0x1) = 0 +3935 execve("/usr/bin/m4", ["/usr/bin/m4", "--help"], [/* 24 vars */]) = 0 +3935 uname({sys="Linux", node="pfaffben", ...}) = 0 +3935 brk(0) = 0x805b2d8 +3935 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) +3935 open("/etc/ld.so.cache", O_RDONLY) = 3 +3935 fstat64(3, {st_mode=S_IFREG|0644, st_size=31120, ...}) = 0 +3935 old_mmap(NULL, 31120, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 +3935 close(3) = 0 +3935 open("/lib/libc.so.6", O_RDONLY) = 3 +3935 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270\323"..., 1024) = 1024 +3935 fstat64(3, {st_mode=S_IFREG|0755, st_size=1105224, ...}) = 0 +3935 old_mmap(NULL, 1121924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 +3935 mprotect(0x40127000, 40580, PROT_NONE) = 0 +3935 old_mmap(0x40127000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x40127000 +3935 old_mmap(0x4012d000, 16004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012d000 +3935 close(3) = 0 +3935 munmap(0x40017000, 31120) = 0 +3935 getpid() = 3935 +3935 fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 +3935 fstat64(2, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 +3935 brk(0) = 0x805b2d8 +3935 brk(0x805c2d8) = 0x805c2d8 +3935 brk(0x805d000) = 0x805d000 +3935 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=2147483647}) = 0 +3935 brk(0x8062000) = 0x8062000 +3935 sigaltstack({ss_sp=0x805e2d0, ss_flags=0, ss_size=134603472}, NULL) = 0 +3935 rt_sigaction(SIGSEGV, NULL, {SIG_DFL}, 8) = 0 +3935 rt_sigaction(SIGSEGV, {0x80515ec, [], SA_STACK|SA_ONESHOT|SA_SIGINFO|0x4000000}, NULL, 8) = 0 +3935 fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 +3935 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 +3935 write(1, "Usage: /usr/bin/m4 [OPTION]... ["..., 1984) = 1984 +3928 <... read resumed> "Usage: /usr/bin/m4 [OPTION]... ["..., 128) = 128 +3928 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 +3928 brk(0x80c3000) = 0x80c3000 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 read(3, "ions too.\n\nOperation modes:\n "..., 128) = 128 +3928 read(3, "ion information and exit\n -e, -"..., 128) = 128 +3928 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 +3928 brk(0x80c4000) = 0x80c4000 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 read(3, "xecution after first warning\n -"..., 128) = 128 +3928 read(3, "orce a `m4_\' prefix to all built"..., 128) = 128 +3928 read(3, "udes\n -D, --define=NAME[=VALUE]"..., 128) = 128 +3928 read(3, "s, --synclines gene"..., 128) = 128 +3928 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 +3928 brk(0x80c5000) = 0x80c5000 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 read(3, "tensions\n -H, --hashsize=PRIME "..., 128) = 128 +3928 read(3, "ng limit\n\nFrozen state files:\n "..., 128) = 128 +3928 read(3, " reload a frozen state from FIL"..., 128) = 128 +3928 read(3, " -t, --trace=NAME tr"..., 128) = 128 +3928 read(3, ", --error-output=FILE redir"..., 128) = 128 +3928 read(3, "d\n a show actual arguments\n "..., 128) = 128 +3928 read(3, "after collect and after call\n x"..., 128) = 128 +3928 read(3, "rrent input line number\n p sh"..., 128) = 128 +3928 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 +3928 brk(0x80c6000) = 0x80c6000 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 read(3, "ve flags\n\nIf no FILE or if FILE "..., 128) = 64 +3928 read(3, +3935 munmap(0x40017000, 4096) = 0 +3935 _exit(0) = ? +3934 <... wait4 resumed> [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 3935 +3934 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0 +3934 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3934 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3934 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3934 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3934 --- SIGCHLD (Child exited) --- +3934 wait4(-1, 0xbffff3c0, WNOHANG, NULL) = -1 ECHILD (No child processes) +3934 sigreturn() = ? (mask now []) +3934 rt_sigaction(SIGINT, {0x8076bfc, [], 0x4000000}, {0x806b7d8, [], 0x4000000}, 8) = 0 +3934 _exit(0) = ? +3928 <... read resumed> 0xbffff83c, 128) = ? ERESTARTSYS (To be restarted) +3928 --- SIGCHLD (Child exited) --- +3928 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 3934 +3928 wait4(-1, 0xbffff4b8, WNOHANG, NULL) = -1 ECHILD (No child processes) +3928 sigreturn() = ? (mask now []) +3928 read(3, "", 128) = 0 +3928 close(3) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigaction(SIGINT, {0x806b7d8, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigaction(SIGINT, {0x8076bfc, [], 0x4000000}, {0x806b7d8, [], 0x4000000}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 +3928 brk(0x80c7000) = 0x80c7000 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 stat64("/usr/share/autoconf2.13/autoconf.m4f", {st_mode=S_IFREG|0644, st_size=151267, ...}) = 0 +3928 getgroups32(0x20, 0x80c100c) = 5 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 read(255, "\n$M4 -I$AC_MACRODIR $use_localdi"..., 5306) = 978 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 +3928 _llseek(255, -870, [4436], SEEK_CUR) = 0 +3928 fork() = 3936 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigaction(SIGINT, {0x806b7d8, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3928 wait4(-1, +3936 getpid() = 3936 +3936 close(255) = 0 +3936 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3936 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3936 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3936 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3936 rt_sigaction(SIGHUP, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3936 rt_sigaction(SIGINT, {SIG_DFL}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3936 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0 +3936 rt_sigaction(SIGTERM, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3936 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3936 open("/tmp/acout.UPXkXq", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3 +3936 dup2(3, 1) = 1 +3936 close(3) = 0 +3936 execve("/usr/bin/m4", ["/usr/bin/m4", "-I/usr/share/autoconf2.13", "--reload", "autoconf.m4f", "configure.in"], [/* 24 vars */]) = 0 +3936 uname({sys="Linux", node="pfaffben", ...}) = 0 +3936 brk(0) = 0x805b2d8 +3936 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) +3936 open("/etc/ld.so.cache", O_RDONLY) = 3 +3936 fstat64(3, {st_mode=S_IFREG|0644, st_size=31120, ...}) = 0 +3936 old_mmap(NULL, 31120, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 +3936 close(3) = 0 +3936 open("/lib/libc.so.6", O_RDONLY) = 3 +3936 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270\323"..., 1024) = 1024 +3936 fstat64(3, {st_mode=S_IFREG|0755, st_size=1105224, ...}) = 0 +3936 old_mmap(NULL, 1121924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 +3936 mprotect(0x40127000, 40580, PROT_NONE) = 0 +3936 old_mmap(0x40127000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x40127000 +3936 old_mmap(0x4012d000, 16004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012d000 +3936 close(3) = 0 +3936 munmap(0x40017000, 31120) = 0 +3936 getpid() = 3936 +3936 fstat64(1, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 +3936 fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(4, 3), ...}) = 0 +3936 brk(0) = 0x805b2d8 +3936 brk(0x805c2d8) = 0x805c2d8 +3936 brk(0x805d000) = 0x805d000 +3936 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=2147483647}) = 0 +3936 brk(0x8062000) = 0x8062000 +3936 sigaltstack({ss_sp=0x805e2d0, ss_flags=0, ss_size=134603472}, NULL) = 0 +3936 rt_sigaction(SIGSEGV, NULL, {SIG_DFL}, 8) = 0 +3936 rt_sigaction(SIGSEGV, {0x80515ec, [], SA_STACK|SA_ONESHOT|SA_SIGINFO|0x4000000}, NULL, 8) = 0 +3936 brk(0x8063000) = 0x8063000 +3936 brk(0x8064000) = 0x8064000 +3936 open("autoconf.m4f", O_RDONLY) = -1 ENOENT (No such file or directory) +3936 open("/usr/share/autoconf2.13/autoconf.m4f", O_RDONLY) = 3 +3936 fstat64(3, {st_mode=S_IFREG|0644, st_size=151267, ...}) = 0 +3936 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 +3936 read(3, "# This is a frozen state file ge"..., 4096) = 4096 +3936 brk(0x8065000) = 0x8065000 +3936 brk(0x8066000) = 0x8066000 +3936 read(3, " arg=\n else\n"..., 4096) = 4096 +3936 brk(0x8067000) = 0x8067000 +3936 read(3, "s\" in\nNONE)\n case $nonopt in\n "..., 4096) = 4096 +3936 brk(0x8068000) = 0x8068000 +3936 read(3, "ve their own names for install.\n"..., 4096) = 4096 +3936 brk(0x8069000) = 0x8069000 +3936 read(3, "ariable unset,\ndnl so AC_PATH_PR"..., 4096) = 4096 +3936 brk(0x806a000) = 0x806a000 +3936 brk(0x806b000) = 0x806b000 +3936 read(3, "s \\${MAKE})\nset dummy ${MAKE-mak"..., 4096) = 4096 +3936 brk(0x806c000) = 0x806c000 +3936 read(3, "\nAC_TIME_WITH_SYS_TIMEAC_PRO([AC"..., 4096) = 4096 +3936 brk(0x806d000) = 0x806d000 +3936 read(3, "_EGREP_CPP($ac_pattern, [#includ"..., 4096) = 4096 +3936 brk(0x806e000) = 0x806e000 +3936 read(3, "$1]\nint main() {\n[$2]\n; return 0"..., 4096) = 4096 +3936 brk(0x806f000) = 0x806f000 +3936 read(3, "=$ac_sub_srcdir\n then :\n "..., 4096) = 4096 +3936 brk(0x8070000) = 0x8070000 +3936 read(3, "ile\nT12,60\nAC_ST_BLOCKSAC_PRO([A"..., 4096) = 4096 +3936 brk(0x8071000) = 0x8071000 +3936 read(3, "ORMAL_4)dnl\nundivert(AC_DIVERSIO"..., 4096) = 4096 +3936 brk(0x8072000) = 0x8072000 +3936 brk(0x8073000) = 0x8073000 +3936 read(3, " [AC_MSG_RESULT(no); AC_DEFINE(U"..., 4096) = 4096 +3936 brk(0x8077000) = 0x8077000 +3936 read(3, "in | --bi)\n ac_prev=bindir ;;"..., 12288) = 12288 +3936 read(3, "i | --x-l)\n ac_prev=x_librari"..., 4096) = 4096 +3936 brk(0x807b000) = 0x807b000 +3936 read(3, "\"$ac_xsave_LIBS\"\n esac\n fi\n\n"..., 4096) = 4096 +3936 brk(0x807d000) = 0x807d000 +3936 read(3, "T_PUSH(AC_DIVERSION_INIT)dnl\nAC_"..., 4096) = 4096 +3936 read(3, "G_WITHAC_PRO([AC_ARG_WITH])AC_DI"..., 4096) = 4096 +3936 brk(0x807e000) = 0x807e000 +3936 read(3, "c_have_func = no; then\n # Some "..., 4096) = 4096 +3936 brk(0x807f000) = 0x807f000 +3936 read(3, "# Make relative symlinks.\n # Re"..., 4096) = 4096 +3936 read(3, "; then\n AC_DEFINE(vfork, fork)\n"..., 4096) = 4096 +3936 brk(0x8080000) = 0x8080000 +3936 brk(0x8081000) = 0x8081000 +3936 read(3, " getmntent, LIBS=\"-lsun $LIBS\")\n"..., 4096) = 4096 +3936 brk(0x8082000) = 0x8082000 +3936 read(3, "hese must not be set uncondition"..., 4096) = 4096 +3936 brk(0x8084000) = 0x8084000 +3936 read(3, " if HAVE_ALLOCA_H\n# include [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 3936 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 --- SIGCHLD (Child exited) --- +3928 wait4(-1, 0xbffff5f8, WNOHANG, NULL) = -1 ECHILD (No child processes) +3928 sigreturn() = ? (mask now []) +3928 rt_sigaction(SIGINT, {0x8076bfc, [], 0x4000000}, {0x806b7d8, [], 0x4000000}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 read(255, "\n# You could add your own prefix"..., 5306) = 870 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 +3928 stat64("/home/blp/bin/grep", 0xbffff7cc) = -1 ENOENT (No such file or directory) +3928 stat64("/usr/local/bin/grep", 0xbffff7cc) = -1 ENOENT (No such file or directory) +3928 stat64("/usr/bin/grep", 0xbffff7cc) = -1 ENOENT (No such file or directory) +3928 stat64("/bin/grep", {st_mode=S_IFREG|0755, st_size=75648, ...}) = 0 +3928 stat64("/bin/grep", {st_mode=S_IFREG|0755, st_size=75648, ...}) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 +3928 _llseek(255, -331, [4975], SEEK_CUR) = 0 +3928 fork() = 3937 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigaction(SIGINT, {0x806b7d8, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3928 wait4(-1, +3937 getpid() = 3937 +3937 close(255) = 0 +3937 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3937 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3937 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3937 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3937 rt_sigaction(SIGHUP, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3937 rt_sigaction(SIGINT, {SIG_DFL}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3937 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0 +3937 rt_sigaction(SIGTERM, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3937 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3937 open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3 +3937 dup2(3, 1) = 1 +3937 close(3) = 0 +3937 dup2(1, 2) = 2 +3937 fcntl64(0x1, 0x1, 0, 0x1) = 0 +3937 execve("/bin/grep", ["grep", "^[^#]*AC_", "/tmp/acout.UPXkXq"], [/* 24 vars */]) = 0 +3937 uname({sys="Linux", node="pfaffben", ...}) = 0 +3937 brk(0) = 0x805b99c +3937 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) +3937 open("/etc/ld.so.cache", O_RDONLY) = 3 +3937 fstat64(3, {st_mode=S_IFREG|0644, st_size=31120, ...}) = 0 +3937 old_mmap(NULL, 31120, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 +3937 close(3) = 0 +3937 open("/lib/libc.so.6", O_RDONLY) = 3 +3937 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270\323"..., 1024) = 1024 +3937 fstat64(3, {st_mode=S_IFREG|0755, st_size=1105224, ...}) = 0 +3937 old_mmap(NULL, 1121924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 +3937 mprotect(0x40127000, 40580, PROT_NONE) = 0 +3937 old_mmap(0x40127000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x40127000 +3937 old_mmap(0x4012d000, 16004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012d000 +3937 close(3) = 0 +3937 munmap(0x40017000, 31120) = 0 +3937 getpid() = 3937 +3937 brk(0) = 0x805b99c +3937 brk(0x805b9c4) = 0x805b9c4 +3937 brk(0x805c000) = 0x805c000 +3937 brk(0x805d000) = 0x805d000 +3937 brk(0x805e000) = 0x805e000 +3937 open("/tmp/acout.UPXkXq", O_RDONLY|O_LARGEFILE) = 3 +3937 brk(0x806a000) = 0x806a000 +3937 fstat64(3, {st_mode=S_IFREG|0600, st_size=36288, ...}) = 0 +3937 read(3, "#! /bin/sh\n\n# Guess values for s"..., 32768) = 32768 +3937 read(3, "edir%g\ns%@localstatedir@%$locals"..., 32768) = 3520 +3937 read(3, "", 32768) = 0 +3937 close(3) = 0 +3937 close(1) = 0 +3937 _exit(1) = ? +3928 <... wait4 resumed> [WIFEXITED(s) && WEXITSTATUS(s) == 1], 0, NULL) = 3937 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 --- SIGCHLD (Child exited) --- +3928 wait4(-1, 0xbffff608, WNOHANG, NULL) = -1 ECHILD (No child processes) +3928 sigreturn() = ? (mask now []) +3928 rt_sigaction(SIGINT, {0x8076bfc, [], 0x4000000}, {0x806b7d8, [], 0x4000000}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 read(255, "\nif test $# -eq 0; then\n exec 4"..., 5306) = 331 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 open("configure", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3 +3928 fcntl64(0x4, 0x1, 0, 0x80bfb0c) = -1 EBADF (Bad file descriptor) +3928 dup2(3, 4) = 4 +3928 close(3) = 0 +3928 stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 +3928 stat64("/home/blp/bin/chmod", 0xbffff73c) = -1 ENOENT (No such file or directory) +3928 stat64("/usr/local/bin/chmod", 0xbffff73c) = -1 ENOENT (No such file or directory) +3928 stat64("/usr/bin/chmod", 0xbffff73c) = -1 ENOENT (No such file or directory) +3928 stat64("/bin/chmod", {st_mode=S_IFREG|0755, st_size=15964, ...}) = 0 +3928 stat64("/bin/chmod", {st_mode=S_IFREG|0755, st_size=15964, ...}) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 +3928 _llseek(255, -247, [5059], SEEK_CUR) = 0 +3928 fork() = 3938 +3938 getpid() = 3938 +3938 close(255) = 0 +3938 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3938 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3938 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3938 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3938 rt_sigaction(SIGHUP, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3938 rt_sigaction(SIGINT, {SIG_DFL}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3938 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0 +3938 rt_sigaction(SIGTERM, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3938 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3938 execve("/bin/chmod", ["chmod", "+x", "configure"], [/* 24 vars */]) = 0 +3938 uname({sys="Linux", node="pfaffben", ...}) = 0 +3938 brk(0) = 0x804cb24 +3938 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) +3938 open("/etc/ld.so.cache", O_RDONLY) = 3 +3938 fstat64(3, {st_mode=S_IFREG|0644, st_size=31120, ...}) = 0 +3938 old_mmap(NULL, 31120, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 +3938 close(3) = 0 +3938 open("/lib/libc.so.6", O_RDONLY) = 3 +3938 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270\323"..., 1024) = 1024 +3938 fstat64(3, {st_mode=S_IFREG|0755, st_size=1105224, ...}) = 0 +3938 old_mmap(NULL, 1121924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 +3938 mprotect(0x40127000, 40580, PROT_NONE) = 0 +3938 old_mmap(0x40127000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x40127000 +3938 old_mmap(0x4012d000, 16004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012d000 +3938 close(3) = 0 +3938 munmap(0x40017000, 31120) = 0 +3938 getpid() = 3938 +3938 brk(0) = 0x804cb24 +3938 brk(0x804cb4c) = 0x804cb4c +3938 brk(0x804d000) = 0x804d000 +3938 umask(0) = 02 +3938 umask(02) = 0 +3938 lstat64("configure", {st_mode=S_IFREG|0775, st_size=0, ...}) = 0 +3938 chmod("configure", 0775) = 0 +3938 _exit(0) = ? +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 --- SIGCHLD (Child exited) --- +3928 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 3938 +3928 wait4(-1, 0xbffff4b8, WNOHANG, NULL) = -1 ECHILD (No child processes) +3928 sigreturn() = ? (mask now []) +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigaction(SIGINT, {0x806b7d8, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigaction(SIGINT, {0x8076bfc, [], 0x4000000}, {0x806b7d8, [], 0x4000000}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 read(255, "\n# Put the real line numbers int"..., 5306) = 247 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 pipe([3, 5]) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 +3928 _llseek(255, -29, [5277], SEEK_CUR) = 0 +3928 fork() = 3939 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 close(5) = 0 +3928 close(5) = -1 EBADF (Bad file descriptor) +3928 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 +3928 fork() = 3940 +3939 getpid() = 3939 +3939 close(255) = 0 +3939 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3939 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3939 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3939 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3939 close(3) = 0 +3939 dup2(5, 1) = 1 +3939 close(5) = 0 +3939 stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 +3939 stat64("/home/blp/bin/awk", 0xbffff69c) = -1 ENOENT (No such file or directory) +3939 stat64("/usr/local/bin/awk", 0xbffff69c) = -1 ENOENT (No such file or directory) +3939 stat64("/usr/bin/awk", {st_mode=S_IFREG|0755, st_size=95056, ...}) = 0 +3939 stat64("/usr/bin/awk", {st_mode=S_IFREG|0755, st_size=95056, ...}) = 0 +3939 rt_sigaction(SIGHUP, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3939 rt_sigaction(SIGINT, {SIG_DFL}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3939 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0 +3939 rt_sigaction(SIGTERM, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3939 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3939 execve("/usr/bin/awk", ["awk", "\n/__oline__/ { printf \"%d:\", NR "..., "/tmp/acout.UPXkXq"], [/* 24 vars */]) = 0 +3939 uname({sys="Linux", node="pfaffben", ...}) = 0 +3939 brk(0) = 0x806277c +3939 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) +3939 open("/etc/ld.so.cache", O_RDONLY) = 3 +3939 fstat64(3, {st_mode=S_IFREG|0644, st_size=31120, ...}) = 0 +3939 old_mmap(NULL, 31120, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 +3939 close(3) = 0 +3939 open("/lib/libm.so.6", O_RDONLY) = 3 +3939 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240J\0"..., 1024) = 1024 +3939 fstat64(3, {st_mode=S_IFREG|0644, st_size=134400, ...}) = 0 +3939 old_mmap(NULL, 136900, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 +3939 mprotect(0x40040000, 1732, PROT_NONE) = 0 +3939 old_mmap(0x40040000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x40040000 +3939 close(3) = 0 +3939 open("/lib/libc.so.6", O_RDONLY) = 3 +3939 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270\323"..., 1024) = 1024 +3939 fstat64(3, {st_mode=S_IFREG|0755, st_size=1105224, ...}) = 0 +3939 old_mmap(NULL, 1121924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40041000 +3939 mprotect(0x40149000, 40580, PROT_NONE) = 0 +3939 old_mmap(0x40149000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x40149000 +3939 old_mmap(0x4014f000, 16004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4014f000 +3939 close(3) = 0 +3939 munmap(0x40017000, 31120) = 0 +3939 getpid() = 3939 +3939 brk(0) = 0x806277c +3939 brk(0x8062f94) = 0x8062f94 +3939 brk(0x8063000) = 0x8063000 +3939 time(NULL) = 990810105 +3939 brk(0x8064000) = 0x8064000 +3939 open("/tmp/acout.UPXkXq", O_RDONLY) = 3 +3939 brk(0x8066000) = 0x8066000 +3939 ioctl(3, 0x5401, 0xbffff9e0) = -1 ENOTTY (Inappropriate ioctl for device) +3939 read(3, "#! /bin/sh\n\n# Guess values for s"..., 4096) = 4096 +3939 fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 +3939 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 +3939 read(3, "ring in the A/UX 3.1 sh.\n cat"..., 4055) = 4055 +3939 write(1, "#! /bin/sh\n\n# Guess values for s"..., 4096) = 4096 +3939 read(3, "| --loca=* | --loc=* | --lo=*)\n "..., 4069) = 4069 +3939 write(1, "ring in the A/UX 3.1 sh.\n cat"..., 4096 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 close(3) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigaction(SIGINT, {0x806b7d8, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3928 wait4(-1, +3940 getpid() = 3940 +3940 close(255) = 0 +3940 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3940 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3940 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3940 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3940 dup2(3, 0) = 0 +3940 close(3) = 0 +3940 stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 +3940 stat64("/home/blp/bin/sed", 0xbffff69c) = -1 ENOENT (No such file or directory) +3940 stat64("/usr/local/bin/sed", 0xbffff69c) = -1 ENOENT (No such file or directory) +3940 stat64("/usr/bin/sed", 0xbffff69c) = -1 ENOENT (No such file or directory) +3940 stat64("/bin/sed", {st_mode=S_IFREG|0755, st_size=21052, ...}) = 0 +3940 stat64("/bin/sed", {st_mode=S_IFREG|0755, st_size=21052, ...}) = 0 +3940 rt_sigaction(SIGHUP, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3940 rt_sigaction(SIGINT, {SIG_DFL}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3940 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0 +3940 rt_sigaction(SIGTERM, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3940 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3940 dup2(4, 1) = 1 +3940 fcntl64(0x4, 0x1, 0, 0x4) = 0 +3940 execve("/bin/sed", ["sed", "\n/__oline__/s/^\\([0-9][0-9]*\\):\\"...], [/* 24 vars */]) = 0 +3940 uname({sys="Linux", node="pfaffben", ...}) = 0 +3940 brk(0) = 0x804de50 +3940 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) +3940 open("/etc/ld.so.cache", O_RDONLY) = 3 +3940 fstat64(3, {st_mode=S_IFREG|0644, st_size=31120, ...}) = 0 +3940 old_mmap(NULL, 31120, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 +3940 close(3) = 0 +3940 open("/lib/libc.so.6", O_RDONLY) = 3 +3940 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270\323"..., 1024) = 1024 +3940 fstat64(3, {st_mode=S_IFREG|0755, st_size=1105224, ...}) = 0 +3940 old_mmap(NULL, 1121924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 +3940 mprotect(0x40127000, 40580, PROT_NONE) = 0 +3940 old_mmap(0x40127000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x40127000 +3940 old_mmap(0x4012d000, 16004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012d000 +3940 close(3) = 0 +3940 munmap(0x40017000, 31120) = 0 +3940 getpid() = 3940 +3940 brk(0) = 0x804de50 +3940 brk(0x804de80) = 0x804de80 +3940 brk(0x804e000) = 0x804e000 +3940 brk(0x804f000) = 0x804f000 +3940 brk(0x8052000) = 0x8052000 +3940 fstat64(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 +3940 ioctl(0, 0x5401, 0xbffffad0) = -1 EINVAL (Invalid argument) +3940 fstat64(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 +3940 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 +3940 read(0, +3939 <... write resumed> ) = 4096 +3939 read(3, " sysconfdir=\"$ac_optarg\" ;;\n\n -"..., 4093) = 4093 +3939 write(1, "tatedir=\"$ac_optarg\" ;;\n\n -mand"..., 4096 +3940 <... read resumed> "#! /bin/sh\n\n# Guess values for s"..., 8192) = 8192 +3939 <... write resumed> ) = 4096 +3939 read(3, "xport LC_ALL; fi\nif test \"${LC_M"..., 4049) = 4049 +3939 write(1, " | --tar | --ta | --t)\n ac_pr"..., 4096 +3940 fstat64(1, {st_mode=S_IFREG|0775, st_size=0, ...}) = 0 +3940 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 +3940 write(1, "#! /bin/sh\n\n# Guess values for s"..., 4096) = 4096 +3940 read(0, +3939 <... write resumed> ) = 4096 +3939 read(3, "og_rejected = yes; then\n # We f"..., 4082) = 4082 +3939 write(1, "; export LC_MESSAGES; fi\nif test"..., 4096 +3940 <... read resumed> "tatedir=\"$ac_optarg\" ;;\n\n -mand"..., 8192) = 8192 +3939 <... write resumed> ) = 4096 +3939 read(3, "__: checking whether ${CC-cc} ac"..., 4073) = 4073 +3939 write(1, "g_CC\n shift\n if test $# -gt 0;"..., 4096 +3940 write(1, "ring in the A/UX 3.1 sh.\n cat"..., 4096) = 4096 +3940 write(1, "tatedir=\"$ac_optarg\" ;;\n\n -mand"..., 4096) = 4096 +3940 read(0, +3939 <... write resumed> ) = 4096 +3939 read(3, "t configure does when it calls c"..., 4091) = 4091 +3939 write(1, "et}\'`\\\" = set\"; then\n echo $ac_"..., 4096 +3940 <... read resumed> "; export LC_MESSAGES; fi\nif test"..., 8192) = 8192 +3939 <... write resumed> ) = 4096 +3939 read(3, "me%g\ns%@bindir@%$bindir%g\ns%@sbi"..., 4048) = 3680 +3939 read(3, "", 368) = 0 +3939 write(1, "-file=/dev/null disables caching"..., 4096 +3940 write(1, " | --tar | --ta | --t)\n ac_pr"..., 4096) = 4096 +3940 write(1, "; export LC_MESSAGES; fi\nif test"..., 4096) = 4096 +3940 read(0, +3939 <... write resumed> ) = 4096 +3939 close(3) = 0 +3939 write(1, "$sysconfdir%g\ns%@sharedstatedir@"..., 3564 +3940 <... read resumed> "et}\'`\\\" = set\"; then\n echo $ac_"..., 8192) = 8192 +3939 <... write resumed> ) = 3564 +3939 close(1) = 0 +3939 munmap(0x40017000, 4096) = 0 +3939 close(2) = 0 +3939 _exit(0) = ? +3928 <... wait4 resumed> [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 3939 +3928 wait4(-1, +3940 write(1, "st $# -gt 0; then\n # We chose"..., 4096) = 4096 +3940 write(1, "t -z \"`${CC-cc} -g -c conftest.c"..., 4096) = 4096 +3940 read(0, "$sysconfdir%g\ns%@sharedstatedir@"..., 8192) = 3564 +3940 read(0, "", 4096) = 0 +3940 write(1, "le if you give it the\n# --rechec"..., 4096) = 4096 +3940 write(1, "includedir@%$includedir%g\ns%@old"..., 3454) = 3454 +3940 close(1) = 0 +3940 munmap(0x40018000, 4096) = 0 +3940 _exit(0) = ? +3928 <... wait4 resumed> [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 3940 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigaction(SIGINT, {0x8076bfc, [], 0x4000000}, {0x806b7d8, [], 0x4000000}, 8) = 0 +3928 close(3) = -1 EBADF (Bad file descriptor) +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 --- SIGCHLD (Child exited) --- +3928 wait4(-1, 0xbffff658, WNOHANG, NULL) = -1 ECHILD (No child processes) +3928 sigreturn() = ? (mask now []) +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 read(255, "\nrm -f $tmpout\n\nexit $status\n", 5306) = 29 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 +3928 stat64("/home/blp/bin/rm", 0xbffff88c) = -1 ENOENT (No such file or directory) +3928 stat64("/usr/local/bin/rm", 0xbffff88c) = -1 ENOENT (No such file or directory) +3928 stat64("/usr/bin/rm", 0xbffff88c) = -1 ENOENT (No such file or directory) +3928 stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=24764, ...}) = 0 +3928 stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=24764, ...}) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 +3928 _llseek(255, -14, [5292], SEEK_CUR) = 0 +3928 fork() = 3941 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigaction(SIGINT, {0x806b7d8, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3928 wait4(-1, +3941 getpid() = 3941 +3941 close(255) = 0 +3941 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3941 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3941 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3941 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3941 rt_sigaction(SIGHUP, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3941 rt_sigaction(SIGINT, {SIG_DFL}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3941 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0 +3941 rt_sigaction(SIGTERM, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3941 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3941 execve("/bin/rm", ["rm", "-f", "/tmp/acout.UPXkXq"], [/* 24 vars */]) = 0 +3941 uname({sys="Linux", node="pfaffben", ...}) = 0 +3941 brk(0) = 0x804f064 +3941 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) +3941 open("/etc/ld.so.cache", O_RDONLY) = 3 +3941 fstat64(3, {st_mode=S_IFREG|0644, st_size=31120, ...}) = 0 +3941 old_mmap(NULL, 31120, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 +3941 close(3) = 0 +3941 open("/lib/libc.so.6", O_RDONLY) = 3 +3941 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270\323"..., 1024) = 1024 +3941 fstat64(3, {st_mode=S_IFREG|0755, st_size=1105224, ...}) = 0 +3941 old_mmap(NULL, 1121924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 +3941 mprotect(0x40127000, 40580, PROT_NONE) = 0 +3941 old_mmap(0x40127000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x40127000 +3941 old_mmap(0x4012d000, 16004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012d000 +3941 close(3) = 0 +3941 munmap(0x40017000, 31120) = 0 +3941 getpid() = 3941 +3941 brk(0) = 0x804f064 +3941 brk(0x804f08c) = 0x804f08c +3941 brk(0x8050000) = 0x8050000 +3941 ioctl(0, 0x5401, {B38400 opost isig icanon echo ...}) = 0 +3941 brk(0x8051000) = 0x8051000 +3941 brk(0x8052000) = 0x8052000 +3941 lstat64("/tmp/acout.UPXkXq", {st_mode=S_IFREG|0600, st_size=36288, ...}) = 0 +3941 unlink("/tmp/acout.UPXkXq") = 0 +3941 _exit(0) = ? +3928 <... wait4 resumed> [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 3941 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 --- SIGCHLD (Child exited) --- +3928 wait4(-1, 0xbffff6c8, WNOHANG, NULL) = -1 ECHILD (No child processes) +3928 sigreturn() = ? (mask now []) +3928 rt_sigaction(SIGINT, {0x8076bfc, [], 0x4000000}, {0x806b7d8, [], 0x4000000}, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 read(255, "\nexit $status\n", 5306) = 14 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=24764, ...}) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 +3928 fork() = 3942 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 +3928 rt_sigaction(SIGINT, {0x806b7d8, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3928 wait4(-1, +3942 getpid() = 3942 +3942 close(255) = 0 +3942 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3942 rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3942 rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3942 rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0 +3942 rt_sigaction(SIGHUP, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3942 rt_sigaction(SIGINT, {SIG_DFL}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3942 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0 +3942 rt_sigaction(SIGTERM, {0x80788dc, [], 0x4000000}, {0x8076bfc, [], 0x4000000}, 8) = 0 +3942 rt_sigaction(SIGCHLD, {SIG_DFL}, {0x806c54c, [], 0x4000000}, 8) = 0 +3942 execve("/bin/rm", ["rm", "-f", "/tmp/acin.EjuhuG", "/tmp/acout.UPXkXq"], [/* 24 vars */]) = 0 +3942 uname({sys="Linux", node="pfaffben", ...}) = 0 +3942 brk(0) = 0x804f064 +3942 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) +3942 open("/etc/ld.so.cache", O_RDONLY) = 3 +3942 fstat64(3, {st_mode=S_IFREG|0644, st_size=31120, ...}) = 0 +3942 old_mmap(NULL, 31120, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 +3942 close(3) = 0 +3942 open("/lib/libc.so.6", O_RDONLY) = 3 +3942 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\270\323"..., 1024) = 1024 +3942 fstat64(3, {st_mode=S_IFREG|0755, st_size=1105224, ...}) = 0 +3942 old_mmap(NULL, 1121924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 +3942 mprotect(0x40127000, 40580, PROT_NONE) = 0 +3942 old_mmap(0x40127000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x107000) = 0x40127000 +3942 old_mmap(0x4012d000, 16004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012d000 +3942 close(3) = 0 +3942 munmap(0x40017000, 31120) = 0 +3942 getpid() = 3942 +3942 brk(0) = 0x804f064 +3942 brk(0x804f08c) = 0x804f08c +3942 brk(0x8050000) = 0x8050000 +3942 ioctl(0, 0x5401, {B38400 opost isig icanon echo ...}) = 0 +3942 brk(0x8051000) = 0x8051000 +3942 brk(0x8052000) = 0x8052000 +3942 lstat64("/tmp/acin.EjuhuG", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 +3942 unlink("/tmp/acin.EjuhuG") = 0 +3942 lstat64("/tmp/acout.UPXkXq", 0xbffffb9c) = -1 ENOENT (No such file or directory) +3942 _exit(0) = ? +3928 <... wait4 resumed> [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 3942 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 +3928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +3928 --- SIGCHLD (Child exited) --- +3928 wait4(-1, 0xbffff698, WNOHANG, NULL) = -1 ECHILD (No child processes) +3928 sigreturn() = ? (mask now []) +3928 rt_sigaction(SIGINT, {0x8076bfc, [], 0x4000000}, {0x806b7d8, [], 0x4000000}, 8) = 0 +3928 _exit(0) = ? --- doschk-1.1.orig/install-sh +++ doschk-1.1/install-sh @@ -0,0 +1,251 @@ +#!/bin/sh +# +# install - install a program, script, or datafile +# This comes from X11R5 (mit/util/scripts/install.sh). +# +# Copyright 1991 by the Massachusetts Institute of Technology +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of M.I.T. not be used in advertising or +# publicity pertaining to distribution of the software without specific, +# written prior permission. M.I.T. makes no representations about the +# suitability of this software for any purpose. It is provided "as is" +# without express or implied warranty. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. It can only install one file at a time, a restriction +# shared with many OS's install programs. + + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit="${DOITPROG-}" + + +# put in absolute paths if you don't have them in your path; or use env. vars. + +mvprog="${MVPROG-mv}" +cpprog="${CPPROG-cp}" +chmodprog="${CHMODPROG-chmod}" +chownprog="${CHOWNPROG-chown}" +chgrpprog="${CHGRPPROG-chgrp}" +stripprog="${STRIPPROG-strip}" +rmprog="${RMPROG-rm}" +mkdirprog="${MKDIRPROG-mkdir}" + +transformbasename="" +transform_arg="" +instcmd="$mvprog" +chmodcmd="$chmodprog 0755" +chowncmd="" +chgrpcmd="" +stripcmd="" +rmcmd="$rmprog -f" +mvcmd="$mvprog" +src="" +dst="" +dir_arg="" + +while [ x"$1" != x ]; do + case $1 in + -c) instcmd="$cpprog" + shift + continue;; + + -d) dir_arg=true + shift + continue;; + + -m) chmodcmd="$chmodprog $2" + shift + shift + continue;; + + -o) chowncmd="$chownprog $2" + shift + shift + continue;; + + -g) chgrpcmd="$chgrpprog $2" + shift + shift + continue;; + + -s) stripcmd="$stripprog" + shift + continue;; + + -t=*) transformarg=`echo $1 | sed 's/-t=//'` + shift + continue;; + + -b=*) transformbasename=`echo $1 | sed 's/-b=//'` + shift + continue;; + + *) if [ x"$src" = x ] + then + src=$1 + else + # this colon is to work around a 386BSD /bin/sh bug + : + dst=$1 + fi + shift + continue;; + esac +done + +if [ x"$src" = x ] +then + echo "install: no input file specified" + exit 1 +else + true +fi + +if [ x"$dir_arg" != x ]; then + dst=$src + src="" + + if [ -d $dst ]; then + instcmd=: + chmodcmd="" + else + instcmd=mkdir + fi +else + +# Waiting for this to be detected by the "$instcmd $src $dsttmp" command +# might cause directories to be created, which would be especially bad +# if $src (and thus $dsttmp) contains '*'. + + if [ -f $src -o -d $src ] + then + true + else + echo "install: $src does not exist" + exit 1 + fi + + if [ x"$dst" = x ] + then + echo "install: no destination specified" + exit 1 + else + true + fi + +# If destination is a directory, append the input filename; if your system +# does not like double slashes in filenames, you may need to add some logic + + if [ -d $dst ] + then + dst="$dst"/`basename $src` + else + true + fi +fi + +## this sed command emulates the dirname command +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` + +# Make sure that the destination directory exists. +# this part is taken from Noah Friedman's mkinstalldirs script + +# Skip lots of stat calls in the usual case. +if [ ! -d "$dstdir" ]; then +defaultIFS=' +' +IFS="${IFS-${defaultIFS}}" + +oIFS="${IFS}" +# Some sh's can't handle IFS=/ for some reason. +IFS='%' +set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` +IFS="${oIFS}" + +pathcomp='' + +while [ $# -ne 0 ] ; do + pathcomp="${pathcomp}${1}" + shift + + if [ ! -d "${pathcomp}" ] ; + then + $mkdirprog "${pathcomp}" + else + true + fi + + pathcomp="${pathcomp}/" +done +fi + +if [ x"$dir_arg" != x ] +then + $doit $instcmd $dst && + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi +else + +# If we're going to rename the final executable, determine the name now. + + if [ x"$transformarg" = x ] + then + dstfile=`basename $dst` + else + dstfile=`basename $dst $transformbasename | + sed $transformarg`$transformbasename + fi + +# don't allow the sed command to completely eliminate the filename + + if [ x"$dstfile" = x ] + then + dstfile=`basename $dst` + else + true + fi + +# Make a temp file name in the proper directory. + + dsttmp=$dstdir/#inst.$$# + +# Move or copy the file name to the temp name + + $doit $instcmd $src $dsttmp && + + trap "rm -f ${dsttmp}" 0 && + +# and set any options; do chmod last to preserve setuid bits + +# If any of these fail, we abort the whole thing. If we want to +# ignore errors from any of these, just make sure not to ignore +# errors from the above "$doit $instcmd $src $dsttmp" command. + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && + +# Now rename the file to the real destination. + + $doit $rmcmd -f $dstdir/$dstfile && + $doit $mvcmd $dsttmp $dstdir/$dstfile + +fi && + + +exit 0