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
/
lex2.test
blob
34d45a9cc156abf9ec235b71beecd886dfb2f9c5
1
#! /bin/sh
2
3
# Test to make sure AC_PROG_LEX is an error.
4
5
.
$srcdir
/
defs ||
exit
1
6
7
cat
>>
configure.
in
<<
'END'
8
AC_PROG_CC
9
AC_PROG_LEX
10
AC_DECL_YYTEXT
11
END
12
13
cat
>
Makefile.am
<<
'END'
14
bin_PROGRAMS
=
zot
15
zot_SOURCES
=
joe.l
16
LDADD
=
@LEXLIB@
17
END
18
19
: >
joe.l
20
21
$ACLOCAL
||
exit
1
22
$AUTOMAKE
--Wno-error
2
>
output ||
exit
1
23
test -n
"`cat output`"