--- php-4.0.1pl2/ltmain.sh Wed Jun 28 11:37:22 2000 +++ php-4.0.1pl2-mpe/ltmain.sh Sat Aug 19 20:11:41 2000 @@ -23,6 +23,12 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. +# Deal with MPE/iX broken inline cat. +case "$host" in + *-*-mpeix*) alias -x cat=/bin/cat + ;; +esac + # Check that we have a working $echo. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. @@ -2133,7 +2139,12 @@ $show "(cd $xdir && $AR x $xabs)" $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? - libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP` + case "$host" in + *-*-mpeix*) libobjs="$libobjs "`find $xdir -type f -print | $NL2SP` + ;; + *) libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP` + ;; + esac done fi fi @@ -2266,7 +2277,12 @@ $show "(cd $xdir && $AR x $xabs)" $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? - reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP` + case "$host" in + *-*-mpeix*) reload_conv_objs="$reload_objs "`find $xdir -type f -print | $NL2SP` + ;; + *) reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP` + ;; + esac done fi fi @@ -3020,7 +3036,12 @@ $show "(cd $xdir && $AR x $xabs)" $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? - oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP` + case "$host" in + *-*-mpeix*) oldobjs="$oldobjs "`find $xdir -type f -print | $NL2SP` + ;; + *) oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP` + ;; + esac done fi