Tag
Hash :
cdbd6cb4
Author :
Date :
1999-12-25T18:35:29
* suffix2.test: Create config.guess and config.sub so user doesn't need libtoolize. From Klaus Reichl.
#! /bin/sh
# Test to make sure .c.o rule is only included once.
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
AC_PROG_CC
AC_PROG_LIBTOOL
END
cat > Makefile.am << 'END'
AUTOMAKE_OPTIONS = no-dependencies
lib_LTLIBRARIES = libltdl.la
libltdl_la_SOURCES = ltdl.c ltdl.h
END
: > ltdl.c
: > ltdl.h
# Create all the files created libtoolize so we don't run libtoolize.
# We don't want the user to need libtool to run this test.
: > ltconfig
: > ltmain.sh
: > config.guess
: > config.sub
$AUTOMAKE -a || exit 1
test "`fgrep '.c.o' Makefile.in | wc -l`" -eq 1