1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #! /bin/sh
- am_create_testdir=empty
- . test-init.sh
- echo 'm4_define([FOO], [wrong foo])' > foo.m4
- echo 'm4_define([FOO], [right foo])' > acinclude.m4
- echo 'AC_INIT FOO' > configure.ac
- chmod a-w foo.m4
- ln -s foo.m4 aclocal.m4 && test -h aclocal.m4 \
- || skip_ "cannot create symlinks to files"
- grep 'wrong foo' aclocal.m4 \
- || fatal_ "weird error symlinking aclocal.m4 -> foo.m4"
- $ACLOCAL
- $AUTOCONF
- grep 'right foo' configure
- grep 'wrong foo' foo.m4
- :
|