nesting of AC_CHECK_PROG ?

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

 



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

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux