I appreciated it very much that AC_CHECK_LIB can be nested as
AC_CHECK_LIB([tlc],[Tcl_Init], [LIB_TCL=-ltcl], [ AC_CHECK_LIB([tcl8.4], [Tcl_Init], [LIB_TCL=-ltcl8.4], [AC_MSG_ERROR("FATAL: libtcl not found")] ) ])
Unfortunately AC_CHECK_PROG() nesting does not work:
AC_CHECK_PROG([TIXWISH], [tixwish],[tixwish], [ AC_CHECK_PROG([TIXWISH], [tixwish8.1.8.3], [tixwish8.1.8.3], [AC_MSG_ERROR("FATAL: tixwish cannot be found")]) ])
Do you have any suggestions?
Thank you.
Tosa
--
Yasunari Tosa, Ph.D. Email: tosa@xxxxxxxxxxxxxxxxxxx
NMR Ctr, Mass. General Hospital TEL: 617-726-4050 Building 149, 13th Street
Charlestown, MA 02129
USA
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf