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
nothing
[automake.git]
/
tests
/
number.test
blob
d4af17e70a2362b56b001e25eb1b1c3dc620c608
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
$AUTOMAKE
||
exit
1
17
18
count
=
`grep -c '^zardoz_OBJECTS' Makefile.in`
19
test
$count
-eq
1