This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
nesting of AC_CHECK_PROG ?
- From: Yasunari Tosa <tosa at nmr dot mgh dot harvard dot edu>
- To: automake at gnu dot org
- Date: Tue, 19 Oct 2004 14:47:13 -0400
- Subject: nesting of AC_CHECK_PROG ?
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@nmr.mgh.harvard.edu
NMR Ctr, Mass. General Hospital TEL: 617-726-4050
Building 149, 13th Street
Charlestown, MA 02129
USA