Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-11-12 Thread Pier Fumagalli

On 12/11/2001 06:02 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> jfclere 01/11/12 10:02:01
> 
> Modified:webapp   configure.in
> Log:
> Prevent in configure mixing native cc and gcc on Solaris.
> In apache-1.3 it was causing unresolved __lshrdi3 when loading mod_webapp.so
> In apache-2.0 it was not compiling.

Great, Thanks JF (DAMN, Apache 2.0 STILL doesn't build on OS/X 10.1 without
a new LibTool... G I HATE LIBTOOL!)

Pier


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-09-05 Thread Pier Fumagalli

"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> jfclere 01/09/05 08:40:27
> 
> Modified:webapp   configure.in
> Log:
> Correct a typo $ missing.

They just posted a bug on that (or better, reopened a completely
different one)... Check out if that's what exactly this patch fixes... Bug
#2999

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2999


Pier




Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread Pier P. Fumagalli

jean-frederic clere at [EMAIL PROTECTED] wrote:

> Pier Fumagalli wrote:
>> 
>> Quoting [EMAIL PROTECTED]:
>>> 
>>> Fixed bug I introduced 5 seconds ago. Now the return value of
>>> LOCAL_FILTEREXEC should be correctly returned to the parent.
>>> (try to modify the last line of APR buildconf to exit with a non-zero
>>> value and execute configure, it should report an error)
>> 
>> Jean Frederic, can you check if it works for you now? Thanks
> 
> No, it does not, because the shell forks and ret is not set in father but in
> the son process (after the |).

Ok... Patched... Check it out :)

Pier




Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread jean-frederic clere

Pier Fumagalli wrote:
> 
> Quoting [EMAIL PROTECTED]:
> >
> > Fixed bug I introduced 5 seconds ago. Now the return value of
> > LOCAL_FILTEREXEC should be correctly returned to the parent.
> > (try to modify the last line of APR buildconf to exit with a non-zero
> > value and execute configure, it should report an error)
> 
> Jean Frederic, can you check if it works for you now? Thanks

No, it does not, because the shell forks and ret is not set in father but in the
son process (after the |).
Look to the output:
+++
APR configure: creating include/arch/unix/apr_private.h
  Execution of ./configure --enable-static --disable-shared --disable-threads
returned
/usr/bin/test: integer expression expected before -ne

+++

The only work-around I see is to write the ret in a file and read it.

+++
Index: configure.in 
=== 
RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/configure.in,v 
retrieving revision 1.12
diff -u -r1.12 configure.in 
--- configure.in2001/07/09 15:57:56 1.12
+++ configure.in2001/07/09 16:59:22 
@@ -99,7 +99,9 @@   
 done   
 unset first
 unset line 
+echo ${ret} > retfile  
   }
+  ret=`cat retfile`
   ${echo} "  Execution of $1 returned $ret"
 ]) 
+++

> 
> Pier



Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread Pier Fumagalli

Quoting [EMAIL PROTECTED]:
> 
> Fixed bug I introduced 5 seconds ago. Now the return value of
> LOCAL_FILTEREXEC should be correctly returned to the parent.
> (try to modify the last line of APR buildconf to exit with a non-zero
> value and execute configure, it should report an error)

Jean Frederic, can you check if it works for you now? Thanks

Pier



Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread Pier Fumagalli

Quoting jean-frederic clere <[EMAIL PROTECTED]>:
> 
> Agreed, all "cursors" and "colours" are useless when doing "nohup
> nice_shell_that_build_world".

Fixed in CVS :)

Pier



Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread jean-frederic clere

Pier Fumagalli wrote:
> 
> Quoting jean-frederic clere <[EMAIL PROTECTED]>:
> 
> > I have some more problems because printf does not like \133. (Why
> > \133 and not ]?).
> 
> Bacause [ and ] are the string delimiters in M4... If you change that and try
> to run AutoConf, it'll complain...

Yep, it does.

> 
> > I have some remarks:
> >
> > - Why using "\033\13301m", "\033\13300m" etc but not
> > bold="\033\13301m",
> > offbold="\033\13300m", red=...?
> >
> > - \133 is not ] but $ on my EBCDIC platform.
> >
> > - Why not using bold=`tput smso` offbold=`tput rmso`? Does someone
> > know how to ask for red and offred?
> 
> Why don't we simply remove all the colourization? It's kinda fancy and
> neat, but we don't seriously _need_ that...
> I got that code from Ralf's some project, and looked cool on my terminal,
> but we seriously don't depend on having colours in the script :)

Agreed, all "cursors" and "colours" are useless when doing "nohup
nice_shell_that_build_world".
  
> 
>Pier
> 
> BTW, for US citizens, s/colour/color/g (getting the accent and more over
> here)



Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread Pier Fumagalli

