aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/configure')
-rwxr-xr-xgcc-4.9/gcc/configure35
1 files changed, 35 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/configure b/gcc-4.9/gcc/configure
index 5408d8fbe..0df58deb1 100755
--- a/gcc-4.9/gcc/configure
+++ b/gcc-4.9/gcc/configure
@@ -26118,6 +26118,41 @@ $as_echo "#define HAVE_AS_GNU_ATTRIBUTE 1" >>confdefs.h
fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for .module support" >&5
+$as_echo_n "checking assembler for .module support... " >&6; }
+if test "${gcc_cv_as_mips_module+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ gcc_cv_as_mips_module=no
+ if test x$gcc_cv_as != x; then
+ $as_echo '.module fp=32' > conftest.s
+ if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5'
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }
+ then
+ gcc_cv_as_mips_module=yes
+ else
+ echo "configure: failed program was" >&5
+ cat conftest.s >&5
+ fi
+ rm -f conftest.o conftest.s
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_mips_module" >&5
+$as_echo "$gcc_cv_as_mips_module" >&6; }
+if test $gcc_cv_as_mips_module = yes; then
+
+$as_echo "#define HAVE_AS_MODULE 1" >>confdefs.h
+
+fi
+ if test x$gcc_cv_as_mips_module = xno \
+ && test x$with_fp != x; then
+ as_fn_error "Requesting --with-fp= requires assembler support for .module." "$LINENO" 5
+ fi
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for .micromips support" >&5
$as_echo_n "checking assembler for .micromips support... " >&6; }
if test "${gcc_cv_as_micromips_support+set}" = set; then :