Ignore:
Timestamp:
Feb 19, 2009 3:48:11 PM (13 years ago)
Author:
gah
Message:

vizservers/pymolproxy/pymolproxy.c

Added atomscale and projection commands.
Created buffered input layers between client-proxy, server-proxy.
Also created non-blocking buffered image layer between proxy-client.
This is a major update to the proxy. It should be more efficient.

vizservers/nanoscale/server.c

Removed broadcast feature. It's not being used. The server never
redirects the client to another host.

vizservers/start_viz.sh.in

Fixed sed script to replace the last octet of IP address with
broadcast 255.

vizservers/configure.in

Added test of Cg libraries and includes. Gentoo has moved them
from /usr/lib to /opt/nvidia-cg-toolkit/lib.

vizservers/nanovis/Makefile.in

Added locations of Cg libraries and headers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/configure

    r1115 r1278  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.62 for vizservers 0.1.
     3# Generated by GNU Autoconf 2.63 for vizservers 0.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
     
    637637#endif"
    638638
    639 ac_subst_vars='SHELL
     639ac_subst_vars='LTLIBOBJS
     640LIBOBJS
     641LD_RPATH
     642CG_DIR
     643DX_DIR
     644RP_DIR
     645RP2_INCL_DIR
     646TCL_LIB_SPEC
     647TCL_INC_SPEC
     648TCL_VERSION
     649SUBDIRS
     650CXXCPP
     651ac_ct_CXX
     652CXXFLAGS
     653CXX
     654MKDIR_P
     655LN_S
     656INSTALL_DATA
     657INSTALL_SCRIPT
     658INSTALL_PROGRAM
     659SHLIB_LDFLAGS
     660INSTALL_STUB_LIB
     661INSTALL_LIB
     662MAKE_STUB_LIB
     663MAKE_LIB
     664SHLIB_SUFFIX
     665SHLIB_CFLAGS
     666SHLIB_LD_LIBS
     667TK_SHLIB_LD_EXTRAS
     668TCL_SHLIB_LD_EXTRAS
     669SHLIB_LD
     670STLIB_LD
     671LD_SEARCH_FLAGS
     672CC_SEARCH_FLAGS
     673LDFLAGS_OPTIMIZE
     674LDFLAGS_DEBUG
     675CFLAGS_WARNING
     676CFLAGS_OPTIMIZE
     677CFLAGS_DEBUG
     678PLAT_SRCS
     679PLAT_OBJS
     680DL_OBJS
     681DL_LIBS
     682EGREP
     683GREP
     684CPP
     685AR
     686RANLIB
     687OBJEXT
     688EXEEXT
     689ac_ct_CC
     690CPPFLAGS
     691LDFLAGS
     692CFLAGS
     693CC
     694VERSION
     695target_alias
     696host_alias
     697build_alias
     698LIBS
     699ECHO_T
     700ECHO_N
     701ECHO_C
     702DEFS
     703mandir
     704localedir
     705libdir
     706psdir
     707pdfdir
     708dvidir
     709htmldir
     710infodir
     711docdir
     712oldincludedir
     713includedir
     714localstatedir
     715sharedstatedir
     716sysconfdir
     717datadir
     718datarootdir
     719libexecdir
     720sbindir
     721bindir
     722program_transform_name
     723prefix
     724exec_prefix
     725PACKAGE_BUGREPORT
     726PACKAGE_STRING
     727PACKAGE_VERSION
     728PACKAGE_TARNAME
     729PACKAGE_NAME
    640730PATH_SEPARATOR
    641 PACKAGE_NAME
    642 PACKAGE_TARNAME
    643 PACKAGE_VERSION
    644 PACKAGE_STRING
    645 PACKAGE_BUGREPORT
    646 exec_prefix
    647 prefix
    648 program_transform_name
    649 bindir
    650 sbindir
    651 libexecdir
    652 datarootdir
    653 datadir
    654 sysconfdir
    655 sharedstatedir
    656 localstatedir
    657 includedir
    658 oldincludedir
    659 docdir
    660 infodir
    661 htmldir
    662 dvidir
    663 pdfdir
    664 psdir
    665 libdir
    666 localedir
    667 mandir
    668 DEFS
    669 ECHO_C
    670 ECHO_N
    671 ECHO_T
    672 LIBS
    673 build_alias
    674 host_alias
    675 target_alias
    676 VERSION
    677 CC
    678 CFLAGS
    679 LDFLAGS
    680 CPPFLAGS
    681 ac_ct_CC
    682 EXEEXT
    683 OBJEXT
    684 RANLIB
    685 AR
    686 CPP
    687 GREP
    688 EGREP
    689 DL_LIBS
    690 DL_OBJS
    691 PLAT_OBJS
    692 PLAT_SRCS
    693 CFLAGS_DEBUG
    694 CFLAGS_OPTIMIZE
    695 CFLAGS_WARNING
    696 LDFLAGS_DEBUG
    697 LDFLAGS_OPTIMIZE
    698 CC_SEARCH_FLAGS
    699 LD_SEARCH_FLAGS
    700 STLIB_LD
    701 SHLIB_LD
    702 TCL_SHLIB_LD_EXTRAS
    703 TK_SHLIB_LD_EXTRAS
    704 SHLIB_LD_LIBS
    705 SHLIB_CFLAGS
    706 SHLIB_SUFFIX
    707 MAKE_LIB
    708 MAKE_STUB_LIB
    709 INSTALL_LIB
    710 INSTALL_STUB_LIB
    711 SHLIB_LDFLAGS
    712 INSTALL_PROGRAM
    713 INSTALL_SCRIPT
    714 INSTALL_DATA
    715 LN_S
    716 MKDIR_P
    717 CXX
    718 CXXFLAGS
    719 ac_ct_CXX
    720 CXXCPP
    721 SUBDIRS
    722 TCL_VERSION
    723 TCL_INC_SPEC
    724 TCL_LIB_SPEC
    725 RP2_INCL_DIR
    726 RP_DIR
    727 DX_DIR
    728 LIBOBJS
    729 LTLIBOBJS'
     731SHELL'
    730732ac_subst_files=''
    731733ac_user_opts='
     
    11731175  case $enable_option_checking in
    11741176    no) ;;
    1175     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
     1177    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    11761178   { (exit 1); exit 1; }; } ;;
    1177     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1179    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11781180  esac
    11791181fi
     
    12281230ac_ls_di=`ls -di .` &&
    12291231ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1230   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
     1232  { $as_echo "$as_me: error: working directory cannot be determined" >&2
    12311233   { (exit 1); exit 1; }; }
    12321234test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     
    14651467  cat <<\_ACEOF
    14661468vizservers configure 0.1
    1467 generated by GNU Autoconf 2.62
     1469generated by GNU Autoconf 2.63
    14681470
    14691471Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     
    14791481
    14801482It was created by vizservers $as_me 0.1, which was
    1481 generated by GNU Autoconf 2.62.  Invocation command line was
     1483generated by GNU Autoconf 2.63.  Invocation command line was
    14821484
    14831485  $ $0 $@
     
    16021604    *${as_nl}*)
    16031605      case $ac_var in #(
    1604       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    1605 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     1606      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     1607$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16061608      esac
    16071609      case $ac_var in #(
     
    18061808done
    18071809if $ac_cache_corrupted; then
     1810  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     1811$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    18081812  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    18091813$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     
    19541958    case $cross_compiling:$ac_tool_warned in
    19551959yes:)
    1956 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    1957 whose name does not start with the host triplet.  If you think this
    1958 configuration is useful to you, please write to autoconf@gnu.org." >&5
    1959 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    1960 whose name does not start with the host triplet.  If you think this
    1961 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     1960{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     1961$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    19621962ac_tool_warned=yes ;;
    19631963esac
     
    21582158    case $cross_compiling:$ac_tool_warned in
    21592159yes:)
    2160 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2161 whose name does not start with the host triplet.  If you think this
    2162 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2163 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2164 whose name does not start with the host triplet.  If you think this
    2165 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2160{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2161$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    21662162ac_tool_warned=yes ;;
    21672163esac
     
    21732169
    21742170
    2175 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2171test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2172$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2173{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    21762174See \`config.log' for more details." >&5
    21772175$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    21782176See \`config.log' for more details." >&2;}
    2179    { (exit 1); exit 1; }; }
     2177   { (exit 1); exit 1; }; }; }
    21802178
    21812179# Provide some information about the compiler.
     
    23072305sed 's/^/| /' conftest.$ac_ext >&5
    23082306
     2307{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2308$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    23092309{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    23102310See \`config.log' for more details." >&5
    23112311$as_echo "$as_me: error: C compiler cannot create executables
    23122312See \`config.log' for more details." >&2;}
    2313    { (exit 77); exit 77; }; }
     2313   { (exit 77); exit 77; }; }; }
    23142314fi
    23152315
     
    23392339        cross_compiling=yes
    23402340    else
    2341         { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2341        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2342$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2343{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    23422344If you meant to cross compile, use \`--host'.
    23432345See \`config.log' for more details." >&5
     
    23452347If you meant to cross compile, use \`--host'.
    23462348See \`config.log' for more details." >&2;}
    2347    { (exit 1); exit 1; }; }
     2349   { (exit 1); exit 1; }; }; }
    23482350    fi
    23492351  fi
     
    23882390done
    23892391else
    2390   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2392  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2394{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    23912395See \`config.log' for more details." >&5
    23922396$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    23932397See \`config.log' for more details." >&2;}
    2394    { (exit 1); exit 1; }; }
     2398   { (exit 1); exit 1; }; }; }
    23952399fi
    23962400
     
    24462450sed 's/^/| /' conftest.$ac_ext >&5
    24472451
     2452{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2453$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    24482454{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    24492455See \`config.log' for more details." >&5
    24502456$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    24512457See \`config.log' for more details." >&2;}
    2452    { (exit 1); exit 1; }; }
     2458   { (exit 1); exit 1; }; }; }
    24532459fi
    24542460
     
    28812887    case $cross_compiling:$ac_tool_warned in
    28822888yes:)
    2883 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2884 whose name does not start with the host triplet.  If you think this
    2885 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2886 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2887 whose name does not start with the host triplet.  If you think this
    2888 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2889{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2890$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    28892891ac_tool_warned=yes ;;
    28902892esac
     
    31163118  :
    31173119else
    3118   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3120  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3121$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3122{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    31193123See \`config.log' for more details." >&5
    31203124$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    31213125See \`config.log' for more details." >&2;}
    3122    { (exit 1); exit 1; }; }
     3126   { (exit 1); exit 1; }; }; }
    31233127fi
    31243128
     
    35033507               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    35043508$as_echo "$ac_res" >&6; }
    3505 if test `eval 'as_val=${'$as_ac_Header'}
    3506                  $as_echo "$as_val"'` = yes; then
     3509as_val=`eval 'as_val=${'$as_ac_Header'}
     3510                 $as_echo "$as_val"'`
     3511   if test "x$as_val" = x""yes; then
    35073512  cat >>confdefs.h <<_ACEOF
    35083513#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    36543659{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    36553660$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    3656 if test $ac_cv_lib_dl_dlopen = yes; then
     3661if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
    36573662  have_dl=yes
    36583663else
     
    38783883{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
    38793884$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    3880 if test $ac_cv_lib_bsd_gettimeofday = yes; then
     3885if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
    38813886  libbsd=yes
    38823887else
     
    39703975{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
    39713976$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    3972 if test $ac_cv_lib_bind_inet_ntoa = yes; then
     3977if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
    39733978  LIBS="$LIBS -lbind -lsocket"
    39743979fi
     
    40884093{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    40894094$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4090 if test $ac_cv_lib_dld_shl_load = yes; then
     4095if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
    40914096  tcl_ok=yes
    40924097else
     
    42064211{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    42074212$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4208 if test $ac_cv_lib_dld_shl_load = yes; then
     4213if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
    42094214  tcl_ok=yes
    42104215else
     
    44464451
    44474452fi
    4448 if test $ac_cv_header_dld_h = yes; then
     4453if test "x$ac_cv_header_dld_h" = x""yes; then
    44494454
    44504455                    SHLIB_LD="ld -shared"
     
    46894694
    46904695fi
    4691 if test $ac_cv_header_dld_h = yes; then
     4696if test "x$ac_cv_header_dld_h" = x""yes; then
    46924697
    46934698                    SHLIB_LD="ld -shared"
     
    48714876
    48724877fi
    4873 if test $ac_cv_header_dlfcn_h = yes; then
     4878if test "x$ac_cv_header_dlfcn_h" = x""yes; then
    48744879
    48754880                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    64276432    case $cross_compiling:$ac_tool_warned in
    64286433yes:)
    6429 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    6430 whose name does not start with the host triplet.  If you think this
    6431 configuration is useful to you, please write to autoconf@gnu.org." >&5
    6432 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    6433 whose name does not start with the host triplet.  If you think this
    6434 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     6434{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6435$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    64356436ac_tool_warned=yes ;;
    64366437esac
     
    65826583    case $cross_compiling:$ac_tool_warned in
    65836584yes:)
    6584 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    6585 whose name does not start with the host triplet.  If you think this
    6586 configuration is useful to you, please write to autoconf@gnu.org." >&5
    6587 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    6588 whose name does not start with the host triplet.  If you think this
    6589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     6585{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6586$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    65906587ac_tool_warned=yes ;;
    65916588esac
     
    67866783    case $cross_compiling:$ac_tool_warned in
    67876784yes:)
    6788 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    6789 whose name does not start with the host triplet.  If you think this
    6790 configuration is useful to you, please write to autoconf@gnu.org." >&5
    6791 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    6792 whose name does not start with the host triplet.  If you think this
    6793 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     6785{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6786$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    67946787ac_tool_warned=yes ;;
    67956788esac
     
    68016794
    68026795
    6803 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     6796test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     6797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     6798{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    68046799See \`config.log' for more details." >&5
    68056800$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    68066801See \`config.log' for more details." >&2;}
    6807    { (exit 1); exit 1; }; }
     6802   { (exit 1); exit 1; }; }; }
    68086803
    68096804# Provide some information about the compiler.
     
    74057400  :
    74067401else
    7407   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     7402  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     7403$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     7404{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    74087405See \`config.log' for more details." >&5
    74097406$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    74107407See \`config.log' for more details." >&2;}
    7411    { (exit 1); exit 1; }; }
     7408   { (exit 1); exit 1; }; }; }
    74127409fi
    74137410
     
    75197516    case $cross_compiling:$ac_tool_warned in
    75207517yes:)
    7521 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    7522 whose name does not start with the host triplet.  If you think this
    7523 configuration is useful to you, please write to autoconf@gnu.org." >&5
    7524 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    7525 whose name does not start with the host triplet.  If you think this
    7526 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     7518{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     7519$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    75277520ac_tool_warned=yes ;;
    75287521esac
     
    80118004  :
    80128005else
    8013   { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     8006  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8007$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8008{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    80148009See \`config.log' for more details." >&5
    80158010$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    80168011See \`config.log' for more details." >&2;}
    8017    { (exit 1); exit 1; }; }
     8012   { (exit 1); exit 1; }; }; }
    80188013fi
    80198014
     
    81258120    case $cross_compiling:$ac_tool_warned in
    81268121yes:)
    8127 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    8128 whose name does not start with the host triplet.  If you think this
    8129 configuration is useful to you, please write to autoconf@gnu.org." >&5
    8130 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    8131 whose name does not start with the host triplet.  If you think this
    8132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     8122{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     8123$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    81338124ac_tool_warned=yes ;;
    81348125esac
     
    84088399
    84098400
    8410 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     8401
     8402 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    84118403$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    84128404if test "${ac_cv_c_bigendian+set}" = set; then
    84138405  $as_echo_n "(cached) " >&6
    84148406else
    8415   # See if sys/param.h defines the BYTE_ORDER macro.
    8416 cat >conftest.$ac_ext <<_ACEOF
     8407  ac_cv_c_bigendian=unknown
     8408    # See if we're dealing with a universal compiler.
     8409    cat >conftest.$ac_ext <<_ACEOF
     8410/* confdefs.h.  */
     8411_ACEOF
     8412cat confdefs.h >>conftest.$ac_ext
     8413cat >>conftest.$ac_ext <<_ACEOF
     8414/* end confdefs.h.  */
     8415#ifndef __APPLE_CC__
     8416               not a universal capable compiler
     8417             #endif
     8418             typedef int dummy;
     8419
     8420_ACEOF
     8421rm -f conftest.$ac_objext
     8422if { (ac_try="$ac_compile"
     8423case "(($ac_try" in
     8424  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8425  *) ac_try_echo=$ac_try;;
     8426esac
     8427eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8428$as_echo "$ac_try_echo") >&5
     8429  (eval "$ac_compile") 2>conftest.er1
     8430  ac_status=$?
     8431  grep -v '^ *+' conftest.er1 >conftest.err
     8432  rm -f conftest.er1
     8433  cat conftest.err >&5
     8434  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8435  (exit $ac_status); } && {
     8436         test -z "$ac_cxx_werror_flag" ||
     8437         test ! -s conftest.err
     8438       } && test -s conftest.$ac_objext; then
     8439
     8440        # Check for potential -arch flags.  It is not universal unless
     8441        # there are some -arch flags.  Note that *ppc* also matches
     8442        # ppc64.  This check is also rather less than ideal.
     8443        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
     8444          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
     8445        esac
     8446else
     8447  $as_echo "$as_me: failed program was:" >&5
     8448sed 's/^/| /' conftest.$ac_ext >&5
     8449
     8450
     8451fi
     8452
     8453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8454    if test $ac_cv_c_bigendian = unknown; then
     8455      # See if sys/param.h defines the BYTE_ORDER macro.
     8456      cat >conftest.$ac_ext <<_ACEOF
    84178457/* confdefs.h.  */
    84188458_ACEOF
     
    84218461/* end confdefs.h.  */
    84228462#include <sys/types.h>
    8423 #include <sys/param.h>
     8463             #include <sys/param.h>
    84248464
    84258465int
    84268466main ()
    84278467{
    8428 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
    8429         && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
    8430  bogus endian macros
    8431 #endif
     8468#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
     8469                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
     8470                     && LITTLE_ENDIAN)
     8471              bogus endian macros
     8472             #endif
    84328473
    84338474  ;
     
    84548495       } && test -s conftest.$ac_objext; then
    84558496  # It does; now see whether it defined to BIG_ENDIAN or not.
    8456 cat >conftest.$ac_ext <<_ACEOF
     8497         cat >conftest.$ac_ext <<_ACEOF
    84578498/* confdefs.h.  */
    84588499_ACEOF
     
    84618502/* end confdefs.h.  */
    84628503#include <sys/types.h>
    8463 #include <sys/param.h>
     8504                #include <sys/param.h>
    84648505
    84658506int
     
    84678508{
    84688509#if BYTE_ORDER != BIG_ENDIAN
    8469  not big endian
    8470 #endif
     8510                not big endian
     8511                #endif
    84718512
    84728513  ;
     
    85058546sed 's/^/| /' conftest.$ac_ext >&5
    85068547
    8507         # It does not; compile a test program.
    8508 if test "$cross_compiling" = yes; then
    8509   # try to guess the endianness by grepping values into an object file
    8510   ac_cv_c_bigendian=unknown
    8511   cat >conftest.$ac_ext <<_ACEOF
     8548
     8549fi
     8550
     8551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8552    fi
     8553    if test $ac_cv_c_bigendian = unknown; then
     8554      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
     8555      cat >conftest.$ac_ext <<_ACEOF
    85128556/* confdefs.h.  */
    85138557_ACEOF
     
    85158559cat >>conftest.$ac_ext <<_ACEOF
    85168560/* end confdefs.h.  */
    8517 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    8518 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    8519 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    8520 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    8521 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    8522 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
     8561#include <limits.h>
     8562
    85238563int
    85248564main ()
    85258565{
    8526  _ascii (); _ebcdic ();
     8566#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
     8567              bogus endian macros
     8568             #endif
     8569
    85278570  ;
    85288571  return 0;
     
    85478590         test ! -s conftest.err
    85488591       } && test -s conftest.$ac_objext; then
    8549   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
     8592  # It does; now see whether it defined to _BIG_ENDIAN or not.
     8593         cat >conftest.$ac_ext <<_ACEOF
     8594/* confdefs.h.  */
     8595_ACEOF
     8596cat confdefs.h >>conftest.$ac_ext
     8597cat >>conftest.$ac_ext <<_ACEOF
     8598/* end confdefs.h.  */
     8599#include <limits.h>
     8600
     8601int
     8602main ()
     8603{
     8604#ifndef _BIG_ENDIAN
     8605                 not big endian
     8606                #endif
     8607
     8608  ;
     8609  return 0;
     8610}
     8611_ACEOF
     8612rm -f conftest.$ac_objext
     8613if { (ac_try="$ac_compile"
     8614case "(($ac_try" in
     8615  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8616  *) ac_try_echo=$ac_try;;
     8617esac
     8618eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8619$as_echo "$ac_try_echo") >&5
     8620  (eval "$ac_compile") 2>conftest.er1
     8621  ac_status=$?
     8622  grep -v '^ *+' conftest.er1 >conftest.err
     8623  rm -f conftest.er1
     8624  cat conftest.err >&5
     8625  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8626  (exit $ac_status); } && {
     8627         test -z "$ac_cxx_werror_flag" ||
     8628         test ! -s conftest.err
     8629       } && test -s conftest.$ac_objext; then
    85508630  ac_cv_c_bigendian=yes
    8551 fi
    8552 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    8553   if test "$ac_cv_c_bigendian" = unknown; then
    8554     ac_cv_c_bigendian=no
    8555   else
    8556     # finding both strings is unlikely to happen, but who knows?
    8557     ac_cv_c_bigendian=unknown
    8558   fi
    8559 fi
     8631else
     8632  $as_echo "$as_me: failed program was:" >&5
     8633sed 's/^/| /' conftest.$ac_ext >&5
     8634
     8635        ac_cv_c_bigendian=no
     8636fi
     8637
     8638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8639else
     8640  $as_echo "$as_me: failed program was:" >&5
     8641sed 's/^/| /' conftest.$ac_ext >&5
     8642
     8643
     8644fi
     8645
     8646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8647    fi
     8648    if test $ac_cv_c_bigendian = unknown; then
     8649      # Compile a test program.
     8650      if test "$cross_compiling" = yes; then
     8651  # Try to guess by grepping values from an object file.
     8652         cat >conftest.$ac_ext <<_ACEOF
     8653/* confdefs.h.  */
     8654_ACEOF
     8655cat confdefs.h >>conftest.$ac_ext
     8656cat >>conftest.$ac_ext <<_ACEOF
     8657/* end confdefs.h.  */
     8658short int ascii_mm[] =
     8659                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     8660                short int ascii_ii[] =
     8661                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     8662                int use_ascii (int i) {
     8663                  return ascii_mm[i] + ascii_ii[i];
     8664                }
     8665                short int ebcdic_ii[] =
     8666                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     8667                short int ebcdic_mm[] =
     8668                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     8669                int use_ebcdic (int i) {
     8670                  return ebcdic_mm[i] + ebcdic_ii[i];
     8671                }
     8672                extern int foo;
     8673
     8674int
     8675main ()
     8676{
     8677return use_ascii (foo) == use_ebcdic (foo);
     8678  ;
     8679  return 0;
     8680}
     8681_ACEOF
     8682rm -f conftest.$ac_objext
     8683if { (ac_try="$ac_compile"
     8684case "(($ac_try" in
     8685  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8686  *) ac_try_echo=$ac_try;;
     8687esac
     8688eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8689$as_echo "$ac_try_echo") >&5
     8690  (eval "$ac_compile") 2>conftest.er1
     8691  ac_status=$?
     8692  grep -v '^ *+' conftest.er1 >conftest.err
     8693  rm -f conftest.er1
     8694  cat conftest.err >&5
     8695  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8696  (exit $ac_status); } && {
     8697         test -z "$ac_cxx_werror_flag" ||
     8698         test ! -s conftest.err
     8699       } && test -s conftest.$ac_objext; then
     8700  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
     8701              ac_cv_c_bigendian=yes
     8702            fi
     8703            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     8704              if test "$ac_cv_c_bigendian" = unknown; then
     8705                ac_cv_c_bigendian=no
     8706              else
     8707                # finding both strings is unlikely to happen, but who knows?
     8708                ac_cv_c_bigendian=unknown
     8709              fi
     8710            fi
    85608711else
    85618712  $as_echo "$as_me: failed program was:" >&5
     
    85788729{
    85798730
    8580   /* Are we little or big endian?  From Harbison&Steele.  */
    8581   union
    8582   {
    8583     long int l;
    8584     char c[sizeof (long int)];
    8585   } u;
    8586   u.l = 1;
    8587   return u.c[sizeof (long int) - 1] == 1;
     8731             /* Are we little or big endian?  From Harbison&Steele.  */
     8732             union
     8733             {
     8734               long int l;
     8735               char c[sizeof (long int)];
     8736             } u;
     8737             u.l = 1;
     8738             return u.c[sizeof (long int) - 1] == 1;
    85888739
    85898740  ;
     
    86278778
    86288779
    8629 fi
    8630 
    8631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8780    fi
    86328781fi
    86338782{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    86348783$as_echo "$ac_cv_c_bigendian" >&6; }
    8635 case $ac_cv_c_bigendian in
    8636   yes)
     8784 case $ac_cv_c_bigendian in #(
     8785   yes)
     8786     cat >>confdefs.h <<\_ACEOF
     8787#define WORDS_BIGENDIAN 1
     8788_ACEOF
     8789;; #(
     8790   no)
     8791      ;; #(
     8792   universal)
    86378793
    86388794cat >>confdefs.h <<\_ACEOF
    8639 #define WORDS_BIGENDIAN 1
    8640 _ACEOF
    8641  ;;
    8642   no)
    8643      ;;
    8644   *)
    8645     { { $as_echo "$as_me:$LINENO: error: unknown endianness
    8646 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     8795#define AC_APPLE_UNIVERSAL_BUILD 1
     8796_ACEOF
     8797
     8798     ;; #(
     8799   *)
     8800     { { $as_echo "$as_me:$LINENO: error: unknown endianness
     8801 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    86478802$as_echo "$as_me: error: unknown endianness
    8648 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     8803 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    86498804   { (exit 1); exit 1; }; } ;;
    8650 esac
    8651 
     8805 esac
     8806
     8807
     8808LD_RPATH="";
    86528809
    86538810SUBDIRS="nanoscale nanovis pymolproxy"
     
    89009057
    89019058fi
    8902 if test `eval 'as_val=${'$as_ac_Header'}
    8903                  $as_echo "$as_val"'` = yes; then
     9059as_val=`eval 'as_val=${'$as_ac_Header'}
     9060                 $as_echo "$as_val"'`
     9061   if test "x$as_val" = x""yes; then
    89049062  cat >>confdefs.h <<_ACEOF
    89059063#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    93249482
    93259483
     9484if test "${ac_cv_header_GL_glew_h+set}" = set; then
     9485  { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
     9486$as_echo_n "checking for GL/glew.h... " >&6; }
     9487if test "${ac_cv_header_GL_glew_h+set}" = set; then
     9488  $as_echo_n "(cached) " >&6
     9489fi
     9490{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
     9491$as_echo "$ac_cv_header_GL_glew_h" >&6; }
     9492else
     9493  # Is the header compilable?
     9494{ $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5
     9495$as_echo_n "checking GL/glew.h usability... " >&6; }
     9496cat >conftest.$ac_ext <<_ACEOF
     9497/* confdefs.h.  */
     9498_ACEOF
     9499cat confdefs.h >>conftest.$ac_ext
     9500cat >>conftest.$ac_ext <<_ACEOF
     9501/* end confdefs.h.  */
     9502$ac_includes_default
     9503#include <GL/glew.h>
     9504_ACEOF
     9505rm -f conftest.$ac_objext
     9506if { (ac_try="$ac_compile"
     9507case "(($ac_try" in
     9508  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9509  *) ac_try_echo=$ac_try;;
     9510esac
     9511eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9512$as_echo "$ac_try_echo") >&5
     9513  (eval "$ac_compile") 2>conftest.er1
     9514  ac_status=$?
     9515  grep -v '^ *+' conftest.er1 >conftest.err
     9516  rm -f conftest.er1
     9517  cat conftest.err >&5
     9518  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9519  (exit $ac_status); } && {
     9520         test -z "$ac_cxx_werror_flag" ||
     9521         test ! -s conftest.err
     9522       } && test -s conftest.$ac_objext; then
     9523  ac_header_compiler=yes
     9524else
     9525  $as_echo "$as_me: failed program was:" >&5
     9526sed 's/^/| /' conftest.$ac_ext >&5
     9527
     9528        ac_header_compiler=no
     9529fi
     9530
     9531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9532{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9533$as_echo "$ac_header_compiler" >&6; }
     9534
     9535# Is the header present?
     9536{ $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5
     9537$as_echo_n "checking GL/glew.h presence... " >&6; }
     9538cat >conftest.$ac_ext <<_ACEOF
     9539/* confdefs.h.  */
     9540_ACEOF
     9541cat confdefs.h >>conftest.$ac_ext
     9542cat >>conftest.$ac_ext <<_ACEOF
     9543/* end confdefs.h.  */
     9544#include <GL/glew.h>
     9545_ACEOF
     9546if { (ac_try="$ac_cpp conftest.$ac_ext"
     9547case "(($ac_try" in
     9548  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9549  *) ac_try_echo=$ac_try;;
     9550esac
     9551eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9552$as_echo "$ac_try_echo") >&5
     9553  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     9554  ac_status=$?
     9555  grep -v '^ *+' conftest.er1 >conftest.err
     9556  rm -f conftest.er1
     9557  cat conftest.err >&5
     9558  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9559  (exit $ac_status); } >/dev/null && {
     9560         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     9561         test ! -s conftest.err
     9562       }; then
     9563  ac_header_preproc=yes
     9564else
     9565  $as_echo "$as_me: failed program was:" >&5
     9566sed 's/^/| /' conftest.$ac_ext >&5
     9567
     9568  ac_header_preproc=no
     9569fi
     9570
     9571rm -f conftest.err conftest.$ac_ext
     9572{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9573$as_echo "$ac_header_preproc" >&6; }
     9574
     9575# So?  What about this header?
     9576case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     9577  yes:no: )
     9578    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5
     9579$as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9580    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5
     9581$as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}
     9582    ac_header_preproc=yes
     9583    ;;
     9584  no:yes:* )
     9585    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5
     9586$as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}
     9587    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&5
     9588$as_echo "$as_me: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&2;}
     9589    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5
     9590$as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}
     9591    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&5
     9592$as_echo "$as_me: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     9593    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5
     9594$as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}
     9595    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5
     9596$as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}
     9597    ( cat <<\_ASBOX
     9598## ----------------------------------- ##
     9599## Report this to rappture@nanohub.org ##
     9600## ----------------------------------- ##
     9601_ASBOX
     9602     ) | sed "s/^/$as_me: WARNING:     /" >&2
     9603    ;;
     9604esac
     9605{ $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
     9606$as_echo_n "checking for GL/glew.h... " >&6; }
     9607if test "${ac_cv_header_GL_glew_h+set}" = set; then
     9608  $as_echo_n "(cached) " >&6
     9609else
     9610  ac_cv_header_GL_glew_h=$ac_header_preproc
     9611fi
     9612{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
     9613$as_echo "$ac_cv_header_GL_glew_h" >&6; }
     9614
     9615fi
     9616
     9617
     9618if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
     9619  { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
     9620$as_echo_n "checking for Cg/cgGL.h... " >&6; }
     9621if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
     9622  $as_echo_n "(cached) " >&6
     9623fi
     9624{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
     9625$as_echo "$ac_cv_header_Cg_cgGL_h" >&6; }
     9626else
     9627  # Is the header compilable?
     9628{ $as_echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&5
     9629$as_echo_n "checking Cg/cgGL.h usability... " >&6; }
     9630cat >conftest.$ac_ext <<_ACEOF
     9631/* confdefs.h.  */
     9632_ACEOF
     9633cat confdefs.h >>conftest.$ac_ext
     9634cat >>conftest.$ac_ext <<_ACEOF
     9635/* end confdefs.h.  */
     9636$ac_includes_default
     9637#include <Cg/cgGL.h>
     9638_ACEOF
     9639rm -f conftest.$ac_objext
     9640if { (ac_try="$ac_compile"
     9641case "(($ac_try" in
     9642  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9643  *) ac_try_echo=$ac_try;;
     9644esac
     9645eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9646$as_echo "$ac_try_echo") >&5
     9647  (eval "$ac_compile") 2>conftest.er1
     9648  ac_status=$?
     9649  grep -v '^ *+' conftest.er1 >conftest.err
     9650  rm -f conftest.er1
     9651  cat conftest.err >&5
     9652  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9653  (exit $ac_status); } && {
     9654         test -z "$ac_cxx_werror_flag" ||
     9655         test ! -s conftest.err
     9656       } && test -s conftest.$ac_objext; then
     9657  ac_header_compiler=yes
     9658else
     9659  $as_echo "$as_me: failed program was:" >&5
     9660sed 's/^/| /' conftest.$ac_ext >&5
     9661
     9662        ac_header_compiler=no
     9663fi
     9664
     9665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9666{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9667$as_echo "$ac_header_compiler" >&6; }
     9668
     9669# Is the header present?
     9670{ $as_echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&5
     9671$as_echo_n "checking Cg/cgGL.h presence... " >&6; }
     9672cat >conftest.$ac_ext <<_ACEOF
     9673/* confdefs.h.  */
     9674_ACEOF
     9675cat confdefs.h >>conftest.$ac_ext
     9676cat >>conftest.$ac_ext <<_ACEOF
     9677/* end confdefs.h.  */
     9678#include <Cg/cgGL.h>
     9679_ACEOF
     9680if { (ac_try="$ac_cpp conftest.$ac_ext"
     9681case "(($ac_try" in
     9682  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9683  *) ac_try_echo=$ac_try;;
     9684esac
     9685eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9686$as_echo "$ac_try_echo") >&5
     9687  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     9688  ac_status=$?
     9689  grep -v '^ *+' conftest.er1 >conftest.err
     9690  rm -f conftest.er1
     9691  cat conftest.err >&5
     9692  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9693  (exit $ac_status); } >/dev/null && {
     9694         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     9695         test ! -s conftest.err
     9696       }; then
     9697  ac_header_preproc=yes
     9698else
     9699  $as_echo "$as_me: failed program was:" >&5
     9700sed 's/^/| /' conftest.$ac_ext >&5
     9701
     9702  ac_header_preproc=no
     9703fi
     9704
     9705rm -f conftest.err conftest.$ac_ext
     9706{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9707$as_echo "$ac_header_preproc" >&6; }
     9708
     9709# So?  What about this header?
     9710case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     9711  yes:no: )
     9712    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&5
     9713$as_echo "$as_me: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9714    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&5
     9715$as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;}
     9716    ac_header_preproc=yes
     9717    ;;
     9718  no:yes:* )
     9719    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&5
     9720$as_echo "$as_me: WARNING: Cg/cgGL.h: present but cannot be compiled" >&2;}
     9721    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h:     check for missing prerequisite headers?" >&5
     9722$as_echo "$as_me: WARNING: Cg/cgGL.h:     check for missing prerequisite headers?" >&2;}
     9723    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&5
     9724$as_echo "$as_me: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&2;}
     9725    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h:     section \"Present But Cannot Be Compiled\"" >&5
     9726$as_echo "$as_me: WARNING: Cg/cgGL.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     9727    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&5
     9728$as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&2;}
     9729    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&5
     9730$as_echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;}
     9731    ( cat <<\_ASBOX
     9732## ----------------------------------- ##
     9733## Report this to rappture@nanohub.org ##
     9734## ----------------------------------- ##
     9735_ASBOX
     9736     ) | sed "s/^/$as_me: WARNING:     /" >&2
     9737    ;;
     9738esac
     9739{ $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
     9740$as_echo_n "checking for Cg/cgGL.h... " >&6; }
     9741if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
     9742  $as_echo_n "(cached) " >&6
     9743else
     9744  ac_cv_header_Cg_cgGL_h=$ac_header_preproc
     9745fi
     9746{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
     9747$as_echo "$ac_cv_header_Cg_cgGL_h" >&6; }
     9748
     9749fi
     9750
     9751
    93269752
    93279753
     
    94699895
    94709896fi
    9471 if test `eval 'as_val=${'$as_ac_Header'}
    9472                  $as_echo "$as_val"'` = yes; then
     9897as_val=`eval 'as_val=${'$as_ac_Header'}
     9898                 $as_echo "$as_val"'`
     9899   if test "x$as_val" = x""yes; then
    94739900  cat >>confdefs.h <<_ACEOF
    94749901#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    962310050
    962410051fi
    9625 if test `eval 'as_val=${'$as_ac_Header'}
    9626                  $as_echo "$as_val"'` = yes; then
     10052as_val=`eval 'as_val=${'$as_ac_Header'}
     10053                 $as_echo "$as_val"'`
     10054   if test "x$as_val" = x""yes; then
    962710055  cat >>confdefs.h <<_ACEOF
    962810056#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    965210080   { (exit 1); exit 1; }; }
    965310081fi
     10082
    965410083if test "${DX_DIR}" = "/usr" ; then
    965510084  DX_DIR=""
    9656 fi
     10085else
     10086  LD_RPATH="$loader_run_path:${DX_DIR}/lib"
     10087fi
     10088
    965710089
    965810090{ $as_echo "$as_me:$LINENO: result: ${DX_DIR}" >&5
    965910091$as_echo "${DX_DIR}" >&6; }
     10092
     10093{ $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
     10094$as_echo_n "checking for nVidia Cg installation... " >&6; }
     10095CG_DIR=""
     10096for dir in \
     10097 /opt/nvidia-cg-toolkit \
     10098 /usr/cg \
     10099 /usr
     10100do
     10101  if test -r "${dir}/include/Cg/cgGL.h" ; then
     10102    CG_DIR="$dir"
     10103    break
     10104  fi
     10105done
     10106if test "x${CG_DIR}" = "x" ; then
     10107  { { $as_echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&5
     10108$as_echo "$as_me: error: can't find nVidia Cg installation" >&2;}
     10109   { (exit 1); exit 1; }; }
     10110fi
     10111
     10112if test "${CG_DIR}" = "/usr" ; then
     10113  CG_DIR=""
     10114else
     10115  LD_RPATH="$loader_run_path:${CG_DIR}/lib"
     10116fi
     10117
     10118
     10119{ $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
     10120$as_echo "${CG_DIR}" >&6; }
     10121
    966010122
    966110123
     
    969010152    *${as_nl}*)
    969110153      case $ac_var in #(
    9692       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    9693 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     10154      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     10155$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    969410156      esac
    969510157      case $ac_var in #(
     
    976110223
    976210224
     10225
    976310226: ${CONFIG_STATUS=./config.status}
    976410227ac_write_fail=0
     
    1008310546ac_log="
    1008410547This file was extended by vizservers $as_me 0.1, which was
    10085 generated by GNU Autoconf 2.62.  Invocation command line was
     10548generated by GNU Autoconf 2.63.  Invocation command line was
    1008610549
    1008710550  CONFIG_FILES    = $CONFIG_FILES
     
    1009610559_ACEOF
    1009710560
     10561case $ac_config_files in *"
     10562"*) set x $ac_config_files; shift; ac_config_files=$*;;
     10563esac
     10564
     10565case $ac_config_headers in *"
     10566"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
     10567esac
     10568
     10569
    1009810570cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    1009910571# Files that config.status was made for.
    10100 config_files="`echo $ac_config_files`"
    10101 config_headers="`echo $ac_config_headers`"
     10572config_files="$ac_config_files"
     10573config_headers="$ac_config_headers"
    1010210574
    1010310575_ACEOF
     
    1010810580current configuration.
    1010910581
    10110 Usage: $0 [OPTIONS] [FILE]...
     10582Usage: $0 [OPTION]... [FILE]...
    1011110583
    1011210584  -h, --help       print this help, then exit
    1011310585  -V, --version    print version number and configuration settings, then exit
    10114   -q, --quiet      do not print progress messages
     10586  -q, --quiet, --silent
     10587                   do not print progress messages
    1011510588  -d, --debug      don't remove temporary files
    1011610589      --recheck    update $as_me by reconfiguring in the same conditions
    10117   --file=FILE[:TEMPLATE]
     10590      --file=FILE[:TEMPLATE]
    1011810591                   instantiate the configuration file FILE
    10119   --header=FILE[:TEMPLATE]
     10592      --header=FILE[:TEMPLATE]
    1012010593                   instantiate the configuration header FILE
    1012110594
     
    1013210605ac_cs_version="\\
    1013310606vizservers config.status 0.1
    10134 configured by $0, generated by GNU Autoconf 2.62,
     10607configured by $0, generated by GNU Autoconf 2.63,
    1013510608  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    1013610609
     
    1033910812   { (exit 1); exit 1; }; }
    1034010813
    10341   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
     10814  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     10815  if test $ac_delim_n = $ac_delim_num; then
    1034210816    break
    1034310817  elif $ac_last_try; then
     
    1054411018  split(mac1, mac2, "(") #)
    1054511019  macro = mac2[1]
     11020  prefix = substr(line, 1, index(line, defundef) - 1)
    1054611021  if (D_is_set[macro]) {
    1054711022    # Preserve the white space surrounding the "#".
    10548     prefix = substr(line, 1, index(line, defundef) - 1)
    1054911023    print prefix "define", macro P[macro] D[macro]
    1055011024    next
     
    1055411028    # on some systems where configure will not decide to define it.
    1055511029    if (defundef == "undef") {
    10556       print "/*", line, "*/"
     11030      print "/*", prefix defundef, macro, "*/"
    1055711031      next
    1055811032    }
     
    1057811052  case $ac_mode$ac_tag in
    1057911053  :[FHL]*:*);;
    10580   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
    10581 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
     11054  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
     11055$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
    1058211056   { (exit 1); exit 1; }; };;
    1058311057  :[FH]-) ac_tag=-:-;;
     
    1090811382fi
    1090911383if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    10910   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
    10911 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
    10912 fi
    10913 
     11384  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     11385$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     11386fi
     11387
Note: See TracChangeset for help on using the changeset viewer.