Tue Apr 21 12:31:33 1992 K. Richard Pixley (rich@cygnus.com)
+ * configure: patch from eggert. Avoids a protection problem if
+ the original Makefile.in is read only.
+
* configure: use move-if-change from gcc to create config.status.
Some makefiles depend on config.status to tell if a directory
has been reconfigured for a different host. This change
# so do these separately because I don't trust the order of sed -e expressions.
# Conditionalize for this site from "Makefile.in" (or whatever it's called) into Makefile.tem
+ rm -f Makefile.tem
case "${site}" in
"") cp ${srcdir}/${subdir}/${Makefile_in} ${subdir}/Makefile.tem ;;
*)
# working copy now in ${subdir}/Makefile.tem
# Conditionalize the makefile for this host.
+ rm -f ${Makefile}
case "${host_makefile_frag}" in
"") mv ${subdir}/Makefile.tem ${Makefile} ;;
*)
# working copy now in ${Makefile}
# Conditionalize the makefile for this target.
+ rm -f Makefile.tem
case "${target_makefile_frag}" in
"") mv ${Makefile} ${subdir}/Makefile.tem ;;
*)
# real copy now in ${subdir}/Makefile.tem
# prepend warning about editting, and a bunch of variables.
+ rm -f ${Makefile}
cat > ${Makefile} <<EOF
# ${NO_EDIT}
VPATH = ${makesrcdir}
${subdir}/Makefile.tem >> ${Makefile}
# final copy now in ${Makefile}
- rm ${subdir}/Makefile.tem
+ rm -f ${subdir}/Makefile.tem
if [ -n "${verbose}" -o -z "${silent}" ] ; then
case "${host_makefile_frag}" in