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
/
subst.test
blob
42098ecbbd262c874cbec924149a445f1ae901ea
1
#! /bin/sh
2
3
# Test that AC_SUBST($1) does something sensible. From Ulrich
4
# Drepper.
5
6
.
$srcdir
/
defs ||
exit
1
7
8
cat
>>
configure.
in
<<
'END'
9
AC_SUBST
(
$1
)
10
AC_SUBST
([
$
]
$1
)
dnl this is the actual invocation that was used
11
END
12
13
: >
Makefile.am
14
15
$AUTOMAKE
||
exit
1
16
grep
'^\
$1
'
Makefile.
in
&&
exit
1
17
exit
0