diff options
author | Jason Molenda <crash@cygnus> | 1995-09-30 16:38:16 +0000 |
---|---|---|
committer | Jason Molenda <crash@cygnus> | 1995-09-30 16:38:16 +0000 |
commit | 66efdff90793ccf318c23bcfd52995654ec26404 (patch) | |
tree | 13c80fbf1967f90f08cb47df51dd8e6fe3e919ba /gdb/configure.in | |
parent | a4bba3e6a59b3d667fad181d563e580e2ac8894b (diff) | |
download | binutils-66efdff90793ccf318c23bcfd52995654ec26404.zip binutils-66efdff90793ccf318c23bcfd52995654ec26404.tar.gz binutils-66efdff90793ccf318c23bcfd52995654ec26404.tar.bz2 |
* configure.in: X_INCDIR and X_LIBDIR added.
* Makefile.in: @X_INCDIR@ and @X_LIBDIR@ added.
* configure: Regnerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 9e1a91c..5aa5d07 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -57,11 +57,28 @@ if test "${enable_gdbtk}" = "yes"; then CYGNUS_PATH_TCL ENABLE_GDBTK=1 + + if test "x$x_includes" != "x" ; + then + X_INCDIR="-I$x_includes" + else + X_INCDIR="" + fi + + if test "x$x_libraries" != "x" ; + then + X_LIBDIR="-L$x_libraries" + else + X_LIBDIR="" + fi + TCL_LIBS='$(TCL) $(TK) $(X11)' ENABLE_CLIBS="${ENABLE_CLIBS} ${TCL_LIBS} -lm" ENABLE_OBS="${ENABLE_OBS} gdbtk.o" fi AC_SUBST(ENABLE_GDBTK) +AC_SUBST(X_INCDIR) +AC_SUBST(X_LIBDIR) # end-sanitize-gdbtk AC_SUBST(ENABLE_CFLAGS) |