* Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
[deliverable/binutils-gdb.git] / configure.in
index d7e894b4ecd65e1b9fe6e89753b620e3e43f955b..4cae0e438c80220d36fd69e0a13320d84881a5bd 100644 (file)
@@ -284,7 +284,9 @@ if [ x${shared} = xyes ]; then
       host_makefile_frag="${host_makefile_frag} config/mh-elfalphapic"
       ;;
     *)
-      host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
+      if test -f ${srcdir}/config/mh-${host_cpu}pic; then
+        host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
+      fi
       ;;
   esac
 fi
@@ -729,6 +731,11 @@ case "${target}" in
           target_configdirs="${target_configdirs} target-cygmon"
     fi
     ;;
+  sparc64-*-elf*)
+    if [ x${is_cross_compiler} != xno ] ; then
+          target_configdirs="${target_configdirs} target-cygmon"
+    fi
+    ;;
   sparclite-*-aout*)
     if [ x${is_cross_compiler} != xno ] ; then
           target_configdirs="${target_configdirs} target-cygmon"
@@ -951,7 +958,9 @@ if [ x${shared} = xyes ]; then
       target_makefile_frag="${target_makefile_frag} config/mt-elfalphapic"
       ;;
     *)
-      target_makefile_frag="${target_makefile_frag} config/mt-${target_cpu}pic"
+      if test -f ${srcdir}/config/mt-${target_cpu}pic; then
+        target_makefile_frag="${target_makefile_frag} config/mt-${target_cpu}pic"
+      fi
       ;;
   esac
 fi
@@ -1021,7 +1030,7 @@ if [ "${shared}" = "yes" ]; then
 
   case "${host}" in
   *-*-hpux*)
-    sed -e 's/RPATH_ENVVAR[    ]*=.*$/RPATH_ENVVAR = SHLIB_PATH/' \
+    sed -e 's/^RPATH_ENVVAR[   ]*=.*$/RPATH_ENVVAR = SHLIB_PATH/' \
        Makefile > Makefile.tem
     rm -f Makefile
     mv -f Makefile.tem Makefile
This page took 0.022823 seconds and 4 git commands to generate.