Subject: Re: Remove dependency on C++ compiler

Re: Remove dependency on C++ compiler

From: Bram Matthys (Syzop) <syzop_at_vulnscan.org>
Date: 2006-05-08

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Daniel,

Daniel Stenberg wrote:
> Ok, I'm not an autoconf/libtool expert, but it seems to me that by
> extracting what your fix actually does and only doing that works just
> the same and with a lot less code. Does this work for you as well?

They create near-identical configure output (firstpatch vs yourpatch). They
both trim down the amount of lines in "configure" from ~24K to ~13K (on 1.3.0).

The ONLY small difference is this, whether you find this check important or
not I leave to you (diff is between mypatchedconfigure->yourpatchedconfigure):

**
- --- ../c-ares-1.3.0/configure 2006-04-10 00:28:30.000000000 +0200
+++ configure 2006-05-08 14:10:22.000000000 +0200
@@ -9228,27 +9228,6 @@
 CC="$lt_save_CC"

- - if test -f "$ltmain"; then
- - if test ! -f "${ofile}"; then
- - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not
exist" >&5
- -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
- - fi
- -
- - if test -z "$LTCC"; then
- - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
- - if test -z "$LTCC"; then
- - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look
like a libtool script" >&5
- -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool
script" >&2;}
- - else
- - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from
\`$ofile'" >&5
- -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
- - fi
- - fi
- -
- -
- - fi
- -
- -

 # This can be used to rebuild libtool when needed
**

I'm afraid I've no further time to help you on this though.

        Bram.

PS: This was tested on 1.3.0 and not on CVS

- --
Bram Matthys
Software developer/IT consultant syzop@vulnscan.org
PGP key: www.vulnscan.org/pubkey.asc
PGP fp: 8DD4 437E 9BA8 09AA 0A8D 1811 E1C3 D65F E6ED 2AA2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEXzhb4cPWX+btKqIRAvEkAJ4sJHXHCPUZAwYEVADJktmHRU4gfACeP3zb
JC9hQ177kwVsr6SMREhONgU=
=QhBV
-----END PGP SIGNATURE-----
Received on Mon May 8 14:24:04 2006