Tag
Hash :
f059050a
Author :
Date :
2001-04-27T14:03:26
* tests/specflags4.test, tests/specflags5.test: Remove, merged into... * tests/specflags3.test: here.
#! /bin/sh
# Test exe-specific flags with dependency tracking.
. $srcdir/defs || exit 1
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(test, 0.1)
AC_PROG_CC
AC_OUTPUT(Makefile)
END
cat > Makefile.am << 'END'
AUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = foo
foo_SOURCES = foo.c
foo_CFLAGS = -DFOO
END
: > compile
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
fgrep -e '-o foo-foo' Makefile.in || exit 1
fgrep 'foo.o.o' Makefile.in && exit 1
fgrep 'foo.$(OBJEXT).$(OBJEXT)' Makefile.in && exit 1
fgrep '$(foo_CFLAGS)' Makefile.in || exit 1
exit 0