1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #! /bin/sh
- . test-init.sh
- cat >> configure.ac << 'END'
- AC_PROG_CC
- AM_CONDITIONAL([USE_A], [test x = y])
- AM_CONDITIONAL([USE_B], [test x = z])
- AC_OUTPUT
- END
- cat > Makefile.am << 'END'
- if USE_A
- out=output_a.c
- else
- if USE_B
- out=output_b.c
- else
- out=output_c.c
- endif
- endif
- noinst_PROGRAMS=foo
- foo_SOURCES=foo.c $(out)
- END
- $ACLOCAL
- $AUTOMAKE -a
- grep 'USE_A_FALSE.*USE_B_FALSE.*output_c\...OBJEXT.' Makefile.in
- :
|