Tag
Hash :
0583b56b
Author :
Date :
1999-01-14T22:45:45
* automake.in (handle_configure): Compute $header_dir based on $one_name, not $one_hdr. Reported by Erez Zadok. Fixes confh2.test. (handle_configure): Compute relative path to input header correctly in all cases.
#! /bin/sh
# Another test to make sure stamp files created correctly.
# Report from Erez Zadok.
. $srcdir/defs || exit 1
cat > configure.in << 'END'
PACKAGE=nonesuch
VERSION=nonesuch
AC_ARG_PROGRAM
AC_PROG_INSTALL
AM_CONFIG_HEADER(d1/config.h:d2/config.h.in)
AC_OUTPUT(Makefile d1/Makefile)
END
: > Makefile.am
: > acconfig.h
mkdir d1 d2
: > d1/Makefile.am
: > d2/config.h.in
$AUTOMAKE || exit 1
grep '^config.h:' d1/Makefile.in || exit 1
fgrep 'echo timestamp > stamp-h' d1/Makefile.in || exit 1
fgrep '../d2/config.h.in' d1/Makefile.in || exit 1