Mercurial > ecos-v3_0-branch
comparison host/acinclude.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 |
|---|---|
| 319 AC_MSG_RESULT(${cyg_ac_tcl_version}) | 319 AC_MSG_RESULT(${cyg_ac_tcl_version}) |
| 320 AC_SUBST(cyg_ac_tcl_version) | 320 AC_SUBST(cyg_ac_tcl_version) |
| 321 | 321 |
| 322 dnl Where is the Tcl installation? By default assume Tcl is already | 322 dnl Where is the Tcl installation? By default assume Tcl is already |
| 323 dnl installed in the same place as the eCos host-side. | 323 dnl installed in the same place as the eCos host-side. |
| 324 AC_ARG_WITH(tcl,[ --with-tcl-header=<path> location of Tcl header]) | |
| 325 AC_ARG_WITH(tcl,[ --with-tcl-lib=<path> location of Tcl libraries]) | |
| 326 | |
| 324 AC_MSG_CHECKING(for Tcl installation) | 327 AC_MSG_CHECKING(for Tcl installation) |
| 325 AC_ARG_WITH(tcl,[ --with-tcl=<path> location of Tcl header and libraries],[ | 328 AC_ARG_WITH(tcl,[ --with-tcl=<path> location of Tcl header and libraries],[ |
| 326 cyg_ac_tcl_incdir=${with_tcl}/include | 329 cyg_ac_tcl_incdir=${with_tcl}/include |
| 327 cyg_ac_tcl_libdir=${with_tcl}/lib | 330 cyg_ac_tcl_libdir=${with_tcl}/lib |
| 328 ],[ | 331 ],[ |
| 329 cyg_ac_tcl_incdir=${prefix}/include | 332 if test "${with_tcl_header}" = "no"; then |
| 330 cyg_ac_tcl_libdir=${prefix}/lib | 333 cyg_ac_tcl_incdir=${prefix}/include |
| 334 else | |
| 335 with_tcl=yes | |
| 336 cyg_ac_tcl_incdir=${with_tcl_header}/include | |
| 337 fi | |
| 338 | |
| 339 if test "${with_tcl_lib}" = "no"; then | |
| 340 cyg_ac_tcl_libdir=${prefix}/lib | |
| 341 else | |
| 342 with_tcl=yes | |
| 343 cyg_ac_tcl_libdir=${with_tcl_lib}/lib | |
| 344 fi | |
| 331 ]) | 345 ]) |
| 332 AC_MSG_RESULT(${cyg_ac_tcl_libdir}) | 346 AC_MSG_RESULT(${cyg_ac_tcl_libdir}) |
| 333 | 347 |
| 334 dnl Sanity check, make sure that there is a tcl.h header file. | 348 dnl Sanity check, make sure that there is a tcl.h header file. |
| 335 dnl If not then there is no point in proceeding. | 349 dnl If not then there is no point in proceeding. |
