Line 451... |
Line 451... |
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
echo > confdefs.h
|
echo > confdefs.h
|
|
|
# A filename unique to this package, relative to the directory that
|
# A filename unique to this package, relative to the directory that
|
# configure is in, which we can look for to find out if srcdir is correct.
|
# configure is in, which we can look for to find out if srcdir is correct.
|
ac_unique_file=cpu/or1k/execute.c
|
ac_unique_file=cpu/or32/execute.c
|
|
|
# Find the source files, if location was not specified.
|
# Find the source files, if location was not specified.
|
if test -z "$srcdir"; then
|
if test -z "$srcdir"; then
|
ac_srcdir_defaulted=yes
|
ac_srcdir_defaulted=yes
|
# Try the directory containing this script, then its parent.
|
# Try the directory containing this script, then its parent.
|
Line 780... |
Line 780... |
fi
|
fi
|
|
|
|
|
PACKAGE=or1ksim
|
PACKAGE=or1ksim
|
|
|
VERSION=1.1
|
VERSION=1.2
|
|
|
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
|
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
|
fi
|
fi
|
cat >> confdefs.h <
|
cat >> confdefs.h <
|
Line 866... |
Line 866... |
|
|
|
|
|
|
|
|
|
|
# From configure.in for or1ksim-1.1, version 2.14, from autoconf version 2.13
|
# From configure.in for or1ksim-1.2, version 2.14, from autoconf version 2.13
|
SIMVERSION=1.1
|
SIMVERSION=1.2
|
|
|
|
|
|
|
# Make sure we can run config.sub.
|
# Make sure we can run config.sub.
|
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
|
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
|
Line 1905... |
Line 1905... |
|
|
|
|
|
|
|
|
case "$target_cpu" in
|
case "$target_cpu" in
|
or1k*) CPU_ARCH=or1k;;
|
or32*) CPU_ARCH=or32;;
|
|
or16*) CPU_ARCH=or16;;
|
dlx*) CPU_ARCH=dlx;;
|
dlx*) CPU_ARCH=dlx;;
|
esac
|
esac
|
|
|
|
|
INCLUDES="-I\${top_srcdir}/cpu/common -I\${top_srcdir}/cpu/$CPU_ARCH -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
|
INCLUDES="-I\${top_srcdir}/cpu/common -I\${top_srcdir}/cpu/$CPU_ARCH -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
|
Line 2017... |
Line 2018... |
|
|
ac_given_srcdir=$srcdir
|
ac_given_srcdir=$srcdir
|
ac_given_INSTALL="$INSTALL"
|
ac_given_INSTALL="$INSTALL"
|
|
|
trap 'rm -fr `echo "Makefile bpb/Makefile cache/Makefile cpu/Makefile
|
trap 'rm -fr `echo "Makefile bpb/Makefile cache/Makefile cpu/Makefile
|
cpu/common/Makefile cpu/or1k/Makefile cpu/dlx/Makefile
|
cpu/common/Makefile cpu/or32/Makefile cpu/or16/Makefile
|
|
cpu/dlx/Makefile
|
support/Makefile mmu/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
support/Makefile mmu/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
EOF
|
EOF
|
cat >> $CONFIG_STATUS <
|
cat >> $CONFIG_STATUS <
|
|
|
# Protect against being on the right side of a sed subst in config.status.
|
# Protect against being on the right side of a sed subst in config.status.
|
Line 2132... |
Line 2134... |
EOF
|
EOF
|
|
|
cat >> $CONFIG_STATUS <
|
cat >> $CONFIG_STATUS <
|
|
|
CONFIG_FILES=\${CONFIG_FILES-"Makefile bpb/Makefile cache/Makefile cpu/Makefile
|
CONFIG_FILES=\${CONFIG_FILES-"Makefile bpb/Makefile cache/Makefile cpu/Makefile
|
cpu/common/Makefile cpu/or1k/Makefile cpu/dlx/Makefile
|
cpu/common/Makefile cpu/or32/Makefile cpu/or16/Makefile
|
|
cpu/dlx/Makefile
|
support/Makefile mmu/Makefile"}
|
support/Makefile mmu/Makefile"}
|
EOF
|
EOF
|
cat >> $CONFIG_STATUS <<\EOF
|
cat >> $CONFIG_STATUS <<\EOF
|
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|