- Timestamp:
- Mar 8, 2011 10:27:00 AM (13 years ago)
- Location:
- branches/blt4/packages/vizservers
- Files:
-
- 30 added
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/packages/vizservers/Makefile.in
r1948 r2120 18 18 VPATH = $(srcdir) 19 19 20 SUBDIRS = nanoscale nanovis pymolproxy20 SUBDIRS = @SUBDIRS@ 21 21 FILES = \ 22 22 start_viz.sh 23 23 24 .PHONY: nanoscale nanovis pymolproxy24 .PHONY: $(SUBDIRS) 25 25 26 26 all: -
branches/blt4/packages/vizservers/configure
r1874 r2120 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 5for vizservers 0.1.3 # Generated by GNU Autoconf 2.68 for vizservers 0.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. … … 7 7 # 8 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,10 # Inc.9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 11 # 12 12 # … … 92 92 93 93 # Find who we are. Look in the path if we contain no directory separator. 94 as_myself= 94 95 case $0 in #(( 95 96 *[\\/]* ) as_myself=$0 ;; … … 217 218 # neutralization value for shells without unset; and this also 218 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 219 221 BASH_ENV=/dev/null 220 222 ENV=/dev/null 221 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 224 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 224 232 fi 225 233 … … 320 328 done 321 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 323 331 324 332 … … 360 368 361 369 362 # as_fn_error ERROR [LINENO LOG_FD]363 # --------------------------------- 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 364 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 365 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 366 # script with status $?, using 1 if that was 0.374 # script with STATUS, using 1 if that was 0. 367 375 as_fn_error () 368 376 { 369 as_status=$ ?; test $as_status -eq 0 && as_status=1370 if test "$ 3"; then371 as_lineno=${as_lineno-"$ 2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $ 1" >&$3377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 373 381 fi 374 $as_echo "$as_me: error: $ 1" >&2382 $as_echo "$as_me: error: $2" >&2 375 383 as_fn_exit $as_status 376 384 } # as_fn_error … … 534 542 535 543 # Name of the host. 536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 537 545 # so uname gets run too. 538 546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 598 606 LD_RPATH 599 607 CG_DIR 608 FF_INC_SPEC 600 609 DX_LIB_SPEC 601 610 DX_INC_SPEC 611 VTK_LIB_DIR 612 VTK_INC_SPEC 602 613 RP_DIR 603 614 RP2_INCL_DIR … … 620 631 INSTALL_SCRIPT 621 632 INSTALL_PROGRAM 633 XMKMF 622 634 SHLIB_LDFLAGS 623 635 INSTALL_STUB_LIB … … 697 709 ac_user_opts=' 698 710 enable_option_checking 711 with_tcllib 712 with_rappture 713 with_vtk_includes 714 with_vtk_libs 699 715 enable_64bit 700 716 enable_64bit_vis 701 717 enable_corefoundation 702 718 enable_load 703 with_tcllib 704 with_rappture 719 with_x 705 720 ' 706 721 ac_precious_vars='build_alias … … 713 728 CPPFLAGS 714 729 CPP 730 XMKMF 715 731 CXX 716 732 CXXFLAGS … … 779 795 780 796 case $ac_option in 781 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 782 *) ac_optarg=yes ;; 797 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 798 *=) ac_optarg= ;; 799 *) ac_optarg=yes ;; 783 800 esac 784 801 … … 825 842 # Reject names that are not valid shell variable names. 826 843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 827 as_fn_error "invalid feature name: $ac_useropt"844 as_fn_error $? "invalid feature name: $ac_useropt" 828 845 ac_useropt_orig=$ac_useropt 829 846 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 851 868 # Reject names that are not valid shell variable names. 852 869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 853 as_fn_error "invalid feature name: $ac_useropt"870 as_fn_error $? "invalid feature name: $ac_useropt" 854 871 ac_useropt_orig=$ac_useropt 855 872 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1055 1072 # Reject names that are not valid shell variable names. 1056 1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1057 as_fn_error "invalid package name: $ac_useropt"1074 as_fn_error $? "invalid package name: $ac_useropt" 1058 1075 ac_useropt_orig=$ac_useropt 1059 1076 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1071 1088 # Reject names that are not valid shell variable names. 1072 1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1073 as_fn_error "invalid package name: $ac_useropt"1090 as_fn_error $? "invalid package name: $ac_useropt" 1074 1091 ac_useropt_orig=$ac_useropt 1075 1092 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1101 1118 x_libraries=$ac_optarg ;; 1102 1119 1103 -*) as_fn_error "unrecognized option: \`$ac_option'1104 Try \`$0 --help' for more information ."1120 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1121 Try \`$0 --help' for more information" 1105 1122 ;; 1106 1123 … … 1110 1127 case $ac_envvar in #( 1111 1128 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1112 as_fn_error "invalid variable name: \`$ac_envvar'" ;;1129 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1113 1130 esac 1114 1131 eval $ac_envvar=\$ac_optarg … … 1120 1137 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1121 1138 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1122 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1139 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1123 1140 ;; 1124 1141 … … 1128 1145 if test -n "$ac_prev"; then 1129 1146 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1130 as_fn_error "missing argument to $ac_option"1147 as_fn_error $? "missing argument to $ac_option" 1131 1148 fi 1132 1149 … … 1134 1151 case $enable_option_checking in 1135 1152 no) ;; 1136 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;1153 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1137 1154 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1138 1155 esac … … 1157 1174 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1158 1175 esac 1159 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"1176 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1160 1177 done 1161 1178 … … 1171 1188 if test "x$build_alias" = x; then 1172 1189 cross_compiling=maybe 1173 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1174 If a cross compiler is detected then cross compile mode will be used ." >&21190 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1191 If a cross compiler is detected then cross compile mode will be used" >&2 1175 1192 elif test "x$build_alias" != "x$host_alias"; then 1176 1193 cross_compiling=yes … … 1187 1204 ac_ls_di=`ls -di .` && 1188 1205 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1189 as_fn_error "working directory cannot be determined"1206 as_fn_error $? "working directory cannot be determined" 1190 1207 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1191 as_fn_error "pwd does not report name of working directory"1208 as_fn_error $? "pwd does not report name of working directory" 1192 1209 1193 1210 … … 1228 1245 if test ! -r "$srcdir/$ac_unique_file"; then 1229 1246 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1230 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"1247 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1231 1248 fi 1232 1249 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1233 1250 ac_abs_confdir=`( 1234 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"1251 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1235 1252 pwd)` 1236 1253 # When building in place, set srcdir=. … … 1272 1289 --help=recursive display the short help of all the included packages 1273 1290 -V, --version display version information and exit 1274 -q, --quiet, --silent do not print \`checking ...' messages1291 -q, --quiet, --silent do not print \`checking ...' messages 1275 1292 --cache-file=FILE cache test results in FILE [disabled] 1276 1293 -C, --config-cache alias for \`--cache-file=config.cache' … … 1314 1331 1315 1332 cat <<\_ACEOF 1333 1334 X features: 1335 --x-includes=DIR X include files are in DIR 1336 --x-libraries=DIR X library files are in DIR 1316 1337 _ACEOF 1317 1338 fi … … 1339 1360 --with-rappture=DIR location of rappture files lib/librappture2.a and 1340 1361 include/rappture2/rappture2.h [default=/usr] 1362 --with-vtk-includes=DIR VTK include files are in DIR 1363 --with-vtk-libs=DIR VTK libraries are in DIR 1364 --with-x use the X Window System 1341 1365 1342 1366 Some influential environment variables: … … 1349 1373 you have headers in a nonstandard directory <include dir> 1350 1374 CPP C preprocessor 1375 XMKMF Path to xmkmf, Makefile generator for X Window System 1351 1376 CXX C++ compiler command 1352 1377 CXXFLAGS C++ compiler flags … … 1420 1445 cat <<\_ACEOF 1421 1446 vizservers configure 0.1 1422 generated by GNU Autoconf 2.6 51423 1424 Copyright (C) 20 09Free Software Foundation, Inc.1447 generated by GNU Autoconf 2.68 1448 1449 Copyright (C) 2010 Free Software Foundation, Inc. 1425 1450 This configure script is free software; the Free Software Foundation 1426 1451 gives unlimited permission to copy, distribute and modify it. … … 1466 1491 ac_retval=1 1467 1492 fi 1468 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1469 1494 as_fn_set_status $ac_retval 1470 1495 … … 1512 1537 # left behind by Apple's compiler. We do this before executing the actions. 1513 1538 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1514 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1515 1540 as_fn_set_status $ac_retval 1516 1541 … … 1538 1563 fi 1539 1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1540 test $ac_status = 0; } > /dev/null&& {1565 test $ac_status = 0; } > conftest.i && { 1541 1566 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1542 1567 test ! -s conftest.err … … 1549 1574 ac_retval=1 1550 1575 fi 1551 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1552 1577 as_fn_set_status $ac_retval 1553 1578 … … 1562 1587 { 1563 1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1564 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1589 if eval \${$3+:} false; then : 1565 1590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1566 1591 $as_echo_n "checking for $2... " >&6; } 1567 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1592 if eval \${$3+:} false; then : 1568 1593 $as_echo_n "(cached) " >&6 1569 1594 fi … … 1601 1626 ac_header_preproc=no 1602 1627 fi 1603 rm -f conftest.err conftest. $ac_ext1628 rm -f conftest.err conftest.i conftest.$ac_ext 1604 1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1605 1630 $as_echo "$ac_header_preproc" >&6; } … … 1624 1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1625 1650 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1626 ( cat <<\_ASBOX 1627 ## ----------------------------------- ## 1651 ( $as_echo "## ----------------------------------- ## 1628 1652 ## Report this to rappture@nanohub.org ## 1629 ## ----------------------------------- ## 1630 _ASBOX 1653 ## ----------------------------------- ##" 1631 1654 ) | sed "s/^/$as_me: WARNING: /" >&2 1632 1655 ;; … … 1634 1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1635 1658 $as_echo_n "checking for $2... " >&6; } 1636 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1659 if eval \${$3+:} false; then : 1637 1660 $as_echo_n "(cached) " >&6 1638 1661 else … … 1643 1666 $as_echo "$ac_res" >&6; } 1644 1667 fi 1645 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1646 1669 1647 1670 } # ac_fn_c_check_header_mongrel … … 1684 1707 fi 1685 1708 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1687 1710 as_fn_set_status $ac_retval 1688 1711 … … 1698 1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1699 1722 $as_echo_n "checking for $2... " >&6; } 1700 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1723 if eval \${$3+:} false; then : 1701 1724 $as_echo_n "(cached) " >&6 1702 1725 else … … 1716 1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1717 1740 $as_echo "$ac_res" >&6; } 1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1719 1742 1720 1743 } # ac_fn_c_check_header_compile … … 1753 1776 ac_retval=1 1754 1777 fi 1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1756 1779 as_fn_set_status $ac_retval 1757 1780 … … 1779 1802 fi 1780 1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1781 test $ac_status = 0; } > /dev/null&& {1804 test $ac_status = 0; } > conftest.i && { 1782 1805 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1783 1806 test ! -s conftest.err … … 1790 1813 ac_retval=1 1791 1814 fi 1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1793 1816 as_fn_set_status $ac_retval 1794 1817 … … 1832 1855 fi 1833 1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1834 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1835 1858 as_fn_set_status $ac_retval 1836 1859 … … 2010 2033 2011 2034 fi 2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2035 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2013 2036 as_fn_set_status $ac_retval 2014 2037 … … 2023 2046 { 2024 2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2025 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :2048 if eval \${$3+:} false; then : 2026 2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2027 2050 $as_echo_n "checking for $2... " >&6; } 2028 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :2051 if eval \${$3+:} false; then : 2029 2052 $as_echo_n "(cached) " >&6 2030 2053 fi … … 2062 2085 ac_header_preproc=no 2063 2086 fi 2064 rm -f conftest.err conftest. $ac_ext2087 rm -f conftest.err conftest.i conftest.$ac_ext 2065 2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2066 2089 $as_echo "$ac_header_preproc" >&6; } … … 2085 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2086 2109 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2087 ( cat <<\_ASBOX 2088 ## ----------------------------------- ## 2110 ( $as_echo "## ----------------------------------- ## 2089 2111 ## Report this to rappture@nanohub.org ## 2090 ## ----------------------------------- ## 2091 _ASBOX 2112 ## ----------------------------------- ##" 2092 2113 ) | sed "s/^/$as_me: WARNING: /" >&2 2093 2114 ;; … … 2095 2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2096 2117 $as_echo_n "checking for $2... " >&6; } 2097 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :2118 if eval \${$3+:} false; then : 2098 2119 $as_echo_n "(cached) " >&6 2099 2120 else … … 2104 2125 $as_echo "$ac_res" >&6; } 2105 2126 fi 2106 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2127 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2107 2128 2108 2129 } # ac_fn_cxx_check_header_mongrel 2109 2110 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES2111 # ---------------------------------------------------------2112 # Tests whether HEADER exists and can be compiled using the include files in2113 # INCLUDES, setting the cache variable VAR accordingly.2114 ac_fn_cxx_check_header_compile ()2115 {2116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52118 $as_echo_n "checking for $2... " >&6; }2119 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :2120 $as_echo_n "(cached) " >&62121 else2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2123 /* end confdefs.h. */2124 $42125 #include <$2>2126 _ACEOF2127 if ac_fn_cxx_try_compile "$LINENO"; then :2128 eval "$3=yes"2129 else2130 eval "$3=no"2131 fi2132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2133 fi2134 eval ac_res=\$$32135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52136 $as_echo "$ac_res" >&6; }2137 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2138 2139 } # ac_fn_cxx_check_header_compile2140 2130 2141 2131 # ac_fn_cxx_try_link LINENO … … 2180 2170 # left behind by Apple's compiler. We do this before executing the actions. 2181 2171 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2182 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2172 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2183 2173 as_fn_set_status $ac_retval 2184 2174 2185 2175 } # ac_fn_cxx_try_link 2176 2177 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2178 # --------------------------------------------------------- 2179 # Tests whether HEADER exists and can be compiled using the include files in 2180 # INCLUDES, setting the cache variable VAR accordingly. 2181 ac_fn_cxx_check_header_compile () 2182 { 2183 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2185 $as_echo_n "checking for $2... " >&6; } 2186 if eval \${$3+:} false; then : 2187 $as_echo_n "(cached) " >&6 2188 else 2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2190 /* end confdefs.h. */ 2191 $4 2192 #include <$2> 2193 _ACEOF 2194 if ac_fn_cxx_try_compile "$LINENO"; then : 2195 eval "$3=yes" 2196 else 2197 eval "$3=no" 2198 fi 2199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2200 fi 2201 eval ac_res=\$$3 2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2203 $as_echo "$ac_res" >&6; } 2204 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2205 2206 } # ac_fn_cxx_check_header_compile 2186 2207 2187 2208 # ac_fn_cxx_check_func LINENO FUNC VAR … … 2193 2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2194 2215 $as_echo_n "checking for $2... " >&6; } 2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :2216 if eval \${$3+:} false; then : 2196 2217 $as_echo_n "(cached) " >&6 2197 2218 else … … 2248 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2249 2270 $as_echo "$ac_res" >&6; } 2250 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2271 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2251 2272 2252 2273 } # ac_fn_cxx_check_func … … 2256 2277 2257 2278 It was created by vizservers $as_me 0.1, which was 2258 generated by GNU Autoconf 2.6 5. Invocation command line was2279 generated by GNU Autoconf 2.68. Invocation command line was 2259 2280 2260 2281 $ $0 $@ … … 2366 2387 echo 2367 2388 2368 cat <<\_ASBOX 2369 ## ---------------- ## 2389 $as_echo "## ---------------- ## 2370 2390 ## Cache variables. ## 2371 ## ---------------- ## 2372 _ASBOX 2391 ## ---------------- ##" 2373 2392 echo 2374 2393 # The following way of writing the cache mishandles newlines in values, … … 2404 2423 echo 2405 2424 2406 cat <<\_ASBOX 2407 ## ----------------- ## 2425 $as_echo "## ----------------- ## 2408 2426 ## Output variables. ## 2409 ## ----------------- ## 2410 _ASBOX 2427 ## ----------------- ##" 2411 2428 echo 2412 2429 for ac_var in $ac_subst_vars … … 2421 2438 2422 2439 if test -n "$ac_subst_files"; then 2423 cat <<\_ASBOX 2424 ## ------------------- ## 2440 $as_echo "## ------------------- ## 2425 2441 ## File substitutions. ## 2426 ## ------------------- ## 2427 _ASBOX 2442 ## ------------------- ##" 2428 2443 echo 2429 2444 for ac_var in $ac_subst_files … … 2439 2454 2440 2455 if test -s confdefs.h; then 2441 cat <<\_ASBOX 2442 ## ----------- ## 2456 $as_echo "## ----------- ## 2443 2457 ## confdefs.h. ## 2444 ## ----------- ## 2445 _ASBOX 2458 ## ----------- ##" 2446 2459 echo 2447 2460 cat confdefs.h … … 2498 2511 ac_site_file2=NONE 2499 2512 if test -n "$CONFIG_SITE"; then 2500 ac_site_file1=$CONFIG_SITE 2513 # We do not want a PATH search for config.site. 2514 case $CONFIG_SITE in #(( 2515 -*) ac_site_file1=./$CONFIG_SITE;; 2516 */*) ac_site_file1=$CONFIG_SITE;; 2517 *) ac_site_file1=./$CONFIG_SITE;; 2518 esac 2501 2519 elif test "x$prefix" != xNONE; then 2502 2520 ac_site_file1=$prefix/share/config.site … … 2513 2531 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2514 2532 sed 's/^/| /' "$ac_site_file" >&5 2515 . "$ac_site_file" 2533 . "$ac_site_file" \ 2534 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2536 as_fn_error $? "failed to load site script $ac_site_file 2537 See \`config.log' for more details" "$LINENO" 5; } 2516 2538 fi 2517 2539 done … … 2589 2611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2590 2612 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2591 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 52613 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2592 2614 fi 2593 2615 ## -------------------- ## … … 2603 2625 2604 2626 ac_config_headers="$ac_config_headers nanovis/nvconf.h nanoscale/config.h" 2627 2628 2629 2630 # Check whether --with-tcllib was given. 2631 if test "${with_tcllib+set}" = set; then : 2632 withval=$with_tcllib; with_tcllib=$withval 2633 else 2634 with_tcllib="" 2635 fi 2636 2637 2638 2639 # Check whether --with-rappture was given. 2640 if test "${with_rappture+set}" = set; then : 2641 withval=$with_rappture; with_rappture=$withval 2642 else 2643 with_rappture=/usr 2644 fi 2645 2646 2647 2648 # Check whether --with-vtk-includes was given. 2649 if test "${with_vtk_includes+set}" = set; then : 2650 withval=$with_vtk_includes; with_vtk_includes=$withval 2651 else 2652 with_vtk_includes=/usr/include/vtk-5.6 2653 fi 2654 2655 2656 2657 # Check whether --with-vtk-libs was given. 2658 if test "${with_vtk_libs+set}" = set; then : 2659 withval=$with_vtk_libs; with_vtk_libs=$withval 2660 else 2661 with_vtk_libs=/usr/lib/vtk-5.6 2662 fi 2605 2663 2606 2664 … … 2635 2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2636 2694 $as_echo_n "checking for $ac_word... " >&6; } 2637 if test "${ac_cv_prog_CC+set}" = set; then :2695 if ${ac_cv_prog_CC+:} false; then : 2638 2696 $as_echo_n "(cached) " >&6 2639 2697 else … … 2675 2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2676 2734 $as_echo_n "checking for $ac_word... " >&6; } 2677 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2735 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2678 2736 $as_echo_n "(cached) " >&6 2679 2737 else … … 2728 2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2729 2787 $as_echo_n "checking for $ac_word... " >&6; } 2730 if test "${ac_cv_prog_CC+set}" = set; then :2788 if ${ac_cv_prog_CC+:} false; then : 2731 2789 $as_echo_n "(cached) " >&6 2732 2790 else … … 2768 2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2769 2827 $as_echo_n "checking for $ac_word... " >&6; } 2770 if test "${ac_cv_prog_CC+set}" = set; then :2828 if ${ac_cv_prog_CC+:} false; then : 2771 2829 $as_echo_n "(cached) " >&6 2772 2830 else … … 2827 2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2828 2886 $as_echo_n "checking for $ac_word... " >&6; } 2829 if test "${ac_cv_prog_CC+set}" = set; then :2887 if ${ac_cv_prog_CC+:} false; then : 2830 2888 $as_echo_n "(cached) " >&6 2831 2889 else … … 2871 2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2872 2930 $as_echo_n "checking for $ac_word... " >&6; } 2873 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2931 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2874 2932 $as_echo_n "(cached) " >&6 2875 2933 else … … 2925 2983 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2926 2984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2927 as_fn_error "no acceptable C compiler found in \$PATH2928 See \`config.log' for more details ." "$LINENO" 5; }2985 as_fn_error $? "no acceptable C compiler found in \$PATH 2986 See \`config.log' for more details" "$LINENO" 5; } 2929 2987 2930 2988 # Provide some information about the compiler. … … 3040 3098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3041 3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3042 { as_fn_set_status 77 3043 as_fn_error "C compiler cannot create executables 3044 See \`config.log' for more details." "$LINENO" 5; }; } 3100 as_fn_error 77 "C compiler cannot create executables 3101 See \`config.log' for more details" "$LINENO" 5; } 3045 3102 else 3046 3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 … … 3084 3141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3085 3142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3086 as_fn_error "cannot compute suffix of executables: cannot compile and link3087 See \`config.log' for more details ." "$LINENO" 5; }3143 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3144 See \`config.log' for more details" "$LINENO" 5; } 3088 3145 fi 3089 3146 rm -f conftest conftest$ac_cv_exeext … … 3142 3199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3143 3200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3144 as_fn_error "cannot run C compiled programs.3201 as_fn_error $? "cannot run C compiled programs. 3145 3202 If you meant to cross compile, use \`--host'. 3146 See \`config.log' for more details ." "$LINENO" 5; }3203 See \`config.log' for more details" "$LINENO" 5; } 3147 3204 fi 3148 3205 fi … … 3155 3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3156 3213 $as_echo_n "checking for suffix of object files... " >&6; } 3157 if test "${ac_cv_objext+set}" = set; then :3214 if ${ac_cv_objext+:} false; then : 3158 3215 $as_echo_n "(cached) " >&6 3159 3216 else … … 3195 3252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3196 3253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3197 as_fn_error "cannot compute suffix of object files: cannot compile3198 See \`config.log' for more details ." "$LINENO" 5; }3254 as_fn_error $? "cannot compute suffix of object files: cannot compile 3255 See \`config.log' for more details" "$LINENO" 5; } 3199 3256 fi 3200 3257 rm -f conftest.$ac_cv_objext conftest.$ac_ext … … 3206 3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3207 3264 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3208 if test "${ac_cv_c_compiler_gnu+set}" = set; then :3265 if ${ac_cv_c_compiler_gnu+:} false; then : 3209 3266 $as_echo_n "(cached) " >&6 3210 3267 else … … 3243 3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3244 3301 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3245 if test "${ac_cv_prog_cc_g+set}" = set; then :3302 if ${ac_cv_prog_cc_g+:} false; then : 3246 3303 $as_echo_n "(cached) " >&6 3247 3304 else … … 3321 3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3322 3379 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3323 if test "${ac_cv_prog_cc_c89+set}" = set; then :3380 if ${ac_cv_prog_cc_c89+:} false; then : 3324 3381 $as_echo_n "(cached) " >&6 3325 3382 else … … 3422 3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3423 3480 $as_echo_n "checking for $ac_word... " >&6; } 3424 if test "${ac_cv_prog_RANLIB+set}" = set; then :3481 if ${ac_cv_prog_RANLIB+:} false; then : 3425 3482 $as_echo_n "(cached) " >&6 3426 3483 else … … 3462 3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3463 3520 $as_echo_n "checking for $ac_word... " >&6; } 3464 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :3521 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3465 3522 $as_echo_n "(cached) " >&6 3466 3523 else … … 3521 3578 fi 3522 3579 if test -z "$CPP"; then 3523 if test "${ac_cv_prog_CPP+set}" = set; then :3580 if ${ac_cv_prog_CPP+:} false; then : 3524 3581 $as_echo_n "(cached) " >&6 3525 3582 else … … 3551 3608 continue 3552 3609 fi 3553 rm -f conftest.err conftest. $ac_ext3610 rm -f conftest.err conftest.i conftest.$ac_ext 3554 3611 3555 3612 # OK, works on sane cases. Now check whether nonexistent headers … … 3567 3624 break 3568 3625 fi 3569 rm -f conftest.err conftest. $ac_ext3626 rm -f conftest.err conftest.i conftest.$ac_ext 3570 3627 3571 3628 done 3572 3629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3573 rm -f conftest. err conftest.$ac_ext3630 rm -f conftest.i conftest.err conftest.$ac_ext 3574 3631 if $ac_preproc_ok; then : 3575 3632 break … … 3610 3667 continue 3611 3668 fi 3612 rm -f conftest.err conftest. $ac_ext3669 rm -f conftest.err conftest.i conftest.$ac_ext 3613 3670 3614 3671 # OK, works on sane cases. Now check whether nonexistent headers … … 3626 3683 break 3627 3684 fi 3628 rm -f conftest.err conftest. $ac_ext3685 rm -f conftest.err conftest.i conftest.$ac_ext 3629 3686 3630 3687 done 3631 3688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3632 rm -f conftest. err conftest.$ac_ext3689 rm -f conftest.i conftest.err conftest.$ac_ext 3633 3690 if $ac_preproc_ok; then : 3634 3691 … … 3636 3693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3637 3694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3638 as_fn_error "C preprocessor \"$CPP\" fails sanity check3639 See \`config.log' for more details ." "$LINENO" 5; }3695 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3696 See \`config.log' for more details" "$LINENO" 5; } 3640 3697 fi 3641 3698 … … 3649 3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3650 3707 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3651 if test "${ac_cv_path_GREP+set}" = set; then :3708 if ${ac_cv_path_GREP+:} false; then : 3652 3709 $as_echo_n "(cached) " >&6 3653 3710 else … … 3698 3755 IFS=$as_save_IFS 3699 3756 if test -z "$ac_cv_path_GREP"; then 3700 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 53757 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3701 3758 fi 3702 3759 else … … 3712 3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3713 3770 $as_echo_n "checking for egrep... " >&6; } 3714 if test "${ac_cv_path_EGREP+set}" = set; then :3771 if ${ac_cv_path_EGREP+:} false; then : 3715 3772 $as_echo_n "(cached) " >&6 3716 3773 else … … 3764 3821 IFS=$as_save_IFS 3765 3822 if test -z "$ac_cv_path_EGREP"; then 3766 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 53823 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3767 3824 fi 3768 3825 else … … 3779 3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3780 3837 $as_echo_n "checking for ANSI C header files... " >&6; } 3781 if test "${ac_cv_header_stdc+set}" = set; then :3838 if ${ac_cv_header_stdc+:} false; then : 3782 3839 $as_echo_n "(cached) " >&6 3783 3840 else … … 3896 3953 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3897 3954 " 3898 eval as_val=\$$as_ac_Header 3899 if test "x$as_val" = x""yes; then : 3955 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3900 3956 cat >>confdefs.h <<_ACEOF 3901 3957 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3948 4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 3949 4005 $as_echo_n "checking system version... " >&6; } 3950 if test "${tcl_cv_sys_version+set}" = set; then :4006 if ${tcl_cv_sys_version+:} false; then : 3951 4007 $as_echo_n "(cached) " >&6 3952 4008 else … … 3984 4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 3985 4041 $as_echo_n "checking for dlopen in -ldl... " >&6; } 3986 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :4042 if ${ac_cv_lib_dl_dlopen+:} false; then : 3987 4043 $as_echo_n "(cached) " >&6 3988 4044 else … … 4018 4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 4019 4075 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 4020 if test "x$ac_cv_lib_dl_dlopen" = x ""yes; then :4076 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 4021 4077 have_dl=yes 4022 4078 else … … 4052 4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4053 4109 $as_echo_n "checking for $ac_word... " >&6; } 4054 if test "${ac_cv_prog_AR+set}" = set; then :4110 if ${ac_cv_prog_AR+:} false; then : 4055 4111 $as_echo_n "(cached) " >&6 4056 4112 else … … 4086 4142 4087 4143 if test "${AR}" = "" ; then 4088 as_fn_error "Required archive tool 'ar' not found on PATH." "$LINENO" 54144 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 4089 4145 fi 4090 4146 STLIB_LD='${AR} cr' … … 4177 4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 4178 4234 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 4179 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then :4235 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 4180 4236 $as_echo_n "(cached) " >&6 4181 4237 else … … 4211 4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 4212 4268 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 4213 if test "x$ac_cv_lib_bsd_gettimeofday" = x ""yes; then :4269 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 4214 4270 libbsd=yes 4215 4271 else … … 4238 4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 4239 4295 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 4240 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then :4296 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 4241 4297 $as_echo_n "(cached) " >&6 4242 4298 else … … 4272 4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 4273 4329 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4274 if test "x$ac_cv_lib_bind_inet_ntoa" = x ""yes; then :4330 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 4275 4331 LIBS="$LIBS -lbind -lsocket" 4276 4332 fi … … 4323 4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4324 4380 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4325 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :4381 if ${ac_cv_lib_dld_shl_load+:} false; then : 4326 4382 $as_echo_n "(cached) " >&6 4327 4383 else … … 4357 4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4358 4414 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4359 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then :4415 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 4360 4416 tcl_ok=yes 4361 4417 else … … 4412 4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4413 4469 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4414 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :4470 if ${ac_cv_lib_dld_shl_load+:} false; then : 4415 4471 $as_echo_n "(cached) " >&6 4416 4472 else … … 4446 4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4447 4503 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4448 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then :4504 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 4449 4505 tcl_ok=yes 4450 4506 else … … 4555 4611 else 4556 4612 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4557 if test "x$ac_cv_header_dld_h" = x ""yes; then :4613 if test "x$ac_cv_header_dld_h" = xyes; then : 4558 4614 4559 4615 SHLIB_LD="ld -shared" … … 4572 4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 4573 4629 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4574 if test "${tcl_cv_cc_m64+set}" = set; then :4630 if ${tcl_cv_cc_m64+:} false; then : 4575 4631 $as_echo_n "(cached) " >&6 4576 4632 else … … 4636 4692 else 4637 4693 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4638 if test "x$ac_cv_header_dld_h" = x ""yes; then :4694 if test "x$ac_cv_header_dld_h" = xyes; then : 4639 4695 4640 4696 SHLIB_LD="ld -shared" … … 4687 4743 # Not available on all versions: check for include file. 4688 4744 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4689 if test "x$ac_cv_header_dlfcn_h" = x ""yes; then :4745 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 4690 4746 4691 4747 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 4700 4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 4701 4757 $as_echo_n "checking for ELF... " >&6; } 4702 if test "${tcl_cv_ld_elf+set}" = set; then :4758 if ${tcl_cv_ld_elf+:} false; then : 4703 4759 $as_echo_n "(cached) " >&6 4704 4760 else … … 4782 4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 4783 4839 $as_echo_n "checking for ELF... " >&6; } 4784 if test "${tcl_cv_ld_elf+set}" = set; then :4840 if ${tcl_cv_ld_elf+:} false; then : 4785 4841 $as_echo_n "(cached) " >&6 4786 4842 else … … 4860 4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 4861 4917 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 4862 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then :4918 if ${tcl_cv_cc_arch_ppc64+:} false; then : 4863 4919 $as_echo_n "(cached) " >&6 4864 4920 else … … 4895 4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 4896 4952 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 4897 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then :4953 if ${tcl_cv_cc_arch_x86_64+:} false; then : 4898 4954 $as_echo_n "(cached) " >&6 4899 4955 else … … 4940 4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 4941 4997 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 4942 if test "${tcl_cv_ld_single_module+set}" = set; then :4998 if ${tcl_cv_ld_single_module+:} false; then : 4943 4999 $as_echo_n "(cached) " >&6 4944 5000 else … … 4982 5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 4983 5039 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 4984 if test "${tcl_cv_ld_search_paths_first+set}" = set; then :5040 if ${tcl_cv_ld_search_paths_first+:} false; then : 4985 5041 $as_echo_n "(cached) " >&6 4986 5042 else … … 5032 5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 5033 5089 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5034 if test "${tcl_cv_lib_corefoundation+set}" = set; then :5090 if ${tcl_cv_lib_corefoundation+:} false; then : 5035 5091 $as_echo_n "(cached) " >&6 5036 5092 else … … 5078 5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 5079 5135 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5080 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then :5136 if ${tcl_cv_lib_corefoundation_64+:} false; then : 5081 5137 $as_echo_n "(cached) " >&6 5082 5138 else … … 5403 5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 5404 5460 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 5405 if test "${tcl_cv_ld_Bexport+set}" = set; then :5461 if ${tcl_cv_ld_Bexport+:} false; then : 5406 5462 $as_echo_n "(cached) " >&6 5407 5463 else … … 5469 5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 5470 5526 $as_echo_n "checking sys/exec.h... " >&6; } 5471 if test "${tcl_cv_sysexec_h+set}" = set; then :5527 if ${tcl_cv_sysexec_h+:} false; then : 5472 5528 $as_echo_n "(cached) " >&6 5473 5529 else … … 5510 5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 5511 5567 $as_echo_n "checking a.out.h... " >&6; } 5512 if test "${tcl_cv_aout_h+set}" = set; then :5568 if ${tcl_cv_aout_h+:} false; then : 5513 5569 $as_echo_n "(cached) " >&6 5514 5570 else … … 5551 5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 5552 5608 $as_echo_n "checking sys/exec_aout.h... " >&6; } 5553 if test "${tcl_cv_sysexecaout_h+set}" = set; then :5609 if ${tcl_cv_sysexecaout_h+:} false; then : 5554 5610 $as_echo_n "(cached) " >&6 5555 5611 else … … 5729 5785 5730 5786 5731 ac_aux_dir= 5732 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 5733 for ac_t in install-sh install.sh shtool; do 5734 if test -f "$ac_dir/$ac_t"; then 5735 ac_aux_dir=$ac_dir 5736 ac_install_sh="$ac_aux_dir/$ac_t -c" 5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 5788 $as_echo_n "checking for X... " >&6; } 5789 5790 5791 # Check whether --with-x was given. 5792 if test "${with_x+set}" = set; then : 5793 withval=$with_x; 5794 fi 5795 5796 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. 5797 if test "x$with_x" = xno; then 5798 # The user explicitly disabled X. 5799 have_x=disabled 5800 else 5801 case $x_includes,$x_libraries in #( 5802 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 5803 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 5804 $as_echo_n "(cached) " >&6 5805 else 5806 # One or both of the vars are not set, and there is no cached value. 5807 ac_x_includes=no ac_x_libraries=no 5808 rm -f -r conftest.dir 5809 if mkdir conftest.dir; then 5810 cd conftest.dir 5811 cat >Imakefile <<'_ACEOF' 5812 incroot: 5813 @echo incroot='${INCROOT}' 5814 usrlibdir: 5815 @echo usrlibdir='${USRLIBDIR}' 5816 libdir: 5817 @echo libdir='${LIBDIR}' 5818 _ACEOF 5819 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 5820 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5821 for ac_var in incroot usrlibdir libdir; do 5822 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 5823 done 5824 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 5825 for ac_extension in a so sl dylib la dll; do 5826 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 5827 test -f "$ac_im_libdir/libX11.$ac_extension"; then 5828 ac_im_usrlibdir=$ac_im_libdir; break 5829 fi 5830 done 5831 # Screen out bogus values from the imake configuration. They are 5832 # bogus both because they are the default anyway, and because 5833 # using them would break gcc on systems where it needs fixed includes. 5834 case $ac_im_incroot in 5835 /usr/include) ac_x_includes= ;; 5836 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 5837 esac 5838 case $ac_im_usrlibdir in 5839 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 5840 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 5841 esac 5842 fi 5843 cd .. 5844 rm -f -r conftest.dir 5845 fi 5846 5847 # Standard set of common directories for X headers. 5848 # Check X11 before X11Rn because it is often a symlink to the current release. 5849 ac_x_header_dirs=' 5850 /usr/X11/include 5851 /usr/X11R7/include 5852 /usr/X11R6/include 5853 /usr/X11R5/include 5854 /usr/X11R4/include 5855 5856 /usr/include/X11 5857 /usr/include/X11R7 5858 /usr/include/X11R6 5859 /usr/include/X11R5 5860 /usr/include/X11R4 5861 5862 /usr/local/X11/include 5863 /usr/local/X11R7/include 5864 /usr/local/X11R6/include 5865 /usr/local/X11R5/include 5866 /usr/local/X11R4/include 5867 5868 /usr/local/include/X11 5869 /usr/local/include/X11R7 5870 /usr/local/include/X11R6 5871 /usr/local/include/X11R5 5872 /usr/local/include/X11R4 5873 5874 /usr/X386/include 5875 /usr/x386/include 5876 /usr/XFree86/include/X11 5877 5878 /usr/include 5879 /usr/local/include 5880 /usr/unsupported/include 5881 /usr/athena/include 5882 /usr/local/x11r5/include 5883 /usr/lpp/Xamples/include 5884 5885 /usr/openwin/include 5886 /usr/openwin/share/include' 5887 5888 if test "$ac_x_includes" = no; then 5889 # Guess where to find include files, by looking for Xlib.h. 5890 # First, try using that file with no special directory specified. 5891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5892 /* end confdefs.h. */ 5893 #include <X11/Xlib.h> 5894 _ACEOF 5895 if ac_fn_c_try_cpp "$LINENO"; then : 5896 # We can compile using X headers with no special include directory. 5897 ac_x_includes= 5898 else 5899 for ac_dir in $ac_x_header_dirs; do 5900 if test -r "$ac_dir/X11/Xlib.h"; then 5901 ac_x_includes=$ac_dir 5902 break 5903 fi 5904 done 5905 fi 5906 rm -f conftest.err conftest.i conftest.$ac_ext 5907 fi # $ac_x_includes = no 5908 5909 if test "$ac_x_libraries" = no; then 5910 # Check for the libraries. 5911 # See if we find them without any special options. 5912 # Don't add to $LIBS permanently. 5913 ac_save_LIBS=$LIBS 5914 LIBS="-lX11 $LIBS" 5915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5916 /* end confdefs.h. */ 5917 #include <X11/Xlib.h> 5918 int 5919 main () 5920 { 5921 XrmInitialize () 5922 ; 5923 return 0; 5924 } 5925 _ACEOF 5926 if ac_fn_c_try_link "$LINENO"; then : 5927 LIBS=$ac_save_LIBS 5928 # We can link X programs with no special library path. 5929 ac_x_libraries= 5930 else 5931 LIBS=$ac_save_LIBS 5932 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 5933 do 5934 # Don't even attempt the hair of trying to link an X program! 5935 for ac_extension in a so sl dylib la dll; do 5936 if test -r "$ac_dir/libX11.$ac_extension"; then 5937 ac_x_libraries=$ac_dir 5737 5938 break 2 5738 5939 fi 5739 5940 done 5740 5941 done 5942 fi 5943 rm -f core conftest.err conftest.$ac_objext \ 5944 conftest$ac_exeext conftest.$ac_ext 5945 fi # $ac_x_libraries = no 5946 5947 case $ac_x_includes,$ac_x_libraries in #( 5948 no,* | *,no | *\'*) 5949 # Didn't find X, or a directory has "'" in its name. 5950 ac_cv_have_x="have_x=no";; #( 5951 *) 5952 # Record where we found X for the cache. 5953 ac_cv_have_x="have_x=yes\ 5954 ac_x_includes='$ac_x_includes'\ 5955 ac_x_libraries='$ac_x_libraries'" 5956 esac 5957 fi 5958 ;; #( 5959 *) have_x=yes;; 5960 esac 5961 eval "$ac_cv_have_x" 5962 fi # $with_x != no 5963 5964 if test "$have_x" != yes; then 5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 5966 $as_echo "$have_x" >&6; } 5967 no_x=yes 5968 else 5969 # If each of the values was on the command line, it overrides each guess. 5970 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 5971 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 5972 # Update the cache value to reflect the command line values. 5973 ac_cv_have_x="have_x=yes\ 5974 ac_x_includes='$x_includes'\ 5975 ac_x_libraries='$x_libraries'" 5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 5977 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 5978 fi 5979 5980 5981 ac_aux_dir= 5982 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 5983 if test -f "$ac_dir/install-sh"; then 5984 ac_aux_dir=$ac_dir 5985 ac_install_sh="$ac_aux_dir/install-sh -c" 5986 break 5987 elif test -f "$ac_dir/install.sh"; then 5988 ac_aux_dir=$ac_dir 5989 ac_install_sh="$ac_aux_dir/install.sh -c" 5990 break 5991 elif test -f "$ac_dir/shtool"; then 5992 ac_aux_dir=$ac_dir 5993 ac_install_sh="$ac_aux_dir/shtool install -c" 5994 break 5995 fi 5996 done 5741 5997 if test -z "$ac_aux_dir"; then 5742 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 55998 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 5743 5999 fi 5744 6000 … … 5769 6025 $as_echo_n "checking for a BSD-compatible install... " >&6; } 5770 6026 if test -z "$INSTALL"; then 5771 if test "${ac_cv_path_install+set}" = set; then :6027 if ${ac_cv_path_install+:} false; then : 5772 6028 $as_echo_n "(cached) " >&6 5773 6029 else … … 5850 6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5851 6107 $as_echo_n "checking for $ac_word... " >&6; } 5852 if test "${ac_cv_prog_RANLIB+set}" = set; then :6108 if ${ac_cv_prog_RANLIB+:} false; then : 5853 6109 $as_echo_n "(cached) " >&6 5854 6110 else … … 5890 6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5891 6147 $as_echo_n "checking for $ac_word... " >&6; } 5892 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :6148 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5893 6149 $as_echo_n "(cached) " >&6 5894 6150 else … … 5951 6207 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 5952 6208 if test -z "$MKDIR_P"; then 5953 if test "${ac_cv_path_mkdir+set}" = set; then :6209 if ${ac_cv_path_mkdir+:} false; then : 5954 6210 $as_echo_n "(cached) " >&6 5955 6211 else … … 6001 6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6002 6258 $as_echo_n "checking for $ac_word... " >&6; } 6003 if test "${ac_cv_prog_CC+set}" = set; then :6259 if ${ac_cv_prog_CC+:} false; then : 6004 6260 $as_echo_n "(cached) " >&6 6005 6261 else … … 6041 6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6042 6298 $as_echo_n "checking for $ac_word... " >&6; } 6043 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :6299 if ${ac_cv_prog_ac_ct_CC+:} false; then : 6044 6300 $as_echo_n "(cached) " >&6 6045 6301 else … … 6094 6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6095 6351 $as_echo_n "checking for $ac_word... " >&6; } 6096 if test "${ac_cv_prog_CC+set}" = set; then :6352 if ${ac_cv_prog_CC+:} false; then : 6097 6353 $as_echo_n "(cached) " >&6 6098 6354 else … … 6134 6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6135 6391 $as_echo_n "checking for $ac_word... " >&6; } 6136 if test "${ac_cv_prog_CC+set}" = set; then :6392 if ${ac_cv_prog_CC+:} false; then : 6137 6393 $as_echo_n "(cached) " >&6 6138 6394 else … … 6193 6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6194 6450 $as_echo_n "checking for $ac_word... " >&6; } 6195 if test "${ac_cv_prog_CC+set}" = set; then :6451 if ${ac_cv_prog_CC+:} false; then : 6196 6452 $as_echo_n "(cached) " >&6 6197 6453 else … … 6237 6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6238 6494 $as_echo_n "checking for $ac_word... " >&6; } 6239 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :6495 if ${ac_cv_prog_ac_ct_CC+:} false; then : 6240 6496 $as_echo_n "(cached) " >&6 6241 6497 else … … 6291 6547 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6292 6548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6293 as_fn_error "no acceptable C compiler found in \$PATH6294 See \`config.log' for more details ." "$LINENO" 5; }6549 as_fn_error $? "no acceptable C compiler found in \$PATH 6550 See \`config.log' for more details" "$LINENO" 5; } 6295 6551 6296 6552 # Provide some information about the compiler. … … 6321 6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 6322 6578 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 6323 if test "${ac_cv_c_compiler_gnu+set}" = set; then :6579 if ${ac_cv_c_compiler_gnu+:} false; then : 6324 6580 $as_echo_n "(cached) " >&6 6325 6581 else … … 6358 6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 6359 6615 $as_echo_n "checking whether $CC accepts -g... " >&6; } 6360 if test "${ac_cv_prog_cc_g+set}" = set; then :6616 if ${ac_cv_prog_cc_g+:} false; then : 6361 6617 $as_echo_n "(cached) " >&6 6362 6618 else … … 6436 6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 6437 6693 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 6438 if test "${ac_cv_prog_cc_c89+set}" = set; then :6694 if ${ac_cv_prog_cc_c89+:} false; then : 6439 6695 $as_echo_n "(cached) " >&6 6440 6696 else … … 6543 6799 fi 6544 6800 if test -z "$CPP"; then 6545 if test "${ac_cv_prog_CPP+set}" = set; then :6801 if ${ac_cv_prog_CPP+:} false; then : 6546 6802 $as_echo_n "(cached) " >&6 6547 6803 else … … 6573 6829 continue 6574 6830 fi 6575 rm -f conftest.err conftest. $ac_ext6831 rm -f conftest.err conftest.i conftest.$ac_ext 6576 6832 6577 6833 # OK, works on sane cases. Now check whether nonexistent headers … … 6589 6845 break 6590 6846 fi 6591 rm -f conftest.err conftest. $ac_ext6847 rm -f conftest.err conftest.i conftest.$ac_ext 6592 6848 6593 6849 done 6594 6850 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6595 rm -f conftest. err conftest.$ac_ext6851 rm -f conftest.i conftest.err conftest.$ac_ext 6596 6852 if $ac_preproc_ok; then : 6597 6853 break … … 6632 6888 continue 6633 6889 fi 6634 rm -f conftest.err conftest. $ac_ext6890 rm -f conftest.err conftest.i conftest.$ac_ext 6635 6891 6636 6892 # OK, works on sane cases. Now check whether nonexistent headers … … 6648 6904 break 6649 6905 fi 6650 rm -f conftest.err conftest. $ac_ext6906 rm -f conftest.err conftest.i conftest.$ac_ext 6651 6907 6652 6908 done 6653 6909 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6654 rm -f conftest. err conftest.$ac_ext6910 rm -f conftest.i conftest.err conftest.$ac_ext 6655 6911 if $ac_preproc_ok; then : 6656 6912 … … 6658 6914 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6659 6915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6660 as_fn_error "C preprocessor \"$CPP\" fails sanity check6661 See \`config.log' for more details ." "$LINENO" 5; }6916 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6917 See \`config.log' for more details" "$LINENO" 5; } 6662 6918 fi 6663 6919 … … 6684 6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6685 6941 $as_echo_n "checking for $ac_word... " >&6; } 6686 if test "${ac_cv_prog_CXX+set}" = set; then :6942 if ${ac_cv_prog_CXX+:} false; then : 6687 6943 $as_echo_n "(cached) " >&6 6688 6944 else … … 6728 6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6729 6985 $as_echo_n "checking for $ac_word... " >&6; } 6730 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :6986 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 6731 6987 $as_echo_n "(cached) " >&6 6732 6988 else … … 6806 7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 6807 7063 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 6808 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :7064 if ${ac_cv_cxx_compiler_gnu+:} false; then : 6809 7065 $as_echo_n "(cached) " >&6 6810 7066 else … … 6843 7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 6844 7100 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 6845 if test "${ac_cv_prog_cxx_g+set}" = set; then :7101 if ${ac_cv_prog_cxx_g+:} false; then : 6846 7102 $as_echo_n "(cached) " >&6 6847 7103 else … … 6933 7189 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 6934 7190 if test -z "$CXXCPP"; then 6935 if test "${ac_cv_prog_CXXCPP+set}" = set; then :7191 if ${ac_cv_prog_CXXCPP+:} false; then : 6936 7192 $as_echo_n "(cached) " >&6 6937 7193 else … … 6963 7219 continue 6964 7220 fi 6965 rm -f conftest.err conftest. $ac_ext7221 rm -f conftest.err conftest.i conftest.$ac_ext 6966 7222 6967 7223 # OK, works on sane cases. Now check whether nonexistent headers … … 6979 7235 break 6980 7236 fi 6981 rm -f conftest.err conftest. $ac_ext7237 rm -f conftest.err conftest.i conftest.$ac_ext 6982 7238 6983 7239 done 6984 7240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6985 rm -f conftest. err conftest.$ac_ext7241 rm -f conftest.i conftest.err conftest.$ac_ext 6986 7242 if $ac_preproc_ok; then : 6987 7243 break … … 7022 7278 continue 7023 7279 fi 7024 rm -f conftest.err conftest. $ac_ext7280 rm -f conftest.err conftest.i conftest.$ac_ext 7025 7281 7026 7282 # OK, works on sane cases. Now check whether nonexistent headers … … 7038 7294 break 7039 7295 fi 7040 rm -f conftest.err conftest. $ac_ext7296 rm -f conftest.err conftest.i conftest.$ac_ext 7041 7297 7042 7298 done 7043 7299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7044 rm -f conftest. err conftest.$ac_ext7300 rm -f conftest.i conftest.err conftest.$ac_ext 7045 7301 if $ac_preproc_ok; then : 7046 7302 … … 7048 7304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7049 7305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7050 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check7051 See \`config.log' for more details ." "$LINENO" 5; }7306 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 7307 See \`config.log' for more details" "$LINENO" 5; } 7052 7308 fi 7053 7309 … … 7074 7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7075 7331 $as_echo_n "checking for $ac_word... " >&6; } 7076 if test "${ac_cv_prog_CXX+set}" = set; then :7332 if ${ac_cv_prog_CXX+:} false; then : 7077 7333 $as_echo_n "(cached) " >&6 7078 7334 else … … 7118 7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7119 7375 $as_echo_n "checking for $ac_word... " >&6; } 7120 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :7376 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 7121 7377 $as_echo_n "(cached) " >&6 7122 7378 else … … 7196 7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 7197 7453 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7198 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :7454 if ${ac_cv_cxx_compiler_gnu+:} false; then : 7199 7455 $as_echo_n "(cached) " >&6 7200 7456 else … … 7233 7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 7234 7490 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7235 if test "${ac_cv_prog_cxx_g+set}" = set; then :7491 if ${ac_cv_prog_cxx_g+:} false; then : 7236 7492 $as_echo_n "(cached) " >&6 7237 7493 else … … 7325 7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 7326 7582 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7327 if test "${ac_cv_c_bigendian+set}" = set; then :7583 if ${ac_cv_c_bigendian+:} false; then : 7328 7584 $as_echo_n "(cached) " >&6 7329 7585 else … … 7543 7799 ;; #( 7544 7800 *) 7545 as_fn_error "unknown endianness7801 as_fn_error $? "unknown endianness 7546 7802 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 7547 7803 esac … … 7553 7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 7554 7810 $as_echo_n "checking size of int... " >&6; } 7555 if test "${ac_cv_sizeof_int+set}" = set; then :7811 if ${ac_cv_sizeof_int+:} false; then : 7556 7812 $as_echo_n "(cached) " >&6 7557 7813 else … … 7562 7818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7563 7819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7564 { as_fn_set_status 77 7565 as_fn_error "cannot compute sizeof (int) 7566 See \`config.log' for more details." "$LINENO" 5; }; } 7820 as_fn_error 77 "cannot compute sizeof (int) 7821 See \`config.log' for more details" "$LINENO" 5; } 7567 7822 else 7568 7823 ac_cv_sizeof_int=0 … … 7587 7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 7588 7843 $as_echo_n "checking size of long... " >&6; } 7589 if test "${ac_cv_sizeof_long+set}" = set; then :7844 if ${ac_cv_sizeof_long+:} false; then : 7590 7845 $as_echo_n "(cached) " >&6 7591 7846 else … … 7596 7851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7597 7852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7598 { as_fn_set_status 77 7599 as_fn_error "cannot compute sizeof (long) 7600 See \`config.log' for more details." "$LINENO" 5; }; } 7853 as_fn_error 77 "cannot compute sizeof (long) 7854 See \`config.log' for more details" "$LINENO" 5; } 7601 7855 else 7602 7856 ac_cv_sizeof_long=0 … … 7621 7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 7622 7876 $as_echo_n "checking size of long long... " >&6; } 7623 if test "${ac_cv_sizeof_long_long+set}" = set; then :7877 if ${ac_cv_sizeof_long_long+:} false; then : 7624 7878 $as_echo_n "(cached) " >&6 7625 7879 else … … 7630 7884 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7631 7885 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7632 { as_fn_set_status 77 7633 as_fn_error "cannot compute sizeof (long long) 7634 See \`config.log' for more details." "$LINENO" 5; }; } 7886 as_fn_error 77 "cannot compute sizeof (long long) 7887 See \`config.log' for more details" "$LINENO" 5; } 7635 7888 else 7636 7889 ac_cv_sizeof_long_long=0 … … 7655 7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 7656 7909 $as_echo_n "checking size of void *... " >&6; } 7657 if test "${ac_cv_sizeof_void_p+set}" = set; then :7910 if ${ac_cv_sizeof_void_p+:} false; then : 7658 7911 $as_echo_n "(cached) " >&6 7659 7912 else … … 7664 7917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7665 7918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7666 { as_fn_set_status 77 7667 as_fn_error "cannot compute sizeof (void *) 7668 See \`config.log' for more details." "$LINENO" 5; }; } 7919 as_fn_error 77 "cannot compute sizeof (void *) 7920 See \`config.log' for more details" "$LINENO" 5; } 7669 7921 else 7670 7922 ac_cv_sizeof_void_p=0 … … 7689 7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 7690 7942 $as_echo_n "checking size of float... " >&6; } 7691 if test "${ac_cv_sizeof_float+set}" = set; then :7943 if ${ac_cv_sizeof_float+:} false; then : 7692 7944 $as_echo_n "(cached) " >&6 7693 7945 else … … 7698 7950 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7699 7951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7700 { as_fn_set_status 77 7701 as_fn_error "cannot compute sizeof (float) 7702 See \`config.log' for more details." "$LINENO" 5; }; } 7952 as_fn_error 77 "cannot compute sizeof (float) 7953 See \`config.log' for more details" "$LINENO" 5; } 7703 7954 else 7704 7955 ac_cv_sizeof_float=0 … … 7734 7985 LD_RPATH=""; 7735 7986 7736 SUBDIRS="nanoscale nanovis pymolproxy" 7737 7738 7739 7740 # Check whether --with-tcllib was given. 7741 if test "${with_tcllib+set}" = set; then : 7742 withval=$with_tcllib; with_tcllib=$withval 7743 else 7744 with_tcllib="" 7745 fi 7987 SUBDIRS="nanoscale nanovis pymolproxy vtkvis" 7746 7988 7747 7989 … … 7790 8032 7791 8033 7792 7793 # Check whether --with-rappture was given.7794 if test "${with_rappture+set}" = set; then :7795 withval=$with_rappture; with_rappture=$withval7796 else7797 with_rappture=/usr7798 fi7799 7800 7801 8034 RP2_INCL_DIR="" 7802 8035 RP_DIR="" … … 7809 8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7810 8043 $as_echo "no" >&6; } 7811 as_fn_error "please provide --with-rappture with directory" "$LINENO" 58044 as_fn_error $? "please provide --with-rappture with directory" "$LINENO" 5 7812 8045 else 7813 8046 if test -d "$with_rappture" … … 7822 8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7823 8056 $as_echo "no" >&6; } 7824 as_fn_error "cannot find rappture2.h and librappture2.a, try using --with-rappture" "$LINENO" 58057 as_fn_error $? "cannot find rappture2.h and librappture2.a, try using --with-rappture" "$LINENO" 5 7825 8058 fi 7826 8059 else 7827 8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7828 8061 $as_echo "no" >&6; } 7829 as_fn_error "cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" "$LINENO" 58062 as_fn_error $? "cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" "$LINENO" 5 7830 8063 fi 7831 8064 fi … … 7841 8074 do : 7842 8075 ac_fn_cxx_check_header_mongrel "$LINENO" "rappture.h" "ac_cv_header_rappture_h" "$ac_includes_default" 7843 if test "x$ac_cv_header_rappture_h" = x ""yes; then :8076 if test "x$ac_cv_header_rappture_h" = xyes; then : 7844 8077 cat >>confdefs.h <<_ACEOF 7845 8078 #define HAVE_RAPPTURE_H 1 … … 7847 8080 7848 8081 else 7849 as_fn_error "cannot find rappture.h, try using --with-rappture" "$LINENO" 58082 as_fn_error $? "cannot find rappture.h, try using --with-rappture" "$LINENO" 5 7850 8083 fi 7851 8084 … … 7860 8093 7861 8094 8095 if test "x$with_vtk_includes" != "x"; then 8096 VTK_INC_SPEC=-I$with_vtk_includes 8097 fi 8098 8099 save_CPPFLAGS=$CPPFLAGS 8100 CPPFLAGS=$VTK_INC_SPEC 8101 for ac_header in vtkSmartPointer.h 8102 do : 8103 ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default" 8104 if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then : 8105 cat >>confdefs.h <<_ACEOF 8106 #define HAVE_VTKSMARTPOINTER_H 1 8107 _ACEOF 8108 8109 else 8110 as_fn_error $? "cannot find VTK includes" "$LINENO" 5 8111 fi 8112 8113 done 8114 8115 CPPFLAGS=$save_CPPFLAGS 8116 8117 if test "x$with_vtk_libs" != "x"; then 8118 VTK_LIB_DIR=$with_vtk_libs 8119 fi 8120 8121 8122 8123 7862 8124 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default" 7863 if test "x$ac_cv_header_GL_glui_h" = x ""yes; then :8125 if test "x$ac_cv_header_GL_glui_h" = xyes; then : 7864 8126 7865 8127 fi … … 7867 8129 7868 8130 ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default" 7869 if test "x$ac_cv_header_glui_h" = x ""yes; then :8131 if test "x$ac_cv_header_glui_h" = xyes; then : 7870 8132 7871 8133 fi … … 7873 8135 7874 8136 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default" 7875 if test "x$ac_cv_header_GL_glut_h" = x ""yes; then :8137 if test "x$ac_cv_header_GL_glut_h" = xyes; then : 7876 8138 7877 8139 fi … … 7879 8141 7880 8142 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default" 7881 if test "x$ac_cv_header_GL_glew_h" = x ""yes; then :8143 if test "x$ac_cv_header_GL_glew_h" = xyes; then : 7882 8144 7883 8145 fi … … 7885 8147 7886 8148 ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default" 7887 if test "x$ac_cv_header_Cg_cgGL_h" = x ""yes; then :8149 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then : 7888 8150 7889 8151 fi … … 7895 8157 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7896 8158 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7897 eval as_val=\$$as_ac_Header 7898 if test "x$as_val" = x""yes; then : 8159 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7899 8160 cat >>confdefs.h <<_ACEOF 7900 8161 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 7909 8170 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7910 8171 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7911 eval as_val=\$$as_ac_Header 7912 if test "x$as_val" = x""yes; then : 8172 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7913 8173 cat >>confdefs.h <<_ACEOF 7914 8174 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 7934 8194 done 7935 8195 if test "x${DX_INC_DIR}" = "x" ; then 7936 as_fn_error "can't find OpenDX include files" "$LINENO" 58196 as_fn_error $? "can't find OpenDX include files" "$LINENO" 5 7937 8197 fi 7938 8198 … … 7946 8206 $as_echo "${DX_INC_DIR}" >&6; } 7947 8207 7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX libraries" >&57949 $as_echo_n "checking for OpenDX libraries... " >&6; }7950 8208 DX_LIB_DIR="" 8209 found=no 7951 8210 for dir in \ 7952 /apps/rappture/lib \ 8211 /usr/lib \ 8212 /usr/lib64 \ 8213 /usr/dx/lib_linux \ 7953 8214 /usr/lib/dx/lib_linux \ 7954 /usr/ dx/lib_linux \7955 / usr/lib8215 /usr/lib64/dx/lib_linux \ 8216 /apps/rappture/lib 7956 8217 do 7957 if test -r "${dir}/libDXcallm.a" ; then 8218 saveLDFLAGS=$LDFLAGS 8219 LDFLAGS="-L$dir $LDFLAGS" 8220 unset ac_cv_lib_DXcallm_DXGetComponentValue 8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DXGetComponentValue in -lDXcallm" >&5 8222 $as_echo_n "checking for DXGetComponentValue in -lDXcallm... " >&6; } 8223 if ${ac_cv_lib_DXcallm_DXGetComponentValue+:} false; then : 8224 $as_echo_n "(cached) " >&6 8225 else 8226 ac_check_lib_save_LIBS=$LIBS 8227 LIBS="-lDXcallm -lX11 $LIBS" 8228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8229 /* end confdefs.h. */ 8230 8231 /* Override any GCC internal prototype to avoid an error. 8232 Use char because int might match the return type of a GCC 8233 builtin and then its argument prototype would still apply. */ 8234 #ifdef __cplusplus 8235 extern "C" 8236 #endif 8237 char DXGetComponentValue (); 8238 int 8239 main () 8240 { 8241 return DXGetComponentValue (); 8242 ; 8243 return 0; 8244 } 8245 _ACEOF 8246 if ac_fn_cxx_try_link "$LINENO"; then : 8247 ac_cv_lib_DXcallm_DXGetComponentValue=yes 8248 else 8249 ac_cv_lib_DXcallm_DXGetComponentValue=no 8250 fi 8251 rm -f core conftest.err conftest.$ac_objext \ 8252 conftest$ac_exeext conftest.$ac_ext 8253 LIBS=$ac_check_lib_save_LIBS 8254 fi 8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5 8256 $as_echo "$ac_cv_lib_DXcallm_DXGetComponentValue" >&6; } 8257 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = xyes; then : 8258 found=yes 8259 else 8260 found=no 8261 fi 8262 8263 LDFLAGS=$saveLDFLAGS 8264 if test "$found" = "yes" ; then 7958 8265 DX_LIB_DIR="$dir" 7959 8266 break 7960 8267 fi 7961 8268 done 7962 if test "x${DX_LIB_DIR}" = "x" ; then 7963 as_fn_error "can't find OpenDX libraries" "$LINENO" 5 7964 fi 7965 7966 if test "${DX_LIB_DIR}" = "/usr" ; then 8269 if test "x{$DX_LIB_DIR}" = "x" ; then 8270 as_fn_error $? "cant find OpenDX libraries" "$LINENO" 5 8271 fi 8272 8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libDXcallm library" >&5 8274 $as_echo_n "checking for libDXcallm library... " >&6; } 8275 if test "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then 7967 8276 DX_LIB_SPEC="" 7968 8277 else 7969 8278 DX_LIB_SPEC="-L${DX_LIB_DIR}" 7970 8279 fi 7971 7972 7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_LIB_DIR}" >&5 7974 $as_echo "${DX_LIB_DIR}" >&6; } 8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&5 8281 $as_echo "$DX_LIB_SPEC" >&6; } 8282 8283 8284 for ac_header in opencv/cv.h opencv/highgui.h 8285 do : 8286 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8287 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8288 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8289 cat >>confdefs.h <<_ACEOF 8290 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8291 _ACEOF 8292 8293 fi 8294 8295 done 8296 8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cvLoadImage in -lcv" >&5 8298 $as_echo_n "checking for cvLoadImage in -lcv... " >&6; } 8299 if ${ac_cv_lib_cv_cvLoadImage+:} false; then : 8300 $as_echo_n "(cached) " >&6 8301 else 8302 ac_check_lib_save_LIBS=$LIBS 8303 LIBS="-lcv $LIBS" 8304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8305 /* end confdefs.h. */ 8306 8307 /* Override any GCC internal prototype to avoid an error. 8308 Use char because int might match the return type of a GCC 8309 builtin and then its argument prototype would still apply. */ 8310 #ifdef __cplusplus 8311 extern "C" 8312 #endif 8313 char cvLoadImage (); 8314 int 8315 main () 8316 { 8317 return cvLoadImage (); 8318 ; 8319 return 0; 8320 } 8321 _ACEOF 8322 if ac_fn_cxx_try_link "$LINENO"; then : 8323 ac_cv_lib_cv_cvLoadImage=yes 8324 else 8325 ac_cv_lib_cv_cvLoadImage=no 8326 fi 8327 rm -f core conftest.err conftest.$ac_objext \ 8328 conftest$ac_exeext conftest.$ac_ext 8329 LIBS=$ac_check_lib_save_LIBS 8330 fi 8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cv_cvLoadImage" >&5 8332 $as_echo "$ac_cv_lib_cv_cvLoadImage" >&6; } 8333 if test "x$ac_cv_lib_cv_cvLoadImage" = xyes; then : 8334 cat >>confdefs.h <<_ACEOF 8335 #define HAVE_LIBCV 1 8336 _ACEOF 8337 8338 LIBS="-lcv $LIBS" 8339 8340 fi 8341 8342 8343 save_CPPFLAGS=$CPPFLAGS 8344 # Test for redhat-specific location of ffmpeg headers. 8345 if test -d "/usr/include/ffmpeg" ; then 8346 CPPFLAGS="$CPPFLAGS -I/usr/include/ffmpeg" 8347 FF_INC_SPEC="-I/usr/include/ffmpeg" 8348 fi 8349 7975 8350 7976 8351 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h … … 7988 8363 7989 8364 " 7990 eval as_val=\$$as_ac_Header 7991 if test "x$as_val" = x""yes; then : 8365 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7992 8366 cat >>confdefs.h <<_ACEOF 7993 8367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 7998 8372 done 7999 8373 8000 8001 oldLIBS=$LIBS 8002 LIBS=-lavcodec 8374 CPPFLAGS=$save_CPPFLAGS 8375 8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_alloc_frame in -lavcodec" >&5 8377 $as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; } 8378 if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then : 8379 $as_echo_n "(cached) " >&6 8380 else 8381 ac_check_lib_save_LIBS=$LIBS 8382 LIBS="-lavcodec $LIBS" 8383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8384 /* end confdefs.h. */ 8385 8386 /* Override any GCC internal prototype to avoid an error. 8387 Use char because int might match the return type of a GCC 8388 builtin and then its argument prototype would still apply. */ 8389 #ifdef __cplusplus 8390 extern "C" 8391 #endif 8392 char avcodec_alloc_frame (); 8393 int 8394 main () 8395 { 8396 return avcodec_alloc_frame (); 8397 ; 8398 return 0; 8399 } 8400 _ACEOF 8401 if ac_fn_cxx_try_link "$LINENO"; then : 8402 ac_cv_lib_avcodec_avcodec_alloc_frame=yes 8403 else 8404 ac_cv_lib_avcodec_avcodec_alloc_frame=no 8405 fi 8406 rm -f core conftest.err conftest.$ac_objext \ 8407 conftest$ac_exeext conftest.$ac_ext 8408 LIBS=$ac_check_lib_save_LIBS 8409 fi 8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5 8411 $as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; } 8412 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = xyes; then : 8413 cat >>confdefs.h <<_ACEOF 8414 #define HAVE_LIBAVCODEC 1 8415 _ACEOF 8416 8417 LIBS="-lavcodec $LIBS" 8418 8419 fi 8420 8421 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found 8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avformat_alloc_context in -lavformat" >&5 8423 $as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; } 8424 if ${ac_cv_lib_avformat_avformat_alloc_context+:} false; then : 8425 $as_echo_n "(cached) " >&6 8426 else 8427 ac_check_lib_save_LIBS=$LIBS 8428 LIBS="-lavformat $LIBS" 8429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8430 /* end confdefs.h. */ 8431 8432 /* Override any GCC internal prototype to avoid an error. 8433 Use char because int might match the return type of a GCC 8434 builtin and then its argument prototype would still apply. */ 8435 #ifdef __cplusplus 8436 extern "C" 8437 #endif 8438 char avformat_alloc_context (); 8439 int 8440 main () 8441 { 8442 return avformat_alloc_context (); 8443 ; 8444 return 0; 8445 } 8446 _ACEOF 8447 if ac_fn_cxx_try_link "$LINENO"; then : 8448 ac_cv_lib_avformat_avformat_alloc_context=yes 8449 else 8450 ac_cv_lib_avformat_avformat_alloc_context=no 8451 fi 8452 rm -f core conftest.err conftest.$ac_objext \ 8453 conftest$ac_exeext conftest.$ac_ext 8454 LIBS=$ac_check_lib_save_LIBS 8455 fi 8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5 8457 $as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; } 8458 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = xyes; then : 8459 cat >>confdefs.h <<_ACEOF 8460 #define HAVE_LIBAVFORMAT 1 8461 _ACEOF 8462 8463 LIBS="-lavformat $LIBS" 8464 8465 else 8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_alloc_format_context in -lavformat" >&5 8467 $as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; } 8468 if ${ac_cv_lib_avformat_av_alloc_format_context+:} false; then : 8469 $as_echo_n "(cached) " >&6 8470 else 8471 ac_check_lib_save_LIBS=$LIBS 8472 LIBS="-lavformat $LIBS" 8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8474 /* end confdefs.h. */ 8475 8476 /* Override any GCC internal prototype to avoid an error. 8477 Use char because int might match the return type of a GCC 8478 builtin and then its argument prototype would still apply. */ 8479 #ifdef __cplusplus 8480 extern "C" 8481 #endif 8482 char av_alloc_format_context (); 8483 int 8484 main () 8485 { 8486 return av_alloc_format_context (); 8487 ; 8488 return 0; 8489 } 8490 _ACEOF 8491 if ac_fn_cxx_try_link "$LINENO"; then : 8492 ac_cv_lib_avformat_av_alloc_format_context=yes 8493 else 8494 ac_cv_lib_avformat_av_alloc_format_context=no 8495 fi 8496 rm -f core conftest.err conftest.$ac_objext \ 8497 conftest$ac_exeext conftest.$ac_ext 8498 LIBS=$ac_check_lib_save_LIBS 8499 fi 8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5 8501 $as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; } 8502 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = xyes; then : 8503 cat >>confdefs.h <<_ACEOF 8504 #define HAVE_LIBAVFORMAT 1 8505 _ACEOF 8506 8507 LIBS="-lavformat $LIBS" 8508 8509 else 8510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libavformat not usable" >&5 8511 $as_echo "$as_me: WARNING: libavformat not usable" >&2;} 8512 fi 8513 8514 fi 8515 8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_free in -lavutil" >&5 8517 $as_echo_n "checking for av_free in -lavutil... " >&6; } 8518 if ${ac_cv_lib_avutil_av_free+:} false; then : 8519 $as_echo_n "(cached) " >&6 8520 else 8521 ac_check_lib_save_LIBS=$LIBS 8522 LIBS="-lavutil $LIBS" 8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8524 /* end confdefs.h. */ 8525 8526 /* Override any GCC internal prototype to avoid an error. 8527 Use char because int might match the return type of a GCC 8528 builtin and then its argument prototype would still apply. */ 8529 #ifdef __cplusplus 8530 extern "C" 8531 #endif 8532 char av_free (); 8533 int 8534 main () 8535 { 8536 return av_free (); 8537 ; 8538 return 0; 8539 } 8540 _ACEOF 8541 if ac_fn_cxx_try_link "$LINENO"; then : 8542 ac_cv_lib_avutil_av_free=yes 8543 else 8544 ac_cv_lib_avutil_av_free=no 8545 fi 8546 rm -f core conftest.err conftest.$ac_objext \ 8547 conftest$ac_exeext conftest.$ac_ext 8548 LIBS=$ac_check_lib_save_LIBS 8549 fi 8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_free" >&5 8551 $as_echo "$ac_cv_lib_avutil_av_free" >&6; } 8552 if test "x$ac_cv_lib_avutil_av_free" = xyes; then : 8553 cat >>confdefs.h <<_ACEOF 8554 #define HAVE_LIBAVUTIL 1 8555 _ACEOF 8556 8557 LIBS="-lavutil $LIBS" 8558 8559 fi 8560 8003 8561 for ac_func in img_convert 8004 8562 do : 8005 8563 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 8006 if test "x$ac_cv_func_img_convert" = x ""yes; then :8564 if test "x$ac_cv_func_img_convert" = xyes; then : 8007 8565 cat >>confdefs.h <<_ACEOF 8008 8566 #define HAVE_IMG_CONVERT 1 … … 8012 8570 done 8013 8571 8014 LIBS=-lavformat8015 for ac_func in avformat_alloc_context8016 do :8017 ac_fn_cxx_check_func "$LINENO" "avformat_alloc_context" "ac_cv_func_avformat_alloc_context"8018 if test "x$ac_cv_func_avformat_alloc_context" = x""yes; then :8019 cat >>confdefs.h <<_ACEOF8020 #define HAVE_AVFORMAT_ALLOC_CONTEXT 18021 _ACEOF8022 8023 fi8024 done8025 8026 LIBS=$oldLIBS8027 8572 8028 8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nVidia Cg installation" >&5 … … 8040 8585 done 8041 8586 if test "x${CG_DIR}" = "x" ; then 8042 as_fn_error "can't find nVidia Cg installation" "$LINENO" 58587 as_fn_error $? "can't find nVidia Cg installation" "$LINENO" 5 8043 8588 fi 8044 8589 … … 8056 8601 8057 8602 8058 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/vrutil/Makefile nanovis/vrmath/Makefile nanovis/vr3d/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile start_viz.sh"8603 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/vrutil/Makefile nanovis/vrmath/Makefile nanovis/vr3d/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile vtkvis/Doxyfile vtkvis/Makefile start_viz.sh" 8059 8604 8060 8605 cat >confcache <<\_ACEOF … … 8122 8667 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8123 8668 if test -w "$cache_file"; then 8124 test "x$cache_file" != "x/dev/null" &&8669 if test "x$cache_file" != "x/dev/null"; then 8125 8670 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8126 8671 $as_echo "$as_me: updating cache $cache_file" >&6;} 8127 cat confcache >$cache_file 8672 if test ! -f "$cache_file" || test -h "$cache_file"; then 8673 cat confcache >"$cache_file" 8674 else 8675 case $cache_file in #( 8676 */* | ?:*) 8677 mv -f confcache "$cache_file"$$ && 8678 mv -f "$cache_file"$$ "$cache_file" ;; #( 8679 *) 8680 mv -f confcache "$cache_file" ;; 8681 esac 8682 fi 8683 fi 8128 8684 else 8129 8685 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 … … 8141 8697 ac_libobjs= 8142 8698 ac_ltlibobjs= 8699 U= 8143 8700 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8144 8701 # 1. Remove the extension, and $U if already installed. … … 8157 8714 8158 8715 8159 : ${CONFIG_STATUS=./config.status}8716 : "${CONFIG_STATUS=./config.status}" 8160 8717 ac_write_fail=0 8161 8718 ac_clean_files_save=$ac_clean_files … … 8258 8815 8259 8816 # Find who we are. Look in the path if we contain no directory separator. 8817 as_myself= 8260 8818 case $0 in #(( 8261 8819 *[\\/]* ) as_myself=$0 ;; … … 8303 8861 8304 8862 8305 # as_fn_error ERROR [LINENO LOG_FD]8306 # --------------------------------- 8863 # as_fn_error STATUS ERROR [LINENO LOG_FD] 8864 # ---------------------------------------- 8307 8865 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8308 8866 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8309 # script with status $?, using 1 if that was 0.8867 # script with STATUS, using 1 if that was 0. 8310 8868 as_fn_error () 8311 8869 { 8312 as_status=$ ?; test $as_status -eq 0 && as_status=18313 if test "$ 3"; then8314 as_lineno=${as_lineno-"$ 2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack8315 $as_echo "$as_me:${as_lineno-$LINENO}: error: $ 1" >&$38870 as_status=$1; test $as_status -eq 0 && as_status=1 8871 if test "$4"; then 8872 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8873 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8316 8874 fi 8317 $as_echo "$as_me: error: $ 1" >&28875 $as_echo "$as_me: error: $2" >&2 8318 8876 as_fn_exit $as_status 8319 8877 } # as_fn_error … … 8511 9069 done 8512 9070 test -z "$as_dirs" || eval "mkdir $as_dirs" 8513 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"9071 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 8514 9072 8515 9073 … … 8565 9123 ac_log=" 8566 9124 This file was extended by vizservers $as_me 0.1, which was 8567 generated by GNU Autoconf 2.6 5. Invocation command line was9125 generated by GNU Autoconf 2.68. Invocation command line was 8568 9126 8569 9127 CONFIG_FILES = $CONFIG_FILES … … 8627 9185 ac_cs_version="\\ 8628 9186 vizservers config.status 0.1 8629 configured by $0, generated by GNU Autoconf 2.6 5,9187 configured by $0, generated by GNU Autoconf 2.68, 8630 9188 with options \\"\$ac_cs_config\\" 8631 9189 8632 Copyright (C) 20 09Free Software Foundation, Inc.9190 Copyright (C) 2010 Free Software Foundation, Inc. 8633 9191 This config.status script is free software; the Free Software Foundation 8634 9192 gives unlimited permission to copy, distribute and modify it." … … 8647 9205 do 8648 9206 case $1 in 8649 --*= *)9207 --*=?*) 8650 9208 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8651 9209 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9210 ac_shift=: 9211 ;; 9212 --*=) 9213 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9214 ac_optarg= 8652 9215 ac_shift=: 8653 9216 ;; … … 8673 9236 case $ac_optarg in 8674 9237 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9238 '') as_fn_error $? "missing file argument" ;; 8675 9239 esac 8676 9240 as_fn_append CONFIG_FILES " '$ac_optarg'" … … 8685 9249 --he | --h) 8686 9250 # Conflict between --help and --header 8687 as_fn_error "ambiguous option: \`$1'9251 as_fn_error $? "ambiguous option: \`$1' 8688 9252 Try \`$0 --help' for more information.";; 8689 9253 --help | --hel | -h ) … … 8694 9258 8695 9259 # This is an error. 8696 -*) as_fn_error "unrecognized option: \`$1'9260 -*) as_fn_error $? "unrecognized option: \`$1' 8697 9261 Try \`$0 --help' for more information." ;; 8698 9262 … … 8756 9320 "nanovis/transfer-function/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/transfer-function/Makefile" ;; 8757 9321 "pymolproxy/Makefile") CONFIG_FILES="$CONFIG_FILES pymolproxy/Makefile" ;; 9322 "vtkvis/Doxyfile") CONFIG_FILES="$CONFIG_FILES vtkvis/Doxyfile" ;; 9323 "vtkvis/Makefile") CONFIG_FILES="$CONFIG_FILES vtkvis/Makefile" ;; 8758 9324 "start_viz.sh") CONFIG_FILES="$CONFIG_FILES start_viz.sh" ;; 8759 9325 8760 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;9326 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8761 9327 esac 8762 9328 done … … 8780 9346 $debug || 8781 9347 { 8782 tmp= 9348 tmp= ac_tmp= 8783 9349 trap 'exit_status=$? 8784 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9350 : "${ac_tmp:=$tmp}" 9351 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 8785 9352 ' 0 8786 9353 trap 'as_fn_exit 1' 1 2 13 15 … … 8790 9357 { 8791 9358 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8792 test - n "$tmp" && test -d "$tmp"9359 test -d "$tmp" 8793 9360 } || 8794 9361 { 8795 9362 tmp=./conf$$-$RANDOM 8796 9363 (umask 077 && mkdir "$tmp") 8797 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 9364 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9365 ac_tmp=$tmp 8798 9366 8799 9367 # Set up the scripts for CONFIG_FILES section. … … 8812 9380 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 8813 9381 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 8814 ac_cs_awk_cr='\ r'9382 ac_cs_awk_cr='\\r' 8815 9383 else 8816 9384 ac_cs_awk_cr=$ac_cr 8817 9385 fi 8818 9386 8819 echo 'BEGIN {' >"$ tmp/subs1.awk" &&9387 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 8820 9388 _ACEOF 8821 9389 … … 8826 9394 echo "_ACEOF" 8827 9395 } >conf$$subs.sh || 8828 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 58829 ac_delim_num=`echo "$ac_subst_vars" | grep -c ' $'`9396 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9397 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 8830 9398 ac_delim='%!_!# ' 8831 9399 for ac_last_try in false false false false false :; do 8832 9400 . ./conf$$subs.sh || 8833 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 59401 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8834 9402 8835 9403 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 8837 9405 break 8838 9406 elif $ac_last_try; then 8839 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 59407 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8840 9408 else 8841 9409 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 8845 9413 8846 9414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8847 cat >>"\$ tmp/subs1.awk" <<\\_ACAWK &&9415 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 8848 9416 _ACEOF 8849 9417 sed -n ' … … 8893 9461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8894 9462 _ACAWK 8895 cat >>"\$ tmp/subs1.awk" <<_ACAWK &&9463 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 8896 9464 for (key in S) S_is_set[key] = 1 8897 9465 FS = "" … … 8925 9493 else 8926 9494 cat 8927 fi < "$ tmp/subs1.awk" > "$tmp/subs.awk" \8928 || as_fn_error "could not setup config files machinery" "$LINENO" 58929 _ACEOF 8930 8931 # VPATH may cause trouble with some makes, so we remove $(srcdir),8932 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and9495 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9496 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9497 _ACEOF 9498 9499 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9500 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 8933 9501 # trailing colons and then remove the whole line if VPATH becomes empty 8934 9502 # (actually we leave an empty line to preserve line numbers). 8935 9503 if test "x$srcdir" = x.; then 8936 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8937 s/:*\$(srcdir):*/:/ 8938 s/:*\${srcdir}:*/:/ 8939 s/:*@srcdir@:*/:/ 8940 s/^\([^=]*=[ ]*\):*/\1/ 9504 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 9505 h 9506 s/// 9507 s/^/:/ 9508 s/[ ]*$/:/ 9509 s/:\$(srcdir):/:/g 9510 s/:\${srcdir}:/:/g 9511 s/:@srcdir@:/:/g 9512 s/^:*// 8941 9513 s/:*$// 9514 x 9515 s/\(=[ ]*\).*/\1/ 9516 G 9517 s/\n// 8942 9518 s/^[^=]*=[ ]*$// 8943 9519 }' … … 8951 9527 # This happens for instance with `./config.status Makefile'. 8952 9528 if test -n "$CONFIG_HEADERS"; then 8953 cat >"$ tmp/defines.awk" <<\_ACAWK ||9529 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 8954 9530 BEGIN { 8955 9531 _ACEOF … … 8963 9539 ac_delim='%!_!# ' 8964 9540 for ac_last_try in false false :; do 8965 ac_t =`sed -n "/$ac_delim/p" confdefs.h`8966 if test -z "$ac_t "; then9541 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 9542 if test -z "$ac_tt"; then 8967 9543 break 8968 9544 elif $ac_last_try; then 8969 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 59545 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 8970 9546 else 8971 9547 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 9052 9628 _ACEOF 9053 9629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9054 as_fn_error "could not setup config headers machinery" "$LINENO" 59630 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 9055 9631 fi # test -n "$CONFIG_HEADERS" 9056 9632 … … 9065 9641 case $ac_mode$ac_tag in 9066 9642 :[FHL]*:*);; 9067 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;9643 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 9068 9644 :[FH]-) ac_tag=-:-;; 9069 9645 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 9084 9660 do 9085 9661 case $ac_f in 9086 -) ac_f="$ tmp/stdin";;9662 -) ac_f="$ac_tmp/stdin";; 9087 9663 *) # Look for the file first in the build tree, then in the source tree 9088 9664 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 9093 9669 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9094 9670 esac || 9095 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;9671 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 9096 9672 esac 9097 9673 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac … … 9119 9695 9120 9696 case $ac_tag in 9121 *:-:* | *:-) cat >"$ tmp/stdin" \9122 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;9697 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9698 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9123 9699 esac 9124 9700 ;; … … 9256 9832 $ac_datarootdir_hack 9257 9833 " 9258 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ tmp/subs.awk" >$tmp/out\9259 || as_fn_error"could not create $ac_file" "$LINENO" 59834 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9835 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9260 9836 9261 9837 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9262 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9263 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9838 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9839 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9840 "$ac_tmp/out"`; test -z "$ac_out"; } && 9264 9841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9265 which seems to be undefined. Please make sure it is defined ." >&59842 which seems to be undefined. Please make sure it is defined" >&5 9266 9843 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9267 which seems to be undefined. Please make sure it is defined ." >&2;}9268 9269 rm -f "$ tmp/stdin"9844 which seems to be undefined. Please make sure it is defined" >&2;} 9845 9846 rm -f "$ac_tmp/stdin" 9270 9847 case $ac_file in 9271 -) cat "$ tmp/out" && rm -f "$tmp/out";;9272 *) rm -f "$ac_file" && mv "$ tmp/out" "$ac_file";;9848 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 9849 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 9273 9850 esac \ 9274 || as_fn_error "could not create $ac_file" "$LINENO" 59851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9275 9852 ;; 9276 9853 :H) … … 9281 9858 { 9282 9859 $as_echo "/* $configure_input */" \ 9283 && eval '$AWK -f "$ tmp/defines.awk"' "$ac_file_inputs"9284 } >"$ tmp/config.h" \9285 || as_fn_error "could not create $ac_file" "$LINENO" 59286 if diff "$ac_file" "$ tmp/config.h" >/dev/null 2>&1; then9860 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9861 } >"$ac_tmp/config.h" \ 9862 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9863 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 9287 9864 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9288 9865 $as_echo "$as_me: $ac_file is unchanged" >&6;} 9289 9866 else 9290 9867 rm -f "$ac_file" 9291 mv "$ tmp/config.h" "$ac_file" \9292 || as_fn_error "could not create $ac_file" "$LINENO" 59868 mv "$ac_tmp/config.h" "$ac_file" \ 9869 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9293 9870 fi 9294 9871 else 9295 9872 $as_echo "/* $configure_input */" \ 9296 && eval '$AWK -f "$ tmp/defines.awk"' "$ac_file_inputs" \9297 || as_fn_error "could not create -" "$LINENO" 59873 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9874 || as_fn_error $? "could not create -" "$LINENO" 5 9298 9875 fi 9299 9876 ;; … … 9310 9887 9311 9888 test $ac_write_fail = 0 || 9312 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 59889 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 9313 9890 9314 9891 … … 9331 9908 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9332 9909 # would make configure fail if this is the last instruction. 9333 $ac_cs_success || as_fn_exit $?9910 $ac_cs_success || as_fn_exit 1 9334 9911 fi 9335 9912 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then -
branches/blt4/packages/vizservers/configure.in
r2098 r2120 1 AC_PREREQ([2.60]) 1 2 AC_INIT(vizservers, 0.1, rappture@nanohub.org) 2 3 AC_CONFIG_HEADER(nanovis/nvconf.h nanoscale/config.h) 4 5 AC_ARG_WITH( 6 [tcllib], 7 [AS_HELP_STRING([--with-tcllib[=DIR]], 8 [location of Tcl binary library libtclstubs.a @<:@default=/usr/lib@:>@])], 9 [with_tcllib=$withval], 10 [with_tcllib=""]) 11 12 AC_ARG_WITH( 13 [rappture], 14 [AS_HELP_STRING([--with-rappture[=DIR]], 15 [location of rappture files lib/librappture2.a and include/rappture2/rappture2.h @<:@default=/usr@:>@])], 16 [with_rappture=$withval], 17 [with_rappture=/usr]) 18 19 AC_ARG_WITH( 20 [vtk-includes], 21 [AS_HELP_STRING([--with-vtk-includes=DIR], 22 [VTK include files are in DIR])], 23 [with_vtk_includes=$withval], 24 [with_vtk_includes=/usr/include/vtk-5.6]) 25 26 AC_ARG_WITH( 27 [vtk-libs], 28 [AS_HELP_STRING([--with-vtk-libs=DIR], 29 [VTK libraries are in DIR])], 30 [with_vtk_libs=$withval], 31 [with_vtk_libs=/usr/lib/vtk-5.6]) 3 32 4 33 VERSION=0.0.1 … … 32 61 AC_SUBST(SHLIB_SUFFIX) 33 62 63 AC_PATH_X 64 34 65 AC_PROG_INSTALL 35 66 AC_PROG_RANLIB … … 62 93 LD_RPATH=""; 63 94 64 SUBDIRS="nanoscale nanovis pymolproxy "95 SUBDIRS="nanoscale nanovis pymolproxy vtkvis" 65 96 AC_SUBST(SUBDIRS) 66 67 AC_ARG_WITH(68 [tcllib],69 [AS_HELP_STRING([--with-tcllib[=DIR]],70 [location of Tcl binary library libtclstubs.a @<:@default=/usr/lib@:>@])],71 [with_tcllib=$withval],72 [with_tcllib=""])73 97 74 98 # … … 115 139 AC_SUBST(TCL_INC_SPEC) 116 140 AC_SUBST(TCL_LIB_SPEC) 117 118 AC_ARG_WITH(119 [rappture],120 [AS_HELP_STRING([--with-rappture[=DIR]],121 [location of rappture files lib/librappture2.a and include/rappture2/rappture2.h @<:@default=/usr@:>@])],122 [with_rappture=$withval],123 [with_rappture=/usr])124 141 125 142 RP2_INCL_DIR="" … … 164 181 AC_SUBST(RP_DIR) 165 182 183 if test "x$with_vtk_includes" != "x"; then 184 VTK_INC_SPEC=-I$with_vtk_includes 185 fi 186 187 save_CPPFLAGS=$CPPFLAGS 188 CPPFLAGS=$VTK_INC_SPEC 189 AC_CHECK_HEADERS([vtkSmartPointer.h], [], [AC_MSG_ERROR([cannot find VTK includes])]) 190 CPPFLAGS=$save_CPPFLAGS 191 192 if test "x$with_vtk_libs" != "x"; then 193 VTK_LIB_DIR=$with_vtk_libs 194 fi 195 196 AC_SUBST(VTK_INC_SPEC) 197 AC_SUBST(VTK_LIB_DIR) 198 166 199 AC_CHECK_HEADER([GL/glui.h]) 167 200 AC_CHECK_HEADER([glui.h]) … … 197 230 AC_MSG_RESULT([${DX_INC_DIR}]) 198 231 199 AC_MSG_CHECKING([for OpenDX libraries])200 232 DX_LIB_DIR="" 201 233 found=no 202 234 for dir in \ 203 /apps/rappture/lib \ 235 /usr/lib \ 236 /usr/lib64 \ 237 /usr/dx/lib_linux \ 204 238 /usr/lib/dx/lib_linux \ 205 /usr/dx/lib_linux \206 /usr/lib207 239 /usr/lib64/dx/lib_linux \ 208 / usr/lib64240 /apps/rappture/lib 209 241 do 210 saveLIBS=$LIBS 211 LIBS=-L$dir 212 AC_CHECK_LIB([DXCallm], [], [found=yes], [found=no]) 213 LIBS=$saveLIBS 214 if test "found" = "yes" ; then 242 saveLDFLAGS=$LDFLAGS 243 LDFLAGS="-L$dir $LDFLAGS" 244 unset ac_cv_lib_DXcallm_DXGetComponentValue 245 AC_CHECK_LIB([DXcallm], [DXGetComponentValue], [found=yes], [found=no], [-lX11]) 246 LDFLAGS=$saveLDFLAGS 247 if test "$found" = "yes" ; then 215 248 DX_LIB_DIR="$dir" 216 249 break … … 218 251 done 219 252 if test "x{$DX_LIB_DIR}" = "x" ; then 220 AC_MSG_ERROR([can't find OpenDX libraries]) 221 fi 222 253 AC_MSG_ERROR([cant find OpenDX libraries]) 254 fi 255 256 AC_MSG_CHECKING([for libDXcallm library]) 223 257 if test "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then 224 258 DX_LIB_SPEC="" … … 226 260 DX_LIB_SPEC="-L${DX_LIB_DIR}" 227 261 fi 228 262 AC_MSG_RESULT([$DX_LIB_SPEC]) 229 263 AC_SUBST(DX_LIB_SPEC) 230 AC_MSG_RESULT([${DX_LIB_DIR}]) 264 265 AC_CHECK_HEADERS([opencv/cv.h opencv/highgui.h]) 266 AC_CHECK_LIB([cv], [cvLoadImage]) 267 268 save_CPPFLAGS=$CPPFLAGS 269 # Test for redhat-specific location of ffmpeg headers. 270 if test -d "/usr/include/ffmpeg" ; then 271 CPPFLAGS="$CPPFLAGS -I/usr/include/ffmpeg" 272 FF_INC_SPEC="-I/usr/include/ffmpeg" 273 fi 274 AC_SUBST(FF_INC_SPEC) 231 275 232 276 AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h],,,[ … … 240 284 #endif 241 285 ]) 242 243 oldLIBS=$LIBS 244 LIBS=-lavcodec 245 AC_CHECK_FUNCS(img_convert) 246 LIBS=-lavformat 247 AC_CHECK_FUNCS(avformat_alloc_context) 248 LIBS=$oldLIBS 286 CPPFLAGS=$save_CPPFLAGS 287 288 AC_CHECK_LIB([avcodec], [avcodec_alloc_frame]) 289 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found 290 AC_CHECK_LIB([avformat], [avformat_alloc_context], [], 291 AC_CHECK_LIB([avformat], [av_alloc_format_context], [], 292 [AC_MSG_WARN([libavformat not usable])])) 293 AC_CHECK_LIB([avutil], [av_free]) 294 AC_CHECK_FUNCS([img_convert]) 249 295 250 296 AC_MSG_CHECKING([for nVidia Cg installation]) … … 269 315 LD_RPATH="$loader_run_path:${CG_DIR}/lib" 270 316 fi 271 317 AC_SUBST(LIBS) 272 318 AC_SUBST(CG_DIR) 273 319 AC_MSG_RESULT([${CG_DIR}]) … … 297 343 nanovis/transfer-function/Makefile \ 298 344 pymolproxy/Makefile \ 345 vtkvis/Doxyfile \ 346 vtkvis/Makefile \ 299 347 start_viz.sh ) -
branches/blt4/packages/vizservers/nanoscale/server.c
r2098 r2120 1 2 1 #include <stdio.h> 3 2 #include <unistd.h> … … 105 104 return index; 106 105 } 106 #endif 107 107 108 108 static void … … 119 119 } 120 120 } 121 #endif122 121 123 122 static void … … 162 161 } 163 162 164 #ifdef notdef165 163 static void 166 164 update_load_average(void) … … 191 189 sigalarm_set = 1; 192 190 } 193 #endif194 191 195 192 static void … … 386 383 send_addr.sin_port = htons(recv_port); 387 384 388 #ifdef notdef389 385 // Set up a signal handler for the alarm interrupt. 390 386 // It doesn't do anything other than interrupt select() below. … … 392 388 perror("signal SIGALRM"); 393 389 } 390 394 391 struct itimerval itvalue = { 395 392 {1, 0}, {1, 0} … … 399 396 perror("setitimer"); 400 397 } 401 #endif402 398 403 399 // We're ready to go. Before going into the main loop, … … 431 427 status = select(maxfd+1, &rfds, NULL, NULL, 0); 432 428 if (status <= 0) { 433 #ifdef notdef434 429 if (sigalarm_set) { 435 430 update_load_average(); 436 431 sigalarm_set = 0; 437 432 } 438 #endif439 433 continue; 440 434 } … … 660 654 661 655 children++; 662 #ifdef notdef663 656 broadcast_load(); 664 #endif665 657 } 666 658 -
branches/blt4/packages/vizservers/nanovis/DataLoader.cpp
r1816 r2120 286 286 int size = width * height * depth; 287 287 float* srcdata = (float*) malloc(size * sizeof(float) * 4); 288 size_t sz =fread(srcdata, size * 4 * sizeof(float), 1, fp);288 fread(srcdata, size * 4 * sizeof(float), 1, fp); 289 289 fclose(fp); 290 290 … … 314 314 315 315 int size = width * height * depth; 316 size_t sz =fread(data, size * 4 * sizeof(float), 1, fp);316 fread(data, size * 4 * sizeof(float), 1, fp); 317 317 fclose(fp); 318 318 } … … 347 347 int index = 0; 348 348 349 union {350 char ch[4];351 int v;352 } value;353 354 349 int size = width * height * depth; 355 350 srcdata = (float*) malloc(size * sizeof(float) * 3); 356 351 memset(srcdata, 0, size * sizeof(float) * 3); 357 size_t sz; 358 if (skipByte != 0) sz = fread(srcdata, skipByte, 1, fp); 359 sz = fread(srcdata, size * 3 * sizeof(float), 1, fp); 352 if (skipByte != 0) fread(srcdata, skipByte, 1, fp); 353 fread(srcdata, size * 3 * sizeof(float), 1, fp); 360 354 fclose(fp); 361 355 -
branches/blt4/packages/vizservers/nanovis/FlowCmd.cpp
r2098 r2120 1 1 #include <nvconf.h> 2 #if defined(HAVE_ FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_AVFORMAT_H)2 #if defined(HAVE_LIBAVCODEC) || defined(HAVE_LIBAVFORMAT) 3 3 #define HAVE_FFMPEG 1 4 4 #endif -
branches/blt4/packages/vizservers/nanovis/Makefile.in
r2098 r2120 36 36 DX_LIB_SPEC = @DX_LIB_SPEC@ -lDXcallm 37 37 FF_LIB_SPEC = @LIBS@ 38 FF_INC_SPEC = @FF_INC_SPEC@ 38 39 39 40 GL_INC_SPEC = -I/usr/include/GL … … 100 101 $(VR3D_INC_SPEC) \ 101 102 $(TCL_INC_SPEC) \ 103 $(FF_INC_SPEC) \ 102 104 $(CG_INC_SPEC) \ 103 105 $(GL_INC_SPEC) \ … … 105 107 106 108 CC = @CC@ 109 CXX = @CXX@ 107 110 CFLAGS = @CFLAGS@ 108 111 EXTRA_CFLAGS = -Wall 109 112 DEFINES = 110 C C_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(DEFINES) $(INCLUDES)113 CXX_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(DEFINES) $(INCLUDES) 111 114 112 115 OBJS = \ … … 181 184 resources = \ 182 185 $(srcdir)/resources/Font.bmp \ 183 $(srcdir)/resource/arrows_flip2.png \184 $(srcdir)/resource/arrows_red_bg.bmp \185 $(srcdir)/resource/arrows.bmp \186 $(srcdir)/resources/arrows_flip2.png \ 187 $(srcdir)/resources/arrows_red_bg.bmp \ 188 $(srcdir)/resources/arrows.bmp \ 186 189 $(srcdir)/resources/particle2.bmp \ 187 190 $(srcdir)/resources/verdana.fnt \ … … 217 220 $(srcdir)/shaders/velocity.cg 218 221 219 .PHONY: newmat11 R2 imgloaders vrmath vrutil vr3d transfer-function nanovis222 .PHONY: newmat11 R2 imgloaders vrmath vrutil vr3d transfer-function 220 223 221 224 all: newmat11 R2 imgloaders vrmath vrutil vr3d transfer-function nanovis … … 249 252 250 253 nanovis: $(MAT_LIB) $(R2_LIB) $(IMG_LIB) $(VRMATH_LIB) $(VRUTIL_LIB) $(VR3D_LIB) $(OBJS) 251 $(C C) $(CC_SWITCHES) -o $@ $^ $(LIBS)254 $(CXX) $(CXX_SWITCHES) -o $@ $^ $(LIBS) 252 255 253 256 .cpp.o: 254 $(C C) $(CC_SWITCHES) -o $@ -c $<257 $(CXX) $(CXX_SWITCHES) -o $@ -c $< 255 258 256 259 dxReader2.o: $(srcdir)/dxReader2.cpp 257 $(C C) -c $(CC_SWITCHES) $(DX_INC_SPEC) $?260 $(CXX) -c $(CXX_SWITCHES) $(DX_INC_SPEC) $? 258 261 RpDX.o: $(srcdir)/RpDX.cpp 259 $(C C) -c $(CC_SWITCHES) $(DX_INC_SPEC) $?262 $(CXX) -c $(CXX_SWITCHES) $(DX_INC_SPEC) $? 260 263 RpAVTranslate.o: $(srcdir)/RpAVTranslate.cpp 261 $(C C) -c $(CC_SWITCHES) $(FF_INC_SPEC) $?264 $(CXX) -c $(CXX_SWITCHES) $(FF_INC_SPEC) $? 262 265 263 266 client: Socket.o ClientSocket.o RenderClient.o Event.o 264 $(C C) $(CC_SWITCHES) -o $@ $^ $(LIBS)267 $(CXX) $(CXX_SWITCHES) -o $@ $^ $(LIBS) 265 268 266 269 Socket.o: socket/Socket.cpp socket/Socket.h 267 $(C C) $(CC_SWITCHES) -o $@ -c $<270 $(CXX) $(CXX_SWITCHES) -o $@ -c $< 268 271 ClientSocket.o: socket/ClientSocket.cpp socket/ClientSocket.h 269 $(C C) $(CC_SWITCHES) -o $@ -c $<272 $(CXX) $(CXX_SWITCHES) -o $@ -c $< 270 273 RenderClient.o: socket/RenderClient.cpp socket/RenderClient.h 271 $(C C) $(CC_SWITCHES) -o $@ -c $<274 $(CXX) $(CXX_SWITCHES) -o $@ -c $< 272 275 273 276 install-resources: 274 $(MKDIR_P) -m 0755$(libdir)/resources277 $(MKDIR_P) $(libdir)/resources 275 278 @for i in $(resources) ; do \ 276 279 echo "installing $$i..." ; \ … … 279 282 280 283 install-shaders: 281 $(MKDIR_P) -m 0755$(libdir)/shaders284 $(MKDIR_P) $(libdir)/shaders 282 285 @for i in $(shaders) ; do \ 283 286 echo "installing $$i..." ; \ -
branches/blt4/packages/vizservers/nanovis/NvEventLog.cpp
r1994 r2120 16 16 17 17 #ifdef XINETD 18 void 19 NvInitService() 18 void NvInitService() 20 19 { 21 20 const char* user = getenv("USER"); … … 35 34 } 36 35 37 // Open log and map stderr to log file.36 //open log and map stderr to log file 38 37 NanoVis::logfile = fopen(logName, "w"); 39 38 close(2); 40 39 dup2(fileno(NanoVis::logfile), 2); 41 40 dup2(2,1); 42 // Flush junk41 //flush junk 43 42 fflush(stdout); 44 43 fflush(stderr); 45 44 45 // clean up malloc'd memory 46 46 if (logName != NULL) { 47 47 free(logName); … … 49 49 } 50 50 51 void 52 NvExitService() 51 void NvExitService() 53 52 { 53 //close log file 54 54 if (NanoVis::logfile != NULL) { 55 55 fclose(NanoVis::logfile); -
branches/blt4/packages/vizservers/nanovis/ParticleSystem.cpp
r2098 r2120 13 13 #include <GL/glaux.h> 14 14 #else 15 #ifdef HAVE_OPENVC_CV_H16 15 #include <opencv/cv.h> 17 #endif18 #ifdef HAVE_OPENCV_HIGHGUI_H19 16 #include <opencv/highgui.h> 20 #endif21 17 #endif 22 18 -
branches/blt4/packages/vizservers/nanovis/R2/src/Makefile.in
r951 r2120 22 22 RANLIB = @RANLIB@ 23 23 CC = @CC@ 24 CXX = @CXX@ 24 25 VPATH = $(srcdir) 25 26 … … 29 30 EXTRA_CFLAGS = -Wall 30 31 DEFINES = @DEFINES@ 31 C C_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES)32 CXX_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) 32 33 33 34 OBJS = \ … … 52 53 53 54 .cpp.o: 54 $(C C) $(CC_SWITCHES) -o $@ -c $<55 $(CXX) $(CXX_SWITCHES) -o $@ -c $< 55 56 56 57 clean: -
branches/blt4/packages/vizservers/nanovis/R2/src/R2Geometry.cpp
r1982 r2120 13 13 } 14 14 15 R2Geometry::R2Geometry( 16 int primitive, 17 R2VertexBuffer* vertexBuffer, 18 R2VertexBuffer* colorBuffer, 19 R2IndexBuffer* indexBuffer) : 15 R2Geometry::R2Geometry(int primitive, R2VertexBuffer* vertexBuffer, 16 R2VertexBuffer* colorBuffer, R2IndexBuffer* indexBuffer) : 20 17 _vertexBuffer(vertexBuffer), 21 18 _colorBuffer(colorBuffer), … … 28 25 R2Geometry::~R2Geometry() 29 26 { 30 if (_indexBuffer != NULL) {31 delete _indexBuffer;32 }33 if (_colorBuffer != NULL) {34 delete _colorBuffer;35 }36 if (_vertexBuffer != NULL) {37 delete _vertexBuffer;38 }39 27 } 40 28 -
branches/blt4/packages/vizservers/nanovis/R2/src/R2VertexBuffer.cpp
r1982 r2120 5 5 #include <stdlib.h> 6 6 7 R2VertexBuffer::R2VertexBuffer(int type, int vertexCount, int byteSize, 8 void* data, bool copy) : 9 _graphicObjectID(0), 10 _byteSize(byteSize), 11 _vertexCount(vertexCount) 7 R2VertexBuffer::R2VertexBuffer(int type, int vertexCount, int byteSize, void* data, bool copy) 8 : _graphicObjectID(0), _byteSize(byteSize), _vertexCount(vertexCount) 12 9 { 13 if (copy) { 14 _data = malloc(byteSize); 15 } else { 16 _data = data; 17 } 18 glGenBuffers(1, &_graphicObjectID); 19 glBindBuffer(GL_ARRAY_BUFFER, _graphicObjectID); 20 glBufferData(GL_ARRAY_BUFFER, _byteSize, data, GL_STATIC_DRAW); 10 if (copy) 11 { 12 _data = (void*) malloc(byteSize); 13 } 14 else 15 { 16 _data = data; 17 } 18 19 glGenBuffers(1, &_graphicObjectID); 20 glBindBuffer(GL_ARRAY_BUFFER, _graphicObjectID); 21 glBufferData(GL_ARRAY_BUFFER, 22 _byteSize, 23 data, 24 GL_STATIC_DRAW); 21 25 glBindBuffer(GL_ARRAY_BUFFER, 0); 22 26 } … … 24 28 R2VertexBuffer::~R2VertexBuffer() 25 29 { 26 if (_graphicObjectID != 0) { 27 glDeleteBuffers(1, &_graphicObjectID); 28 } 29 if (_data) { 30 free(_data); 31 } 30 if (_graphicObjectID != 0) 31 { 32 glDeleteBuffers(1, &_graphicObjectID); 33 } 34 35 if (_data) 36 { 37 free(_data); 38 } 32 39 } -
branches/blt4/packages/vizservers/nanovis/RpAVTranslate.cpp
r1571 r2120 16 16 #include "nvconf.h" 17 17 18 #if defined(HAVE_LIBAVCODEC) || defined(HAVE_LIBAVFORMAT) 18 19 #include <cstdlib> 19 20 #include <cstdio> … … 436 437 */ 437 438 439 #endif /* HAVE_LIBAVCODEC && HAVE_LIBAVFORMAT */ -
branches/blt4/packages/vizservers/nanovis/VelocityArrowsSlice.cpp
r2098 r2120 8 8 #include <GL/glaux.h> 9 9 #else 10 #ifdef HAVE_OPENCV_CV_H11 10 //#include <opencv/cv.h> 12 #endif13 #ifdef HAVE_OPENCV_HIGHGUI_H14 11 //#include <opencv/highgui.h> 15 #endif16 12 #endif 17 13 -
branches/blt4/packages/vizservers/nanovis/nvconf.h.in
r1874 r2120 6 6 /* Define to 1 if you have the <arpa/inet.h> header file. */ 7 7 #undef HAVE_ARPA_INET_H 8 9 /* Define to 1 if you have the `avformat_alloc_context' function. */10 #undef HAVE_AVFORMAT_ALLOC_CONTEXT11 8 12 9 /* Define to 1 if you have the <ffmpeg/avcodec.h> header file. */ … … 25 22 #undef HAVE_INTTYPES_H 26 23 24 /* Define to 1 if you have the `avcodec' library (-lavcodec). */ 25 #undef HAVE_LIBAVCODEC 26 27 27 /* Define to 1 if you have the <libavcodec/avcodec.h> header file. */ 28 28 #undef HAVE_LIBAVCODEC_AVCODEC_H 29 30 /* Define to 1 if you have the `avformat' library (-lavformat). */ 31 #undef HAVE_LIBAVFORMAT 29 32 30 33 /* Define to 1 if you have the <libavformat/avformat.h> header file. */ 31 34 #undef HAVE_LIBAVFORMAT_AVFORMAT_H 32 35 36 /* Define to 1 if you have the `avutil' library (-lavutil). */ 37 #undef HAVE_LIBAVUTIL 38 33 39 /* Define to 1 if you have the <libavutil/avutil.h> header file. */ 34 40 #undef HAVE_LIBAVUTIL_AVUTIL_H 41 42 /* Define to 1 if you have the `cv' library (-lcv). */ 43 #undef HAVE_LIBCV 35 44 36 45 /* Define to 1 if you have the <memory.h> header file. */ … … 42 51 /* Define to 1 if you have the <netinet/in.h> header file. */ 43 52 #undef HAVE_NETINET_IN_H 53 54 /* Define to 1 if you have the <opencv/cv.h> header file. */ 55 #undef HAVE_OPENCV_CV_H 56 57 /* Define to 1 if you have the <opencv/highgui.h> header file. */ 58 #undef HAVE_OPENCV_HIGHGUI_H 44 59 45 60 /* Define to 1 if you have the <rappture.h> header file. */ -
branches/blt4/packages/vizservers/nanovis/vr3d/Makefile.in
r1822 r2120 22 22 RANLIB = @RANLIB@ 23 23 CC = @CC@ 24 CXX = @CXX@ 24 25 VPATH = $(srcdir) 25 26 … … 29 30 EXTRA_CFLAGS = -Wall 30 31 DEFINES = @DEFINES@ 31 C C_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES)32 CXX_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) 32 33 33 34 VR3DLIB = vr3d.a … … 50 51 51 52 .cpp.o: 52 $(C C) $(CC_SWITCHES) -o $@ -c $<53 $(CXX) $(CXX_SWITCHES) -o $@ -c $< 53 54 54 55 clean: -
branches/blt4/packages/vizservers/nanovis/vr3d/include/vr3d/vrTexture.h
r1822 r2120 61 61 */ 62 62 TEXFILTER _magFilter; 63 64 /**65 * @brief image data66 * @brief Default value is NULL67 */68 void* _pixels;69 63 70 64 /** -
branches/blt4/packages/vizservers/nanovis/vr3d/vrTexture.cpp
r1822 r2120 9 9 _minFilter(TF_LINEAR), 10 10 _magFilter(TF_LINEAR), 11 _pixels(0),12 11 _compCount(4) 13 12 { -
branches/blt4/packages/vizservers/nanovis/vr3d/vrTexture1D.cpp
r1822 r2120 46 46 } 47 47 48 if (_pixels)49 {50 delete [] _pixels;51 }52 53 48 glPixelStorei(GL_UNPACK_ALIGNMENT, 1); 54 49 glGenTextures(1, &_objectID); -
branches/blt4/packages/vizservers/nanovis/vr3d/vrTexture2D.cpp
r1822 r2120 70 70 } 71 71 72 if (_pixels)73 {74 delete [] _pixels;75 }76 77 72 //glPixelStorei(GL_UNPACK_ALIGNMENT, 1); 78 73 glGenTextures(1, &_objectID); -
branches/blt4/packages/vizservers/nanovis/vr3d/vrTexture3D.cpp
r1822 r2120 50 50 } 51 51 52 if (_pixels)53 {54 delete [] _pixels;55 }56 57 52 //glPixelStorei(GL_UNPACK_ALIGNMENT, 1); 58 53 glGenTextures(1, &_objectID); -
branches/blt4/packages/vizservers/nanovis/vrmath/Makefile.in
r1822 r2120 22 22 RANLIB = @RANLIB@ 23 23 CC = @CC@ 24 CXX = @CXX@ 24 25 VPATH = $(srcdir) 25 26 … … 29 30 EXTRA_CFLAGS = -Wall 30 31 DEFINES = @DEFINES@ 31 C C_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES)32 CXX_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) 32 33 33 34 VRMATHLIB = vrmath.a … … 59 60 60 61 .cpp.o: 61 $(C C) $(CC_SWITCHES) -o $@ -c $<62 $(CXX) $(CXX_SWITCHES) -o $@ -c $< 62 63 63 64 clean: -
branches/blt4/packages/vizservers/nanovis/vrmath/vrPlane.cpp
r1822 r2120 11 11 12 12 distance = m[12]*v.x + m[13]*v.y + m[14]*v.z + m[15]*v.w; 13 13 } -
branches/blt4/packages/vizservers/nanovis/vrutil/Makefile.in
r1822 r2120 22 22 RANLIB = @RANLIB@ 23 23 CC = @CC@ 24 CXX = @CXX@ 24 25 VPATH = $(srcdir) 25 26 … … 29 30 EXTRA_CFLAGS = -Wall 30 31 DEFINES = @DEFINES@ 31 C C_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES)32 CXX_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) 32 33 33 34 VRUTILLIB = vrutil.a … … 51 52 52 53 .cpp.o: 53 $(C C) $(CC_SWITCHES) -o $@ -c $<54 $(CXX) $(CXX_SWITCHES) -o $@ -c $< 54 55 55 56 clean: -
branches/blt4/packages/vizservers/start_viz.sh.in
r1278 r2120 13 13 14 14 render_dir="@prefix@" 15 vtk_lib_dir="@VTK_LIB_DIR@" 15 16 nanoscale_port=2000 16 17 nanovis_port=2000 18 vtkvis_port=2010 17 19 pymol_port=2020 18 20 … … 22 24 dir="/tmp/`basename $render_dir`" 23 25 26 # Get the versioned VTK library directory (e.g. "vtk-5.6") 27 vtkdir="`basename $vtk_lib_dir`" 24 28 25 29 PATH=${dir}/bin:$PATH 26 LD_LIBRARY_PATH=${dir}/lib:$ LD_LIBRARY_PATH30 LD_LIBRARY_PATH=${dir}/lib:${dir}/lib/${vtkdir}:$LD_LIBRARY_PATH 27 31 PYMOL_PATH=${dir}/lib/pymol 28 32 … … 30 34 31 35 # Determine the number of video cards we have. The new render server 32 # motherboards have the useless XGI Volari aonboard video controllers (no 3D36 # motherboards have the useless XGI Volari onboard video controllers (no 3D 33 37 # capabilities) so we have to make sure we count only the nVidia cards. 34 38 … … 37 41 nanoscale="${dir}/bin/nanoscale -x ${nvideo} -b $nanoscale_port -s $broadcast" 38 42 nanovis="${dir}/bin/nanovis -p ${dir}/lib/shaders:${dir}/lib/resources" 43 vtkvis="${dir}/bin/vtkvis" 39 44 pymolproxy="${dir}/bin/pymolproxy ${dir}/bin/pymol -p -q -i -x -X 0 -Y 0" 40 45 … … 60 65 61 66 echo "$nanoscale -l $nanovis_port -c \"$nanovis\" -l $pymol_port -c \"$pymolproxy\"" 62 $nanoscale -l $nanovis_port -c "$nanovis" -l $ pymol_port -c "$pymolproxy"67 $nanoscale -l $nanovis_port -c "$nanovis" -l $vtkvis_port -c "$vtkvis" -l $pymol_port -c "$pymolproxy" 63 68
Note: See TracChangeset
for help on using the changeset viewer.