changeset 6716:0e2c617e1ac9

[gaim-migrate @ 7242] Seriously, I mean it. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Wed, 03 Sep 2003 00:24:26 +0000
parents f362dc18f920
children c72012e40672
files configure.ac
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed Sep 03 00:10:50 2003 +0000
+++ b/configure.ac	Wed Sep 03 00:24:26 2003 +0000
@@ -646,11 +646,14 @@
 		. $TKCONFIG
 		eval "TK_LIB_SPEC=\"$TK_LIB_SPEC\""
 		AC_MSG_CHECKING([for Tk linkability])
+		oldCPPFLAGS=$CPPFLAGS
+		CPPFLAGS="$CPPFLAGS $TCL_CFLAGS"
 		oldLIBS=$LIBS
 		LIBS="$LIBS $TCL_LIB_SPEC $TK_LIB_SPEC"
 		AC_TRY_LINK([#include <tk.h>], [Tcl_Interp *interp; Tcl_Init(interp); Tk_Init(interp);],
 			    [AC_MSG_RESULT([yes]);enable_tk=yes],
 			    [AC_MSG_RESULT([no]);enable_tk=no])
+		CPPFLAGS="$oldCPPFLAGS"
 		LIBS="$oldLIBS"
 	fi
 else