autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nesting of AC_CHECK_PROG ?


From: Yasunari Tosa
Subject: nesting of AC_CHECK_PROG ?
Date: Tue, 19 Oct 2004 13:40:05 -0400
User-agent: Mozilla Thunderbird 0.5 (X11/20040208)

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: address@hidden
NMR Ctr, Mass. General Hospital TEL: 617-726-4050 Building 149, 13th Street
Charlestown, MA 02129
USA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]