* configure (package_makefile_frag): Move inserting the
authorJeff Law <law@redhat.com>
Sat, 24 Jan 1998 08:58:46 +0000 (08:58 +0000)
committerJeff Law <law@redhat.com>
Sat, 24 Jan 1998 08:58:46 +0000 (08:58 +0000)
        ${package_makefile_frag} to where it should be according
        to the comment.

ChangeLog
configure

index 67a4235f7dad3dd4648933f97c5a2e86f1467f51..1652c021e2ca91c6784e091637ab1729b50eb62c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 381ac02937a2e17d27e381f96296ff0302e51645..472f728c4db46ac54099dff55532403592a9664c 100755 (executable)
--- 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
This page took 0.032426 seconds and 4 git commands to generate.