This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]