[gaim-migrate @ 7239]

Tue, 02 Sep 2003 23:34:08 +0000

author
Ethan Blanton <elb@pidgin.im>
date
Tue, 02 Sep 2003 23:34:08 +0000
changeset 6713
069fccac106f
parent 6712
2b9e15f97f50
child 6714
414a52265486

[gaim-migrate @ 7239]
Tcl had better work now ... next I'll start figuring out how Tk might
be bustinated.

configure.ac file | annotate | diff | comparison | revisions
--- 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

mercurial