diff options
author | Jeff Law <law@redhat.com> | 1998-01-24 08:58:46 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1998-01-24 08:58:46 +0000 |
commit | f2064d2185f88b13826e7b06679bc285e310c041 (patch) | |
tree | d28757bc899cbe720a1c730e980f796acf8d30fb | |
parent | 42e656765763f73507c6254ee8386d3b0e5ded39 (diff) | |
download | gdb-f2064d2185f88b13826e7b06679bc285e310c041.zip gdb-f2064d2185f88b13826e7b06679bc285e310c041.tar.gz gdb-f2064d2185f88b13826e7b06679bc285e310c041.tar.bz2 |
* configure (package_makefile_frag): Move inserting the
${package_makefile_frag} to where it should be according
to the comment.
-rw-r--r-- | ChangeLog | 13 | ||||
-rwxr-xr-x | configure | 60 |
2 files changed, 47 insertions, 26 deletions
@@ -1,3 +1,16 @@ +Sat Jan 24 01:59:45 1998 Manfred Hollstein <manfred@s-direktnet.de> + + * 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 <keiths@cygnus.com> + + * 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 <pb@nexus.co.uk> * config.guess: Add support for Linux/ARM. @@ -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 |