Quoting jean-frederic clere <[EMAIL PROTECTED]>:
> 
> What about this:
>
> -exit $ret  
> +echo $ret > retfile
>}
> -  ret=$?   
> +  ret=`cat retfile`
>  ]) 

AAARRRGGGHHH! :) I found out why you're trying to do that :) (Me dork!)

Pier



Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread jean-frederic clere

Pier Fumagalli wrote:
> 
> Quoting jean-frederic clere <[EMAIL PROTECTED]>:
> 
> > "Pier P. Fumagalli" wrote:
> > >
> > > Hmm If you do an exit $ret, it'll kill the whole ./configure
> > > process with some bourne shells... Will check it...
> >
> > Oop, I have just found one, on BS2000!
> 
> And OS/X... It seems to me that the only case in which that would work is
> when the script is executed by BASH, that forks the second part of the pipe
> into another process, but if it's interactive, we're screwed :)

What about this:
+++
Index: configure.in 
=== 
RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/configure.in,v 
retrieving revision 1.10
diff -u -r1.10 configure.in 
--- configure.in2001/07/09 14:09:16 1.10
+++ configure.in2001/07/09 15:38:33 
@@ -98,9 +98,9 @@   
 done   
 unset first
 unset line 
-exit $ret  
+echo $ret > retfile
   }
-  ret=$?   
+  ret=`cat retfile`
 ]) 

 dnl -- 
+++

>
> Pier



RE: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread GOMEZ Henri

Hi,

Was talking about mod_ssl for 1.3.x 

and only bold used there...

-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .) 
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



>-Original Message-
>From: Pier Fumagalli [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 09, 2001 5:31 PM
>To: [EMAIL PROTECTED]
>Subject: RE: cvs commit: jakarta-tomcat-connectors/webapp configure.in
>
>
>Quoting GOMEZ Henri <[EMAIL PROTECTED]>:
>
>> May be you could use what Ralf used for mod_ssl :)
>
>Version 2.0 of the code I stole :) Why don't we remove colours 
>and that's 
>it? :)
>
>Pier
>



RE: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread Pier Fumagalli

Quoting GOMEZ Henri <[EMAIL PROTECTED]>:

> May be you could use what Ralf used for mod_ssl :)

Version 2.0 of the code I stole :) Why don't we remove colours and that's 
it? :)

Pier



Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread Pier Fumagalli

Quoting jean-frederic clere <[EMAIL PROTECTED]>:

> I have some more problems because printf does not like \133. (Why
> \133 and not ]?).

Bacause [ and ] are the string delimiters in M4... If you change that and try 
to run AutoConf, it'll complain...


> I have some remarks:
> 
> - Why using "\033\13301m", "\033\13300m" etc but not
> bold="\033\13301m",
> offbold="\033\13300m", red=...?
> 
> - \133 is not ] but $ on my EBCDIC platform.
> 
> - Why not using bold=`tput smso` offbold=`tput rmso`? Does someone
> know how to ask for red and offred?

Why don't we simply remove all the colourization? It's kinda fancy and 
neat, but we don't seriously _need_ that...
I got that code from Ralf's some project, and looked cool on my terminal, 
but we seriously don't depend on having colours in the script :)

   Pier

BTW, for US citizens, s/colour/color/g (getting the accent and more over 
here)



Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread Pier Fumagalli

Quoting jean-frederic clere <[EMAIL PROTECTED]>:

> "Pier P. Fumagalli" wrote:
> > 
> > Hmm If you do an exit $ret, it'll kill the whole ./configure
> > process with some bourne shells... Will check it...
> 
> Oop, I have just found one, on BS2000!

And OS/X... It seems to me that the only case in which that would work is 
when the script is executed by BASH, that forks the second part of the pipe 
into another process, but if it's interactive, we're screwed :)

Pier



RE: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread GOMEZ Henri

May be you could use what Ralf used for mod_ssl :)

...

#   some optional terminal sequences
case $TERM in
xterm|xterm*|vt220|vt220*)
T_MD=`echo dummy | awk '{ printf("%c%c%c%c", 27, 91, 49, 109); }'`
T_ME=`echo dummy | awk '{ printf("%c%c%c", 27, 91, 109); }'`
;;
vt100|vt100*)
T_MD=`echo dummy | awk '{ printf("%c%c%c%c%c%c", 27, 91, 49, 109, 0,
0); }'`
T_ME=`echo dummy | awk '{ printf("%c%c%c%c%c", 27, 91, 109, 0, 0);
}'`
;;
default)
T_MD=''
T_ME=''
;;
esac



   echo "${T_MD}INITIALIZATION${T_ME}"

...

-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .) 
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread jean-frederic clere

I have some more problems because printf does not like \133. (Why \133 and not
]?).

I have some remarks:

