Line 1... |
Line 1... |
#! /bin/sh
|
#! /bin/sh
|
# From configure.ac Id: configure.ac 948 2010-04-21 10:27:25Z jeremy using automake version AC_ACVERSION.
|
# From configure.ac Id: configure.ac 955 2010-04-21 17:06:30Z jeremy using automake version AC_ACVERSION.
|
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
# Generated by GNU Autoconf 2.63 for or1ksim 2010-04-21.
|
# Generated by GNU Autoconf 2.63 for or1ksim 2010-04-21.
|
#
|
#
|
# Report bugs to .
|
# Report bugs to .
|
#
|
#
|
Line 817... |
Line 817... |
ARFLAGS
|
ARFLAGS
|
LOCAL_DEFS
|
LOCAL_DEFS
|
LOCAL_LDFLAGS
|
LOCAL_LDFLAGS
|
LOCAL_CFLAGS
|
LOCAL_CFLAGS
|
BUILD_DIR
|
BUILD_DIR
|
|
DEJAGNU
|
DYNAMIC_EXECUTION_FALSE
|
DYNAMIC_EXECUTION_FALSE
|
DYNAMIC_EXECUTION_TRUE
|
DYNAMIC_EXECUTION_TRUE
|
GENERATE_NEEDED_FALSE
|
GENERATE_NEEDED_FALSE
|
GENERATE_NEEDED_TRUE
|
GENERATE_NEEDED_TRUE
|
DEBUGFLAGS
|
DEBUGFLAGS
|
Line 976... |
Line 977... |
LIBS
|
LIBS
|
CPPFLAGS
|
CPPFLAGS
|
CPP
|
CPP
|
CCAS
|
CCAS
|
CCASFLAGS'
|
CCASFLAGS'
|
ac_subdirs_all='testsuite'
|
ac_subdirs_all='testsuite/test-code-or1k'
|
|
|
# Initialize some variables set by options.
|
# Initialize some variables set by options.
|
ac_init_help=
|
ac_init_help=
|
ac_init_version=false
|
ac_init_version=false
|
ac_unrecognized_opts=
|
ac_unrecognized_opts=
|
Line 2112... |
Line 2113... |
|
|
|
|
|
|
|
|
# Check we have the execute source file present for sanity. Specify a separate
|
# Check we have the execute source file present for sanity. Specify a separate
|
# config for the testsuite, since we'll need different tool chain there (the
|
# config for the testsuite OR1K specific programs, since we'll need different
|
# OpenRISC one, rather than the native one).
|
# tool chain there (the OpenRISC one, rather than the native one).
|
|
|
ac_aux_dir=
|
ac_aux_dir=
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
if test -f "$ac_dir/install-sh"; then
|
if test -f "$ac_dir/install-sh"; then
|
ac_aux_dir=$ac_dir
|
ac_aux_dir=$ac_dir
|
Line 2148... |
Line 2149... |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|
|
|
|
|
|
|
|
subdirs="$subdirs testsuite"
|
subdirs="$subdirs testsuite/test-code-or1k"
|
|
|
|
|
# Make sure we can run config.sub.
|
# Make sure we can run config.sub.
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
Line 2285... |
Line 2286... |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
esac
|
esac
|
|
|
|
|
|
|
macro_version='2.2.6'
|
macro_version='2.2.6b'
|
macro_revision='1.3012'
|
macro_revision='1.3017'
|
|
|
|
|
|
|
|
|
|
|
Line 3829... |
Line 3830... |
if test "${lt_cv_nm_interface+set}" = set; then
|
if test "${lt_cv_nm_interface+set}" = set; then
|
$as_echo_n "(cached) " >&6
|
$as_echo_n "(cached) " >&6
|
else
|
else
|
lt_cv_nm_interface="BSD nm"
|
lt_cv_nm_interface="BSD nm"
|
echo "int some_variable = 0;" > conftest.$ac_ext
|
echo "int some_variable = 0;" > conftest.$ac_ext
|
(eval echo "\"\$as_me:3834: $ac_compile\"" >&5)
|
(eval echo "\"\$as_me:3835: $ac_compile\"" >&5)
|
(eval "$ac_compile" 2>conftest.err)
|
(eval "$ac_compile" 2>conftest.err)
|
cat conftest.err >&5
|
cat conftest.err >&5
|
(eval echo "\"\$as_me:3837: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
(eval echo "\"\$as_me:3838: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
cat conftest.err >&5
|
cat conftest.err >&5
|
(eval echo "\"\$as_me:3840: output\"" >&5)
|
(eval echo "\"\$as_me:3841: output\"" >&5)
|
cat conftest.out >&5
|
cat conftest.out >&5
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
lt_cv_nm_interface="MS dumpbin"
|
lt_cv_nm_interface="MS dumpbin"
|
fi
|
fi
|
rm -f conftest*
|
rm -f conftest*
|
Line 4305... |
Line 4306... |
# This must be Linux ELF.
|
# This must be Linux ELF.
|
linux* | k*bsd*-gnu)
|
linux* | k*bsd*-gnu)
|
lt_cv_deplibs_check_method=pass_all
|
lt_cv_deplibs_check_method=pass_all
|
;;
|
;;
|
|
|
netbsd* | netbsdelf*-gnu)
|
netbsd*)
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
else
|
else
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
|
fi
|
fi
|
Line 5041... |
Line 5042... |
fi
|
fi
|
rm -rf conftest*
|
rm -rf conftest*
|
;;
|
;;
|
*-*-irix6*)
|
*-*-irix6*)
|
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
echo '#line 5046 "configure"' > conftest.$ac_ext
|
echo '#line 5047 "configure"' > conftest.$ac_ext
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
ac_status=$?
|
ac_status=$?
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
(exit $ac_status); }; then
|
(exit $ac_status); }; then
|
Line 6898... |
Line 6899... |
# The option is referenced via a variable to avoid confusing sed.
|
# The option is referenced via a variable to avoid confusing sed.
|
lt_compile=`echo "$ac_compile" | $SED \
|
lt_compile=`echo "$ac_compile" | $SED \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
(eval echo "\"\$as_me:6903: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:6904: $lt_compile\"" >&5)
|
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
ac_status=$?
|
ac_status=$?
|
cat conftest.err >&5
|
cat conftest.err >&5
|
echo "$as_me:6907: \$? = $ac_status" >&5
|
echo "$as_me:6908: \$? = $ac_status" >&5
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
|
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
Line 7237... |
Line 7238... |
# The option is referenced via a variable to avoid confusing sed.
|
# The option is referenced via a variable to avoid confusing sed.
|
lt_compile=`echo "$ac_compile" | $SED \
|
lt_compile=`echo "$ac_compile" | $SED \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
(eval echo "\"\$as_me:7242: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:7243: $lt_compile\"" >&5)
|
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
ac_status=$?
|
ac_status=$?
|
cat conftest.err >&5
|
cat conftest.err >&5
|
echo "$as_me:7246: \$? = $ac_status" >&5
|
echo "$as_me:7247: \$? = $ac_status" >&5
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
|
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
Line 7342... |
Line 7343... |
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
lt_compile=`echo "$ac_compile" | $SED \
|
lt_compile=`echo "$ac_compile" | $SED \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
(eval echo "\"\$as_me:7347: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:7348: $lt_compile\"" >&5)
|
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
ac_status=$?
|
ac_status=$?
|
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
echo "$as_me:7351: \$? = $ac_status" >&5
|
echo "$as_me:7352: \$? = $ac_status" >&5
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
then
|
then
|
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
# So say no if there are warnings
|
# So say no if there are warnings
|
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
|
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
|
Line 7397... |
Line 7398... |
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
lt_compile=`echo "$ac_compile" | $SED \
|
lt_compile=`echo "$ac_compile" | $SED \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
(eval echo "\"\$as_me:7402: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:7403: $lt_compile\"" >&5)
|
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
ac_status=$?
|
ac_status=$?
|
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
echo "$as_me:7406: \$? = $ac_status" >&5
|
echo "$as_me:7407: \$? = $ac_status" >&5
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
then
|
then
|
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
# So say no if there are warnings
|
# So say no if there are warnings
|
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
|
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
|
Line 7516... |
Line 7517... |
with_gnu_ld=yes
|
with_gnu_ld=yes
|
;;
|
;;
|
openbsd*)
|
openbsd*)
|
with_gnu_ld=no
|
with_gnu_ld=no
|
;;
|
;;
|
linux* | k*bsd*-gnu)
|
|
link_all_deplibs=no
|
|
;;
|
|
esac
|
esac
|
|
|
ld_shlibs=yes
|
ld_shlibs=yes
|
if test "$with_gnu_ld" = yes; then
|
if test "$with_gnu_ld" = yes; then
|
# If archive_cmds runs LD, not CC, wlarc should be empty
|
# If archive_cmds runs LD, not CC, wlarc should be empty
|
Line 7701... |
Line 7699... |
else
|
else
|
ld_shlibs=no
|
ld_shlibs=no
|
fi
|
fi
|
;;
|
;;
|
|
|
netbsd* | netbsdelf*-gnu)
|
netbsd*)
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
wlarc=
|
wlarc=
|
else
|
else
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
Line 7876... |
Line 7874... |
esac
|
esac
|
shared_flag='-shared'
|
shared_flag='-shared'
|
if test "$aix_use_runtimelinking" = yes; then
|
if test "$aix_use_runtimelinking" = yes; then
|
shared_flag="$shared_flag "'${wl}-G'
|
shared_flag="$shared_flag "'${wl}-G'
|
fi
|
fi
|
link_all_deplibs=no
|
|
else
|
else
|
# not using gcc
|
# not using gcc
|
if test "$host_cpu" = ia64; then
|
if test "$host_cpu" = ia64; then
|
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
|
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
|
# chokes on -Wl,-G. The following line is correct:
|
# chokes on -Wl,-G. The following line is correct:
|
Line 8291... |
Line 8288... |
hardcode_libdir_separator=:
|
hardcode_libdir_separator=:
|
inherit_rpath=yes
|
inherit_rpath=yes
|
link_all_deplibs=yes
|
link_all_deplibs=yes
|
;;
|
;;
|
|
|
netbsd* | netbsdelf*-gnu)
|
netbsd*)
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
else
|
else
|
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
fi
|
fi
|
Line 9253... |
Line 9250... |
# This implies no fast_install, which is unacceptable.
|
# This implies no fast_install, which is unacceptable.
|
# Some rework will be needed to allow for fast_install
|
# Some rework will be needed to allow for fast_install
|
# before this can be enabled.
|
# before this can be enabled.
|
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
|
|
|
# Add ABI-specific directories to the system library path.
|
|
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
|
|
|
# Append ld.so.conf contents to the search path
|
# Append ld.so.conf contents to the search path
|
if test -f /etc/ld.so.conf; then
|
if test -f /etc/ld.so.conf; then
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
fi
|
fi
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
# powerpc, because MkLinux only supported shared libraries with the
|
# powerpc, because MkLinux only supported shared libraries with the
|
# GNU dynamic linker. Since this was broken with cross compilers,
|
# GNU dynamic linker. Since this was broken with cross compilers,
|
Line 9268... |
Line 9268... |
# people can always --disable-shared, the test was removed, and we
|
# people can always --disable-shared, the test was removed, and we
|
# assume the GNU/Linux dynamic linker is in use.
|
# assume the GNU/Linux dynamic linker is in use.
|
dynamic_linker='GNU/Linux ld.so'
|
dynamic_linker='GNU/Linux ld.so'
|
;;
|
;;
|
|
|
netbsdelf*-gnu)
|
|
version_type=linux
|
|
need_lib_prefix=no
|
|
need_version=no
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
soname_spec='${libname}${release}${shared_ext}$major'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
shlibpath_overrides_runpath=no
|
|
hardcode_into_libs=yes
|
|
dynamic_linker='NetBSD ld.elf_so'
|
|
;;
|
|
|
|
netbsd*)
|
netbsd*)
|
version_type=sunos
|
version_type=sunos
|
need_lib_prefix=no
|
need_lib_prefix=no
|
need_version=no
|
need_version=no
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
Line 10213... |
Line 10201... |
lt_cv_dlopen_self=cross
|
lt_cv_dlopen_self=cross
|
else
|
else
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
#line 10218 "configure"
|
#line 10206 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
#include
|
#include
|
#endif
|
#endif
|
Line 10309... |
Line 10297... |
lt_cv_dlopen_self_static=cross
|
lt_cv_dlopen_self_static=cross
|
else
|
else
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
#line 10314 "configure"
|
#line 10302 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
#include
|
#include
|
#endif
|
#endif
|
Line 17617... |
Line 17605... |
fi
|
fi
|
|
|
|
|
|
|
test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
|
test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
|
# CFLAGS="$CFLAGS -O4"
|
|
|
# Check for a DejaGNU global config file. If not set, then set it
|
|
# ourselves. This stops runtest complaining
|
|
if test x"$DEJAGNU" = x
|
|
then
|
|
DEJAGNU="\$(top_srcdir)/testsuite/default-global-conf.exp"
|
|
|
|
fi
|
|
|
BUILD_DIR=`pwd`
|
BUILD_DIR=`pwd`
|
|
|
|
|
|
|
Line 17652... |
Line 17647... |
-I\${top_srcdir}/peripheral/channels -I\${top_srcdir}/pm -I\${top_srcdir}/pic \
|
-I\${top_srcdir}/peripheral/channels -I\${top_srcdir}/pm -I\${top_srcdir}/pic \
|
-I\${top_srcdir}/debug -I\${top_srcdir}/vapi -I\${top_srcdir}/support \
|
-I\${top_srcdir}/debug -I\${top_srcdir}/vapi -I\${top_srcdir}/support \
|
-I\${top_srcdir}/cuc -I\${top_srcdir}/port -I\${top_srcdir}/argtable2"
|
-I\${top_srcdir}/cuc -I\${top_srcdir}/port -I\${top_srcdir}/argtable2"
|
|
|
|
|
ac_config_files="$ac_config_files Makefile argtable2/Makefile bpb/Makefile cache/Makefile cpu/Makefile cpu/common/Makefile cpu/or1k/Makefile cuc/Makefile debug/Makefile doc/Makefile support/Makefile mmu/Makefile peripheral/Makefile tick/Makefile peripheral/channels/Makefile pm/Makefile pic/Makefile vapi/Makefile port/Makefile"
|
ac_config_files="$ac_config_files Makefile argtable2/Makefile bpb/Makefile cache/Makefile cpu/Makefile cpu/common/Makefile cpu/or1k/Makefile cuc/Makefile debug/Makefile doc/Makefile mmu/Makefile peripheral/Makefile peripheral/channels/Makefile pm/Makefile pic/Makefile port/Makefile support/Makefile testsuite/Makefile testsuite/config/Makefile testsuite/lib/Makefile testsuite/libsim.tests/Makefile testsuite/or1ksim.tests/Makefile testsuite/test-code/Makefile testsuite/test-code/lib-iftest/Makefile tick/Makefile vapi/Makefile"
|
|
|
|
|
# yuck. I don't know why I cannot just substitute $CPU_ARCH in the above
|
# yuck. I don't know why I cannot just substitute $CPU_ARCH in the above
|
case "$CPU_ARCH" in
|
case "$CPU_ARCH" in
|
dlx) ac_config_files="$ac_config_files cpu/dlx/Makefile"
|
dlx) ac_config_files="$ac_config_files cpu/dlx/Makefile"
|
Line 18604... |
Line 18599... |
"cpu/common/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/common/Makefile" ;;
|
"cpu/common/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/common/Makefile" ;;
|
"cpu/or1k/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/or1k/Makefile" ;;
|
"cpu/or1k/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/or1k/Makefile" ;;
|
"cuc/Makefile") CONFIG_FILES="$CONFIG_FILES cuc/Makefile" ;;
|
"cuc/Makefile") CONFIG_FILES="$CONFIG_FILES cuc/Makefile" ;;
|
"debug/Makefile") CONFIG_FILES="$CONFIG_FILES debug/Makefile" ;;
|
"debug/Makefile") CONFIG_FILES="$CONFIG_FILES debug/Makefile" ;;
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
|
"support/Makefile") CONFIG_FILES="$CONFIG_FILES support/Makefile" ;;
|
|
"mmu/Makefile") CONFIG_FILES="$CONFIG_FILES mmu/Makefile" ;;
|
"mmu/Makefile") CONFIG_FILES="$CONFIG_FILES mmu/Makefile" ;;
|
"peripheral/Makefile") CONFIG_FILES="$CONFIG_FILES peripheral/Makefile" ;;
|
"peripheral/Makefile") CONFIG_FILES="$CONFIG_FILES peripheral/Makefile" ;;
|
"tick/Makefile") CONFIG_FILES="$CONFIG_FILES tick/Makefile" ;;
|
|
"peripheral/channels/Makefile") CONFIG_FILES="$CONFIG_FILES peripheral/channels/Makefile" ;;
|
"peripheral/channels/Makefile") CONFIG_FILES="$CONFIG_FILES peripheral/channels/Makefile" ;;
|
"pm/Makefile") CONFIG_FILES="$CONFIG_FILES pm/Makefile" ;;
|
"pm/Makefile") CONFIG_FILES="$CONFIG_FILES pm/Makefile" ;;
|
"pic/Makefile") CONFIG_FILES="$CONFIG_FILES pic/Makefile" ;;
|
"pic/Makefile") CONFIG_FILES="$CONFIG_FILES pic/Makefile" ;;
|
"vapi/Makefile") CONFIG_FILES="$CONFIG_FILES vapi/Makefile" ;;
|
|
"port/Makefile") CONFIG_FILES="$CONFIG_FILES port/Makefile" ;;
|
"port/Makefile") CONFIG_FILES="$CONFIG_FILES port/Makefile" ;;
|
|
"support/Makefile") CONFIG_FILES="$CONFIG_FILES support/Makefile" ;;
|
|
"testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
|
|
"testsuite/config/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/config/Makefile" ;;
|
|
"testsuite/lib/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/lib/Makefile" ;;
|
|
"testsuite/libsim.tests/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/libsim.tests/Makefile" ;;
|
|
"testsuite/or1ksim.tests/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/or1ksim.tests/Makefile" ;;
|
|
"testsuite/test-code/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/test-code/Makefile" ;;
|
|
"testsuite/test-code/lib-iftest/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/test-code/lib-iftest/Makefile" ;;
|
|
"tick/Makefile") CONFIG_FILES="$CONFIG_FILES tick/Makefile" ;;
|
|
"vapi/Makefile") CONFIG_FILES="$CONFIG_FILES vapi/Makefile" ;;
|
"cpu/dlx/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/dlx/Makefile" ;;
|
"cpu/dlx/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/dlx/Makefile" ;;
|
"cpu/or32/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/or32/Makefile" ;;
|
"cpu/or32/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/or32/Makefile" ;;
|
|
|
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|