]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/configure.in
Makefile.in (MACHMODE_H): Add @extra_modes_file@.
[thirdparty/gcc.git] / gcc / configure.in
index c75b39e394ecae7281884396528d9700bb385ba6..418fba771cbc4d960502ec0a9e726d322ae248c4 100644 (file)
@@ -869,6 +869,19 @@ if test x$thread_file = x; then
        fi
 fi
 
+# Look for a file containing extra machine modes.
+if test -f $srcdir/config/${cpu_type}/${cpu_type}-modes.def; then
+  extra_modes_file='$(srcdir)/config/'${cpu_type}/${cpu_type}-modes.def
+  AC_SUBST(extra_modes_file)
+  AC_DEFINE_UNQUOTED(EXTRA_MODES_FILE,
+                          "${cpu_type}/${cpu_type}-modes.def",
+  [Define to the name of a file containing a list of extra machine modes
+   for this architecture.])
+  AC_DEFINE(EXTRA_CC_MODES, 1,
+  [Define if the target architecture needs extra machine modes to represent
+   the results of comparisons.])
+fi
+
 # auto-host.h is the file containing items generated by autoconf and is
 # the first file included by config.h.
 # If host=build, it is correct to have hconfig include auto-host.h