Changeset 4840 for branches/r9/configure
- Timestamp:
- Dec 11, 2014 11:11:42 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/r9/configure
r4213 r4840 626 626 LIBOBJS 627 627 subdirs 628 WORDSIZE 629 X_LIBRARIES 630 X_INCLUDES 631 STATSDIR 628 632 VTK_VERSION 629 633 VTK_TCL_DIR … … 726 730 MEX 727 731 MATLAB 728 TCLSH729 732 INSTALL_STUB_LIB 730 733 INSTALL_LIB … … 751 754 AR 752 755 CXXCPP 756 XMKMF 753 757 EGREP 754 758 GREP … … 815 819 ac_user_opts=' 816 820 enable_option_checking 821 with_x 817 822 with_install 823 with_statsdir 818 824 enable_64bit 819 825 enable_64bit_vis … … 823 829 enable_gui 824 830 with_ffmpeg 825 with_tclsh826 831 with_vtk 827 832 enable_vtkdicom … … 853 858 FFLAGS 854 859 CPP 860 XMKMF 855 861 CXXCPP' 856 862 ac_subdirs_all='packages/optimizer/src ' … … 1451 1457 cat <<\_ACEOF 1452 1458 1459 X features: 1460 --x-includes=DIR X include files are in DIR 1461 --x-libraries=DIR X library files are in DIR 1462 1453 1463 System types: 1454 1464 --build=BUILD configure for building on BUILD [guessed] … … 1481 1491 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1482 1492 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1493 --with-x use the X Window System 1483 1494 --with-install=DIR location of installation [default=yes] 1495 --with-statsdir=DIR Write statistics in DIR 1484 1496 --with-ffmpeg=DIR location of ffmpeg [default=yes] 1485 --with-tclsh=DIR location of tclsh [default=yes]1486 1497 --with-vtk=version VTK library version [default=6.1] 1487 1498 --with-matlab=DIR location of matlab and mex compiler [default=yes] … … 1511 1522 FFLAGS Fortran 77 compiler flags 1512 1523 CPP C preprocessor 1524 XMKMF Path to xmkmf, Makefile generator for X Window System 1513 1525 CXXCPP C++ preprocessor 1514 1526 … … 1899 1911 } # ac_fn_c_check_func 1900 1912 1913 # ac_fn_cxx_try_cpp LINENO 1914 # ------------------------ 1915 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1916 ac_fn_cxx_try_cpp () 1917 { 1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1919 if { { ac_try="$ac_cpp conftest.$ac_ext" 1920 case "(($ac_try" in 1921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1922 *) ac_try_echo=$ac_try;; 1923 esac 1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1925 $as_echo "$ac_try_echo"; } >&5 1926 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1927 ac_status=$? 1928 if test -s conftest.err; then 1929 grep -v '^ *+' conftest.err >conftest.er1 1930 cat conftest.er1 >&5 1931 mv -f conftest.er1 conftest.err 1932 fi 1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1934 test $ac_status = 0; } > conftest.i && { 1935 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1936 test ! -s conftest.err 1937 }; then : 1938 ac_retval=0 1939 else 1940 $as_echo "$as_me: failed program was:" >&5 1941 sed 's/^/| /' conftest.$ac_ext >&5 1942 1943 ac_retval=1 1944 fi 1945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1946 as_fn_set_status $ac_retval 1947 1948 } # ac_fn_cxx_try_cpp 1949 1901 1950 # ac_fn_cxx_try_link LINENO 1902 1951 # ------------------------- … … 2011 2060 2012 2061 } # ac_fn_cxx_check_func 2013 2014 # ac_fn_cxx_try_cpp LINENO2015 # ------------------------2016 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.2017 ac_fn_cxx_try_cpp ()2018 {2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2020 if { { ac_try="$ac_cpp conftest.$ac_ext"2021 case "(($ac_try" in2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2023 *) ac_try_echo=$ac_try;;2024 esac2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2026 $as_echo "$ac_try_echo"; } >&52027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err2028 ac_status=$?2029 if test -s conftest.err; then2030 grep -v '^ *+' conftest.err >conftest.er12031 cat conftest.er1 >&52032 mv -f conftest.er1 conftest.err2033 fi2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52035 test $ac_status = 0; } > conftest.i && {2036 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||2037 test ! -s conftest.err2038 }; then :2039 ac_retval=02040 else2041 $as_echo "$as_me: failed program was:" >&52042 sed 's/^/| /' conftest.$ac_ext >&52043 2044 ac_retval=12045 fi2046 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2047 as_fn_set_status $ac_retval2048 2049 } # ac_fn_cxx_try_cpp2050 2062 2051 2063 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES … … 2790 2802 fi 2791 2803 2792 2793 # Check whether --with-install was given.2794 if test "${with_install+set}" = set; then :2795 withval=$with_install;2796 else2797 with_install=yes2798 fi2799 2800 2801 if test "$with_install" != "yes"; then2802 INSTALL_PREFIX=$with_install2803 else2804 INSTALL_PREFIX=$prefix2805 fi2806 2807 2808 if test "${libdir}" != "${prefix}/lib"; then2809 LIB_SEARCH_DIRS="-L${prefix}/lib -L${libdir}"2810 else2811 LIB_SEARCH_DIRS="-L${libdir}"2812 fi2813 2814 2815 2804 # Find a good install program. We prefer a C program (faster), 2816 2805 # so one script is as good as another. But avoid the broken or … … 4747 4736 4748 4737 4749 4750 for ac_func in sysinfo4751 do :4752 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"4753 if test "x$ac_cv_func_sysinfo" = xyes; then :4754 cat >>confdefs.h <<_ACEOF4755 #define HAVE_SYSINFO 14756 _ACEOF4757 4758 fi4759 done4760 4761 for ac_func in gettimeofday4762 do :4763 ac_fn_cxx_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"4764 if test "x$ac_cv_func_gettimeofday" = xyes; then :4765 cat >>confdefs.h <<_ACEOF4766 #define HAVE_GETTIMEOFDAY 14767 _ACEOF4768 4769 fi4770 done4771 4772 ac_fn_cxx_check_func "$LINENO" "localtime" "ac_cv_func_localtime"4773 if test "x$ac_cv_func_localtime" = xyes; then :4774 4775 else4776 as_fn_error $? "oops! no localtime ?!?" "$LINENO" 54777 fi4778 4779 ac_fn_cxx_check_func "$LINENO" "getenv" "ac_cv_func_getenv"4780 if test "x$ac_cv_func_getenv" = xyes; then :4781 4782 else4783 as_fn_error $? "oops! no getenv ?!?" "$LINENO" 54784 fi4785 4786 4787 4738 ac_ext=cpp 4788 4739 ac_cpp='$CXXCPP $CPPFLAGS' … … 4917 4868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4918 4869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4870 4871 4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 4873 $as_echo_n "checking for X... " >&6; } 4874 4875 4876 # Check whether --with-x was given. 4877 if test "${with_x+set}" = set; then : 4878 withval=$with_x; 4879 fi 4880 4881 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. 4882 if test "x$with_x" = xno; then 4883 # The user explicitly disabled X. 4884 have_x=disabled 4885 else 4886 case $x_includes,$x_libraries in #( 4887 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 4888 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 4889 $as_echo_n "(cached) " >&6 4890 else 4891 # One or both of the vars are not set, and there is no cached value. 4892 ac_x_includes=no ac_x_libraries=no 4893 rm -f -r conftest.dir 4894 if mkdir conftest.dir; then 4895 cd conftest.dir 4896 cat >Imakefile <<'_ACEOF' 4897 incroot: 4898 @echo incroot='${INCROOT}' 4899 usrlibdir: 4900 @echo usrlibdir='${USRLIBDIR}' 4901 libdir: 4902 @echo libdir='${LIBDIR}' 4903 _ACEOF 4904 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 4905 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4906 for ac_var in incroot usrlibdir libdir; do 4907 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 4908 done 4909 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 4910 for ac_extension in a so sl dylib la dll; do 4911 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 4912 test -f "$ac_im_libdir/libX11.$ac_extension"; then 4913 ac_im_usrlibdir=$ac_im_libdir; break 4914 fi 4915 done 4916 # Screen out bogus values from the imake configuration. They are 4917 # bogus both because they are the default anyway, and because 4918 # using them would break gcc on systems where it needs fixed includes. 4919 case $ac_im_incroot in 4920 /usr/include) ac_x_includes= ;; 4921 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 4922 esac 4923 case $ac_im_usrlibdir in 4924 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 4925 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 4926 esac 4927 fi 4928 cd .. 4929 rm -f -r conftest.dir 4930 fi 4931 4932 # Standard set of common directories for X headers. 4933 # Check X11 before X11Rn because it is often a symlink to the current release. 4934 ac_x_header_dirs=' 4935 /usr/X11/include 4936 /usr/X11R7/include 4937 /usr/X11R6/include 4938 /usr/X11R5/include 4939 /usr/X11R4/include 4940 4941 /usr/include/X11 4942 /usr/include/X11R7 4943 /usr/include/X11R6 4944 /usr/include/X11R5 4945 /usr/include/X11R4 4946 4947 /usr/local/X11/include 4948 /usr/local/X11R7/include 4949 /usr/local/X11R6/include 4950 /usr/local/X11R5/include 4951 /usr/local/X11R4/include 4952 4953 /usr/local/include/X11 4954 /usr/local/include/X11R7 4955 /usr/local/include/X11R6 4956 /usr/local/include/X11R5 4957 /usr/local/include/X11R4 4958 4959 /usr/X386/include 4960 /usr/x386/include 4961 /usr/XFree86/include/X11 4962 4963 /usr/include 4964 /usr/local/include 4965 /usr/unsupported/include 4966 /usr/athena/include 4967 /usr/local/x11r5/include 4968 /usr/lpp/Xamples/include 4969 4970 /usr/openwin/include 4971 /usr/openwin/share/include' 4972 4973 if test "$ac_x_includes" = no; then 4974 # Guess where to find include files, by looking for Xlib.h. 4975 # First, try using that file with no special directory specified. 4976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4977 /* end confdefs.h. */ 4978 #include <X11/Xlib.h> 4979 _ACEOF 4980 if ac_fn_cxx_try_cpp "$LINENO"; then : 4981 # We can compile using X headers with no special include directory. 4982 ac_x_includes= 4983 else 4984 for ac_dir in $ac_x_header_dirs; do 4985 if test -r "$ac_dir/X11/Xlib.h"; then 4986 ac_x_includes=$ac_dir 4987 break 4988 fi 4989 done 4990 fi 4991 rm -f conftest.err conftest.i conftest.$ac_ext 4992 fi # $ac_x_includes = no 4993 4994 if test "$ac_x_libraries" = no; then 4995 # Check for the libraries. 4996 # See if we find them without any special options. 4997 # Don't add to $LIBS permanently. 4998 ac_save_LIBS=$LIBS 4999 LIBS="-lX11 $LIBS" 5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5001 /* end confdefs.h. */ 5002 #include <X11/Xlib.h> 5003 int 5004 main () 5005 { 5006 XrmInitialize () 5007 ; 5008 return 0; 5009 } 5010 _ACEOF 5011 if ac_fn_cxx_try_link "$LINENO"; then : 5012 LIBS=$ac_save_LIBS 5013 # We can link X programs with no special library path. 5014 ac_x_libraries= 5015 else 5016 LIBS=$ac_save_LIBS 5017 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 5018 do 5019 # Don't even attempt the hair of trying to link an X program! 5020 for ac_extension in a so sl dylib la dll; do 5021 if test -r "$ac_dir/libX11.$ac_extension"; then 5022 ac_x_libraries=$ac_dir 5023 break 2 5024 fi 5025 done 5026 done 5027 fi 5028 rm -f core conftest.err conftest.$ac_objext \ 5029 conftest$ac_exeext conftest.$ac_ext 5030 fi # $ac_x_libraries = no 5031 5032 case $ac_x_includes,$ac_x_libraries in #( 5033 no,* | *,no | *\'*) 5034 # Didn't find X, or a directory has "'" in its name. 5035 ac_cv_have_x="have_x=no";; #( 5036 *) 5037 # Record where we found X for the cache. 5038 ac_cv_have_x="have_x=yes\ 5039 ac_x_includes='$ac_x_includes'\ 5040 ac_x_libraries='$ac_x_libraries'" 5041 esac 5042 fi 5043 ;; #( 5044 *) have_x=yes;; 5045 esac 5046 eval "$ac_cv_have_x" 5047 fi # $with_x != no 5048 5049 if test "$have_x" != yes; then 5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 5051 $as_echo "$have_x" >&6; } 5052 no_x=yes 5053 else 5054 # If each of the values was on the command line, it overrides each guess. 5055 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 5056 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 5057 # Update the cache value to reflect the command line values. 5058 ac_cv_have_x="have_x=yes\ 5059 ac_x_includes='$x_includes'\ 5060 ac_x_libraries='$x_libraries'" 5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 5062 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 5063 fi 5064 5065 5066 5067 # Check whether --with-install was given. 5068 if test "${with_install+set}" = set; then : 5069 withval=$with_install; 5070 else 5071 with_install=yes 5072 fi 5073 5074 5075 if test "$with_install" != "yes"; then 5076 INSTALL_PREFIX=$with_install 5077 else 5078 INSTALL_PREFIX=$prefix 5079 fi 5080 5081 if test "${libdir}" != "${prefix}/lib"; then 5082 LIB_SEARCH_DIRS="-L${prefix}/lib -L${libdir}" 5083 else 5084 LIB_SEARCH_DIRS="-L${libdir}" 5085 fi 5086 5087 5088 # Check whether --with-statsdir was given. 5089 if test "${with_statsdir+set}" = set; then : 5090 withval=$with_statsdir; STATSDIR=$withval 5091 else 5092 STATSDIR="/var/tmp/visservers" 5093 fi 5094 5095 5096 5097 for ac_func in sysinfo 5098 do : 5099 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 5100 if test "x$ac_cv_func_sysinfo" = xyes; then : 5101 cat >>confdefs.h <<_ACEOF 5102 #define HAVE_SYSINFO 1 5103 _ACEOF 5104 5105 fi 5106 done 5107 5108 for ac_func in gettimeofday 5109 do : 5110 ac_fn_cxx_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 5111 if test "x$ac_cv_func_gettimeofday" = xyes; then : 5112 cat >>confdefs.h <<_ACEOF 5113 #define HAVE_GETTIMEOFDAY 1 5114 _ACEOF 5115 5116 fi 5117 done 5118 5119 ac_fn_cxx_check_func "$LINENO" "localtime" "ac_cv_func_localtime" 5120 if test "x$ac_cv_func_localtime" = xyes; then : 5121 5122 else 5123 as_fn_error $? "oops! no localtime ?!?" "$LINENO" 5 5124 fi 5125 5126 ac_fn_cxx_check_func "$LINENO" "getenv" "ac_cv_func_getenv" 5127 if test "x$ac_cv_func_getenv" = xyes; then : 5128 5129 else 5130 as_fn_error $? "oops! no getenv ?!?" "$LINENO" 5 5131 fi 4919 5132 4920 5133 … … 7356 7569 7357 7570 7358 7359 # Check whether --with-tclsh was given.7360 if test "${with_tclsh+set}" = set; then :7361 withval=$with_tclsh;7362 else7363 with_tclsh=yes7364 fi7365 7366 7367 TCLSH=""7368 if test "${with_tclsh}" != "no" ; then7369 tclsh="tclsh${TCL_VERSION}"7370 if test "${with_tclsh}" = "yes" ; then7371 # Extract the first word of "${tclsh}", so it can be a program name with args.7372 set dummy ${tclsh}; ac_word=$27373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57374 $as_echo_n "checking for $ac_word... " >&6; }7375 if ${ac_cv_path_TCLSH+:} false; then :7376 $as_echo_n "(cached) " >&67377 else7378 case $TCLSH in7379 [\\/]* | ?:[\\/]*)7380 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.7381 ;;7382 *)7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7384 as_dummy="${exec_prefix}/bin:${PATH}"7385 for as_dir in $as_dummy7386 do7387 IFS=$as_save_IFS7388 test -z "$as_dir" && as_dir=.7389 for ac_exec_ext in '' $ac_executable_extensions; do7390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7391 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"7392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57393 break 27394 fi7395 done7396 done7397 IFS=$as_save_IFS7398 7399 ;;7400 esac7401 fi7402 TCLSH=$ac_cv_path_TCLSH7403 if test -n "$TCLSH"; then7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&57405 $as_echo "$TCLSH" >&6; }7406 else7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57408 $as_echo "no" >&6; }7409 fi7410 7411 7412 else7413 # Extract the first word of "${tclsh}", so it can be a program name with args.7414 set dummy ${tclsh}; ac_word=$27415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57416 $as_echo_n "checking for $ac_word... " >&6; }7417 if ${ac_cv_path_TCLSH+:} false; then :7418 $as_echo_n "(cached) " >&67419 else7420 case $TCLSH in7421 [\\/]* | ?:[\\/]*)7422 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.7423 ;;7424 *)7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7426 as_dummy="${with_tclsh}/bin:${with_tclsh}"7427 for as_dir in $as_dummy7428 do7429 IFS=$as_save_IFS7430 test -z "$as_dir" && as_dir=.7431 for ac_exec_ext in '' $ac_executable_extensions; do7432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7433 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"7434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57435 break 27436 fi7437 done7438 done7439 IFS=$as_save_IFS7440 7441 ;;7442 esac7443 fi7444 TCLSH=$ac_cv_path_TCLSH7445 if test -n "$TCLSH"; then7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&57447 $as_echo "$TCLSH" >&6; }7448 else7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57450 $as_echo "no" >&6; }7451 fi7452 7453 7454 fi7455 if test "x${TCLSH}" = "x" ; then7456 as_fn_error $? "can't find tclsh" "$LINENO" 57457 fi7458 fi7459 7460 7461 7571 TCL_INC_SPEC="$TCL_INCLUDE_SPEC" 7462 7572 … … 10135 10245 10136 10246 MAKE=${make_command} 10247 10248 10249 10137 10250 10138 10251
Note: See TracChangeset
for help on using the changeset viewer.