Blame SOURCES/autoconf-2.13-notmp.patch

c1bc70
--- autoconf-2.13/autoconf.sh~	Fri Mar 26 20:50:48 1999
c1bc70
+++ autoconf-2.13/autoconf.sh	Fri Mar 26 20:58:22 1999
c1bc70
@@ -52,13 +52,13 @@
c1bc70
 while test $# -gt 0 ; do
c1bc70
    case "${1}" in
c1bc70
       -h | --help | --h* )
c1bc70
-         echo "${usage}" 1>&2; exit 0 ;;
c1bc70
+         echo "${usage}" 1>&2; rm -f $tmpout ; exit 0 ;;
c1bc70
       --localdir=* | --l*=* )
c1bc70
          localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
c1bc70
          shift ;;
c1bc70
       -l | --localdir | --l*)
c1bc70
          shift
c1bc70
-         test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
c1bc70
+         test $# -eq 0 && { echo "${usage}" 1>&2; rm -f $tmpout; exit 1; }
c1bc70
          localdir="${1}"
c1bc70
          shift ;;
c1bc70
       --macrodir=* | --m*=* )
c1bc70
@@ -66,7 +66,7 @@
c1bc70
          shift ;;
c1bc70
       -m | --macrodir | --m* )
c1bc70
          shift
c1bc70
-         test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
c1bc70
+         test $# -eq 0 && { echo "${usage}" 1>&2; rm -f $tmpout; exit 1; }
c1bc70
          AC_MACRODIR="${1}"
c1bc70
          shift ;;
c1bc70
       --version | --v* )
c1bc70
@@ -76,7 +76,7 @@
c1bc70
       - )	# Use stdin as input.
c1bc70
         break ;;
c1bc70
       -* )
c1bc70
-        echo "${usage}" 1>&2; exit 1 ;;
c1bc70
+        echo "${usage}" 1>&2; rm -f $tmpout; exit 1 ;;
c1bc70
       * )
c1bc70
         break ;;
c1bc70
    esac
c1bc70
@@ -86,13 +86,14 @@
c1bc70
   version=`sed -n 's/define.AC_ACVERSION.[ 	]*\([0-9.]*\).*/\1/p' \
c1bc70
     $AC_MACRODIR/acgeneral.m4`
c1bc70
   echo "Autoconf version $version"
c1bc70
+  rm -f $tmpout
c1bc70
   exit 0
c1bc70
 fi
c1bc70
 
c1bc70
 case $# in
c1bc70
   0) infile=configure.in ;;
c1bc70
   1) infile="$1" ;;
c1bc70
-  *) echo "$usage" >&2; exit 1 ;;
c1bc70
+  *) echo "$usage" >&2; rm -f $tmpout; exit 1 ;;
c1bc70
 esac
c1bc70
 
c1bc70
 trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15
c1bc70
@@ -103,6 +104,7 @@
c1bc70
   infile=$tmpin
c1bc70
 elif test ! -r "$infile"; then
c1bc70
   echo "autoconf: ${infile}: No such file or directory" >&2
c1bc70
+  rm -f $tmpin $tmpout
c1bc70
   exit 1
c1bc70
 fi
c1bc70
 
c1bc70
@@ -111,6 +113,8 @@
c1bc70
 else
c1bc70
   use_localdir=
c1bc70
 fi
c1bc70
+# Make sure we don't leave those around - they are annoying
c1bc70
+trap 'rm -f $tmpin $tmpout' 0
c1bc70
 
c1bc70
 # Use the frozen version of Autoconf if available.
c1bc70
 r= f=
c1bc70
@@ -118,7 +122,7 @@
c1bc70
 case `$M4 --help < /dev/null 2>&1` in
c1bc70
 *reload-state*) test -r $AC_MACRODIR/autoconf.m4f && { r=--reload f=f; } ;;
c1bc70
 *traditional*) ;;
c1bc70
-*) echo Autoconf requires GNU m4 1.1 or later >&2; rm -f $tmpin; exit 1 ;;
c1bc70
+*) echo Autoconf requires GNU m4 1.1 or later >&2; rm -f $tmpin $tmpout; exit 1 ;;
c1bc70
 esac
c1bc70
 
c1bc70
 $M4 -I$AC_MACRODIR $use_localdir $r autoconf.m4$f $infile > $tmpout ||
c1bc70
@@ -154,6 +158,6 @@
c1bc70
 /__oline__/s/^\([0-9][0-9]*\):\(.*\)__oline__/\2\1/
c1bc70
 ' >&4
c1bc70
 
c1bc70
-rm -f $tmpout
c1bc70
+rm -f $tmpout $tmpin
c1bc70
 
c1bc70
 exit $status
c1bc70
--- autoconf-2.13/autoupdate.sh~	Fri Mar 26 20:50:48 1999
c1bc70
+++ autoconf-2.13/autoupdate.sh	Fri Mar 26 21:02:18 1999
c1bc70
@@ -35,13 +35,13 @@
c1bc70
 while test $# -gt 0 ; do
c1bc70
    case "${1}" in 
c1bc70
       -h | --help | --h* )
c1bc70
-         echo "${usage}" 1>&2; exit 0 ;;
c1bc70
+         echo "${usage}" 1>&2; rm -f $sedtmp; exit 0 ;;
c1bc70
       --macrodir=* | --m*=* )
c1bc70
          AC_MACRODIR="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
c1bc70
          shift ;;
c1bc70
       -m | --macrodir | --m* ) 
c1bc70
          shift
c1bc70
-         test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
c1bc70
+         test $# -eq 0 && { echo "${usage}" 1>&2; rm -f $sedtmp; exit 1; }
c1bc70
          AC_MACRODIR="${1}"
c1bc70
          shift ;;
c1bc70
       --version | --versio | --versi | --vers)
c1bc70
@@ -51,7 +51,7 @@
c1bc70
       - )	# Use stdin as input.
c1bc70
         break ;;
c1bc70
       -* )
c1bc70
-        echo "${usage}" 1>&2; exit 1 ;;
c1bc70
+        echo "${usage}" 1>&2; rm -f $sedtmp; exit 1 ;;
c1bc70
       * )
c1bc70
         break ;;
c1bc70
    esac
c1bc70
@@ -61,6 +61,7 @@
c1bc70
   version=`sed -n 's/define.AC_ACVERSION.[ 	]*\([0-9.]*\).*/\1/p' \
c1bc70
     $AC_MACRODIR/acgeneral.m4`
c1bc70
   echo "Autoconf version $version"
c1bc70
+  rm -f $sedtmp
c1bc70
   exit 0
c1bc70
 fi
c1bc70
 
c1bc70
@@ -68,6 +69,7 @@
c1bc70
 
c1bc70
 tmpout=acupo.$$
c1bc70
 trap 'rm -f $sedtmp $tmpout; exit 1' 1 2 15
c1bc70
+trap 'rm -f $sedtmp' 0
c1bc70
 case $# in
c1bc70
   0) infile=configure.in; out="> $tmpout"
c1bc70
      # Make sure $infile can be read, and $tmpout has the same permissions.