* automake.texi (Macros): Document AM_PROG_AS.
[automake.git] / tests / auxdir.test
blobcf6872d4634bacf7e603945f3d027ca3fcf860de
1 #! /bin/sh
3 # Test to make sure AC_CONFIG_AUX_DIR works correctly.
5 . $srcdir/defs || exit 1
7 # The "./." is here so we don't have to mess with subdirs.
8 cat >> configure.in << 'END'
9 PACKAGE=nonesuch
10 VERSION=nonesuch
11 AC_CONFIG_AUX_DIR(./.)
12 END
14 cat > Makefile.am << 'END'
15 pkgdata_DATA =
16 END
18 # The "././" prefix confuses Automake into thinking it is doing a
19 # subdir build. Yes, this is hacky.
20 $AUTOMAKE ././Makefile || exit 1
22 grep '/\./\./mkinstalldirs' Makefile.in