123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #! /bin/sh
- . test-init.sh
- cat >> configure.ac << 'END'
- AC_CONFIG_HEADERS([include/config.h])
- AC_OUTPUT
- END
- cat > Makefile.am << 'END'
- .PHONY: test1 test2
- test1:
- @echo DIST_COMMON = $(DIST_COMMON)
- echo ' ' $(DIST_COMMON) ' ' | grep '[ /]acconfig\.h '
- test2: distdir
- ls -l $(distdir)/*
- test -f $(distdir)/acconfig.h
- check-local: test1 test2
- END
- mkdir include
- : > include/config.h.in
- : > acconfig.h
- : > include/Makefile.am
- $ACLOCAL
- $AUTOCONF
- $AUTOHEADER
- $AUTOMAKE
- ./configure
- $MAKE test1
- $MAKE test2
- $MAKE distcheck
- mv Makefile.in Makefile.sav
- $ACLOCAL
- $AUTOMAKE Makefile
- diff Makefile.sav Makefile.in
- :
|