Re: config.test fragments

From: Guido Serassio <guido.serassio@dont-contact.us>
Date: Sun, 23 Apr 2006 13:50:55 +0200

Hi Robert,

At 13.17 23/04/2006, Robert Collins wrote:

>seems to me that if we exported all the autoconf values during a
>config.test run, they would be more portable: see for instance Guido's
>recent commit to probe /usr/local as well: unless CPPFLAGS are set
>correctly that test won't help (because while its on the system, its not
>available).

Yes, correct.
On the machine where I have identified the problem, CPPFLAGS is set
correctly, but on other systems this could not be true.

>What would help is to check for AC_CHECK_HEADERS([ldap.h]) in the main
>configure, and then the config.test can check ac_cv_header_ldap_h = yes
>(for instance).
>
>Alternatively we could build configure by including the config.test,
>which would also let it handle such cases.

I like more the first option.

We should address too the correct location of libxml2 includes (see
Robert's recent change)

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Sun Apr 23 2006 - 05:51:02 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:03 MDT