[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Unwanted newline in configure
From:       Michael Matz <matz () kde ! org>
Date:       2001-04-29 4:36:26
[Download RAW message or body]

Hi,

On Wed, 25 Apr 2001, Adriaan de Groot wrote:

> On my Sun SPARC Solaris 2.7 machines, kdelibs/configure contains a newline
> too many at line 15057; this is part of the fast_perl code and as far as I
> can tell it is being generated in Makefile.common by
>
>       @if test -r configure.in.in ; then \
>         perl -pi -e 'print "if test \"x\$$with_fast_perl\" = \"xyes\" ;\
>         then\n  perl -i.bak \$$ac_aux_dir/conf.change.pl \$$CONFIG_STATUS\
>         || mv \$$CONFIG_STATUS.bak \$$CONFIG_STATUS;\
>         \n  rm -f \$$CONFIG_STATUS.bak;\nfi\
>         \n" if /^\s*chmod\s+.*\+x\s+.*CONFIG_STATUS/;' configure ;\
>       fi
>
> Due to vagaries of the shell or something else, the || mv .. part ens up
> on a line by itself. Could we uglify the script and join the two lines, or
> add an extra \\ there?

What make and shell are you using.  On Solaris 2.6, gnumake 3.79.1,
/bin/sh or zsh it's working as it should.


Ciao,
Michael.

 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic