From f2064d2185f88b13826e7b06679bc285e310c041 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 24 Jan 1998 08:58:46 +0000 Subject: [PATCH] * configure (package_makefile_frag): Move inserting the ${package_makefile_frag} to where it should be according to the comment. --- ChangeLog | 13 ++++++++++++ configure | 60 +++++++++++++++++++++++++++++++------------------------ 2 files changed, 47 insertions(+), 26 deletions(-) diff --git a/ChangeLog b/ChangeLog index 67a4235f7d..1652c021e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +Sat Jan 24 01:59:45 1998 Manfred Hollstein + + * configure (package_makefile_frag): Move inserting the + ${package_makefile_frag} to where it should be according + to the comment. + +start-sanitize-gdbtk +Thu Jan 22 11:33:03 1998 Keith Seitz + + * Makefile.in (install-gdbtk): New install target which will install + EVERYTHING needed for gdbtk. + +end-sanitize-gdbtk Fri Jan 23 00:30:21 1998 Philip Blundell * config.guess: Add support for Linux/ARM. diff --git a/configure b/configure index 381ac02937..472f728c4d 100755 --- a/configure +++ b/configure @@ -990,7 +990,7 @@ esac if [ "$enable_gdbtk" != "no" ]; then GDB_TK="all-tcl all-tk all-itcl all-tix all-libgui" # start-sanitize-ide - if [ "$enable_ide" != "no" ]; then + if [ "$enable_ide" = "yes" ]; then GDB_TK="all-tcl all-tk all-itcl all-tix all-libgui all-libide" fi # end-sanitize-ide @@ -1108,36 +1108,17 @@ EOF if [ -f ${srcdir}/${subdir}/${Makefile_in} ] ; then - # Conditionalize the makefile for this package from "Makefile.in" (or whatever it's called) into Makefile.tem. - rm -f ${subdir}/${Makefile}.tem - case "${package_makefile_frag}" in - "") cp ${srcdir}/${subdir}/${Makefile_in} ${subdir}/Makefile.tem ;; - *) - if [ ! -f ${package_makefile_frag} ] ; then - package_makefile_frag=${srcdir}/${package_makefile_frag} - fi - if [ -f ${package_makefile_frag} ] ; then - sed -e "/^####/ r ${package_makefile_frag}" ${srcdir}/${subdir}/${Makefile_in} > ${Makefile}.tem - else - echo '***' Expected package makefile fragment \"${package_makefile_frag}\" 1>&2 - echo '***' is missing in ${PWD=`pwd`}. 1>&2 - cp ${srcdir}/${subdir}/${Makefile_in} ${subdir}/Makefile.tem - fi - esac - # working copy now in ${Makefile}.tem - # Conditionalize for this site. rm -f ${Makefile} - case "${site}" in - "") mv ${subdir}/Makefile.tem ${Makefile} ;; + case "${site}" in + "") cp ${srcdir}/${subdir}/${Makefile_in} ${Makefile} ;; *) site_makefile_frag=${srcdir}/config/ms-${site} if [ -f ${site_makefile_frag} ] ; then - sed -e "/^####/ r ${site_makefile_frag}" ${subdir}/Makefile.tem \ - > ${Makefile} + sed -e "/^####/ r ${site_makefile_frag}" ${srcdir}/${subdir}/${Makefile_in} > ${Makefile} else - mv ${subdir}/Makefile.tem ${Makefile} + cp ${srcdir}/${subdir}/${Makefile_in} ${Makefile} site_makefile_frag= fi ;; @@ -1178,9 +1159,27 @@ EOF fi ;; esac - # real copy now in ${Makefile} + # working copy now in ${Makefile} - mv ${Makefile} ${subdir}/Makefile.tem + # Conditionalize the makefile for this package from "Makefile.in" (or whatever it's called) into Makefile.tem. + rm -f ${subdir}/${Makefile}.tem + case "${package_makefile_frag}" in + "") mv ${Makefile} ${subdir}/Makefile.tem ;; + *) + if [ ! -f ${package_makefile_frag} ] ; then + package_makefile_frag=${srcdir}/${package_makefile_frag} + fi + if [ -f ${package_makefile_frag} ] ; then + sed -e "/^####/ r ${package_makefile_frag}" ${Makefile} > ${subdir}/${Makefile}.tem + else + echo '***' Expected package makefile fragment \"${package_makefile_frag}\" 1>&2 + echo '***' is missing in ${PWD=`pwd`}. 1>&2 + mv ${Makefile} ${subdir}/Makefile.tem + fi + esac + # real copy now in ${subdir}/${Makefile}.tem + + mv ${subdir}/${Makefile}.tem ${subdir}/Makefile.tem 2>/dev/null # real copy now in ${subdir}/Makefile.tem @@ -1234,6 +1233,15 @@ EOF echo site_makefile_frag = ${invsubdir}${site_makefile_frag} >>${Makefile} fi + # provide a proper gxx_include_dir to all subdirs. + # Note, if you change the default, make sure to fix both here + # and in the gcc subdirectory. + if test -z "${with_gxx_include_dir}"; then + echo gxx_include_dir = '${prefix}/include/g++' >> ${Makefile} + else + echo gxx_include_dir = ${with_gxx_include_dir} >> ${Makefile} + fi + # reset prefix, exec_prefix, srcdir, SUBDIRS, NONSUBDIRS, # remove any form feeds. if [ -z "${subdirs}" ]; then