Diff

Differences From Artifact [43ffbc82cf]:

To Artifact [5daba49e62]:


279
280
281
282
283
284
285

286
287
288
289
290




291
fi

#--------------------------------------------------------------------
#	Locate the Tcl header files and the Tcl library
#	archive.
#--------------------------------------------------------------------


AC_CHECK_LIB(tcl, Tcl_Init, [LIBS="-ltcl8.0 $LIBS"; got_it=yes],
    [AC_MSG_WARN(couldn't find tcl8.0 library archive)] )
AC_TRY_CPP([#include "tcl.h"], ,
    [AC_MSG_WARN(couldn't find tcl include file)] )





AC_OUTPUT(Makefile)







>
|




>
>
>
>

279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
fi

#--------------------------------------------------------------------
#	Locate the Tcl header files and the Tcl library
#	archive.
#--------------------------------------------------------------------

AC_DEFINE(USE_TCL_STUBS, [1])
AC_CHECK_LIB(tclstub8.5, Tcl_InitStubs, [LIBS="-ltclstub8.5 $LIBS"; got_it=yes],
    [AC_MSG_WARN(couldn't find tcl8.0 library archive)] )
AC_TRY_CPP([#include "tcl.h"], ,
    [AC_MSG_WARN(couldn't find tcl include file)] )

TARGETS='libctk.so'
CFLAGS="${CFLAGS} -fPIC -DPIC"
AC_SUBST(TARGETS)

AC_OUTPUT(Makefile)