changeset 6713:6c871a20d9eb

[gaim-migrate @ 7239] Tcl had better work now ... next I'll start figuring out how Tk might be bustinated. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Tue, 02 Sep 2003 23:34:08 +0000
parents 7d6a401049e4
children 0c260c4e753e
files configure.ac
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Tue Sep 02 23:20:14 2003 +0000
+++ b/configure.ac	Tue Sep 02 23:34:08 2003 +0000
@@ -600,12 +600,15 @@
 			AC_MSG_RESULT([ok, $TCL_VERSION])
 			eval "TCL_LIB_SPEC=\"$TCL_LIB_SPEC\""
 			AC_MSG_CHECKING([for Tcl linkability])
+			oldCPPFLAGS=$CPPFLAGS
+			CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"
 			oldLIBS=$LIBS
 			LIBS="$LIBS $TCL_LIB_SPEC"
 			AC_TRY_LINK([#include <tcl.h>],
 				    [Tcl_Interp *interp; Tcl_Init(interp)],
 		 		    [AC_MSG_RESULT([yes]);enable_tcl=yes],
 		 		    [AC_MSG_RESULT([no]);enable_tcl=no])
+			CPPFLAGS="$oldCPPFLAGS"
 			LIBS="$oldLIBS"
 		fi
 	fi