* configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run

CY_AC_LOAD_TCLCONFIG.
	* configure: Rebuild.
This commit is contained in:
Ian Lance Taylor 1996-08-28 17:13:00 +00:00
parent 6fce31a64b
commit 0cf433d937
3 changed files with 47 additions and 32 deletions

View File

@ -1,3 +1,14 @@
Wed Aug 28 13:11:15 1996 Ian Lance Taylor <ian@cygnus.com>
* configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run
CY_AC_LOAD_TCLCONFIG.
* configure: Rebuild.
Tue Aug 27 12:40:40 1996 Fred Fish <fnf@cygnus.com>
* infrun.c (wait_for_inferior): Initialize stop_func_end before calling
find_pc_partial_function.
Tue Aug 27 10:17:34 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* configure: Regenerate again.

38
gdb/configure vendored
View File

@ -2199,7 +2199,8 @@ fi
fi
fi
if test -z "${no_tcl}"; then
. $TCLCONFIG
@ -2226,7 +2227,7 @@ fi
#
# Ok, lets find the tk configuration
# First, look for one uninstalled.
@ -2307,10 +2308,10 @@ fi
# If $no_tk is nonempty, then we can't do Tk, and there is no
# point to doing Tcl.
if test -z "${no_tk}"; then
# If $no_tk is nonempty, then we can't do Tk, and there is no
# point to doing Tcl.
if test -z "${no_tk}"; then
if test -f "$TKCONFIG" ; then
. $TKCONFIG
fi
@ -2326,7 +2327,7 @@ fi
#
# Ok, lets find the tcl source trees so we can use the headers
# Warning: transition of version 9 to 10 will break this algorithm
@ -2405,12 +2406,12 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2409 "configure"
#line 2410 "configure"
#include "confdefs.h"
#include <tclInt.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@ -2452,7 +2453,7 @@ fi
#
# Ok, lets find the tk source trees so we can use the headers
# If the directory (presumably symlink) named "tk" exists, use that one
@ -2537,12 +2538,12 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2541 "configure"
#line 2542 "configure"
#include "confdefs.h"
#include <tk.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@ -2585,14 +2586,15 @@ fi
# Include some libraries that Tcl and Tk want.
LIBS="$LIBS $TK_LIBS"
# Include some libraries that Tcl and Tk want.
LIBS="$LIBS $TK_LIBS"
ENABLE_GDBTK=1
ENABLE_GDBTK=1
TCL_LIBS='$(TCL) $(TK) $(X11_LDFLAGS) $(X11_LIBS)'
ENABLE_CLIBS="${ENABLE_CLIBS} ${TCL_LIBS}"
ENABLE_OBS="${ENABLE_OBS} gdbtk.o"
TCL_LIBS='$(TCL) $(TK) $(X11_LDFLAGS) $(X11_LIBS)'
ENABLE_CLIBS="${ENABLE_CLIBS} ${TCL_LIBS}"
ENABLE_OBS="${ENABLE_OBS} gdbtk.o"
fi
fi
fi

View File

@ -234,24 +234,26 @@ case "$host" in
if test "${enable_gdbtk}" = "yes"; then
CY_AC_PATH_TCLCONFIG
CY_AC_LOAD_TCLCONFIG
CY_AC_PATH_TKCONFIG
if test -z "${no_tcl}"; then
CY_AC_LOAD_TCLCONFIG
CY_AC_PATH_TKCONFIG
# If $no_tk is nonempty, then we can't do Tk, and there is no
# point to doing Tcl.
if test -z "${no_tk}"; then
CY_AC_LOAD_TKCONFIG
CY_AC_PATH_TCLH
CY_AC_PATH_TKH
# If $no_tk is nonempty, then we can't do Tk, and there is no
# point to doing Tcl.
if test -z "${no_tk}"; then
CY_AC_LOAD_TKCONFIG
CY_AC_PATH_TCLH
CY_AC_PATH_TKH
# Include some libraries that Tcl and Tk want.
LIBS="$LIBS $TK_LIBS"
# Include some libraries that Tcl and Tk want.
LIBS="$LIBS $TK_LIBS"
ENABLE_GDBTK=1
ENABLE_GDBTK=1
TCL_LIBS='$(TCL) $(TK) $(X11_LDFLAGS) $(X11_LIBS)'
ENABLE_CLIBS="${ENABLE_CLIBS} ${TCL_LIBS}"
ENABLE_OBS="${ENABLE_OBS} gdbtk.o"
TCL_LIBS='$(TCL) $(TK) $(X11_LDFLAGS) $(X11_LIBS)'
ENABLE_CLIBS="${ENABLE_CLIBS} ${TCL_LIBS}"
ENABLE_OBS="${ENABLE_OBS} gdbtk.o"
fi
fi
fi