Line 1691... |
Line 1691... |
|
|
set -- $CFLAGS
|
set -- $CFLAGS
|
COMPILE_OR1K=unknown
|
COMPILE_OR1K=unknown
|
|
|
TESTS_ENV=
|
TESTS_ENV=
|
|
LDFLAGS=
|
case $target in
|
case $target in
|
or1k*|or32*)
|
or1k*|or32*)
|
CFLAGS="$CFLAGS -nostdlib"
|
CFLAGS="$CFLAGS -nostdlib -mhard-div"
|
COMPILE=or1k
|
COMPILE=or1k
|
TESTS_ENV="$SIM"
|
TESTS_ENV="$SIM"
|
|
LDFLAGS="-T${top_srcdir}/except.ld"
|
;;
|
;;
|
esac
|
esac
|
echo $TESTS_ENV
|
echo $TESTS_ENV
|
|
|
|
|
Line 1708... |
Line 1710... |
OR1K_EXCEPT_FALSE='#'
|
OR1K_EXCEPT_FALSE='#'
|
else
|
else
|
OR1K_EXCEPT_TRUE='#'
|
OR1K_EXCEPT_TRUE='#'
|
OR1K_EXCEPT_FALSE=
|
OR1K_EXCEPT_FALSE=
|
fi
|
fi
|
CFLAGS="$CFLAGS -Wall -mhard-div"
|
CFLAGS="$CFLAGS -Wall"
|
|
|
|
|
INCLUDES="-I\${top_srcdir}/support"
|
INCLUDES="-I\${top_srcdir}/support"
|
|
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
echo "configure:1720: checking for working const" >&5
|
echo "configure:1723: checking for working const" >&5
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1725 "configure"
|
#line 1728 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int main() {
|
int main() {
|
|
|
/* Ultrix mips cc rejects this. */
|
/* Ultrix mips cc rejects this. */
|
Line 1768... |
Line 1771... |
const int foo = 10;
|
const int foo = 10;
|
}
|
}
|
|
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
rm -rf conftest*
|
rm -rf conftest*
|
ac_cv_c_const=yes
|
ac_cv_c_const=yes
|
else
|
else
|
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
Line 1789... |
Line 1792... |
EOF
|
EOF
|
|
|
fi
|
fi
|
|
|
echo $ac_n "checking for inline""... $ac_c" 1>&6
|
echo $ac_n "checking for inline""... $ac_c" 1>&6
|
echo "configure:1795: checking for inline" >&5
|
echo "configure:1798: checking for inline" >&5
|
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
ac_cv_c_inline=no
|
ac_cv_c_inline=no
|
for ac_kw in inline __inline__ __inline; do
|
for ac_kw in inline __inline__ __inline; do
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1802 "configure"
|
#line 1805 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int main() {
|
int main() {
|
} $ac_kw foo() {
|
} $ac_kw foo() {
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
rm -rf conftest*
|
rm -rf conftest*
|
ac_cv_c_inline=$ac_kw; break
|
ac_cv_c_inline=$ac_kw; break
|
else
|
else
|
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|