Ticket #1110: configure.patch

File configure.patch, 895 bytes (added by stuart@…, 18 years ago)
  • configure

     
    100100exit 1
    101101fi
    102102
     103if [ -e config.log ] ; then
     104    PCONF=`cat config.log | tail -n 1 | grep configure`
     105    if test x"$PCONF" != x"" ; then
     106        PCONF=`echo $PCONF | sed 's/.\/configure//g'`
     107    fi
     108    for opt do
     109        if test x"$opt" = x"--prev" -o x"$opt" = x"--previous" ; then
     110            if test x"$PCONF" != "--prev" ; then
     111                echo "Options: $PCONF"
     112                ./configure $PCONF
     113                exit
     114            fi
     115        fi
     116    done
     117fi
     118
     119CONFIGURATION_OPTS=""
    103120for opt do
     121  CONFIGURATION_OPTS="$CONFIGURATION_OPTS ""$opt"
     122done
     123
     124date >> config.log
     125echo "   $0$CONFIGURATION_OPTS" >> config.log
     126
     127for opt do
    104128  case "$opt" in
    105129  --prefix=*) prefix=`echo $opt | cut -d '=' -f 2`
    106130  ;;