[sane-devel] lib functions and empty files

Steve M. Robbins steven.robbins at videotron.ca
Sat Feb 9 04:11:44 GMT 2002


On Fri, Feb 08, 2002 at 10:44:11PM +0100, Henning Meier-Geinitz wrote:

> If the function is already available by the system, the source file is
> empty. At least gcc complains about this in "-ansi" mode and even
> aborts compilation on at least one platform (OS/2 with gcc3.x).

If someone got ambitious, the correct way to handle this is
to change the configure script to use AC_REPLACE_FUNCS
instead of AC_CHECK_FUNCS.  Then the makefiles can simply
omit compiling the file if unneeded.

-S

-- 
by Rocket to the Moon,
by Airplane to the Rocket,
by Taxi to the Airport,
by Frontdoor to the Taxi,
by throwing back the blanket and laying down the legs ...
- They Might Be Giants




More information about the sane-devel mailing list