comparison host/aclocal.m4 @ 136:a9ac27ec7abc ecos-sw-2000-11-17

Merge from eCos master repository on 2000-11-17-18:24:25-GMT
author jlarmour
date Fri, 17 Nov 2000 23:16:43 +0000
parents 435cced73e2f
children 25e238959bae
comparison
equal deleted inserted replaced
135:3bc2abeae9ff 136:a9ac27ec7abc
331 AC_MSG_RESULT(${cyg_ac_tcl_version}) 331 AC_MSG_RESULT(${cyg_ac_tcl_version})
332 AC_SUBST(cyg_ac_tcl_version) 332 AC_SUBST(cyg_ac_tcl_version)
333 333
334 dnl Where is the Tcl installation? By default assume Tcl is already 334 dnl Where is the Tcl installation? By default assume Tcl is already
335 dnl installed in the same place as the eCos host-side. 335 dnl installed in the same place as the eCos host-side.
336 AC_ARG_WITH(tcl,[ --with-tcl-header=<path> location of Tcl header])
337 AC_ARG_WITH(tcl,[ --with-tcl-lib=<path> location of Tcl libraries])
338
336 AC_MSG_CHECKING(for Tcl installation) 339 AC_MSG_CHECKING(for Tcl installation)
337 AC_ARG_WITH(tcl,[ --with-tcl=<path> location of Tcl header and libraries],[ 340 AC_ARG_WITH(tcl,[ --with-tcl=<path> location of Tcl header and libraries],[
338 cyg_ac_tcl_incdir=${with_tcl}/include 341 cyg_ac_tcl_incdir=${with_tcl}/include
339 cyg_ac_tcl_libdir=${with_tcl}/lib 342 cyg_ac_tcl_libdir=${with_tcl}/lib
340 ],[ 343 ],[
341 cyg_ac_tcl_incdir=${prefix}/include 344 if test "${with_tcl_header}" = "no"; then
342 cyg_ac_tcl_libdir=${prefix}/lib 345 cyg_ac_tcl_incdir=${prefix}/include
346 else
347 with_tcl=yes
348 cyg_ac_tcl_incdir=${with_tcl_header}/include
349 fi
350
351 if test "${with_tcl_lib}" = "no"; then
352 cyg_ac_tcl_libdir=${prefix}/lib
353 else
354 with_tcl=yes
355 cyg_ac_tcl_libdir=${with_tcl_lib}/lib
356 fi
343 ]) 357 ])
344 AC_MSG_RESULT(${cyg_ac_tcl_libdir}) 358 AC_MSG_RESULT(${cyg_ac_tcl_libdir})
345 359
346 dnl Sanity check, make sure that there is a tcl.h header file. 360 dnl Sanity check, make sure that there is a tcl.h header file.
347 dnl If not then there is no point in proceeding. 361 dnl If not then there is no point in proceeding.