Changeset 2681 for branches/blt4/packages/vizservers/configure
- Timestamp:
- Nov 15, 2011 11:56:51 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/packages/vizservers/configure
r2558 r2681 659 659 DL_OBJS 660 660 DL_LIBS 661 AR 662 RANLIB 661 663 EGREP 662 664 GREP 663 665 CPP 664 AR665 RANLIB666 666 OBJEXT 667 667 EXEEXT … … 671 671 CFLAGS 672 672 CC 673 PYTHON 673 674 target_alias 674 675 host_alias … … 717 718 with_vtk_libs 718 719 with_vtk 720 with_python 719 721 enable_64bit 720 722 enable_64bit_vis … … 1367 1369 --with-vtk-libs=DIR VTK libraries are in DIR 1368 1370 --with-vtk=VERSION Version of VTK required 1371 --with-python=DIR location of python [default=yes] 1369 1372 --with-x use the X Window System 1370 1373 … … 1500 1503 1501 1504 } # ac_fn_c_try_compile 1505 1506 # ac_fn_c_try_cpp LINENO 1507 # ---------------------- 1508 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1509 ac_fn_c_try_cpp () 1510 { 1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1512 if { { ac_try="$ac_cpp conftest.$ac_ext" 1513 case "(($ac_try" in 1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1515 *) ac_try_echo=$ac_try;; 1516 esac 1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1518 $as_echo "$ac_try_echo"; } >&5 1519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1520 ac_status=$? 1521 if test -s conftest.err; then 1522 grep -v '^ *+' conftest.err >conftest.er1 1523 cat conftest.er1 >&5 1524 mv -f conftest.er1 conftest.err 1525 fi 1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1527 test $ac_status = 0; } > conftest.i && { 1528 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1529 test ! -s conftest.err 1530 }; then : 1531 ac_retval=0 1532 else 1533 $as_echo "$as_me: failed program was:" >&5 1534 sed 's/^/| /' conftest.$ac_ext >&5 1535 1536 ac_retval=1 1537 fi 1538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1539 as_fn_set_status $ac_retval 1540 1541 } # ac_fn_c_try_cpp 1542 1543 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1544 # ------------------------------------------------------- 1545 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1546 # the include files in INCLUDES and setting the cache variable VAR 1547 # accordingly. 1548 ac_fn_c_check_header_mongrel () 1549 { 1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1551 if eval \${$3+:} false; then : 1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1553 $as_echo_n "checking for $2... " >&6; } 1554 if eval \${$3+:} false; then : 1555 $as_echo_n "(cached) " >&6 1556 fi 1557 eval ac_res=\$$3 1558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1559 $as_echo "$ac_res" >&6; } 1560 else 1561 # Is the header compilable? 1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1563 $as_echo_n "checking $2 usability... " >&6; } 1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1565 /* end confdefs.h. */ 1566 $4 1567 #include <$2> 1568 _ACEOF 1569 if ac_fn_c_try_compile "$LINENO"; then : 1570 ac_header_compiler=yes 1571 else 1572 ac_header_compiler=no 1573 fi 1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1576 $as_echo "$ac_header_compiler" >&6; } 1577 1578 # Is the header present? 1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1580 $as_echo_n "checking $2 presence... " >&6; } 1581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1582 /* end confdefs.h. */ 1583 #include <$2> 1584 _ACEOF 1585 if ac_fn_c_try_cpp "$LINENO"; then : 1586 ac_header_preproc=yes 1587 else 1588 ac_header_preproc=no 1589 fi 1590 rm -f conftest.err conftest.i conftest.$ac_ext 1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1592 $as_echo "$ac_header_preproc" >&6; } 1593 1594 # So? What about this header? 1595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1596 yes:no: ) 1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1598 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1600 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1601 ;; 1602 no:yes:* ) 1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1604 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1606 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1608 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1610 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1613 ( $as_echo "## ----------------------------------- ## 1614 ## Report this to rappture@nanohub.org ## 1615 ## ----------------------------------- ##" 1616 ) | sed "s/^/$as_me: WARNING: /" >&2 1617 ;; 1618 esac 1619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1620 $as_echo_n "checking for $2... " >&6; } 1621 if eval \${$3+:} false; then : 1622 $as_echo_n "(cached) " >&6 1623 else 1624 eval "$3=\$ac_header_compiler" 1625 fi 1626 eval ac_res=\$$3 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1628 $as_echo "$ac_res" >&6; } 1629 fi 1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1631 1632 } # ac_fn_c_check_header_mongrel 1633 1634 # ac_fn_c_try_run LINENO 1635 # ---------------------- 1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1637 # that executables *can* be run. 1638 ac_fn_c_try_run () 1639 { 1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1641 if { { ac_try="$ac_link" 1642 case "(($ac_try" in 1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1644 *) ac_try_echo=$ac_try;; 1645 esac 1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1647 $as_echo "$ac_try_echo"; } >&5 1648 (eval "$ac_link") 2>&5 1649 ac_status=$? 1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1651 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1652 { { case "(($ac_try" in 1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1654 *) ac_try_echo=$ac_try;; 1655 esac 1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1657 $as_echo "$ac_try_echo"; } >&5 1658 (eval "$ac_try") 2>&5 1659 ac_status=$? 1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1661 test $ac_status = 0; }; }; then : 1662 ac_retval=0 1663 else 1664 $as_echo "$as_me: program exited with status $ac_status" >&5 1665 $as_echo "$as_me: failed program was:" >&5 1666 sed 's/^/| /' conftest.$ac_ext >&5 1667 1668 ac_retval=$ac_status 1669 fi 1670 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1672 as_fn_set_status $ac_retval 1673 1674 } # ac_fn_c_try_run 1675 1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1677 # ------------------------------------------------------- 1678 # Tests whether HEADER exists and can be compiled using the include files in 1679 # INCLUDES, setting the cache variable VAR accordingly. 1680 ac_fn_c_check_header_compile () 1681 { 1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1684 $as_echo_n "checking for $2... " >&6; } 1685 if eval \${$3+:} false; then : 1686 $as_echo_n "(cached) " >&6 1687 else 1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1689 /* end confdefs.h. */ 1690 $4 1691 #include <$2> 1692 _ACEOF 1693 if ac_fn_c_try_compile "$LINENO"; then : 1694 eval "$3=yes" 1695 else 1696 eval "$3=no" 1697 fi 1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1699 fi 1700 eval ac_res=\$$3 1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1702 $as_echo "$ac_res" >&6; } 1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1704 1705 } # ac_fn_c_check_header_compile 1502 1706 1503 1707 # ac_fn_c_try_link LINENO … … 1547 1751 } # ac_fn_c_try_link 1548 1752 1549 # ac_fn_c_try_cpp LINENO1550 # ----------------------1551 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1552 ac_fn_c_try_cpp ()1553 {1554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1555 if { { ac_try="$ac_cpp conftest.$ac_ext"1556 case "(($ac_try" in1557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1558 *) ac_try_echo=$ac_try;;1559 esac1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1561 $as_echo "$ac_try_echo"; } >&51562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1563 ac_status=$?1564 if test -s conftest.err; then1565 grep -v '^ *+' conftest.err >conftest.er11566 cat conftest.er1 >&51567 mv -f conftest.er1 conftest.err1568 fi1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51570 test $ac_status = 0; } > conftest.i && {1571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1572 test ! -s conftest.err1573 }; then :1574 ac_retval=01575 else1576 $as_echo "$as_me: failed program was:" >&51577 sed 's/^/| /' conftest.$ac_ext >&51578 1579 ac_retval=11580 fi1581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1582 as_fn_set_status $ac_retval1583 1584 } # ac_fn_c_try_cpp1585 1586 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1587 # -------------------------------------------------------1588 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1589 # the include files in INCLUDES and setting the cache variable VAR1590 # accordingly.1591 ac_fn_c_check_header_mongrel ()1592 {1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1594 if eval \${$3+:} false; then :1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51596 $as_echo_n "checking for $2... " >&6; }1597 if eval \${$3+:} false; then :1598 $as_echo_n "(cached) " >&61599 fi1600 eval ac_res=\$$31601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51602 $as_echo "$ac_res" >&6; }1603 else1604 # Is the header compilable?1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51606 $as_echo_n "checking $2 usability... " >&6; }1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1608 /* end confdefs.h. */1609 $41610 #include <$2>1611 _ACEOF1612 if ac_fn_c_try_compile "$LINENO"; then :1613 ac_header_compiler=yes1614 else1615 ac_header_compiler=no1616 fi1617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51619 $as_echo "$ac_header_compiler" >&6; }1620 1621 # Is the header present?1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51623 $as_echo_n "checking $2 presence... " >&6; }1624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1625 /* end confdefs.h. */1626 #include <$2>1627 _ACEOF1628 if ac_fn_c_try_cpp "$LINENO"; then :1629 ac_header_preproc=yes1630 else1631 ac_header_preproc=no1632 fi1633 rm -f conftest.err conftest.i conftest.$ac_ext1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51635 $as_echo "$ac_header_preproc" >&6; }1636 1637 # So? What about this header?1638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1639 yes:no: )1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51641 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51643 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1644 ;;1645 no:yes:* )1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51647 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51649 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51651 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51653 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51655 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1656 ( $as_echo "## ----------------------------------- ##1657 ## Report this to rappture@nanohub.org ##1658 ## ----------------------------------- ##"1659 ) | sed "s/^/$as_me: WARNING: /" >&21660 ;;1661 esac1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51663 $as_echo_n "checking for $2... " >&6; }1664 if eval \${$3+:} false; then :1665 $as_echo_n "(cached) " >&61666 else1667 eval "$3=\$ac_header_compiler"1668 fi1669 eval ac_res=\$$31670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51671 $as_echo "$ac_res" >&6; }1672 fi1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1674 1675 } # ac_fn_c_check_header_mongrel1676 1677 # ac_fn_c_try_run LINENO1678 # ----------------------1679 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1680 # that executables *can* be run.1681 ac_fn_c_try_run ()1682 {1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1684 if { { ac_try="$ac_link"1685 case "(($ac_try" in1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1687 *) ac_try_echo=$ac_try;;1688 esac1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1690 $as_echo "$ac_try_echo"; } >&51691 (eval "$ac_link") 2>&51692 ac_status=$?1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51694 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1695 { { case "(($ac_try" in1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1697 *) ac_try_echo=$ac_try;;1698 esac1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1700 $as_echo "$ac_try_echo"; } >&51701 (eval "$ac_try") 2>&51702 ac_status=$?1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51704 test $ac_status = 0; }; }; then :1705 ac_retval=01706 else1707 $as_echo "$as_me: program exited with status $ac_status" >&51708 $as_echo "$as_me: failed program was:" >&51709 sed 's/^/| /' conftest.$ac_ext >&51710 1711 ac_retval=$ac_status1712 fi1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1715 as_fn_set_status $ac_retval1716 1717 } # ac_fn_c_try_run1718 1719 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1720 # -------------------------------------------------------1721 # Tests whether HEADER exists and can be compiled using the include files in1722 # INCLUDES, setting the cache variable VAR accordingly.1723 ac_fn_c_check_header_compile ()1724 {1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51727 $as_echo_n "checking for $2... " >&6; }1728 if eval \${$3+:} false; then :1729 $as_echo_n "(cached) " >&61730 else1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1732 /* end confdefs.h. */1733 $41734 #include <$2>1735 _ACEOF1736 if ac_fn_c_try_compile "$LINENO"; then :1737 eval "$3=yes"1738 else1739 eval "$3=no"1740 fi1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1742 fi1743 eval ac_res=\$$31744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51745 $as_echo "$ac_res" >&6; }1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1747 1748 } # ac_fn_c_check_header_compile1749 1750 1753 # ac_fn_cxx_try_compile LINENO 1751 1754 # ---------------------------- … … 2180 2183 } # ac_fn_cxx_try_link 2181 2184 2182 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES2183 # ---------------------------------------------------------2184 # Tests whether HEADER exists and can be compiled using the include files in2185 # INCLUDES, setting the cache variable VAR accordingly.2186 ac_fn_cxx_check_header_compile ()2187 {2188 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52190 $as_echo_n "checking for $2... " >&6; }2191 if eval \${$3+:} false; then :2192 $as_echo_n "(cached) " >&62193 else2194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2195 /* end confdefs.h. */2196 $42197 #include <$2>2198 _ACEOF2199 if ac_fn_cxx_try_compile "$LINENO"; then :2200 eval "$3=yes"2201 else2202 eval "$3=no"2203 fi2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2205 fi2206 eval ac_res=\$$32207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52208 $as_echo "$ac_res" >&6; }2209 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2210 2211 } # ac_fn_cxx_check_header_compile2212 2213 2185 # ac_fn_cxx_check_func LINENO FUNC VAR 2214 2186 # ------------------------------------ … … 2277 2249 2278 2250 } # ac_fn_cxx_check_func 2251 2252 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2253 # --------------------------------------------------------- 2254 # Tests whether HEADER exists and can be compiled using the include files in 2255 # INCLUDES, setting the cache variable VAR accordingly. 2256 ac_fn_cxx_check_header_compile () 2257 { 2258 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2260 $as_echo_n "checking for $2... " >&6; } 2261 if eval \${$3+:} false; then : 2262 $as_echo_n "(cached) " >&6 2263 else 2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2265 /* end confdefs.h. */ 2266 $4 2267 #include <$2> 2268 _ACEOF 2269 if ac_fn_cxx_try_compile "$LINENO"; then : 2270 eval "$3=yes" 2271 else 2272 eval "$3=no" 2273 fi 2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2275 fi 2276 eval ac_res=\$$3 2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2278 $as_echo "$ac_res" >&6; } 2279 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2280 2281 } # ac_fn_cxx_check_header_compile 2279 2282 cat >config.log <<_ACEOF 2280 2283 This file contains any messages produced by compilers while … … 2629 2632 2630 2633 2634 ac_aux_dir= 2635 for ac_dir in cf "$srcdir"/cf; do 2636 if test -f "$ac_dir/install-sh"; then 2637 ac_aux_dir=$ac_dir 2638 ac_install_sh="$ac_aux_dir/install-sh -c" 2639 break 2640 elif test -f "$ac_dir/install.sh"; then 2641 ac_aux_dir=$ac_dir 2642 ac_install_sh="$ac_aux_dir/install.sh -c" 2643 break 2644 elif test -f "$ac_dir/shtool"; then 2645 ac_aux_dir=$ac_dir 2646 ac_install_sh="$ac_aux_dir/shtool install -c" 2647 break 2648 fi 2649 done 2650 if test -z "$ac_aux_dir"; then 2651 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 2652 fi 2653 2654 # These three variables are undocumented and unsupported, 2655 # and are intended to be withdrawn in a future Autoconf release. 2656 # They can cause serious problems if a builder's source tree is in a directory 2657 # whose full name contains unusual characters. 2658 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2659 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2660 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2661 2662 2631 2663 ac_config_headers="$ac_config_headers nanovis/nvconf.h nanoscale/config.h" 2632 2664 … … 2676 2708 fi 2677 2709 2678 2679 VERSION=0.0.12680 2681 #------------------------------------------------------------------------2682 # Handle the --prefix=... option2683 #------------------------------------------------------------------------2684 2685 if test "${prefix}" = "NONE"; then2686 prefix=/usr/local2687 fi2688 if test "${exec_prefix}" = "NONE"; then2689 exec_prefix=$prefix2690 fi2691 2692 if test "x${incdir}" == "x"; then2693 incdir=${exec_prefix}/include2694 fi2695 libdir=${exec_prefix}/lib2696 2697 if test "${libdir}" != "${prefix}/lib"; then2698 LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}"2699 else2700 LIB_SEARCH_DIRS="-L ${libdir}"2701 fi2702 2710 2703 2711 ac_ext=c … … 3492 3500 3493 3501 3494 if test -n "$ac_tool_prefix"; then3495 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.3496 set dummy ${ac_tool_prefix}ranlib; ac_word=$23497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53498 $as_echo_n "checking for $ac_word... " >&6; }3499 if ${ac_cv_prog_RANLIB+:} false; then :3500 $as_echo_n "(cached) " >&63501 else3502 if test -n "$RANLIB"; then3503 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.3504 else3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3506 for as_dir in $PATH3507 do3508 IFS=$as_save_IFS3509 test -z "$as_dir" && as_dir=.3510 for ac_exec_ext in '' $ac_executable_extensions; do3511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3512 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"3513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53514 break 23515 fi3516 done3517 done3518 IFS=$as_save_IFS3519 3520 fi3521 fi3522 RANLIB=$ac_cv_prog_RANLIB3523 if test -n "$RANLIB"; then3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&53525 $as_echo "$RANLIB" >&6; }3526 else3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53528 $as_echo "no" >&6; }3529 fi3530 3531 3532 fi3533 if test -z "$ac_cv_prog_RANLIB"; then3534 ac_ct_RANLIB=$RANLIB3535 # Extract the first word of "ranlib", so it can be a program name with args.3536 set dummy ranlib; ac_word=$23537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53538 $as_echo_n "checking for $ac_word... " >&6; }3539 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :3540 $as_echo_n "(cached) " >&63541 else3542 if test -n "$ac_ct_RANLIB"; then3543 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.3544 else3545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3546 for as_dir in $PATH3547 do3548 IFS=$as_save_IFS3549 test -z "$as_dir" && as_dir=.3550 for ac_exec_ext in '' $ac_executable_extensions; do3551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3552 ac_cv_prog_ac_ct_RANLIB="ranlib"3553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53554 break 23555 fi3556 done3557 done3558 IFS=$as_save_IFS3559 3560 fi3561 fi3562 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB3563 if test -n "$ac_ct_RANLIB"; then3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&53565 $as_echo "$ac_ct_RANLIB" >&6; }3566 else3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53568 $as_echo "no" >&6; }3569 fi3570 3571 if test "x$ac_ct_RANLIB" = x; then3572 RANLIB=":"3573 else3574 case $cross_compiling:$ac_tool_warned in3575 yes:)3576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}3578 ac_tool_warned=yes ;;3579 esac3580 RANLIB=$ac_ct_RANLIB3581 fi3582 else3583 RANLIB="$ac_cv_prog_RANLIB"3584 fi3585 3586 3502 ac_ext=c 3587 3503 ac_cpp='$CPP $CPPFLAGS' … … 3980 3896 done 3981 3897 3898 3899 3900 PYTHON="" 3901 PYTHON_CFLAGS="" 3902 PYTHON_CPPFLAGS="" 3903 PYTHON_DISTUTILS="" 3904 PYTHON_INCLUDES="" 3905 PYTHON_LDFLAGS="" 3906 PYTHON_LIB="" 3907 PYTHON_LIBDIR="" 3908 PYTHON_SITE_DIR="" 3909 PYTHON_SITE_PACKAGES="" 3910 PYTHON_VERSION="" 3911 pythondir="" 3912 3913 # Check whether --with-python was given. 3914 if test "${with_python+set}" = set; then : 3915 withval=$with_python; 3916 else 3917 with_python=yes 3918 fi 3919 3920 3921 if test "$with_python" != "no" ; then 3922 if test "$with_python" = "yes" ; then 3923 # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. 3924 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3926 $as_echo_n "checking for $ac_word... " >&6; } 3927 if ${ac_cv_path_PYTHON+:} false; then : 3928 $as_echo_n "(cached) " >&6 3929 else 3930 case $PYTHON in 3931 [\\/]* | ?:[\\/]*) 3932 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 3933 ;; 3934 *) 3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3936 for as_dir in $PATH 3937 do 3938 IFS=$as_save_IFS 3939 test -z "$as_dir" && as_dir=. 3940 for ac_exec_ext in '' $ac_executable_extensions; do 3941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3942 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3944 break 2 3945 fi 3946 done 3947 done 3948 IFS=$as_save_IFS 3949 3950 ;; 3951 esac 3952 fi 3953 PYTHON=$ac_cv_path_PYTHON 3954 if test -n "$PYTHON"; then 3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3956 $as_echo "$PYTHON" >&6; } 3957 else 3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3959 $as_echo "no" >&6; } 3960 fi 3961 3962 3963 else 3964 # Extract the first word of "python", so it can be a program name with args. 3965 set dummy python; ac_word=$2 3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3967 $as_echo_n "checking for $ac_word... " >&6; } 3968 if ${ac_cv_path_PYTHON+:} false; then : 3969 $as_echo_n "(cached) " >&6 3970 else 3971 case $PYTHON in 3972 [\\/]* | ?:[\\/]*) 3973 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 3974 ;; 3975 *) 3976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3977 as_dummy="${with_python}/bin:${with_python}" 3978 for as_dir in $as_dummy 3979 do 3980 IFS=$as_save_IFS 3981 test -z "$as_dir" && as_dir=. 3982 for ac_exec_ext in '' $ac_executable_extensions; do 3983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3984 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3986 break 2 3987 fi 3988 done 3989 done 3990 IFS=$as_save_IFS 3991 3992 ;; 3993 esac 3994 fi 3995 PYTHON=$ac_cv_path_PYTHON 3996 if test -n "$PYTHON"; then 3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3998 $as_echo "$PYTHON" >&6; } 3999 else 4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4001 $as_echo "no" >&6; } 4002 fi 4003 4004 4005 fi 4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5 4007 $as_echo_n "checking for Python version... " >&6; } 4008 if test "x${PYTHON}" != "x"; then 4009 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 4010 fi 4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5 4012 $as_echo "$PYTHON_VERSION" >&6; } 4013 fi 4014 4015 if test "x${PYTHON_VERSION}" != "x"; then 4016 PYTHON_INCLUDES=$incdir 4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5 4018 $as_echo_n "checking for Python distutils... " >&6; } 4019 PYTHON_DISTUTILS="" 4020 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \ 4021 build build_ext 2>&1 > /dev/null 4022 if test $? = 0 ; then 4023 PYTHON_DISTUTILS="yes" 4024 fi 4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5 4026 $as_echo "$PYTHON_DISTUTILS" >&6; } 4027 if test "${PYTHON_DISTUTILS}" = "yes" ; then 4028 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` 4029 # 4030 # Check for Python include path 4031 # 4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5 4033 $as_echo_n "checking path to Python headers... " >&6; } 4034 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 4035 print distutils.sysconfig.get_python_inc();"` 4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5 4037 $as_echo "$PYTHON_INCDIR" >&6; } 4038 # 4039 # Python distutils found, get settings from python directly 4040 # 4041 PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`" 4042 4043 PYTHON_CFLAGS="`$PYTHON -c 'from distutils import sysconfig; flags = [\"-I\" + sysconfig.get_python_inc(0), \"-I\" + sysconfig.get_python_inc(1), \" \".join(sysconfig.get_config_var(\"CFLAGS\").split())]; print \" \".join(flags);'`" 4044 PYTHON_LDFLAGS="`$PYTHON -c 'from distutils import sysconfig; libs = sysconfig.get_config_var(\"LIBS\").split() + sysconfig.get_config_var(\"SYSLIBS\").split(); libs.append(\"-lpython\"+sysconfig.get_config_var(\"VERSION\")); print \" \".join(libs);'`" 4045 PYTHON_LIB="`$PYTHON -c 'from distutils import sysconfig; print \"python\" + sysconfig.get_config_var(\"VERSION\");'`" 4046 PYTHON_LIBDIR="`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_config_var(\"LIBDIR\");'`" 4047 save_CPPFLAGS=$CPPFLAGS 4048 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 4049 for ac_header in Python.h 4050 do : 4051 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 4052 if test "x$ac_cv_header_Python_h" = xyes; then : 4053 cat >>confdefs.h <<_ACEOF 4054 #define HAVE_PYTHON_H 1 4055 _ACEOF 4056 found=yes 4057 else 4058 found=no 4059 fi 4060 4061 done 4062 4063 CPPFLAGS=$save_CPPFLAGS 4064 if test "$found" = "no" ; then 4065 PYTHON_DISTUTILS="" 4066 fi 4067 fi 4068 fi 4069 4070 4071 VERSION=0.0.1 4072 4073 #------------------------------------------------------------------------ 4074 # Handle the --prefix=... option 4075 #------------------------------------------------------------------------ 4076 4077 if test "${prefix}" = "NONE"; then 4078 prefix=/usr/local 4079 fi 4080 if test "${exec_prefix}" = "NONE"; then 4081 exec_prefix=$prefix 4082 fi 4083 4084 if test "x${incdir}" == "x"; then 4085 incdir=${exec_prefix}/include 4086 fi 4087 libdir=${exec_prefix}/lib 4088 4089 if test "${libdir}" != "${prefix}/lib"; then 4090 LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}" 4091 else 4092 LIB_SEARCH_DIRS="-L ${libdir}" 4093 fi 4094 4095 if test -n "$ac_tool_prefix"; then 4096 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4097 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4099 $as_echo_n "checking for $ac_word... " >&6; } 4100 if ${ac_cv_prog_RANLIB+:} false; then : 4101 $as_echo_n "(cached) " >&6 4102 else 4103 if test -n "$RANLIB"; then 4104 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4105 else 4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4107 for as_dir in $PATH 4108 do 4109 IFS=$as_save_IFS 4110 test -z "$as_dir" && as_dir=. 4111 for ac_exec_ext in '' $ac_executable_extensions; do 4112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4113 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4115 break 2 4116 fi 4117 done 4118 done 4119 IFS=$as_save_IFS 4120 4121 fi 4122 fi 4123 RANLIB=$ac_cv_prog_RANLIB 4124 if test -n "$RANLIB"; then 4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4126 $as_echo "$RANLIB" >&6; } 4127 else 4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4129 $as_echo "no" >&6; } 4130 fi 4131 4132 4133 fi 4134 if test -z "$ac_cv_prog_RANLIB"; then 4135 ac_ct_RANLIB=$RANLIB 4136 # Extract the first word of "ranlib", so it can be a program name with args. 4137 set dummy ranlib; ac_word=$2 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4139 $as_echo_n "checking for $ac_word... " >&6; } 4140 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4141 $as_echo_n "(cached) " >&6 4142 else 4143 if test -n "$ac_ct_RANLIB"; then 4144 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4145 else 4146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4147 for as_dir in $PATH 4148 do 4149 IFS=$as_save_IFS 4150 test -z "$as_dir" && as_dir=. 4151 for ac_exec_ext in '' $ac_executable_extensions; do 4152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4153 ac_cv_prog_ac_ct_RANLIB="ranlib" 4154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4155 break 2 4156 fi 4157 done 4158 done 4159 IFS=$as_save_IFS 4160 4161 fi 4162 fi 4163 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4164 if test -n "$ac_ct_RANLIB"; then 4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4166 $as_echo "$ac_ct_RANLIB" >&6; } 4167 else 4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4169 $as_echo "no" >&6; } 4170 fi 4171 4172 if test "x$ac_ct_RANLIB" = x; then 4173 RANLIB=":" 4174 else 4175 case $cross_compiling:$ac_tool_warned in 4176 yes:) 4177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4179 ac_tool_warned=yes ;; 4180 esac 4181 RANLIB=$ac_ct_RANLIB 4182 fi 4183 else 4184 RANLIB="$ac_cv_prog_RANLIB" 4185 fi 3982 4186 3983 4187 … … 5990 6194 5991 6195 5992 ac_aux_dir=5993 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do5994 if test -f "$ac_dir/install-sh"; then5995 ac_aux_dir=$ac_dir5996 ac_install_sh="$ac_aux_dir/install-sh -c"5997 break5998 elif test -f "$ac_dir/install.sh"; then5999 ac_aux_dir=$ac_dir6000 ac_install_sh="$ac_aux_dir/install.sh -c"6001 break6002 elif test -f "$ac_dir/shtool"; then6003 ac_aux_dir=$ac_dir6004 ac_install_sh="$ac_aux_dir/shtool install -c"6005 break6006 fi6007 done6008 if test -z "$ac_aux_dir"; then6009 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 56010 fi6011 6012 # These three variables are undocumented and unsupported,6013 # and are intended to be withdrawn in a future Autoconf release.6014 # They can cause serious problems if a builder's source tree is in a directory6015 # whose full name contains unusual characters.6016 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.6017 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.6018 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.6019 6020 6021 6196 # Find a good install program. We prefer a C program (faster), 6022 6197 # so one script is as good as another. But avoid the broken or … … 8096 8271 8097 8272 else 8098 as_fn_error $? "cannot find VTK includes" "$LINENO" 5 8273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5 8274 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;} 8099 8275 fi 8100 8276 … … 8152 8328 fi 8153 8329 8330 done 8331 8332 8333 for ac_func in accept4 8334 do : 8335 ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4" 8336 if test "x$ac_cv_func_accept4" = xyes; then : 8337 cat >>confdefs.h <<_ACEOF 8338 #define HAVE_ACCEPT4 1 8339 _ACEOF 8340 8341 fi 8154 8342 done 8155 8343 … … 8169 8357 done 8170 8358 if test "x${DX_INC_DIR}" = "x" ; then 8171 as_fn_error $? "cannot find OpenDX include files" "$LINENO" 5 8172 fi 8173 8174 if test "${DX_INC_DIR}" = "/usr/include" ; then 8359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find OpenDX include files" >&5 8360 $as_echo "$as_me: WARNING: cannot find OpenDX include files" >&2;} 8175 8361 DX_INC_SPEC="" 8362 elif test "${DX_INC_DIR}" = "/usr/include" ; then 8363 DX_INC_SPEC="" 8176 8364 else 8177 8365 DX_INC_SPEC="-I{DX_INC_DIR}" 8178 8366 fi 8367 8179 8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&5 8180 8369 $as_echo "${DX_INC_DIR}" >&6; } 8370 save_CPPFLAGS=${CPPFLAGS} 8371 CPPFLAGS="$DX_INC_SPEC $CPPFLAGS" 8372 for ac_header in dx/dx.h 8373 do : 8374 ac_fn_cxx_check_header_mongrel "$LINENO" "dx/dx.h" "ac_cv_header_dx_dx_h" "$ac_includes_default" 8375 if test "x$ac_cv_header_dx_dx_h" = xyes; then : 8376 cat >>confdefs.h <<_ACEOF 8377 #define HAVE_DX_DX_H 1 8378 _ACEOF 8379 8380 fi 8381 8382 done 8383 8384 CPPFLAGS=${save_CPPFLAGS} 8181 8385 8182 8386 DX_LIB_DIR="" 8183 found=no8184 8387 for dir in \ 8185 8388 /usr/lib \ … … 8241 8444 fi 8242 8445 done 8243 if test "x{$DX_LIB_DIR}" = "x" ; then 8244 as_fn_error $? "cannot find OpenDX libraries" "$LINENO" 5 8446 if test "x${DX_LIB_DIR}" = "x" ; then 8447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find OpenDX libraries" >&5 8448 $as_echo "$as_me: WARNING: cannot find OpenDX libraries" >&2;} 8245 8449 fi 8246 8450 8247 8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libDXcallm library" >&5 8248 8452 $as_echo_n "checking for libDXcallm library... " >&6; } 8249 if test " ${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then8453 if test "x${DX_LIB_DIR}" = "x" -o "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then 8250 8454 DX_LIB_SPEC="" 8251 8455 else 8252 DX_LIB_SPEC="-L${DX_LIB_DIR} "8456 DX_LIB_SPEC="-L${DX_LIB_DIR} -lDXcallm" 8253 8457 fi 8254 8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&5 … … 8268 8472 done 8269 8473 8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cvLoadImage in -l cv" >&58271 $as_echo_n "checking for cvLoadImage in -l cv... " >&6; }8272 if ${ac_cv_lib_ cv_cvLoadImage+:} false; then :8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cvLoadImage in -lhighgui" >&5 8475 $as_echo_n "checking for cvLoadImage in -lhighgui... " >&6; } 8476 if ${ac_cv_lib_highgui_cvLoadImage+:} false; then : 8273 8477 $as_echo_n "(cached) " >&6 8274 8478 else 8275 8479 ac_check_lib_save_LIBS=$LIBS 8276 LIBS="-l cv$LIBS"8480 LIBS="-lhighgui $LIBS" 8277 8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8278 8482 /* end confdefs.h. */ … … 8294 8498 _ACEOF 8295 8499 if ac_fn_cxx_try_link "$LINENO"; then : 8296 ac_cv_lib_ cv_cvLoadImage=yes8297 else 8298 ac_cv_lib_ cv_cvLoadImage=no8500 ac_cv_lib_highgui_cvLoadImage=yes 8501 else 8502 ac_cv_lib_highgui_cvLoadImage=no 8299 8503 fi 8300 8504 rm -f core conftest.err conftest.$ac_objext \ … … 8302 8506 LIBS=$ac_check_lib_save_LIBS 8303 8507 fi 8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ cv_cvLoadImage" >&58305 $as_echo "$ac_cv_lib_ cv_cvLoadImage" >&6; }8306 if test "x$ac_cv_lib_ cv_cvLoadImage" = xyes; then :8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_highgui_cvLoadImage" >&5 8509 $as_echo "$ac_cv_lib_highgui_cvLoadImage" >&6; } 8510 if test "x$ac_cv_lib_highgui_cvLoadImage" = xyes; then : 8307 8511 cat >>confdefs.h <<_ACEOF 8308 #define HAVE_LIB CV18309 _ACEOF 8310 8311 LIBS="-l cv$LIBS"8512 #define HAVE_LIBHIGHGUI 1 8513 _ACEOF 8514 8515 LIBS="-lhighgui $LIBS" 8312 8516 8313 8517 fi … … 8585 8789 8586 8790 else 8587 as_fn_error $? "cannot find nVidia Cg headers" "$LINENO" 5 8791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find nVidia Cg headers" >&5 8792 $as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;} 8588 8793 fi 8589 8794 … … 8599 8804 8600 8805 SUBDIRS="nanoscale nanovis pymolproxy vtkvis" 8806 8601 8807 8602 8808
Note: See TracChangeset
for help on using the changeset viewer.