diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1995-11-29 03:34:57 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1995-11-29 03:34:57 +0000 |
commit | 9c0bc1daf9bc0e88c3afd23bd79f934cf4adb8e1 (patch) | |
tree | 2ee57d09c071f2b6001b6dfdf88b5e8420bca5fd /gdb/configure.in | |
parent | 799de4c4a08e6b52add721116d23a1109ee9b324 (diff) | |
download | gdb-9c0bc1daf9bc0e88c3afd23bd79f934cf4adb8e1.zip gdb-9c0bc1daf9bc0e88c3afd23bd79f934cf4adb8e1.tar.gz gdb-9c0bc1daf9bc0e88c3afd23bd79f934cf4adb8e1.tar.bz2 |
* Makefile.in (target_subdir): Define.
(CC_FOR_TARGET, CXX_FOR_TARGET): Use it to find target libraries.
* configure.in (X_CFLAGS): Fix typo.
(target_subdir): Set to "${target_alias}/" if cross.
* configure.in: Regenerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index abebf5e..df2a5aa 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -140,7 +140,7 @@ if test "${enable_gdbtk}" = "yes"; then fi AC_SUBST(ENABLE_GDBTK) -AC_SUBST(X_CLFAGS) +AC_SUBST(X_CFLAGS) AC_SUBST(X_LDFLAGS) AC_SUBST(X_LIBS) # end-sanitize-gdbtk @@ -149,6 +149,12 @@ AC_SUBST(ENABLE_CFLAGS) AC_SUBST(ENABLE_CLIBS) AC_SUBST(ENABLE_OBS) +# target_subdir is used by the testsuite to find the target libraries. +target_subdir= +if test "${host}" != "${target}"; then + target_subdir="${target_alias}/" +fi +AC_SUBST(target_subdir) configdirs="doc testsuite" |