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
/
number.test
blob
3ab95dbb1a228a6ee0832e39e245617b1ffc9b84
1
#! /bin/sh
2
3
# Test to make sure _OBJECTS only generated once. Bug reported by
4
# Joerg-Martin Schwarz.
5
6
.
$srcdir
/
defs ||
exit
1
7
8
cat
>>
configure.
in
<<
'END'
9
AC_PROG_CC
10
END
11
12
cat
>
Makefile.am
<<
'END'
13
bin_PROGRAMS
=
zardoz
14
END
15
16
$ACLOCAL
||
exit
1
17
$AUTOMAKE
||
exit
1
18
19
count
=
`grep -c '^zardoz_OBJECTS' Makefile.in`
20
test
$count
-eq
1