Changeset 3159 for trunk/essentials/sys-devel/autoconf-2.13/autoconf.sh
- Timestamp:
- Apr 22, 2007, 2:29:09 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/sys-devel/autoconf-2.13/autoconf.sh
r3157 r3159 36 36 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi 37 37 38 : ${AC_MACRODIR=@datadir@} 38 if 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 44 fi 39 45 : ${M4=@M4@} 40 46 : ${AWK=@AWK@} 41 47 case "${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. 43 49 # It may have been found originally in a build directory. 44 50 test -f "${M4}" || M4=m4 ;; … … 122 128 esac 123 129 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 || 125 131 { rm -f $tmpin $tmpout; exit 2; } 126 132 … … 142 148 143 149 if test $# -eq 0; then 144 exec 4> configure; chmod +x configure 150 exec 4> configure; chmod +x configure 2> /dev/null 145 151 else 146 152 exec 4>&1 … … 153 159 ' $tmpout | sed ' 154 160 /__oline__/s/^\([0-9][0-9]*\):\(.*\)__oline__/\2\1/ 155 ' >&4161 ' | sed 's/IFS="${IFS}:"/IFS="${PATH_IFS}"/' >&4 156 162 157 163 rm -f $tmpout
Note:
See TracChangeset
for help on using the changeset viewer.