fragments exist before adding them to *_makefile_frag
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17373
138bc75d-0d04-0410-961f-
82ee72b054a4
+Fri Jan 16 00:41:37 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * configure.in: check whether host and target makefile
+ fragments exist before adding them to *_makefile_frag
+
1998-01-13 Lee Iverson (leei@ai.sri.com)
* config-ml.in (multi-do): LDFLAGS must include multilib
host_makefile_frag="${host_makefile_frag} config/mh-elfalphapic"
;;
*)
- host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
+ if test -f config/mh-${host_cpu}pic; then
+ host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
+ fi
;;
esac
fi
target_makefile_frag="${target_makefile_frag} config/mt-elfalphapic"
;;
*)
- target_makefile_frag="${target_makefile_frag} config/mt-${target_cpu}pic"
+ if test -f config/mt-${target_cpu}pic; then
+ target_makefile_frag="${target_makefile_frag} config/mt-${target_cpu}pic"
+ fi
;;
esac
fi