[PATCH] Misc fixes for configure.in (was Re: stop the autoconf insanity)

Stefan (metze) Metzmacher metze at metzemix.de
Fri Jun 27 05:29:29 GMT 2003


At 12:46 27.06.2003 +1000, Tim Potter wrote:
>Here are two patches to configure.in for people to look at.  One fixes bug
>#125 where we foolishly discard the value of LIBS when determining LDAP
>libraries.  I've instead used the OTHER-LIBRARIES argument to AC_CHECK_LIB
>to link additional libraries for the test.

Tim,
I think using of the OTHER-LIBS argument is cool (I were not knowing about 
it till now :-)

However I didn't thing theway you use it here is right here.

I made a patch yesterday which moves the LDAP test before the ADS/KRB5 test

and which tests if ldap.h is really there. (so we'll get better 
autodetecting of
  LDAP KRB5 and ADS)
I'll change that to use AC_CHECK_LIB with OTHER-LIBS aregument
and send it soon...

>The second patch displays the libaries detected during the configure
>process at the end of the script.  I think this is more useful than displaying
>them in the Makefile (but only when you build particular targets).

sounds good



metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de> 




More information about the samba-technical mailing list