[ freetds-Patches-575022 ] Distribution patch for autoconf

Alex Hornby alex at anvil.co.uk
Fri May 2 19:13:14 EDT 2003


On Mon, 2002-07-01 at 13:36, Brian Bruns wrote:
> 
> > Also in src/Makefile.am you do not distribuite odbc if not specified with
> > configure. Is your choice or a error patching file?
> > 
> > freddy77
> 
> We can not be sure that there is a driver manager available unless it is
> specified on the configure line, so it's intentional.  Can't distribute if
> we can build ;-)
> 
> 
> Brian
> 

You could test for its existence, even without a specific path using
AC_CHECK_HEADER and AC_CHECK_LIB. (Just like any other lib/header).

This would mean unixODBC would be autodetected on Redhat systems that
include it (its packaged with the distribution).

Of course if the user specifies a location to configure then that's the
one to use.

Cheers,
Alex.





More information about the FreeTDS mailing list