Changeset 1746
- Timestamp:
- 08/11/11 14:50:29 (7 months ago)
- File:
-
- 1 edited
-
trunk/configure.ac (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r1743 r1746 366 366 AC_SUBST(SHARED_EXT) 367 367 368 AC_CHECK_LIB(xml2, [xml _parse_file, xmlParseFile])369 if test "x$ac_cv_lib_xml2_xml _parse_file__xmlParseFile" = xyes; then368 AC_CHECK_LIB(xml2, [xmlParseFile]) 369 if test "x$ac_cv_lib_xml2_xmlParseFile" = xyes; then 370 370 LIBXML2_CFLAGS='`xml2-config --cflags`' 371 HAVE_LIBXML2="yes"371 LIBXML2_MESSAGE="yes" 372 372 else 373 373 LIBXML2_CFLAGS='' 374 HAVE_LIBXML2="no (will not build NXsummary or NXtranslate)"374 LIBXML2_MESSAGE="no (will not build NXsummary or NXtranslate)" 375 375 fi 376 376 AC_SUBST(LIBXML2_CFLAGS) … … 555 555 done 556 556 done 557 for i in $HDF5SEARCH; do 558 for j in lib lib64; do 559 if test -z "$H5ROOT" -a -r ${i}/$j/libhdf5.a; then H5ROOT=$i; fi 560 done 561 done 557 562 if test -z "$H5ROOT"; then 558 563 AC_MSG_RESULT(unknown) … … 652 657 AC_CHECK_LIB(mfhdf, SDcreate) 653 658 AC_CHECK_LIB(hdf5, H5open) 654 AC_CHECK_LIB(xml2, xmlParseDocument)655 659 AC_CHECK_LIB(termcap, tputs) 656 660 AC_CHECK_LIB(readline, readline) … … 718 722 AM_CONDITIONAL(HAVE_HDF5, [test ! -z "$H5ROOT"]) 719 723 AM_CONDITIONAL(HAVE_XML, [test ! -z "$MXMLROOT"]) 720 AM_CONDITIONAL(HAVE_LIBXML2, [ test "$ac_cv_lib_xml2_xmlParse Document" = "yes" ])724 AM_CONDITIONAL(HAVE_LIBXML2, [ test "$ac_cv_lib_xml2_xmlParseFile" = "yes" ]) 721 725 dnl AM_CONDITIONAL(HAVE_LIBMXMLPLUS, [ test "$ac_cv_lib_mxmlplus__ZN4MXML4NodeD2Ev" = "yes" ]) 722 726 AM_CONDITIONAL(HAVE_DOCBOOK, [test ! -z "$DOCBOOK2TXT" -a ! -z "$DOCBOOK2PDF"]) … … 903 907 application tools: 904 908 ant: ${ANT_PROG} 905 libxml2: ${ HAVE_LIBXML2}909 libxml2: ${LIBXML2_MESSAGE} 906 910 readline: ${HAVE_READLINE} 907 911
Note: See TracChangeset
for help on using the changeset viewer.