- Why using "\033\13301m", "\033\13300m" etc but not bold="\033\13301m",
offbold="\033\13300m", red=...?

- \133 is not ] but $ on my EBCDIC platform.

- Why not using bold=`tput smso` offbold=`tput rmso`? Does someone know how to
ask for red and offred?

Jean-frederic


"Pier P. Fumagalli" wrote:
> 
> Hmm If you do an exit $ret, it'll kill the whole ./configure process
> with some bourne shells... Will check it...
> 
> Pier
> 
> [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
> 
> > jfclere 01/07/09 07:09:19
> >
> > Modified:webapp   configure.in
> > Log:
> > Arrange LOCAL_FILTEREXEC because ret is not set correctly.
> >
> > Revision  ChangesPath
> > 1.10  +3 -1  jakarta-tomcat-connectors/webapp/configure.in
> >
> > Index: configure.in
> > ===
> > RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/configure.in,v
> > retrieving revision 1.9
> > retrieving revision 1.10
> > diff -u -r1.9 -r1.10
> > --- configure.in2001/07/08 23:11:381.9
> > +++ configure.in2001/07/09 14:09:161.10
> > @@ -58,7 +58,7 @@
> >  dnl
> > --
> >  dnl Author Pier Fumagalli 
> >  dnl Author Jon S. Stevens 
> > -dnl Version $Id: configure.in,v 1.9 2001/07/08 23:11:38 pier Exp $
> > +dnl Version $Id: configure.in,v 1.10 2001/07/09 14:09:16 jfclere Exp $
> >  dnl
> > --
> >
> >  dnl
> > --
> > @@ -98,7 +98,9 @@
> >  done
> >  unset first
> >  unset line
> > +exit $ret
> >}
> > +  ret=$?
> >  ])
> >
> >  dnl
> > --
> >
> >
> >



Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread jean-frederic clere

"Pier P. Fumagalli" wrote:
> 
> Hmm If you do an exit $ret, it'll kill the whole ./configure process
> with some bourne shells... Will check it...

Oop, I have just found one, on BS2000!

> 
> Pier
> 
> [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
> 
> > jfclere 01/07/09 07:09:19
> >
> > Modified:webapp   configure.in
> > Log:
> > Arrange LOCAL_FILTEREXEC because ret is not set correctly.
> >
> > Revision  ChangesPath
> > 1.10  +3 -1  jakarta-tomcat-connectors/webapp/configure.in
> >
> > Index: configure.in
> > ===
> > RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/configure.in,v
> > retrieving revision 1.9
> > retrieving revision 1.10
> > diff -u -r1.9 -r1.10
> > --- configure.in2001/07/08 23:11:381.9
> > +++ configure.in2001/07/09 14:09:161.10
> > @@ -58,7 +58,7 @@
> >  dnl
> > --
> >  dnl Author Pier Fumagalli 
> >  dnl Author Jon S. Stevens 
> > -dnl Version $Id: configure.in,v 1.9 2001/07/08 23:11:38 pier Exp $
> > +dnl Version $Id: configure.in,v 1.10 2001/07/09 14:09:16 jfclere Exp $
> >  dnl
> > --
> >
> >  dnl
> > --
> > @@ -98,7 +98,9 @@
> >  done
> >  unset first
> >  unset line
> > +exit $ret
> >}
> > +  ret=$?
> >  ])
> >
> >  dnl
> > --
> >
> >
> >



Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in

2001-07-09 Thread Pier P. Fumagalli

Hmm If you do an exit $ret, it'll kill the whole ./configure process
with some bourne shells... Will check it...

Pier

[EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:

> jfclere 01/07/09 07:09:19
> 
> Modified:webapp   configure.in
> Log:
> Arrange LOCAL_FILTEREXEC because ret is not set correctly.
> 
> Revision  ChangesPath
> 1.10  +3 -1  jakarta-tomcat-connectors/webapp/configure.in
> 
> Index: configure.in
> ===
> RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/configure.in,v
> retrieving revision 1.9
> retrieving revision 1.10
> diff -u -r1.9 -r1.10
> --- configure.in2001/07/08 23:11:381.9
> +++ configure.in2001/07/09 14:09:161.10
> @@ -58,7 +58,7 @@
>  dnl 
> --
>  dnl Author Pier Fumagalli 
>  dnl Author Jon S. Stevens 
> -dnl Version $Id: configure.in,v 1.9 2001/07/08 23:11:38 pier Exp $
> +dnl Version $Id: configure.in,v 1.10 2001/07/09 14:09:16 jfclere Exp $
>  dnl 
> --
>  
>  dnl 
> --
> @@ -98,7 +98,9 @@
>  done
>  unset first
>  unset line
> +exit $ret
>}
> +  ret=$?
>  ])
>  
>  dnl 
> --
> 
> 
>