Well, it's better not to read configure.ac
ever :-) But if you still wish, configure.ac
is a combination of m4
preprocessor code and ordinary (bourne) shell snippets. You may check info m4
and info autoconf
, the docs are pretty decent.
The hard part of your question, regarding the .lo
file. It seems that your makefile contains dependency chain for it, but no explicit build-rules. You may try to locate a common rule for compiling .c
-> .lo
, like this:
.c.lo:
$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
...