Loading ...
Sorry, an error occurred while loading the content.

Re: VIM: configure script sed and escapes (yikes help please)

Expand Messages
  • John Little
    ... Four more backslashes. CFLAGS=`$as_echo $CFLAGS | sed s/(/ (/g;s/)/ )/g ` Regards, John -- You received this message from the vim_dev maillist.
    Message 1 of 3 , May 3 6:35 PM
    • 0 Attachment
      On Friday, May 4, 2012 6:37:37 AM UTC+12, Bovy, Stephen wrote:

      > I am not a unix guru, what am I missing ??

      Four more backslashes.

      CFLAGS=`$as_echo "$CFLAGS" | sed 's/(/\\\\(/g;s/)/\\\\)/g'`

      Regards, John

      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    • Bovy, Stephen
      Thanks John That did the trick ... But this is not the optimum solution , because I added { haltonmsg (3296 ) } to get the configure script to work
      Message 2 of 3 , May 3 10:11 PM
      • 0 Attachment
        Thanks John

        That did the trick

        >> CFLAGS = -O -D_ALL_SOURCE -Wc,float\(IEEE\),haltonmsg\(3296\) -W c,dll <<

        But this is not the optimum solution , because I added { haltonmsg\(3296\) } to get the configure script to work better,

        But we do not want { haltonmsg\(3296\) } to go into config.mk

        There fore the following seems to be the only acceptable "simple" solution >>>>

        if test "$zOSUnix" = "yes"; then
        # CFLAGS=`$as_echo "$CFLAGS" | sed 's/(/\\\\(/g;s/)/\\\\)/g'`
        CFLAGS="-D_ALL_SOURCE -Wc,float\(IEEE\),dll"
        fi

        ac_config_files="$ac_config_files auto/config.mk:config.mk.in"

        <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

        -----Original Message-----
        From: vim_dev@... [mailto:vim_dev@...] On Behalf Of John Little
        Sent: Thursday, May 03, 2012 6:36 PM
        To: vim_dev@...
        Cc: MVS OpenEdition (MVS-OE@...)
        Subject: Re: VIM: configure script sed and escapes (yikes help please)

        On Friday, May 4, 2012 6:37:37 AM UTC+12, Bovy, Stephen wrote:

        > I am not a unix guru, what am I missing ??

        Four more backslashes.

        CFLAGS=`$as_echo "$CFLAGS" | sed 's/(/\\\\(/g;s/)/\\\\)/g'`

        Regards, John

        --
        You received this message from the "vim_dev" maillist.
        Do not top-post! Type your reply below the text you are replying to.
        For more information, visit http://www.vim.org/maillist.php

        --
        You received this message from the "vim_dev" maillist.
        Do not top-post! Type your reply below the text you are replying to.
        For more information, visit http://www.vim.org/maillist.php
      Your message has been successfully submitted and would be delivered to recipients shortly.