Re: compile mode, XSI shell: do not fork for $xform

2008-04-10 Thread Ralf Wildenhues
* Peter O'Gorman wrote on Thu, Apr 10, 2008 at 02:13:02AM CEST: $ echo ada.ada.ada | sed -e s/\.[^.]*/.lo/ ada.lo.ada A $ helps: It's ok with this changed. Applied like this. Cheers, Ralf 2008-04-10 Ralf Wildenhues [EMAIL PROTECTED] * libltdl/m4/libtool.m4

compile mode, XSI shell: do not fork for $xform

2008-04-09 Thread Ralf Wildenhues
OK to apply? Thanks, Ralf 2008-04-10 Ralf Wildenhues [EMAIL PROTECTED] * libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS) func_xform: New function. * libltdl/config/ltmain.m4sh (func_mode_compile): Use it to avoid two forks with XSI shells. Index:

Re: compile mode, XSI shell: do not fork for $xform

2008-04-09 Thread Peter O'Gorman
Ralf Wildenhues wrote: OK to apply? +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO X${1} | $Xsed -e s/\.[[^.]]*/.lo/` +} _LT_EOF esac Did you test this sed expression? Maybe I am testing it wrong? $ echo ada.ada.ada | sed -e s/\.[^.]*/.lo/ ada.lo.ada

Re: compile mode, XSI shell: do not fork for $xform

2008-04-09 Thread Peter O'Gorman
Peter O'Gorman wrote: Ralf Wildenhues wrote: OK to apply? +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO X${1} | $Xsed -e s/\.[[^.]]*/.lo/` +} _LT_EOF esac Did you test this sed expression? Maybe I am testing it wrong? $ echo ada.ada.ada | sed -e