Mercurial > ecos
diff 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 |
line wrap: on
line diff
--- a/host/aclocal.m4 +++ b/host/aclocal.m4 @@ -333,13 +333,27 @@ AC_SUBST(cyg_ac_tcl_version) dnl Where is the Tcl installation? By default assume Tcl is already dnl installed in the same place as the eCos host-side. +AC_ARG_WITH(tcl,[ --with-tcl-header=<path> location of Tcl header]) +AC_ARG_WITH(tcl,[ --with-tcl-lib=<path> location of Tcl libraries]) + AC_MSG_CHECKING(for Tcl installation) AC_ARG_WITH(tcl,[ --with-tcl=<path> location of Tcl header and libraries],[ cyg_ac_tcl_incdir=${with_tcl}/include cyg_ac_tcl_libdir=${with_tcl}/lib ],[ - cyg_ac_tcl_incdir=${prefix}/include - cyg_ac_tcl_libdir=${prefix}/lib + if test "${with_tcl_header}" = "no"; then + cyg_ac_tcl_incdir=${prefix}/include + else + with_tcl=yes + cyg_ac_tcl_incdir=${with_tcl_header}/include + fi + + if test "${with_tcl_lib}" = "no"; then + cyg_ac_tcl_libdir=${prefix}/lib + else + with_tcl=yes + cyg_ac_tcl_libdir=${with_tcl_lib}/lib + fi ]) AC_MSG_RESULT(${cyg_ac_tcl_libdir})
