summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-11-27 08:37:03 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-11-27 08:37:03 +0000
commit66e8218060f25f8e12e0ab12cce94e53e879ee22 (patch)
tree2ab049881e1364a7a289c46a8394ee0dc443081f /configure
parent960697d8cd06027752441f48b8864441a6925be8 (diff)
downloadgcc-66e8218060f25f8e12e0ab12cce94e53e879ee22.tar.gz
* Makefile.in (INSTALL_TARGET): Do install-gcc first.
* configure (gxx_include_dir): Provide a definition for subdirs which do not use autoconf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16784 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure b/configure
index d8b8087be28..dd9ed1d20b3 100755
--- a/configure
+++ b/configure
@@ -81,7 +81,7 @@ subdirs=
target_alias=NOTARGET
target_makefile_frag=
undefs=NOUNDEFS
-version="$Revision: 1.1.1.1 $"
+version="$Revision: 1.2 $"
x11=default
### we might need to use some other shell than /bin/sh for running subshells
@@ -1171,6 +1171,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 "${gxx_include_dir}"; then
+ echo gxx_include_dir = '${prefix}/include/g++' >> ${Makefile}
+ else
+ echo gxx_include_dir = ${gxx_include_dir} >> ${Makefile}
+ fi
+
# reset prefix, exec_prefix, srcdir, SUBDIRS, NONSUBDIRS,
# remove any form feeds.
if [ -z "${subdirs}" ]; then