- Timestamp:
- Nov 14, 2013 7:55:05 PM (10 years ago)
- Location:
- trunk/packages/vizservers/geovis
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/geovis/Makefile.in
r4028 r4058 1 1 DEBUG = #yes 2 2 DEBUG_WRITE_FRAME_FILE = #yes 3 TRACE = yes3 TRACE = #yes 4 4 USE_OFFSCREEN_RENDERING = #yes 5 5 USE_THREADS = yes -
trunk/packages/vizservers/geovis/configure
r4057 r4058 630 630 TCL_LIB_SPEC 631 631 TCL_INC_SPEC 632 STLIB_LD633 632 STATSDIR 634 SHLIB_SUFFIX635 SHLIB_LDFLAGS636 SHLIB_LD637 SHLIB_CFLAGS638 LD_RPATH639 CFLAGS_OPTIMIZE640 CFLAGS_DEBUG641 633 EGREP 642 634 GREP … … 645 637 CXXFLAGS 646 638 CXX 647 MKDIR_P648 LN_S649 RANLIB650 INSTALL_DATA651 INSTALL_SCRIPT652 INSTALL_PROGRAM653 639 CPP 654 640 OBJEXT … … 659 645 CFLAGS 660 646 CC 661 XMKMF 647 MKDIR_P 648 LN_S 649 RANLIB 650 INSTALL_DATA 651 INSTALL_SCRIPT 652 INSTALL_PROGRAM 662 653 target_alias 663 654 host_alias … … 705 696 with_osg_libs 706 697 with_statsdir 707 with_x708 698 ' 709 699 ac_precious_vars='build_alias 710 700 host_alias 711 701 target_alias 712 XMKMF713 702 CC 714 703 CFLAGS … … 1317 1306 1318 1307 cat <<\_ACEOF 1319 1320 X features:1321 --x-includes=DIR X include files are in DIR1322 --x-libraries=DIR X library files are in DIR1323 1308 _ACEOF 1324 1309 fi … … 1338 1323 --with-osg-libs=DIR OSG libraries are in DIR 1339 1324 --with-statsdir=DIR Write statistics in DIR 1340 --with-x use the X Window System1341 1325 1342 1326 Some influential environment variables: 1343 XMKMF Path to xmkmf, Makefile generator for X Window System1344 1327 CC C compiler command 1345 1328 CFLAGS C compiler flags … … 1508 1491 1509 1492 } # ac_fn_c_try_cpp 1510 1511 # ac_fn_c_try_link LINENO1512 # -----------------------1513 # Try to link conftest.$ac_ext, and return whether this succeeded.1514 ac_fn_c_try_link ()1515 {1516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1517 rm -f conftest.$ac_objext conftest$ac_exeext1518 if { { ac_try="$ac_link"1519 case "(($ac_try" in1520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1521 *) ac_try_echo=$ac_try;;1522 esac1523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1524 $as_echo "$ac_try_echo"; } >&51525 (eval "$ac_link") 2>conftest.err1526 ac_status=$?1527 if test -s conftest.err; then1528 grep -v '^ *+' conftest.err >conftest.er11529 cat conftest.er1 >&51530 mv -f conftest.er1 conftest.err1531 fi1532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51533 test $ac_status = 0; } && {1534 test -z "$ac_c_werror_flag" ||1535 test ! -s conftest.err1536 } && test -s conftest$ac_exeext && {1537 test "$cross_compiling" = yes ||1538 test -x conftest$ac_exeext1539 }; then :1540 ac_retval=01541 else1542 $as_echo "$as_me: failed program was:" >&51543 sed 's/^/| /' conftest.$ac_ext >&51544 1545 ac_retval=11546 fi1547 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1548 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1549 # interfere with the next link command; also delete a directory that is1550 # left behind by Apple's compiler. We do this before executing the actions.1551 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1553 as_fn_set_status $ac_retval1554 1555 } # ac_fn_c_try_link1556 1493 1557 1494 # ac_fn_cxx_try_compile LINENO … … 2346 2283 fi 2347 2284 2348 SC_CONFIG_CFLAGS2349 2350 2351 ac_ext=c2352 ac_cpp='$CPP $CPPFLAGS'2353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2355 ac_compiler_gnu=$ac_cv_c_compiler_gnu2356 if test -n "$ac_tool_prefix"; then2357 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2358 set dummy ${ac_tool_prefix}gcc; ac_word=$22359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52360 $as_echo_n "checking for $ac_word... " >&6; }2361 if ${ac_cv_prog_CC+:} false; then :2362 $as_echo_n "(cached) " >&62363 else2364 if test -n "$CC"; then2365 ac_cv_prog_CC="$CC" # Let the user override the test.2366 else2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2368 for as_dir in $PATH2369 do2370 IFS=$as_save_IFS2371 test -z "$as_dir" && as_dir=.2372 for ac_exec_ext in '' $ac_executable_extensions; do2373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2374 ac_cv_prog_CC="${ac_tool_prefix}gcc"2375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52376 break 22377 fi2378 done2379 done2380 IFS=$as_save_IFS2381 2382 fi2383 fi2384 CC=$ac_cv_prog_CC2385 if test -n "$CC"; then2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52387 $as_echo "$CC" >&6; }2388 else2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52390 $as_echo "no" >&6; }2391 fi2392 2393 2394 fi2395 if test -z "$ac_cv_prog_CC"; then2396 ac_ct_CC=$CC2397 # Extract the first word of "gcc", so it can be a program name with args.2398 set dummy gcc; ac_word=$22399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52400 $as_echo_n "checking for $ac_word... " >&6; }2401 if ${ac_cv_prog_ac_ct_CC+:} false; then :2402 $as_echo_n "(cached) " >&62403 else2404 if test -n "$ac_ct_CC"; then2405 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2406 else2407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2408 for as_dir in $PATH2409 do2410 IFS=$as_save_IFS2411 test -z "$as_dir" && as_dir=.2412 for ac_exec_ext in '' $ac_executable_extensions; do2413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2414 ac_cv_prog_ac_ct_CC="gcc"2415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52416 break 22417 fi2418 done2419 done2420 IFS=$as_save_IFS2421 2422 fi2423 fi2424 ac_ct_CC=$ac_cv_prog_ac_ct_CC2425 if test -n "$ac_ct_CC"; then2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52427 $as_echo "$ac_ct_CC" >&6; }2428 else2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52430 $as_echo "no" >&6; }2431 fi2432 2433 if test "x$ac_ct_CC" = x; then2434 CC=""2435 else2436 case $cross_compiling:$ac_tool_warned in2437 yes:)2438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}2440 ac_tool_warned=yes ;;2441 esac2442 CC=$ac_ct_CC2443 fi2444 else2445 CC="$ac_cv_prog_CC"2446 fi2447 2448 if test -z "$CC"; then2449 if test -n "$ac_tool_prefix"; then2450 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2451 set dummy ${ac_tool_prefix}cc; ac_word=$22452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52453 $as_echo_n "checking for $ac_word... " >&6; }2454 if ${ac_cv_prog_CC+:} false; then :2455 $as_echo_n "(cached) " >&62456 else2457 if test -n "$CC"; then2458 ac_cv_prog_CC="$CC" # Let the user override the test.2459 else2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2461 for as_dir in $PATH2462 do2463 IFS=$as_save_IFS2464 test -z "$as_dir" && as_dir=.2465 for ac_exec_ext in '' $ac_executable_extensions; do2466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2467 ac_cv_prog_CC="${ac_tool_prefix}cc"2468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52469 break 22470 fi2471 done2472 done2473 IFS=$as_save_IFS2474 2475 fi2476 fi2477 CC=$ac_cv_prog_CC2478 if test -n "$CC"; then2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52480 $as_echo "$CC" >&6; }2481 else2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52483 $as_echo "no" >&6; }2484 fi2485 2486 2487 fi2488 fi2489 if test -z "$CC"; then2490 # Extract the first word of "cc", so it can be a program name with args.2491 set dummy cc; ac_word=$22492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52493 $as_echo_n "checking for $ac_word... " >&6; }2494 if ${ac_cv_prog_CC+:} false; then :2495 $as_echo_n "(cached) " >&62496 else2497 if test -n "$CC"; then2498 ac_cv_prog_CC="$CC" # Let the user override the test.2499 else2500 ac_prog_rejected=no2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2502 for as_dir in $PATH2503 do2504 IFS=$as_save_IFS2505 test -z "$as_dir" && as_dir=.2506 for ac_exec_ext in '' $ac_executable_extensions; do2507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2508 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then2509 ac_prog_rejected=yes2510 continue2511 fi2512 ac_cv_prog_CC="cc"2513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52514 break 22515 fi2516 done2517 done2518 IFS=$as_save_IFS2519 2520 if test $ac_prog_rejected = yes; then2521 # We found a bogon in the path, so make sure we never use it.2522 set dummy $ac_cv_prog_CC2523 shift2524 if test $# != 0; then2525 # We chose a different compiler from the bogus one.2526 # However, it has the same basename, so the bogon will be chosen2527 # first if we set CC to just the basename; use the full file name.2528 shift2529 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"2530 fi2531 fi2532 fi2533 fi2534 CC=$ac_cv_prog_CC2535 if test -n "$CC"; then2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52537 $as_echo "$CC" >&6; }2538 else2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52540 $as_echo "no" >&6; }2541 fi2542 2543 2544 fi2545 if test -z "$CC"; then2546 if test -n "$ac_tool_prefix"; then2547 for ac_prog in cl.exe2548 do2549 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.2550 set dummy $ac_tool_prefix$ac_prog; ac_word=$22551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52552 $as_echo_n "checking for $ac_word... " >&6; }2553 if ${ac_cv_prog_CC+:} false; then :2554 $as_echo_n "(cached) " >&62555 else2556 if test -n "$CC"; then2557 ac_cv_prog_CC="$CC" # Let the user override the test.2558 else2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2560 for as_dir in $PATH2561 do2562 IFS=$as_save_IFS2563 test -z "$as_dir" && as_dir=.2564 for ac_exec_ext in '' $ac_executable_extensions; do2565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2566 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"2567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52568 break 22569 fi2570 done2571 done2572 IFS=$as_save_IFS2573 2574 fi2575 fi2576 CC=$ac_cv_prog_CC2577 if test -n "$CC"; then2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52579 $as_echo "$CC" >&6; }2580 else2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52582 $as_echo "no" >&6; }2583 fi2584 2585 2586 test -n "$CC" && break2587 done2588 fi2589 if test -z "$CC"; then2590 ac_ct_CC=$CC2591 for ac_prog in cl.exe2592 do2593 # Extract the first word of "$ac_prog", so it can be a program name with args.2594 set dummy $ac_prog; ac_word=$22595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52596 $as_echo_n "checking for $ac_word... " >&6; }2597 if ${ac_cv_prog_ac_ct_CC+:} false; then :2598 $as_echo_n "(cached) " >&62599 else2600 if test -n "$ac_ct_CC"; then2601 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2602 else2603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2604 for as_dir in $PATH2605 do2606 IFS=$as_save_IFS2607 test -z "$as_dir" && as_dir=.2608 for ac_exec_ext in '' $ac_executable_extensions; do2609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2610 ac_cv_prog_ac_ct_CC="$ac_prog"2611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52612 break 22613 fi2614 done2615 done2616 IFS=$as_save_IFS2617 2618 fi2619 fi2620 ac_ct_CC=$ac_cv_prog_ac_ct_CC2621 if test -n "$ac_ct_CC"; then2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52623 $as_echo "$ac_ct_CC" >&6; }2624 else2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52626 $as_echo "no" >&6; }2627 fi2628 2629 2630 test -n "$ac_ct_CC" && break2631 done2632 2633 if test "x$ac_ct_CC" = x; then2634 CC=""2635 else2636 case $cross_compiling:$ac_tool_warned in2637 yes:)2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}2640 ac_tool_warned=yes ;;2641 esac2642 CC=$ac_ct_CC2643 fi2644 fi2645 2646 fi2647 2648 2649 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2651 as_fn_error $? "no acceptable C compiler found in \$PATH2652 See \`config.log' for more details" "$LINENO" 5; }2653 2654 # Provide some information about the compiler.2655 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&52656 set X $ac_compile2657 ac_compiler=$22658 for ac_option in --version -v -V -qversion; do2659 { { ac_try="$ac_compiler $ac_option >&5"2660 case "(($ac_try" in2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2662 *) ac_try_echo=$ac_try;;2663 esac2664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2665 $as_echo "$ac_try_echo"; } >&52666 (eval "$ac_compiler $ac_option >&5") 2>conftest.err2667 ac_status=$?2668 if test -s conftest.err; then2669 sed '10a\2670 ... rest of stderr output deleted ...2671 10q' conftest.err >conftest.er12672 cat conftest.er1 >&52673 fi2674 rm -f conftest.er1 conftest.err2675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52676 test $ac_status = 0; }2677 done2678 2679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2680 /* end confdefs.h. */2681 2682 int2683 main ()2684 {2685 2686 ;2687 return 0;2688 }2689 _ACEOF2690 ac_clean_files_save=$ac_clean_files2691 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"2692 # Try to create an executable without -o first, disregard a.out.2693 # It will help us diagnose broken compilers, and finding out an intuition2694 # of exeext.2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&52696 $as_echo_n "checking whether the C compiler works... " >&6; }2697 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`2698 2699 # The possible output files:2700 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"2701 2702 ac_rmfiles=2703 for ac_file in $ac_files2704 do2705 case $ac_file in2706 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;2707 * ) ac_rmfiles="$ac_rmfiles $ac_file";;2708 esac2709 done2710 rm -f $ac_rmfiles2711 2712 if { { ac_try="$ac_link_default"2713 case "(($ac_try" in2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2715 *) ac_try_echo=$ac_try;;2716 esac2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2718 $as_echo "$ac_try_echo"; } >&52719 (eval "$ac_link_default") 2>&52720 ac_status=$?2721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52722 test $ac_status = 0; }; then :2723 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.2724 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'2725 # in a Makefile. We should not override ac_cv_exeext if it was cached,2726 # so that the user can short-circuit this test for compilers unknown to2727 # Autoconf.2728 for ac_file in $ac_files ''2729 do2730 test -f "$ac_file" || continue2731 case $ac_file in2732 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )2733 ;;2734 [ab].out )2735 # We found the default executable, but exeext='' is most2736 # certainly right.2737 break;;2738 *.* )2739 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;2740 then :; else2741 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2742 fi2743 # We set ac_cv_exeext here because the later test for it is not2744 # safe: cross compilers may not add the suffix if given an `-o'2745 # argument, so we may need to know it at that point already.2746 # Even if this section looks crufty: it has the advantage of2747 # actually working.2748 break;;2749 * )2750 break;;2751 esac2752 done2753 test "$ac_cv_exeext" = no && ac_cv_exeext=2754 2755 else2756 ac_file=''2757 fi2758 if test -z "$ac_file"; then :2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52760 $as_echo "no" >&6; }2761 $as_echo "$as_me: failed program was:" >&52762 sed 's/^/| /' conftest.$ac_ext >&52763 2764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2766 as_fn_error 77 "C compiler cannot create executables2767 See \`config.log' for more details" "$LINENO" 5; }2768 else2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&52770 $as_echo "yes" >&6; }2771 fi2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&52773 $as_echo_n "checking for C compiler default output file name... " >&6; }2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&52775 $as_echo "$ac_file" >&6; }2776 ac_exeext=$ac_cv_exeext2777 2778 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out2779 ac_clean_files=$ac_clean_files_save2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&52781 $as_echo_n "checking for suffix of executables... " >&6; }2782 if { { ac_try="$ac_link"2783 case "(($ac_try" in2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2785 *) ac_try_echo=$ac_try;;2786 esac2787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2788 $as_echo "$ac_try_echo"; } >&52789 (eval "$ac_link") 2>&52790 ac_status=$?2791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52792 test $ac_status = 0; }; then :2793 # If both `conftest.exe' and `conftest' are `present' (well, observable)2794 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will2795 # work properly (i.e., refer to `conftest.exe'), while it won't with2796 # `rm'.2797 for ac_file in conftest.exe conftest conftest.*; do2798 test -f "$ac_file" || continue2799 case $ac_file in2800 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;2801 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2802 break;;2803 * ) break;;2804 esac2805 done2806 else2807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2809 as_fn_error $? "cannot compute suffix of executables: cannot compile and link2810 See \`config.log' for more details" "$LINENO" 5; }2811 fi2812 rm -f conftest conftest$ac_cv_exeext2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&52814 $as_echo "$ac_cv_exeext" >&6; }2815 2816 rm -f conftest.$ac_ext2817 EXEEXT=$ac_cv_exeext2818 ac_exeext=$EXEEXT2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2820 /* end confdefs.h. */2821 #include <stdio.h>2822 int2823 main ()2824 {2825 FILE *f = fopen ("conftest.out", "w");2826 return ferror (f) || fclose (f) != 0;2827 2828 ;2829 return 0;2830 }2831 _ACEOF2832 ac_clean_files="$ac_clean_files conftest.out"2833 # Check that the compiler produces executables we can run. If not, either2834 # the compiler is broken, or we cross compile.2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&52836 $as_echo_n "checking whether we are cross compiling... " >&6; }2837 if test "$cross_compiling" != yes; then2838 { { ac_try="$ac_link"2839 case "(($ac_try" in2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2841 *) ac_try_echo=$ac_try;;2842 esac2843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2844 $as_echo "$ac_try_echo"; } >&52845 (eval "$ac_link") 2>&52846 ac_status=$?2847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52848 test $ac_status = 0; }2849 if { ac_try='./conftest$ac_cv_exeext'2850 { { case "(($ac_try" in2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2852 *) ac_try_echo=$ac_try;;2853 esac2854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2855 $as_echo "$ac_try_echo"; } >&52856 (eval "$ac_try") 2>&52857 ac_status=$?2858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52859 test $ac_status = 0; }; }; then2860 cross_compiling=no2861 else2862 if test "$cross_compiling" = maybe; then2863 cross_compiling=yes2864 else2865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2867 as_fn_error $? "cannot run C compiled programs.2868 If you meant to cross compile, use \`--host'.2869 See \`config.log' for more details" "$LINENO" 5; }2870 fi2871 fi2872 fi2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&52874 $as_echo "$cross_compiling" >&6; }2875 2876 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out2877 ac_clean_files=$ac_clean_files_save2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&52879 $as_echo_n "checking for suffix of object files... " >&6; }2880 if ${ac_cv_objext+:} false; then :2881 $as_echo_n "(cached) " >&62882 else2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2884 /* end confdefs.h. */2885 2886 int2887 main ()2888 {2889 2890 ;2891 return 0;2892 }2893 _ACEOF2894 rm -f conftest.o conftest.obj2895 if { { ac_try="$ac_compile"2896 case "(($ac_try" in2897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2898 *) ac_try_echo=$ac_try;;2899 esac2900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2901 $as_echo "$ac_try_echo"; } >&52902 (eval "$ac_compile") 2>&52903 ac_status=$?2904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52905 test $ac_status = 0; }; then :2906 for ac_file in conftest.o conftest.obj conftest.*; do2907 test -f "$ac_file" || continue;2908 case $ac_file in2909 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;2910 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`2911 break;;2912 esac2913 done2914 else2915 $as_echo "$as_me: failed program was:" >&52916 sed 's/^/| /' conftest.$ac_ext >&52917 2918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2920 as_fn_error $? "cannot compute suffix of object files: cannot compile2921 See \`config.log' for more details" "$LINENO" 5; }2922 fi2923 rm -f conftest.$ac_cv_objext conftest.$ac_ext2924 fi2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&52926 $as_echo "$ac_cv_objext" >&6; }2927 OBJEXT=$ac_cv_objext2928 ac_objext=$OBJEXT2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&52930 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }2931 if ${ac_cv_c_compiler_gnu+:} false; then :2932 $as_echo_n "(cached) " >&62933 else2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2935 /* end confdefs.h. */2936 2937 int2938 main ()2939 {2940 #ifndef __GNUC__2941 choke me2942 #endif2943 2944 ;2945 return 0;2946 }2947 _ACEOF2948 if ac_fn_c_try_compile "$LINENO"; then :2949 ac_compiler_gnu=yes2950 else2951 ac_compiler_gnu=no2952 fi2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2954 ac_cv_c_compiler_gnu=$ac_compiler_gnu2955 2956 fi2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&52958 $as_echo "$ac_cv_c_compiler_gnu" >&6; }2959 if test $ac_compiler_gnu = yes; then2960 GCC=yes2961 else2962 GCC=2963 fi2964 ac_test_CFLAGS=${CFLAGS+set}2965 ac_save_CFLAGS=$CFLAGS2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&52967 $as_echo_n "checking whether $CC accepts -g... " >&6; }2968 if ${ac_cv_prog_cc_g+:} false; then :2969 $as_echo_n "(cached) " >&62970 else2971 ac_save_c_werror_flag=$ac_c_werror_flag2972 ac_c_werror_flag=yes2973 ac_cv_prog_cc_g=no2974 CFLAGS="-g"2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2976 /* end confdefs.h. */2977 2978 int2979 main ()2980 {2981 2982 ;2983 return 0;2984 }2985 _ACEOF2986 if ac_fn_c_try_compile "$LINENO"; then :2987 ac_cv_prog_cc_g=yes2988 else2989 CFLAGS=""2990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2991 /* end confdefs.h. */2992 2993 int2994 main ()2995 {2996 2997 ;2998 return 0;2999 }3000 _ACEOF3001 if ac_fn_c_try_compile "$LINENO"; then :3002 3003 else3004 ac_c_werror_flag=$ac_save_c_werror_flag3005 CFLAGS="-g"3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3007 /* end confdefs.h. */3008 3009 int3010 main ()3011 {3012 3013 ;3014 return 0;3015 }3016 _ACEOF3017 if ac_fn_c_try_compile "$LINENO"; then :3018 ac_cv_prog_cc_g=yes3019 fi3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext3021 fi3022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext3023 fi3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext3025 ac_c_werror_flag=$ac_save_c_werror_flag3026 fi3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&53028 $as_echo "$ac_cv_prog_cc_g" >&6; }3029 if test "$ac_test_CFLAGS" = set; then3030 CFLAGS=$ac_save_CFLAGS3031 elif test $ac_cv_prog_cc_g = yes; then3032 if test "$GCC" = yes; then3033 CFLAGS="-g -O2"3034 else3035 CFLAGS="-g"3036 fi3037 else3038 if test "$GCC" = yes; then3039 CFLAGS="-O2"3040 else3041 CFLAGS=3042 fi3043 fi3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53045 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }3046 if ${ac_cv_prog_cc_c89+:} false; then :3047 $as_echo_n "(cached) " >&63048 else3049 ac_cv_prog_cc_c89=no3050 ac_save_CC=$CC3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3052 /* end confdefs.h. */3053 #include <stdarg.h>3054 #include <stdio.h>3055 struct stat;3056 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */3057 struct buf { int x; };3058 FILE * (*rcsopen) (struct buf *, struct stat *, int);3059 static char *e (p, i)3060 char **p;3061 int i;3062 {3063 return p[i];3064 }3065 static char *f (char * (*g) (char **, int), char **p, ...)3066 {3067 char *s;3068 va_list v;3069 va_start (v,p);3070 s = g (p, va_arg (v,int));3071 va_end (v);3072 return s;3073 }3074 3075 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has3076 function prototypes and stuff, but not '\xHH' hex character constants.3077 These don't provoke an error unfortunately, instead are silently treated3078 as 'x'. The following induces an error, until -std is added to get3079 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an3080 array size at least. It's necessary to write '\x00'==0 to get something3081 that's true only with -std. */3082 int osf4_cc_array ['\x00' == 0 ? 1 : -1];3083 3084 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters3085 inside strings and character constants. */3086 #define FOO(x) 'x'3087 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];3088 3089 int test (int i, double x);3090 struct s1 {int (*f) (int a);};3091 struct s2 {int (*f) (double a);};3092 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);3093 int argc;3094 char **argv;3095 int3096 main ()3097 {3098 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];3099 ;3100 return 0;3101 }3102 _ACEOF3103 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \3104 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"3105 do3106 CC="$ac_save_CC $ac_arg"3107 if ac_fn_c_try_compile "$LINENO"; then :3108 ac_cv_prog_cc_c89=$ac_arg3109 fi3110 rm -f core conftest.err conftest.$ac_objext3111 test "x$ac_cv_prog_cc_c89" != "xno" && break3112 done3113 rm -f conftest.$ac_ext3114 CC=$ac_save_CC3115 3116 fi3117 # AC_CACHE_VAL3118 case "x$ac_cv_prog_cc_c89" in3119 x)3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&53121 $as_echo "none needed" >&6; } ;;3122 xno)3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&53124 $as_echo "unsupported" >&6; } ;;3125 *)3126 CC="$CC $ac_cv_prog_cc_c89"3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&53128 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;3129 esac3130 if test "x$ac_cv_prog_cc_c89" != xno; then :3131 3132 fi3133 3134 ac_ext=c3135 ac_cpp='$CPP $CPPFLAGS'3136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'3137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'3138 ac_compiler_gnu=$ac_cv_c_compiler_gnu3139 3140 3141 ac_ext=c3142 ac_cpp='$CPP $CPPFLAGS'3143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'3145 ac_compiler_gnu=$ac_cv_c_compiler_gnu3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&53147 $as_echo_n "checking how to run the C preprocessor... " >&6; }3148 # On Suns, sometimes $CPP names a directory.3149 if test -n "$CPP" && test -d "$CPP"; then3150 CPP=3151 fi3152 if test -z "$CPP"; then3153 if ${ac_cv_prog_CPP+:} false; then :3154 $as_echo_n "(cached) " >&63155 else3156 # Double quotes because CPP needs to be expanded3157 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"3158 do3159 ac_preproc_ok=false3160 for ac_c_preproc_warn_flag in '' yes3161 do3162 # Use a header file that comes with gcc, so configuring glibc3163 # with a fresh cross-compiler works.3164 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3165 # <limits.h> exists even on freestanding compilers.3166 # On the NeXT, cc -E runs the code through the compiler's parser,3167 # not just through cpp. "Syntax error" is here to catch this case.3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3169 /* end confdefs.h. */3170 #ifdef __STDC__3171 # include <limits.h>3172 #else3173 # include <assert.h>3174 #endif3175 Syntax error3176 _ACEOF3177 if ac_fn_c_try_cpp "$LINENO"; then :3178 3179 else3180 # Broken: fails on valid input.3181 continue3182 fi3183 rm -f conftest.err conftest.i conftest.$ac_ext3184 3185 # OK, works on sane cases. Now check whether nonexistent headers3186 # can be detected and how.3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3188 /* end confdefs.h. */3189 #include <ac_nonexistent.h>3190 _ACEOF3191 if ac_fn_c_try_cpp "$LINENO"; then :3192 # Broken: success on invalid input.3193 continue3194 else3195 # Passes both tests.3196 ac_preproc_ok=:3197 break3198 fi3199 rm -f conftest.err conftest.i conftest.$ac_ext3200 3201 done3202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.3203 rm -f conftest.i conftest.err conftest.$ac_ext3204 if $ac_preproc_ok; then :3205 break3206 fi3207 3208 done3209 ac_cv_prog_CPP=$CPP3210 3211 fi3212 CPP=$ac_cv_prog_CPP3213 else3214 ac_cv_prog_CPP=$CPP3215 fi3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&53217 $as_echo "$CPP" >&6; }3218 ac_preproc_ok=false3219 for ac_c_preproc_warn_flag in '' yes3220 do3221 # Use a header file that comes with gcc, so configuring glibc3222 # with a fresh cross-compiler works.3223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3224 # <limits.h> exists even on freestanding compilers.3225 # On the NeXT, cc -E runs the code through the compiler's parser,3226 # not just through cpp. "Syntax error" is here to catch this case.3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3228 /* end confdefs.h. */3229 #ifdef __STDC__3230 # include <limits.h>3231 #else3232 # include <assert.h>3233 #endif3234 Syntax error3235 _ACEOF3236 if ac_fn_c_try_cpp "$LINENO"; then :3237 3238 else3239 # Broken: fails on valid input.3240 continue3241 fi3242 rm -f conftest.err conftest.i conftest.$ac_ext3243 3244 # OK, works on sane cases. Now check whether nonexistent headers3245 # can be detected and how.3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3247 /* end confdefs.h. */3248 #include <ac_nonexistent.h>3249 _ACEOF3250 if ac_fn_c_try_cpp "$LINENO"; then :3251 # Broken: success on invalid input.3252 continue3253 else3254 # Passes both tests.3255 ac_preproc_ok=:3256 break3257 fi3258 rm -f conftest.err conftest.i conftest.$ac_ext3259 3260 done3261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.3262 rm -f conftest.i conftest.err conftest.$ac_ext3263 if $ac_preproc_ok; then :3264 3265 else3266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3268 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check3269 See \`config.log' for more details" "$LINENO" 5; }3270 fi3271 3272 ac_ext=c3273 ac_cpp='$CPP $CPPFLAGS'3274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'3275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'3276 ac_compiler_gnu=$ac_cv_c_compiler_gnu3277 3278 3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&53280 $as_echo_n "checking for X... " >&6; }3281 3282 3283 # Check whether --with-x was given.3284 if test "${with_x+set}" = set; then :3285 withval=$with_x;3286 fi3287 3288 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.3289 if test "x$with_x" = xno; then3290 # The user explicitly disabled X.3291 have_x=disabled3292 else3293 case $x_includes,$x_libraries in #(3294 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(3295 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :3296 $as_echo_n "(cached) " >&63297 else3298 # One or both of the vars are not set, and there is no cached value.3299 ac_x_includes=no ac_x_libraries=no3300 rm -f -r conftest.dir3301 if mkdir conftest.dir; then3302 cd conftest.dir3303 cat >Imakefile <<'_ACEOF'3304 incroot:3305 @echo incroot='${INCROOT}'3306 usrlibdir:3307 @echo usrlibdir='${USRLIBDIR}'3308 libdir:3309 @echo libdir='${LIBDIR}'3310 _ACEOF3311 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then3312 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.3313 for ac_var in incroot usrlibdir libdir; do3314 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"3315 done3316 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.3317 for ac_extension in a so sl dylib la dll; do3318 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&3319 test -f "$ac_im_libdir/libX11.$ac_extension"; then3320 ac_im_usrlibdir=$ac_im_libdir; break3321 fi3322 done3323 # Screen out bogus values from the imake configuration. They are3324 # bogus both because they are the default anyway, and because3325 # using them would break gcc on systems where it needs fixed includes.3326 case $ac_im_incroot in3327 /usr/include) ac_x_includes= ;;3328 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;3329 esac3330 case $ac_im_usrlibdir in3331 /usr/lib | /usr/lib64 | /lib | /lib64) ;;3332 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;3333 esac3334 fi3335 cd ..3336 rm -f -r conftest.dir3337 fi3338 3339 # Standard set of common directories for X headers.3340 # Check X11 before X11Rn because it is often a symlink to the current release.3341 ac_x_header_dirs='3342 /usr/X11/include3343 /usr/X11R7/include3344 /usr/X11R6/include3345 /usr/X11R5/include3346 /usr/X11R4/include3347 3348 /usr/include/X113349 /usr/include/X11R73350 /usr/include/X11R63351 /usr/include/X11R53352 /usr/include/X11R43353 3354 /usr/local/X11/include3355 /usr/local/X11R7/include3356 /usr/local/X11R6/include3357 /usr/local/X11R5/include3358 /usr/local/X11R4/include3359 3360 /usr/local/include/X113361 /usr/local/include/X11R73362 /usr/local/include/X11R63363 /usr/local/include/X11R53364 /usr/local/include/X11R43365 3366 /usr/X386/include3367 /usr/x386/include3368 /usr/XFree86/include/X113369 3370 /usr/include3371 /usr/local/include3372 /usr/unsupported/include3373 /usr/athena/include3374 /usr/local/x11r5/include3375 /usr/lpp/Xamples/include3376 3377 /usr/openwin/include3378 /usr/openwin/share/include'3379 3380 if test "$ac_x_includes" = no; then3381 # Guess where to find include files, by looking for Xlib.h.3382 # First, try using that file with no special directory specified.3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3384 /* end confdefs.h. */3385 #include <X11/Xlib.h>3386 _ACEOF3387 if ac_fn_c_try_cpp "$LINENO"; then :3388 # We can compile using X headers with no special include directory.3389 ac_x_includes=3390 else3391 for ac_dir in $ac_x_header_dirs; do3392 if test -r "$ac_dir/X11/Xlib.h"; then3393 ac_x_includes=$ac_dir3394 break3395 fi3396 done3397 fi3398 rm -f conftest.err conftest.i conftest.$ac_ext3399 fi # $ac_x_includes = no3400 3401 if test "$ac_x_libraries" = no; then3402 # Check for the libraries.3403 # See if we find them without any special options.3404 # Don't add to $LIBS permanently.3405 ac_save_LIBS=$LIBS3406 LIBS="-lX11 $LIBS"3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3408 /* end confdefs.h. */3409 #include <X11/Xlib.h>3410 int3411 main ()3412 {3413 XrmInitialize ()3414 ;3415 return 0;3416 }3417 _ACEOF3418 if ac_fn_c_try_link "$LINENO"; then :3419 LIBS=$ac_save_LIBS3420 # We can link X programs with no special library path.3421 ac_x_libraries=3422 else3423 LIBS=$ac_save_LIBS3424 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`3425 do3426 # Don't even attempt the hair of trying to link an X program!3427 for ac_extension in a so sl dylib la dll; do3428 if test -r "$ac_dir/libX11.$ac_extension"; then3429 ac_x_libraries=$ac_dir3430 break 23431 fi3432 done3433 done3434 fi3435 rm -f core conftest.err conftest.$ac_objext \3436 conftest$ac_exeext conftest.$ac_ext3437 fi # $ac_x_libraries = no3438 3439 case $ac_x_includes,$ac_x_libraries in #(3440 no,* | *,no | *\'*)3441 # Didn't find X, or a directory has "'" in its name.3442 ac_cv_have_x="have_x=no";; #(3443 *)3444 # Record where we found X for the cache.3445 ac_cv_have_x="have_x=yes\3446 ac_x_includes='$ac_x_includes'\3447 ac_x_libraries='$ac_x_libraries'"3448 esac3449 fi3450 ;; #(3451 *) have_x=yes;;3452 esac3453 eval "$ac_cv_have_x"3454 fi # $with_x != no3455 3456 if test "$have_x" != yes; then3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&53458 $as_echo "$have_x" >&6; }3459 no_x=yes3460 else3461 # If each of the values was on the command line, it overrides each guess.3462 test "x$x_includes" = xNONE && x_includes=$ac_x_includes3463 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries3464 # Update the cache value to reflect the command line values.3465 ac_cv_have_x="have_x=yes\3466 ac_x_includes='$x_includes'\3467 ac_x_libraries='$x_libraries'"3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&53469 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }3470 fi3471 3472 3473 2285 # Find a good install program. We prefer a C program (faster), 3474 2286 # so one script is as good as another. But avoid the broken or … … 4038 2850 done 4039 2851 2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2853 /* end confdefs.h. */ 2854 2855 int 2856 main () 2857 { 2858 2859 ; 2860 return 0; 2861 } 2862 _ACEOF 2863 ac_clean_files_save=$ac_clean_files 2864 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2865 # Try to create an executable without -o first, disregard a.out. 2866 # It will help us diagnose broken compilers, and finding out an intuition 2867 # of exeext. 2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2869 $as_echo_n "checking whether the C compiler works... " >&6; } 2870 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2871 2872 # The possible output files: 2873 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2874 2875 ac_rmfiles= 2876 for ac_file in $ac_files 2877 do 2878 case $ac_file in 2879 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2880 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2881 esac 2882 done 2883 rm -f $ac_rmfiles 2884 2885 if { { ac_try="$ac_link_default" 2886 case "(($ac_try" in 2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2888 *) ac_try_echo=$ac_try;; 2889 esac 2890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2891 $as_echo "$ac_try_echo"; } >&5 2892 (eval "$ac_link_default") 2>&5 2893 ac_status=$? 2894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2895 test $ac_status = 0; }; then : 2896 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2897 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2898 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2899 # so that the user can short-circuit this test for compilers unknown to 2900 # Autoconf. 2901 for ac_file in $ac_files '' 2902 do 2903 test -f "$ac_file" || continue 2904 case $ac_file in 2905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2906 ;; 2907 [ab].out ) 2908 # We found the default executable, but exeext='' is most 2909 # certainly right. 2910 break;; 2911 *.* ) 2912 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2913 then :; else 2914 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2915 fi 2916 # We set ac_cv_exeext here because the later test for it is not 2917 # safe: cross compilers may not add the suffix if given an `-o' 2918 # argument, so we may need to know it at that point already. 2919 # Even if this section looks crufty: it has the advantage of 2920 # actually working. 2921 break;; 2922 * ) 2923 break;; 2924 esac 2925 done 2926 test "$ac_cv_exeext" = no && ac_cv_exeext= 2927 2928 else 2929 ac_file='' 2930 fi 2931 if test -z "$ac_file"; then : 2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2933 $as_echo "no" >&6; } 2934 $as_echo "$as_me: failed program was:" >&5 2935 sed 's/^/| /' conftest.$ac_ext >&5 2936 2937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2939 as_fn_error 77 "C compiler cannot create executables 2940 See \`config.log' for more details" "$LINENO" 5; } 2941 else 2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2943 $as_echo "yes" >&6; } 2944 fi 2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2946 $as_echo_n "checking for C compiler default output file name... " >&6; } 2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2948 $as_echo "$ac_file" >&6; } 2949 ac_exeext=$ac_cv_exeext 2950 2951 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2952 ac_clean_files=$ac_clean_files_save 2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2954 $as_echo_n "checking for suffix of executables... " >&6; } 2955 if { { ac_try="$ac_link" 2956 case "(($ac_try" in 2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2958 *) ac_try_echo=$ac_try;; 2959 esac 2960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2961 $as_echo "$ac_try_echo"; } >&5 2962 (eval "$ac_link") 2>&5 2963 ac_status=$? 2964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2965 test $ac_status = 0; }; then : 2966 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2967 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2968 # work properly (i.e., refer to `conftest.exe'), while it won't with 2969 # `rm'. 2970 for ac_file in conftest.exe conftest conftest.*; do 2971 test -f "$ac_file" || continue 2972 case $ac_file in 2973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2974 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2975 break;; 2976 * ) break;; 2977 esac 2978 done 2979 else 2980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2982 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2983 See \`config.log' for more details" "$LINENO" 5; } 2984 fi 2985 rm -f conftest conftest$ac_cv_exeext 2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2987 $as_echo "$ac_cv_exeext" >&6; } 2988 2989 rm -f conftest.$ac_ext 2990 EXEEXT=$ac_cv_exeext 2991 ac_exeext=$EXEEXT 2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2993 /* end confdefs.h. */ 2994 #include <stdio.h> 2995 int 2996 main () 2997 { 2998 FILE *f = fopen ("conftest.out", "w"); 2999 return ferror (f) || fclose (f) != 0; 3000 3001 ; 3002 return 0; 3003 } 3004 _ACEOF 3005 ac_clean_files="$ac_clean_files conftest.out" 3006 # Check that the compiler produces executables we can run. If not, either 3007 # the compiler is broken, or we cross compile. 3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3009 $as_echo_n "checking whether we are cross compiling... " >&6; } 3010 if test "$cross_compiling" != yes; then 3011 { { ac_try="$ac_link" 3012 case "(($ac_try" in 3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3014 *) ac_try_echo=$ac_try;; 3015 esac 3016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3017 $as_echo "$ac_try_echo"; } >&5 3018 (eval "$ac_link") 2>&5 3019 ac_status=$? 3020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3021 test $ac_status = 0; } 3022 if { ac_try='./conftest$ac_cv_exeext' 3023 { { case "(($ac_try" in 3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3025 *) ac_try_echo=$ac_try;; 3026 esac 3027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3028 $as_echo "$ac_try_echo"; } >&5 3029 (eval "$ac_try") 2>&5 3030 ac_status=$? 3031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3032 test $ac_status = 0; }; }; then 3033 cross_compiling=no 3034 else 3035 if test "$cross_compiling" = maybe; then 3036 cross_compiling=yes 3037 else 3038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3040 as_fn_error $? "cannot run C compiled programs. 3041 If you meant to cross compile, use \`--host'. 3042 See \`config.log' for more details" "$LINENO" 5; } 3043 fi 3044 fi 3045 fi 3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3047 $as_echo "$cross_compiling" >&6; } 3048 3049 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3050 ac_clean_files=$ac_clean_files_save 3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3052 $as_echo_n "checking for suffix of object files... " >&6; } 3053 if ${ac_cv_objext+:} false; then : 3054 $as_echo_n "(cached) " >&6 3055 else 3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3057 /* end confdefs.h. */ 3058 3059 int 3060 main () 3061 { 3062 3063 ; 3064 return 0; 3065 } 3066 _ACEOF 3067 rm -f conftest.o conftest.obj 3068 if { { ac_try="$ac_compile" 3069 case "(($ac_try" in 3070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3071 *) ac_try_echo=$ac_try;; 3072 esac 3073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3074 $as_echo "$ac_try_echo"; } >&5 3075 (eval "$ac_compile") 2>&5 3076 ac_status=$? 3077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3078 test $ac_status = 0; }; then : 3079 for ac_file in conftest.o conftest.obj conftest.*; do 3080 test -f "$ac_file" || continue; 3081 case $ac_file in 3082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3083 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3084 break;; 3085 esac 3086 done 3087 else 3088 $as_echo "$as_me: failed program was:" >&5 3089 sed 's/^/| /' conftest.$ac_ext >&5 3090 3091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3093 as_fn_error $? "cannot compute suffix of object files: cannot compile 3094 See \`config.log' for more details" "$LINENO" 5; } 3095 fi 3096 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3097 fi 3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3099 $as_echo "$ac_cv_objext" >&6; } 3100 OBJEXT=$ac_cv_objext 3101 ac_objext=$OBJEXT 4040 3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4041 3103 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } … … 5039 4101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5040 4102 5041 5042 LD_RPATH="";5043 4103 5044 4104 # … … 5385 4445 fi 5386 4446 done 5387 5388 5389 5390 5391 5392 5393 5394 5395 4447 5396 4448 -
trunk/packages/vizservers/geovis/configure.in
r4057 r4058 53 53 fi 54 54 55 SC_CONFIG_CFLAGS56 57 58 AC_PATH_X59 60 55 AC_PROG_INSTALL 61 56 AC_PROG_RANLIB … … 69 64 AC_PROG_CXX 70 65 AC_LANG_CPLUSPLUS 71 72 LD_RPATH="";73 66 74 67 # … … 122 115 AC_CHECK_FUNCS([accept4]) 123 116 124 AC_SUBST(CFLAGS_DEBUG)125 AC_SUBST(CFLAGS_OPTIMIZE)126 AC_SUBST(LD_RPATH)127 AC_SUBST(SHLIB_CFLAGS)128 AC_SUBST(SHLIB_LD)129 AC_SUBST(SHLIB_LDFLAGS)130 AC_SUBST(SHLIB_SUFFIX)131 117 AC_SUBST(STATSDIR) 132 AC_SUBST(STLIB_LD)133 118 AC_SUBST(TCL_INC_SPEC) 134 119 AC_SUBST(TCL_LIB_SPEC)
Note: See TracChangeset
for help on using the changeset viewer.