repo.or.cz
/
automake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* automake.texi (Macros): Document AM_PROG_AS.
[automake.git]
/
tests
/
header.test
blob
9f50e299b88a5f7305070e555f324a75d182c194
1
#! /bin/sh
2
3
# Test for PR 68.
4
5
.
$srcdir
/
defs ||
exit
1
6
7
cat
>>
configure.
in
<<
'END'
8
AM_INIT_AUTOMAKE
(
nonesuch
,
nonesuch
)
9
PACKAGE
=
nonesuch
10
VERSION
=
nonesuch
11
AC_SUBST
(
MY_HEADERS
)
12
AC_ARG_PROGRAM
13
AC_PROG_INSTALL
14
AC_PROG_MAKE_SET
15
AC_PROG_CC
16
AC_OUTPUT
(
Makefile
)
17
END
18
19
cat
>
Makefile.am
<<
'END'
20
bin_PROGRAMS
=
zoo
21
zoo_SOURCES
=
joe.c
22
END
23
24
: >
joe.c
25
: >
qq.h
26
27
$ACLOCAL
||
exit
1
28
$AUTOMAKE
||
exit
1
29
30
grep
'[^@]MY_HEADERS'
Makefile.
in
&&
exit
1
31
exit
0