Ignore:
Timestamp:
Apr 22, 2007, 2:29:09 AM (18 years ago)
Author:
bird
Message:

Applied OS/2 patches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/sys-devel/autoconf-2.13/autoconf.sh

    r3157 r3159  
    3636if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
    3737
    38 : ${AC_MACRODIR=@datadir@}
     38if test -z "${AC_MACRODIR}"; then
     39    if test -d "${UNIXROOT}@datadir@"; then
     40        AC_MACRODIR=${UNIXROOT}@datadir@
     41    else
     42        AC_MACRODIR=@datadir@
     43    fi       
     44fi
    3945: ${M4=@M4@}
    4046: ${AWK=@AWK@}
    4147case "${M4}" in
    42 /*) # Handle the case that m4 has moved since we were configured.
     48[/\\]*|[a-zA-Z]:*) # Handle the case that m4 has moved since we were configured.
    4349    # It may have been found originally in a build directory.
    4450    test -f "${M4}" || M4=m4 ;;
     
    122128esac
    123129
    124 $M4 -I$AC_MACRODIR $use_localdir $r autoconf.m4$f $infile > $tmpout ||
     130$M4 -I$AC_MACRODIR -DAC_MACRODIR=$AC_MACRODIR $use_localdir $r autoconf.m4$f $infile > $tmpout ||
    125131  { rm -f $tmpin $tmpout; exit 2; }
    126132
     
    142148
    143149if test $# -eq 0; then
    144   exec 4> configure; chmod +x configure
     150  exec 4> configure; chmod +x configure 2> /dev/null
    145151else
    146152  exec 4>&1
     
    153159' $tmpout | sed '
    154160/__oline__/s/^\([0-9][0-9]*\):\(.*\)__oline__/\2\1/
    155 ' >&4
     161' | sed 's/IFS="${IFS}:"/IFS="${PATH_IFS}"/' >&4
    156162
    157163rm -f $tmpout
Note: See TracChangeset for help on using the changeset viewer.