Changeset 1115 for trunk/packages
- Timestamp:
- Aug 18, 2008, 1:40:36 PM (16 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/configure
r1114 r1115 1844 1844 1845 1845 1846 ac_config_headers="$ac_config_headers nanoscale/config.h" 1847 1846 1848 1847 1849 VERSION=0.0.1 … … 9323 9325 9324 9326 9327 9328 9329 9330 9331 9332 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 9333 do 9334 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9336 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9337 $as_echo_n "checking for $ac_header... " >&6; } 9338 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9339 $as_echo_n "(cached) " >&6 9340 fi 9341 ac_res=`eval 'as_val=${'$as_ac_Header'} 9342 $as_echo "$as_val"'` 9343 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9344 $as_echo "$ac_res" >&6; } 9345 else 9346 # Is the header compilable? 9347 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9348 $as_echo_n "checking $ac_header usability... " >&6; } 9349 cat >conftest.$ac_ext <<_ACEOF 9350 /* confdefs.h. */ 9351 _ACEOF 9352 cat confdefs.h >>conftest.$ac_ext 9353 cat >>conftest.$ac_ext <<_ACEOF 9354 /* end confdefs.h. */ 9355 $ac_includes_default 9356 #include <$ac_header> 9357 _ACEOF 9358 rm -f conftest.$ac_objext 9359 if { (ac_try="$ac_compile" 9360 case "(($ac_try" in 9361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9362 *) ac_try_echo=$ac_try;; 9363 esac 9364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9365 $as_echo "$ac_try_echo") >&5 9366 (eval "$ac_compile") 2>conftest.er1 9367 ac_status=$? 9368 grep -v '^ *+' conftest.er1 >conftest.err 9369 rm -f conftest.er1 9370 cat conftest.err >&5 9371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9372 (exit $ac_status); } && { 9373 test -z "$ac_cxx_werror_flag" || 9374 test ! -s conftest.err 9375 } && test -s conftest.$ac_objext; then 9376 ac_header_compiler=yes 9377 else 9378 $as_echo "$as_me: failed program was:" >&5 9379 sed 's/^/| /' conftest.$ac_ext >&5 9380 9381 ac_header_compiler=no 9382 fi 9383 9384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9385 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9386 $as_echo "$ac_header_compiler" >&6; } 9387 9388 # Is the header present? 9389 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9390 $as_echo_n "checking $ac_header presence... " >&6; } 9391 cat >conftest.$ac_ext <<_ACEOF 9392 /* confdefs.h. */ 9393 _ACEOF 9394 cat confdefs.h >>conftest.$ac_ext 9395 cat >>conftest.$ac_ext <<_ACEOF 9396 /* end confdefs.h. */ 9397 #include <$ac_header> 9398 _ACEOF 9399 if { (ac_try="$ac_cpp conftest.$ac_ext" 9400 case "(($ac_try" in 9401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9402 *) ac_try_echo=$ac_try;; 9403 esac 9404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9405 $as_echo "$ac_try_echo") >&5 9406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9407 ac_status=$? 9408 grep -v '^ *+' conftest.er1 >conftest.err 9409 rm -f conftest.er1 9410 cat conftest.err >&5 9411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9412 (exit $ac_status); } >/dev/null && { 9413 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9414 test ! -s conftest.err 9415 }; then 9416 ac_header_preproc=yes 9417 else 9418 $as_echo "$as_me: failed program was:" >&5 9419 sed 's/^/| /' conftest.$ac_ext >&5 9420 9421 ac_header_preproc=no 9422 fi 9423 9424 rm -f conftest.err conftest.$ac_ext 9425 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9426 $as_echo "$ac_header_preproc" >&6; } 9427 9428 # So? What about this header? 9429 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9430 yes:no: ) 9431 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9432 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9433 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9434 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9435 ac_header_preproc=yes 9436 ;; 9437 no:yes:* ) 9438 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9439 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9440 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9441 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9442 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9443 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9445 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9447 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9449 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9450 ( cat <<\_ASBOX 9451 ## ----------------------------------- ## 9452 ## Report this to rappture@nanohub.org ## 9453 ## ----------------------------------- ## 9454 _ASBOX 9455 ) | sed "s/^/$as_me: WARNING: /" >&2 9456 ;; 9457 esac 9458 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9459 $as_echo_n "checking for $ac_header... " >&6; } 9460 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9461 $as_echo_n "(cached) " >&6 9462 else 9463 eval "$as_ac_Header=\$ac_header_preproc" 9464 fi 9465 ac_res=`eval 'as_val=${'$as_ac_Header'} 9466 $as_echo "$as_val"'` 9467 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9468 $as_echo "$ac_res" >&6; } 9469 9470 fi 9471 if test `eval 'as_val=${'$as_ac_Header'} 9472 $as_echo "$as_val"'` = yes; then 9473 cat >>confdefs.h <<_ACEOF 9474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9475 _ACEOF 9476 9477 fi 9478 9479 done 9480 9481 9482 9483 9484 9485 9486 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 9487 do 9488 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9490 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9491 $as_echo_n "checking for $ac_header... " >&6; } 9492 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9493 $as_echo_n "(cached) " >&6 9494 fi 9495 ac_res=`eval 'as_val=${'$as_ac_Header'} 9496 $as_echo "$as_val"'` 9497 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9498 $as_echo "$ac_res" >&6; } 9499 else 9500 # Is the header compilable? 9501 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9502 $as_echo_n "checking $ac_header usability... " >&6; } 9503 cat >conftest.$ac_ext <<_ACEOF 9504 /* confdefs.h. */ 9505 _ACEOF 9506 cat confdefs.h >>conftest.$ac_ext 9507 cat >>conftest.$ac_ext <<_ACEOF 9508 /* end confdefs.h. */ 9509 $ac_includes_default 9510 #include <$ac_header> 9511 _ACEOF 9512 rm -f conftest.$ac_objext 9513 if { (ac_try="$ac_compile" 9514 case "(($ac_try" in 9515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9516 *) ac_try_echo=$ac_try;; 9517 esac 9518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9519 $as_echo "$ac_try_echo") >&5 9520 (eval "$ac_compile") 2>conftest.er1 9521 ac_status=$? 9522 grep -v '^ *+' conftest.er1 >conftest.err 9523 rm -f conftest.er1 9524 cat conftest.err >&5 9525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9526 (exit $ac_status); } && { 9527 test -z "$ac_cxx_werror_flag" || 9528 test ! -s conftest.err 9529 } && test -s conftest.$ac_objext; then 9530 ac_header_compiler=yes 9531 else 9532 $as_echo "$as_me: failed program was:" >&5 9533 sed 's/^/| /' conftest.$ac_ext >&5 9534 9535 ac_header_compiler=no 9536 fi 9537 9538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9539 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9540 $as_echo "$ac_header_compiler" >&6; } 9541 9542 # Is the header present? 9543 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9544 $as_echo_n "checking $ac_header presence... " >&6; } 9545 cat >conftest.$ac_ext <<_ACEOF 9546 /* confdefs.h. */ 9547 _ACEOF 9548 cat confdefs.h >>conftest.$ac_ext 9549 cat >>conftest.$ac_ext <<_ACEOF 9550 /* end confdefs.h. */ 9551 #include <$ac_header> 9552 _ACEOF 9553 if { (ac_try="$ac_cpp conftest.$ac_ext" 9554 case "(($ac_try" in 9555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9556 *) ac_try_echo=$ac_try;; 9557 esac 9558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9559 $as_echo "$ac_try_echo") >&5 9560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9561 ac_status=$? 9562 grep -v '^ *+' conftest.er1 >conftest.err 9563 rm -f conftest.er1 9564 cat conftest.err >&5 9565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9566 (exit $ac_status); } >/dev/null && { 9567 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 9568 test ! -s conftest.err 9569 }; then 9570 ac_header_preproc=yes 9571 else 9572 $as_echo "$as_me: failed program was:" >&5 9573 sed 's/^/| /' conftest.$ac_ext >&5 9574 9575 ac_header_preproc=no 9576 fi 9577 9578 rm -f conftest.err conftest.$ac_ext 9579 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9580 $as_echo "$ac_header_preproc" >&6; } 9581 9582 # So? What about this header? 9583 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9584 yes:no: ) 9585 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9586 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9587 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9588 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9589 ac_header_preproc=yes 9590 ;; 9591 no:yes:* ) 9592 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9593 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9594 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9595 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9596 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9597 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9598 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9599 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9600 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9601 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9602 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9603 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9604 ( cat <<\_ASBOX 9605 ## ----------------------------------- ## 9606 ## Report this to rappture@nanohub.org ## 9607 ## ----------------------------------- ## 9608 _ASBOX 9609 ) | sed "s/^/$as_me: WARNING: /" >&2 9610 ;; 9611 esac 9612 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9613 $as_echo_n "checking for $ac_header... " >&6; } 9614 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9615 $as_echo_n "(cached) " >&6 9616 else 9617 eval "$as_ac_Header=\$ac_header_preproc" 9618 fi 9619 ac_res=`eval 'as_val=${'$as_ac_Header'} 9620 $as_echo "$as_val"'` 9621 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9622 $as_echo "$ac_res" >&6; } 9623 9624 fi 9625 if test `eval 'as_val=${'$as_ac_Header'} 9626 $as_echo "$as_val"'` = yes; then 9627 cat >>confdefs.h <<_ACEOF 9628 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9629 _ACEOF 9630 9631 fi 9632 9633 done 9634 9635 9325 9636 { $as_echo "$as_me:$LINENO: checking for DX installation" >&5 9326 9637 $as_echo_n "checking for DX installation... " >&6; } … … 9431 9742 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 9432 9743 9433 # Transform confdefs.h into DEFS. 9434 # Protect against shell expansion while executing Makefile rules. 9435 # Protect against Makefile macro expansion. 9436 # 9437 # If the first sed substitution is executed (which looks for macros that 9438 # take arguments), then branch to the quote section. Otherwise, 9439 # look for a macro that doesn't take arguments. 9440 ac_script=' 9441 :mline 9442 /\\$/{ 9443 N 9444 s,\\\n,, 9445 b mline 9446 } 9447 t clear 9448 :clear 9449 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 9450 t quote 9451 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 9452 t quote 9453 b any 9454 :quote 9455 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 9456 s/\[/\\&/g 9457 s/\]/\\&/g 9458 s/\$/$$/g 9459 H 9460 :any 9461 ${ 9462 g 9463 s/^\n// 9464 s/\n/ /g 9465 p 9466 } 9467 ' 9468 DEFS=`sed -n "$ac_script" confdefs.h` 9469 9744 DEFS=-DHAVE_CONFIG_H 9470 9745 9471 9746 ac_libobjs= … … 9824 10099 # Files that config.status was made for. 9825 10100 config_files="`echo $ac_config_files`" 10101 config_headers="`echo $ac_config_headers`" 9826 10102 9827 10103 _ACEOF … … 9841 10117 --file=FILE[:TEMPLATE] 9842 10118 instantiate the configuration file FILE 10119 --header=FILE[:TEMPLATE] 10120 instantiate the configuration header FILE 9843 10121 9844 10122 Configuration files: 9845 10123 $config_files 10124 10125 Configuration headers: 10126 $config_headers 9846 10127 9847 10128 Report bugs to <bug-autoconf@gnu.org>." … … 9898 10179 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9899 10180 ac_need_defaults=false;; 9900 --he | --h | --help | --hel | -h ) 10181 --header | --heade | --head | --hea ) 10182 $ac_shift 10183 case $ac_optarg in 10184 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10185 esac 10186 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 10187 ac_need_defaults=false;; 10188 --he | --h) 10189 # Conflict between --help and --header 10190 { $as_echo "$as_me: error: ambiguous option: $1 10191 Try \`$0 --help' for more information." >&2 10192 { (exit 1); exit 1; }; };; 10193 --help | --hel | -h ) 9901 10194 $as_echo "$ac_cs_usage"; exit ;; 9902 10195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ … … 9955 10248 do 9956 10249 case $ac_config_target in 10250 "nanoscale/config.h") CONFIG_HEADERS="$CONFIG_HEADERS nanoscale/config.h" ;; 9957 10251 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9958 10252 "nanoscale/Makefile") CONFIG_FILES="$CONFIG_FILES nanoscale/Makefile" ;; … … 9978 10272 if $ac_need_defaults; then 9979 10273 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 10274 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 9980 10275 fi 9981 10276 … … 10161 10456 fi # test -n "$CONFIG_FILES" 10162 10457 10163 10164 eval set X " :F $CONFIG_FILES " 10458 # Set up the scripts for CONFIG_HEADERS section. 10459 # No need to generate them if there are no CONFIG_HEADERS. 10460 # This happens for instance with `./config.status Makefile'. 10461 if test -n "$CONFIG_HEADERS"; then 10462 cat >"$tmp/defines.awk" <<\_ACAWK || 10463 BEGIN { 10464 _ACEOF 10465 10466 # Transform confdefs.h into an awk script `defines.awk', embedded as 10467 # here-document in config.status, that substitutes the proper values into 10468 # config.h.in to produce config.h. 10469 10470 # Create a delimiter string that does not exist in confdefs.h, to ease 10471 # handling of long lines. 10472 ac_delim='%!_!# ' 10473 for ac_last_try in false false :; do 10474 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 10475 if test -z "$ac_t"; then 10476 break 10477 elif $ac_last_try; then 10478 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 10479 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 10480 { (exit 1); exit 1; }; } 10481 else 10482 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10483 fi 10484 done 10485 10486 # For the awk script, D is an array of macro values keyed by name, 10487 # likewise P contains macro parameters if any. Preserve backslash 10488 # newline sequences. 10489 10490 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10491 sed -n ' 10492 s/.\{148\}/&'"$ac_delim"'/g 10493 t rset 10494 :rset 10495 s/^[ ]*#[ ]*define[ ][ ]*/ / 10496 t def 10497 d 10498 :def 10499 s/\\$// 10500 t bsnl 10501 s/["\\]/\\&/g 10502 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10503 D["\1"]=" \3"/p 10504 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10505 d 10506 :bsnl 10507 s/["\\]/\\&/g 10508 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10509 D["\1"]=" \3\\\\\\n"\\/p 10510 t cont 10511 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10512 t cont 10513 d 10514 :cont 10515 n 10516 s/.\{148\}/&'"$ac_delim"'/g 10517 t clear 10518 :clear 10519 s/\\$// 10520 t bsnlc 10521 s/["\\]/\\&/g; s/^/"/; s/$/"/p 10522 d 10523 :bsnlc 10524 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10525 b cont 10526 ' <confdefs.h | sed ' 10527 s/'"$ac_delim"'/"\\\ 10528 "/g' >>$CONFIG_STATUS || ac_write_fail=1 10529 10530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10531 for (key in D) D_is_set[key] = 1 10532 FS = "" 10533 } 10534 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10535 line = \$ 0 10536 split(line, arg, " ") 10537 if (arg[1] == "#") { 10538 defundef = arg[2] 10539 mac1 = arg[3] 10540 } else { 10541 defundef = substr(arg[1], 2) 10542 mac1 = arg[2] 10543 } 10544 split(mac1, mac2, "(") #) 10545 macro = mac2[1] 10546 if (D_is_set[macro]) { 10547 # Preserve the white space surrounding the "#". 10548 prefix = substr(line, 1, index(line, defundef) - 1) 10549 print prefix "define", macro P[macro] D[macro] 10550 next 10551 } else { 10552 # Replace #undef with comments. This is necessary, for example, 10553 # in the case of _POSIX_SOURCE, which is predefined and required 10554 # on some systems where configure will not decide to define it. 10555 if (defundef == "undef") { 10556 print "/*", line, "*/" 10557 next 10558 } 10559 } 10560 } 10561 { print } 10562 _ACAWK 10563 _ACEOF 10564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10565 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 10566 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 10567 { (exit 1); exit 1; }; } 10568 fi # test -n "$CONFIG_HEADERS" 10569 10570 10571 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 10165 10572 shift 10166 10573 for ac_tag … … 10432 10839 { (exit 1); exit 1; }; } 10433 10840 ;; 10434 10841 :H) 10842 # 10843 # CONFIG_HEADER 10844 # 10845 if test x"$ac_file" != x-; then 10846 { 10847 $as_echo "/* $configure_input */" \ 10848 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10849 } >"$tmp/config.h" \ 10850 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10851 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10852 { (exit 1); exit 1; }; } 10853 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10854 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10855 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10856 else 10857 rm -f "$ac_file" 10858 mv "$tmp/config.h" "$ac_file" \ 10859 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10860 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10861 { (exit 1); exit 1; }; } 10862 fi 10863 else 10864 $as_echo "/* $configure_input */" \ 10865 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10866 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10867 $as_echo "$as_me: error: could not create -" >&2;} 10868 { (exit 1); exit 1; }; } 10869 fi 10870 ;; 10435 10871 10436 10872 -
trunk/packages/vizservers/configure.in
r1114 r1115 1 1 AC_INIT(vizservers, 0.1, rappture@nanohub.org) 2 AC_CONFIG_HEADER(nanoscale/config.h) 2 3 3 4 VERSION=0.0.1 … … 150 151 AC_CHECK_HEADER([GL/glut.h]) 151 152 153 AC_CHECK_HEADERS([stdio.h unistd.h stdlib.h string.h sys/types.h]) 154 AC_CHECK_HEADERS([sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h]) 155 152 156 AC_MSG_CHECKING([for DX installation]) 153 157 DX_DIR="" -
trunk/packages/vizservers/nanovis/Makefile.in
r1114 r1115 165 165 $(srcdir)/shaders/zincblende_volume.cg 166 166 167 all: nanovis167 all: mat_lib r2_lib img_lib tf_lib nanovis 168 168 169 169 install: install-nanovis install-resources install-shaders 170 170 171 $(MAT_LIB):171 mat_lib: 172 172 $(MAKE) -C $(MAT_DIR) all 173 173 174 $(R2_LIB):174 r2_lib: 175 175 $(MAKE) -C $(R2_DIR)/src all 176 176 177 $(IMG_LIB):177 img_lib: 178 178 $(MAKE) -C $(IMG_DIR) all 179 179 180 $(TF_LIB):180 tf_lib: 181 181 $(MAKE) -C $(TF_DIR) all 182 182 -
trunk/packages/vizservers/nanovis/R2/src/R2Fonts.cpp
r1113 r1115 113 113 glBegin(GL_TRIANGLE_STRIP); 114 114 115 glTexCoord2f(charInfo._left, charInfo._top 115 glTexCoord2f(charInfo._left, charInfo._top); 116 116 glVertex2i(0, 0); 117 117 118 118 glTexCoord2f(charInfo._left, charInfo._bottom); 119 glVertex2i(0, attr._fontHeight);119 glVertex2i(0, (GLint)attr._fontHeight); 120 120 121 121 glTexCoord2f(charInfo._right, charInfo._top); 122 glVertex2i( charInfo._width, 0);122 glVertex2i((GLint)charInfo._width, 0); 123 123 124 124 glTexCoord2f(charInfo._right, charInfo._bottom); 125 glVertex2i(( int)charInfo._width, (int)attr._fontHeight);126 127 glEnd( 125 glVertex2i((GLint)charInfo._width, (GLint)attr._fontHeight); 126 127 glEnd(); 128 128 glTranslatef(charInfo._width, 0.0f, 0.0f); 129 129 }
Note: See TracChangeset
for help on using the changeset viewer.