#! /bin/sh
-# Copyright (C) 2005-2012 Free Software Foundation, Inc.
+# Copyright (C) 2005-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Make sure an AC_CONFIG_FILES ignore filenames with shell variables.
-. ./defs || Exit 1
+. test-init.sh
cat >> configure.ac << \END
AC_SUBST([FOO], [foo])
$AUTOCONF
$AUTOMAKE
-$FGREP ' $file' Makefile.in sub/Makefile.in && Exit 1
+$FGREP ' $file' Makefile.in sub/Makefile.in && exit 1
./configure
$MAKE distcheck