summaryrefslogtreecommitdiff
path: root/tests/output2.test
blob: 7aed3fea7a9f87204e4b73de934b29a1d0e40c97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /bin/sh

# Another AC_OUTPUT test.  From report by Ulrich Drepper.

. $srcdir/defs || exit 1

cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
AC_OUTPUT(Makefile intl/intlh.inst po/Makefile.in misc/gettextize)
END

: > Makefile.am

mkdir intl po misc
: > intl/intlh.inst.in
: > po/Makefile.in.am
: > misc/gettextize.in

$AUTOMAKE || exit 1

grep '^gettextize' Makefile.in && exit 1
exit 0