>>>>> "Bryan" == Bryan VanDeVen <[EMAIL PROTECTED]> writes:
Bryan> what is the best way to use a different source file based on
Bryan> the outcome of configure? We would like to normailly produce a
Bryan> stubbed out version of a lib function, and only use the real
Bryan> version when building inside the closed space
The best way is to use an automake conditional and then conditionally
include the source file in your _SOURCES variable.
Bryan> liblfbl_la_SOURCES = bit_unpack.c \
Bryan> fixpos.c \
Bryan> getcentr.c \
Bryan> $(@LFBLCODE@) \
Bryan> getlfbla.c \
Bryan> getlfbld.c
This won't work. A _SOURCES variable must have static contents.
Tom