# HG changeset patch # User Ethan Blanton # Date 1067277924 0 # Node ID d5ed905a8ccd5be3eba1dadcc6a37e6374df8592 # Parent e28728795a45ee3e15a7b5b78d2d2edac22983d9 [gaim-migrate @ 7942] Improve Tcl detection on systems with Tcl in a nonstandard location. committer: Tailor Script diff -r e28728795a45 -r d5ed905a8ccd configure.ac --- a/configure.ac Mon Oct 27 16:11:54 2003 +0000 +++ b/configure.ac Mon Oct 27 18:05:24 2003 +0000 @@ -766,7 +766,7 @@ eval "TCL_LIB_SPEC=\"$TCL_LIB_SPEC\"" AC_MSG_CHECKING([for Tcl linkability]) oldCPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC" + CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC -I$TCL_PREFIX/include" oldLIBS=$LIBS LIBS="$LIBS $TCL_LIB_SPEC" AC_TRY_LINK([#include ], @@ -783,7 +783,7 @@ AM_CONDITIONAL(USE_TCL, true) TCL_LIBS=$TCL_LIB_SPEC AC_SUBST(TCL_LIBS) - TCL_CFLAGS=$TCL_INCLUDE_SPEC + TCL_CFLAGS="$TCL_INCLUDE_SPEC -I$TCL_PREFIX/include" if test "x$GCC" = "xyes"; then TCL_CFLAGS="$TCL_CFLAGS -fno-strict-aliasing" fi