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

# Test for bug reported by Thomas Morgan.  If both AC_PROG_INSTALL and
# AC_PROG_INSTALL appear in configure.in, bad error results.

. $srcdir/defs || exit 1

cat > configure.in << 'END'
PACKAGE=nonesuch
VERSION=nonesuch
AC_ARG_PROGRAM
AC_PROG_INSTALL
AC_PROG_INSTALL
AC_OUTPUT(Makefile)
END

cat > Makefile.am <<'END'
bin_SCRIPTS = zot
END

$AUTOMAKE || exit 1