Ignore:
Timestamp:
Nov 14, 2013 7:55:05 PM (10 years ago)
Author:
ldelgass
Message:

cleanup configure: remove unused functions/vars

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/geovis/configure

    r4057 r4058  
    630630TCL_LIB_SPEC
    631631TCL_INC_SPEC
    632 STLIB_LD
    633632STATSDIR
    634 SHLIB_SUFFIX
    635 SHLIB_LDFLAGS
    636 SHLIB_LD
    637 SHLIB_CFLAGS
    638 LD_RPATH
    639 CFLAGS_OPTIMIZE
    640 CFLAGS_DEBUG
    641633EGREP
    642634GREP
     
    645637CXXFLAGS
    646638CXX
    647 MKDIR_P
    648 LN_S
    649 RANLIB
    650 INSTALL_DATA
    651 INSTALL_SCRIPT
    652 INSTALL_PROGRAM
    653639CPP
    654640OBJEXT
     
    659645CFLAGS
    660646CC
    661 XMKMF
     647MKDIR_P
     648LN_S
     649RANLIB
     650INSTALL_DATA
     651INSTALL_SCRIPT
     652INSTALL_PROGRAM
    662653target_alias
    663654host_alias
     
    705696with_osg_libs
    706697with_statsdir
    707 with_x
    708698'
    709699      ac_precious_vars='build_alias
    710700host_alias
    711701target_alias
    712 XMKMF
    713702CC
    714703CFLAGS
     
    13171306
    13181307  cat <<\_ACEOF
    1319 
    1320 X features:
    1321   --x-includes=DIR    X include files are in DIR
    1322   --x-libraries=DIR   X library files are in DIR
    13231308_ACEOF
    13241309fi
     
    13381323  --with-osg-libs=DIR     OSG libraries are in DIR
    13391324  --with-statsdir=DIR     Write statistics in DIR
    1340   --with-x                use the X Window System
    13411325
    13421326Some influential environment variables:
    1343   XMKMF       Path to xmkmf, Makefile generator for X Window System
    13441327  CC          C compiler command
    13451328  CFLAGS      C compiler flags
     
    15081491
    15091492} # ac_fn_c_try_cpp
    1510 
    1511 # ac_fn_c_try_link LINENO
    1512 # -----------------------
    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_stack
    1517   rm -f conftest.$ac_objext conftest$ac_exeext
    1518   if { { ac_try="$ac_link"
    1519 case "(($ac_try" in
    1520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1521   *) ac_try_echo=$ac_try;;
    1522 esac
    1523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1524 $as_echo "$ac_try_echo"; } >&5
    1525   (eval "$ac_link") 2>conftest.err
    1526   ac_status=$?
    1527   if test -s conftest.err; then
    1528     grep -v '^ *+' conftest.err >conftest.er1
    1529     cat conftest.er1 >&5
    1530     mv -f conftest.er1 conftest.err
    1531   fi
    1532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1533   test $ac_status = 0; } && {
    1534          test -z "$ac_c_werror_flag" ||
    1535          test ! -s conftest.err
    1536        } && test -s conftest$ac_exeext && {
    1537          test "$cross_compiling" = yes ||
    1538          test -x conftest$ac_exeext
    1539        }; then :
    1540   ac_retval=0
    1541 else
    1542   $as_echo "$as_me: failed program was:" >&5
    1543 sed 's/^/| /' conftest.$ac_ext >&5
    1544 
    1545         ac_retval=1
    1546 fi
    1547   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1548   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1549   # interfere with the next link command; also delete a directory that is
    1550   # left behind by Apple's compiler.  We do this before executing the actions.
    1551   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1552   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1553   as_fn_set_status $ac_retval
    1554 
    1555 } # ac_fn_c_try_link
    15561493
    15571494# ac_fn_cxx_try_compile LINENO
     
    23462283fi
    23472284
    2348 SC_CONFIG_CFLAGS
    2349 
    2350 
    2351 ac_ext=c
    2352 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_gnu
    2356 if test -n "$ac_tool_prefix"; then
    2357   # 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=$2
    2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2360 $as_echo_n "checking for $ac_word... " >&6; }
    2361 if ${ac_cv_prog_CC+:} false; then :
    2362   $as_echo_n "(cached) " >&6
    2363 else
    2364   if test -n "$CC"; then
    2365   ac_cv_prog_CC="$CC" # Let the user override the test.
    2366 else
    2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2368 for as_dir in $PATH
    2369 do
    2370   IFS=$as_save_IFS
    2371   test -z "$as_dir" && as_dir=.
    2372     for ac_exec_ext in '' $ac_executable_extensions; do
    2373   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2374     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2376     break 2
    2377   fi
    2378 done
    2379   done
    2380 IFS=$as_save_IFS
    2381 
    2382 fi
    2383 fi
    2384 CC=$ac_cv_prog_CC
    2385 if test -n "$CC"; then
    2386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2387 $as_echo "$CC" >&6; }
    2388 else
    2389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2390 $as_echo "no" >&6; }
    2391 fi
    2392 
    2393 
    2394 fi
    2395 if test -z "$ac_cv_prog_CC"; then
    2396   ac_ct_CC=$CC
    2397   # Extract the first word of "gcc", so it can be a program name with args.
    2398 set dummy gcc; ac_word=$2
    2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2400 $as_echo_n "checking for $ac_word... " >&6; }
    2401 if ${ac_cv_prog_ac_ct_CC+:} false; then :
    2402   $as_echo_n "(cached) " >&6
    2403 else
    2404   if test -n "$ac_ct_CC"; then
    2405   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2406 else
    2407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2408 for as_dir in $PATH
    2409 do
    2410   IFS=$as_save_IFS
    2411   test -z "$as_dir" && as_dir=.
    2412     for ac_exec_ext in '' $ac_executable_extensions; do
    2413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2414     ac_cv_prog_ac_ct_CC="gcc"
    2415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2416     break 2
    2417   fi
    2418 done
    2419   done
    2420 IFS=$as_save_IFS
    2421 
    2422 fi
    2423 fi
    2424 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2425 if test -n "$ac_ct_CC"; then
    2426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    2427 $as_echo "$ac_ct_CC" >&6; }
    2428 else
    2429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2430 $as_echo "no" >&6; }
    2431 fi
    2432 
    2433   if test "x$ac_ct_CC" = x; then
    2434     CC=""
    2435   else
    2436     case $cross_compiling:$ac_tool_warned in
    2437 yes:)
    2438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2440 ac_tool_warned=yes ;;
    2441 esac
    2442     CC=$ac_ct_CC
    2443   fi
    2444 else
    2445   CC="$ac_cv_prog_CC"
    2446 fi
    2447 
    2448 if test -z "$CC"; then
    2449           if test -n "$ac_tool_prefix"; then
    2450     # 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=$2
    2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2453 $as_echo_n "checking for $ac_word... " >&6; }
    2454 if ${ac_cv_prog_CC+:} false; then :
    2455   $as_echo_n "(cached) " >&6
    2456 else
    2457   if test -n "$CC"; then
    2458   ac_cv_prog_CC="$CC" # Let the user override the test.
    2459 else
    2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2461 for as_dir in $PATH
    2462 do
    2463   IFS=$as_save_IFS
    2464   test -z "$as_dir" && as_dir=.
    2465     for ac_exec_ext in '' $ac_executable_extensions; do
    2466   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2467     ac_cv_prog_CC="${ac_tool_prefix}cc"
    2468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2469     break 2
    2470   fi
    2471 done
    2472   done
    2473 IFS=$as_save_IFS
    2474 
    2475 fi
    2476 fi
    2477 CC=$ac_cv_prog_CC
    2478 if test -n "$CC"; then
    2479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2480 $as_echo "$CC" >&6; }
    2481 else
    2482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2483 $as_echo "no" >&6; }
    2484 fi
    2485 
    2486 
    2487   fi
    2488 fi
    2489 if test -z "$CC"; then
    2490   # Extract the first word of "cc", so it can be a program name with args.
    2491 set dummy cc; ac_word=$2
    2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2493 $as_echo_n "checking for $ac_word... " >&6; }
    2494 if ${ac_cv_prog_CC+:} false; then :
    2495   $as_echo_n "(cached) " >&6
    2496 else
    2497   if test -n "$CC"; then
    2498   ac_cv_prog_CC="$CC" # Let the user override the test.
    2499 else
    2500   ac_prog_rejected=no
    2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2502 for as_dir in $PATH
    2503 do
    2504   IFS=$as_save_IFS
    2505   test -z "$as_dir" && as_dir=.
    2506     for ac_exec_ext in '' $ac_executable_extensions; do
    2507   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2508     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    2509        ac_prog_rejected=yes
    2510        continue
    2511      fi
    2512     ac_cv_prog_CC="cc"
    2513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2514     break 2
    2515   fi
    2516 done
    2517   done
    2518 IFS=$as_save_IFS
    2519 
    2520 if test $ac_prog_rejected = yes; then
    2521   # We found a bogon in the path, so make sure we never use it.
    2522   set dummy $ac_cv_prog_CC
    2523   shift
    2524   if test $# != 0; then
    2525     # We chose a different compiler from the bogus one.
    2526     # However, it has the same basename, so the bogon will be chosen
    2527     # first if we set CC to just the basename; use the full file name.
    2528     shift
    2529     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    2530   fi
    2531 fi
    2532 fi
    2533 fi
    2534 CC=$ac_cv_prog_CC
    2535 if test -n "$CC"; then
    2536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2537 $as_echo "$CC" >&6; }
    2538 else
    2539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2540 $as_echo "no" >&6; }
    2541 fi
    2542 
    2543 
    2544 fi
    2545 if test -z "$CC"; then
    2546   if test -n "$ac_tool_prefix"; then
    2547   for ac_prog in cl.exe
    2548   do
    2549     # 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=$2
    2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2552 $as_echo_n "checking for $ac_word... " >&6; }
    2553 if ${ac_cv_prog_CC+:} false; then :
    2554   $as_echo_n "(cached) " >&6
    2555 else
    2556   if test -n "$CC"; then
    2557   ac_cv_prog_CC="$CC" # Let the user override the test.
    2558 else
    2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2560 for as_dir in $PATH
    2561 do
    2562   IFS=$as_save_IFS
    2563   test -z "$as_dir" && as_dir=.
    2564     for ac_exec_ext in '' $ac_executable_extensions; do
    2565   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2566     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" >&5
    2568     break 2
    2569   fi
    2570 done
    2571   done
    2572 IFS=$as_save_IFS
    2573 
    2574 fi
    2575 fi
    2576 CC=$ac_cv_prog_CC
    2577 if test -n "$CC"; then
    2578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2579 $as_echo "$CC" >&6; }
    2580 else
    2581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2582 $as_echo "no" >&6; }
    2583 fi
    2584 
    2585 
    2586     test -n "$CC" && break
    2587   done
    2588 fi
    2589 if test -z "$CC"; then
    2590   ac_ct_CC=$CC
    2591   for ac_prog in cl.exe
    2592 do
    2593   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2594 set dummy $ac_prog; ac_word=$2
    2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2596 $as_echo_n "checking for $ac_word... " >&6; }
    2597 if ${ac_cv_prog_ac_ct_CC+:} false; then :
    2598   $as_echo_n "(cached) " >&6
    2599 else
    2600   if test -n "$ac_ct_CC"; then
    2601   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2602 else
    2603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2604 for as_dir in $PATH
    2605 do
    2606   IFS=$as_save_IFS
    2607   test -z "$as_dir" && as_dir=.
    2608     for ac_exec_ext in '' $ac_executable_extensions; do
    2609   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2610     ac_cv_prog_ac_ct_CC="$ac_prog"
    2611     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2612     break 2
    2613   fi
    2614 done
    2615   done
    2616 IFS=$as_save_IFS
    2617 
    2618 fi
    2619 fi
    2620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2621 if test -n "$ac_ct_CC"; then
    2622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    2623 $as_echo "$ac_ct_CC" >&6; }
    2624 else
    2625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2626 $as_echo "no" >&6; }
    2627 fi
    2628 
    2629 
    2630   test -n "$ac_ct_CC" && break
    2631 done
    2632 
    2633   if test "x$ac_ct_CC" = x; then
    2634     CC=""
    2635   else
    2636     case $cross_compiling:$ac_tool_warned in
    2637 yes:)
    2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2640 ac_tool_warned=yes ;;
    2641 esac
    2642     CC=$ac_ct_CC
    2643   fi
    2644 fi
    2645 
    2646 fi
    2647 
    2648 
    2649 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2651 as_fn_error $? "no acceptable C compiler found in \$PATH
    2652 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" >&5
    2656 set X $ac_compile
    2657 ac_compiler=$2
    2658 for ac_option in --version -v -V -qversion; do
    2659   { { ac_try="$ac_compiler $ac_option >&5"
    2660 case "(($ac_try" in
    2661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2662   *) ac_try_echo=$ac_try;;
    2663 esac
    2664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2665 $as_echo "$ac_try_echo"; } >&5
    2666   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    2667   ac_status=$?
    2668   if test -s conftest.err; then
    2669     sed '10a\
    2670 ... rest of stderr output deleted ...
    2671          10q' conftest.err >conftest.er1
    2672     cat conftest.er1 >&5
    2673   fi
    2674   rm -f conftest.er1 conftest.err
    2675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2676   test $ac_status = 0; }
    2677 done
    2678 
    2679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2680 /* end confdefs.h.  */
    2681 
    2682 int
    2683 main ()
    2684 {
    2685 
    2686   ;
    2687   return 0;
    2688 }
    2689 _ACEOF
    2690 ac_clean_files_save=$ac_clean_files
    2691 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 intuition
    2694 # of exeext.
    2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    2696 $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_files
    2704 do
    2705   case $ac_file in
    2706     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    2707     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2708   esac
    2709 done
    2710 rm -f $ac_rmfiles
    2711 
    2712 if { { ac_try="$ac_link_default"
    2713 case "(($ac_try" in
    2714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2715   *) ac_try_echo=$ac_try;;
    2716 esac
    2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2718 $as_echo "$ac_try_echo"; } >&5
    2719   (eval "$ac_link_default") 2>&5
    2720   ac_status=$?
    2721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2722   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 to
    2727 # Autoconf.
    2728 for ac_file in $ac_files ''
    2729 do
    2730   test -f "$ac_file" || continue
    2731   case $ac_file in
    2732     *.$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 most
    2736         # certainly right.
    2737         break;;
    2738     *.* )
    2739         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2740         then :; else
    2741            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2742         fi
    2743         # We set ac_cv_exeext here because the later test for it is not
    2744         # 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 of
    2747         # actually working.
    2748         break;;
    2749     * )
    2750         break;;
    2751   esac
    2752 done
    2753 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2754 
    2755 else
    2756   ac_file=''
    2757 fi
    2758 if test -z "$ac_file"; then :
    2759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2760 $as_echo "no" >&6; }
    2761 $as_echo "$as_me: failed program was:" >&5
    2762 sed 's/^/| /' conftest.$ac_ext >&5
    2763 
    2764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2766 as_fn_error 77 "C compiler cannot create executables
    2767 See \`config.log' for more details" "$LINENO" 5; }
    2768 else
    2769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    2770 $as_echo "yes" >&6; }
    2771 fi
    2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    2773 $as_echo_n "checking for C compiler default output file name... " >&6; }
    2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    2775 $as_echo "$ac_file" >&6; }
    2776 ac_exeext=$ac_cv_exeext
    2777 
    2778 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    2779 ac_clean_files=$ac_clean_files_save
    2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    2781 $as_echo_n "checking for suffix of executables... " >&6; }
    2782 if { { ac_try="$ac_link"
    2783 case "(($ac_try" in
    2784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2785   *) ac_try_echo=$ac_try;;
    2786 esac
    2787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2788 $as_echo "$ac_try_echo"; } >&5
    2789   (eval "$ac_link") 2>&5
    2790   ac_status=$?
    2791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2792   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' will
    2795 # work properly (i.e., refer to `conftest.exe'), while it won't with
    2796 # `rm'.
    2797 for ac_file in conftest.exe conftest conftest.*; do
    2798   test -f "$ac_file" || continue
    2799   case $ac_file in
    2800     *.$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   esac
    2805 done
    2806 else
    2807   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2809 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
    2810 See \`config.log' for more details" "$LINENO" 5; }
    2811 fi
    2812 rm -f conftest conftest$ac_cv_exeext
    2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    2814 $as_echo "$ac_cv_exeext" >&6; }
    2815 
    2816 rm -f conftest.$ac_ext
    2817 EXEEXT=$ac_cv_exeext
    2818 ac_exeext=$EXEEXT
    2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2820 /* end confdefs.h.  */
    2821 #include <stdio.h>
    2822 int
    2823 main ()
    2824 {
    2825 FILE *f = fopen ("conftest.out", "w");
    2826  return ferror (f) || fclose (f) != 0;
    2827 
    2828   ;
    2829   return 0;
    2830 }
    2831 _ACEOF
    2832 ac_clean_files="$ac_clean_files conftest.out"
    2833 # Check that the compiler produces executables we can run.  If not, either
    2834 # the compiler is broken, or we cross compile.
    2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    2836 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2837 if test "$cross_compiling" != yes; then
    2838   { { ac_try="$ac_link"
    2839 case "(($ac_try" in
    2840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2841   *) ac_try_echo=$ac_try;;
    2842 esac
    2843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2844 $as_echo "$ac_try_echo"; } >&5
    2845   (eval "$ac_link") 2>&5
    2846   ac_status=$?
    2847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2848   test $ac_status = 0; }
    2849   if { ac_try='./conftest$ac_cv_exeext'
    2850   { { case "(($ac_try" in
    2851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2852   *) ac_try_echo=$ac_try;;
    2853 esac
    2854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2855 $as_echo "$ac_try_echo"; } >&5
    2856   (eval "$ac_try") 2>&5
    2857   ac_status=$?
    2858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2859   test $ac_status = 0; }; }; then
    2860     cross_compiling=no
    2861   else
    2862     if test "$cross_compiling" = maybe; then
    2863         cross_compiling=yes
    2864     else
    2865         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2866 $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     fi
    2871   fi
    2872 fi
    2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    2874 $as_echo "$cross_compiling" >&6; }
    2875 
    2876 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
    2877 ac_clean_files=$ac_clean_files_save
    2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    2879 $as_echo_n "checking for suffix of object files... " >&6; }
    2880 if ${ac_cv_objext+:} false; then :
    2881   $as_echo_n "(cached) " >&6
    2882 else
    2883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2884 /* end confdefs.h.  */
    2885 
    2886 int
    2887 main ()
    2888 {
    2889 
    2890   ;
    2891   return 0;
    2892 }
    2893 _ACEOF
    2894 rm -f conftest.o conftest.obj
    2895 if { { ac_try="$ac_compile"
    2896 case "(($ac_try" in
    2897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2898   *) ac_try_echo=$ac_try;;
    2899 esac
    2900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2901 $as_echo "$ac_try_echo"; } >&5
    2902   (eval "$ac_compile") 2>&5
    2903   ac_status=$?
    2904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2905   test $ac_status = 0; }; then :
    2906   for ac_file in conftest.o conftest.obj conftest.*; do
    2907   test -f "$ac_file" || continue;
    2908   case $ac_file in
    2909     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    2910     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    2911        break;;
    2912   esac
    2913 done
    2914 else
    2915   $as_echo "$as_me: failed program was:" >&5
    2916 sed 's/^/| /' conftest.$ac_ext >&5
    2917 
    2918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2920 as_fn_error $? "cannot compute suffix of object files: cannot compile
    2921 See \`config.log' for more details" "$LINENO" 5; }
    2922 fi
    2923 rm -f conftest.$ac_cv_objext conftest.$ac_ext
    2924 fi
    2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    2926 $as_echo "$ac_cv_objext" >&6; }
    2927 OBJEXT=$ac_cv_objext
    2928 ac_objext=$OBJEXT
    2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    2930 $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) " >&6
    2933 else
    2934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2935 /* end confdefs.h.  */
    2936 
    2937 int
    2938 main ()
    2939 {
    2940 #ifndef __GNUC__
    2941        choke me
    2942 #endif
    2943 
    2944   ;
    2945   return 0;
    2946 }
    2947 _ACEOF
    2948 if ac_fn_c_try_compile "$LINENO"; then :
    2949   ac_compiler_gnu=yes
    2950 else
    2951   ac_compiler_gnu=no
    2952 fi
    2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2954 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    2955 
    2956 fi
    2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    2958 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
    2959 if test $ac_compiler_gnu = yes; then
    2960   GCC=yes
    2961 else
    2962   GCC=
    2963 fi
    2964 ac_test_CFLAGS=${CFLAGS+set}
    2965 ac_save_CFLAGS=$CFLAGS
    2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    2967 $as_echo_n "checking whether $CC accepts -g... " >&6; }
    2968 if ${ac_cv_prog_cc_g+:} false; then :
    2969   $as_echo_n "(cached) " >&6
    2970 else
    2971   ac_save_c_werror_flag=$ac_c_werror_flag
    2972    ac_c_werror_flag=yes
    2973    ac_cv_prog_cc_g=no
    2974    CFLAGS="-g"
    2975    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2976 /* end confdefs.h.  */
    2977 
    2978 int
    2979 main ()
    2980 {
    2981 
    2982   ;
    2983   return 0;
    2984 }
    2985 _ACEOF
    2986 if ac_fn_c_try_compile "$LINENO"; then :
    2987   ac_cv_prog_cc_g=yes
    2988 else
    2989   CFLAGS=""
    2990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2991 /* end confdefs.h.  */
    2992 
    2993 int
    2994 main ()
    2995 {
    2996 
    2997   ;
    2998   return 0;
    2999 }
    3000 _ACEOF
    3001 if ac_fn_c_try_compile "$LINENO"; then :
    3002 
    3003 else
    3004   ac_c_werror_flag=$ac_save_c_werror_flag
    3005          CFLAGS="-g"
    3006          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3007 /* end confdefs.h.  */
    3008 
    3009 int
    3010 main ()
    3011 {
    3012 
    3013   ;
    3014   return 0;
    3015 }
    3016 _ACEOF
    3017 if ac_fn_c_try_compile "$LINENO"; then :
    3018   ac_cv_prog_cc_g=yes
    3019 fi
    3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3021 fi
    3022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3023 fi
    3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3025    ac_c_werror_flag=$ac_save_c_werror_flag
    3026 fi
    3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    3028 $as_echo "$ac_cv_prog_cc_g" >&6; }
    3029 if test "$ac_test_CFLAGS" = set; then
    3030   CFLAGS=$ac_save_CFLAGS
    3031 elif test $ac_cv_prog_cc_g = yes; then
    3032   if test "$GCC" = yes; then
    3033     CFLAGS="-g -O2"
    3034   else
    3035     CFLAGS="-g"
    3036   fi
    3037 else
    3038   if test "$GCC" = yes; then
    3039     CFLAGS="-O2"
    3040   else
    3041     CFLAGS=
    3042   fi
    3043 fi
    3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    3045 $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) " >&6
    3048 else
    3049   ac_cv_prog_cc_c89=no
    3050 ac_save_CC=$CC
    3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3052 /* 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 has
    3076    function prototypes and stuff, but not '\xHH' hex character constants.
    3077    These don't provoke an error unfortunately, instead are silently treated
    3078    as 'x'.  The following induces an error, until -std is added to get
    3079    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    3080    array size at least.  It's necessary to write '\x00'==0 to get something
    3081    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 parameters
    3085    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 int
    3096 main ()
    3097 {
    3098 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    3099   ;
    3100   return 0;
    3101 }
    3102 _ACEOF
    3103 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    3104         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    3105 do
    3106   CC="$ac_save_CC $ac_arg"
    3107   if ac_fn_c_try_compile "$LINENO"; then :
    3108   ac_cv_prog_cc_c89=$ac_arg
    3109 fi
    3110 rm -f core conftest.err conftest.$ac_objext
    3111   test "x$ac_cv_prog_cc_c89" != "xno" && break
    3112 done
    3113 rm -f conftest.$ac_ext
    3114 CC=$ac_save_CC
    3115 
    3116 fi
    3117 # AC_CACHE_VAL
    3118 case "x$ac_cv_prog_cc_c89" in
    3119   x)
    3120     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    3121 $as_echo "none needed" >&6; } ;;
    3122   xno)
    3123     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    3124 $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" >&5
    3128 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    3129 esac
    3130 if test "x$ac_cv_prog_cc_c89" != xno; then :
    3131 
    3132 fi
    3133 
    3134 ac_ext=c
    3135 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_gnu
    3139 
    3140 
    3141 ac_ext=c
    3142 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_gnu
    3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    3147 $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"; then
    3150   CPP=
    3151 fi
    3152 if test -z "$CPP"; then
    3153   if ${ac_cv_prog_CPP+:} false; then :
    3154   $as_echo_n "(cached) " >&6
    3155 else
    3156       # Double quotes because CPP needs to be expanded
    3157     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    3158     do
    3159       ac_preproc_ok=false
    3160 for ac_c_preproc_warn_flag in '' yes
    3161 do
    3162   # Use a header file that comes with gcc, so configuring glibc
    3163   # with a fresh cross-compiler works.
    3164   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3165   # <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_ext
    3169 /* end confdefs.h.  */
    3170 #ifdef __STDC__
    3171 # include <limits.h>
    3172 #else
    3173 # include <assert.h>
    3174 #endif
    3175                      Syntax error
    3176 _ACEOF
    3177 if ac_fn_c_try_cpp "$LINENO"; then :
    3178 
    3179 else
    3180   # Broken: fails on valid input.
    3181 continue
    3182 fi
    3183 rm -f conftest.err conftest.i conftest.$ac_ext
    3184 
    3185   # OK, works on sane cases.  Now check whether nonexistent headers
    3186   # can be detected and how.
    3187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3188 /* end confdefs.h.  */
    3189 #include <ac_nonexistent.h>
    3190 _ACEOF
    3191 if ac_fn_c_try_cpp "$LINENO"; then :
    3192   # Broken: success on invalid input.
    3193 continue
    3194 else
    3195   # Passes both tests.
    3196 ac_preproc_ok=:
    3197 break
    3198 fi
    3199 rm -f conftest.err conftest.i conftest.$ac_ext
    3200 
    3201 done
    3202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3203 rm -f conftest.i conftest.err conftest.$ac_ext
    3204 if $ac_preproc_ok; then :
    3205   break
    3206 fi
    3207 
    3208     done
    3209     ac_cv_prog_CPP=$CPP
    3210 
    3211 fi
    3212   CPP=$ac_cv_prog_CPP
    3213 else
    3214   ac_cv_prog_CPP=$CPP
    3215 fi
    3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    3217 $as_echo "$CPP" >&6; }
    3218 ac_preproc_ok=false
    3219 for ac_c_preproc_warn_flag in '' yes
    3220 do
    3221   # Use a header file that comes with gcc, so configuring glibc
    3222   # with a fresh cross-compiler works.
    3223   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3224   # <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_ext
    3228 /* end confdefs.h.  */
    3229 #ifdef __STDC__
    3230 # include <limits.h>
    3231 #else
    3232 # include <assert.h>
    3233 #endif
    3234                      Syntax error
    3235 _ACEOF
    3236 if ac_fn_c_try_cpp "$LINENO"; then :
    3237 
    3238 else
    3239   # Broken: fails on valid input.
    3240 continue
    3241 fi
    3242 rm -f conftest.err conftest.i conftest.$ac_ext
    3243 
    3244   # OK, works on sane cases.  Now check whether nonexistent headers
    3245   # can be detected and how.
    3246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3247 /* end confdefs.h.  */
    3248 #include <ac_nonexistent.h>
    3249 _ACEOF
    3250 if ac_fn_c_try_cpp "$LINENO"; then :
    3251   # Broken: success on invalid input.
    3252 continue
    3253 else
    3254   # Passes both tests.
    3255 ac_preproc_ok=:
    3256 break
    3257 fi
    3258 rm -f conftest.err conftest.i conftest.$ac_ext
    3259 
    3260 done
    3261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3262 rm -f conftest.i conftest.err conftest.$ac_ext
    3263 if $ac_preproc_ok; then :
    3264 
    3265 else
    3266   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3268 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    3269 See \`config.log' for more details" "$LINENO" 5; }
    3270 fi
    3271 
    3272 ac_ext=c
    3273 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_gnu
    3277 
    3278 
    3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
    3280 $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 fi
    3287 
    3288 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
    3289 if test "x$with_x" = xno; then
    3290   # The user explicitly disabled X.
    3291   have_x=disabled
    3292 else
    3293   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) " >&6
    3297 else
    3298   # One or both of the vars are not set, and there is no cached value.
    3299 ac_x_includes=no ac_x_libraries=no
    3300 rm -f -r conftest.dir
    3301 if mkdir conftest.dir; then
    3302   cd conftest.dir
    3303   cat >Imakefile <<'_ACEOF'
    3304 incroot:
    3305         @echo incroot='${INCROOT}'
    3306 usrlibdir:
    3307         @echo usrlibdir='${USRLIBDIR}'
    3308 libdir:
    3309         @echo libdir='${LIBDIR}'
    3310 _ACEOF
    3311   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
    3312     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    3313     for ac_var in incroot usrlibdir libdir; do
    3314       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
    3315     done
    3316     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
    3317     for ac_extension in a so sl dylib la dll; do
    3318       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
    3319          test -f "$ac_im_libdir/libX11.$ac_extension"; then
    3320         ac_im_usrlibdir=$ac_im_libdir; break
    3321       fi
    3322     done
    3323     # Screen out bogus values from the imake configuration.  They are
    3324     # bogus both because they are the default anyway, and because
    3325     # using them would break gcc on systems where it needs fixed includes.
    3326     case $ac_im_incroot in
    3327         /usr/include) ac_x_includes= ;;
    3328         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
    3329     esac
    3330     case $ac_im_usrlibdir in
    3331         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
    3332         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
    3333     esac
    3334   fi
    3335   cd ..
    3336   rm -f -r conftest.dir
    3337 fi
    3338 
    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/include
    3343 /usr/X11R7/include
    3344 /usr/X11R6/include
    3345 /usr/X11R5/include
    3346 /usr/X11R4/include
    3347 
    3348 /usr/include/X11
    3349 /usr/include/X11R7
    3350 /usr/include/X11R6
    3351 /usr/include/X11R5
    3352 /usr/include/X11R4
    3353 
    3354 /usr/local/X11/include
    3355 /usr/local/X11R7/include
    3356 /usr/local/X11R6/include
    3357 /usr/local/X11R5/include
    3358 /usr/local/X11R4/include
    3359 
    3360 /usr/local/include/X11
    3361 /usr/local/include/X11R7
    3362 /usr/local/include/X11R6
    3363 /usr/local/include/X11R5
    3364 /usr/local/include/X11R4
    3365 
    3366 /usr/X386/include
    3367 /usr/x386/include
    3368 /usr/XFree86/include/X11
    3369 
    3370 /usr/include
    3371 /usr/local/include
    3372 /usr/unsupported/include
    3373 /usr/athena/include
    3374 /usr/local/x11r5/include
    3375 /usr/lpp/Xamples/include
    3376 
    3377 /usr/openwin/include
    3378 /usr/openwin/share/include'
    3379 
    3380 if test "$ac_x_includes" = no; then
    3381   # 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_ext
    3384 /* end confdefs.h.  */
    3385 #include <X11/Xlib.h>
    3386 _ACEOF
    3387 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 else
    3391   for ac_dir in $ac_x_header_dirs; do
    3392   if test -r "$ac_dir/X11/Xlib.h"; then
    3393     ac_x_includes=$ac_dir
    3394     break
    3395   fi
    3396 done
    3397 fi
    3398 rm -f conftest.err conftest.i conftest.$ac_ext
    3399 fi # $ac_x_includes = no
    3400 
    3401 if test "$ac_x_libraries" = no; then
    3402   # 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=$LIBS
    3406   LIBS="-lX11 $LIBS"
    3407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3408 /* end confdefs.h.  */
    3409 #include <X11/Xlib.h>
    3410 int
    3411 main ()
    3412 {
    3413 XrmInitialize ()
    3414   ;
    3415   return 0;
    3416 }
    3417 _ACEOF
    3418 if ac_fn_c_try_link "$LINENO"; then :
    3419   LIBS=$ac_save_LIBS
    3420 # We can link X programs with no special library path.
    3421 ac_x_libraries=
    3422 else
    3423   LIBS=$ac_save_LIBS
    3424 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
    3425 do
    3426   # Don't even attempt the hair of trying to link an X program!
    3427   for ac_extension in a so sl dylib la dll; do
    3428     if test -r "$ac_dir/libX11.$ac_extension"; then
    3429       ac_x_libraries=$ac_dir
    3430       break 2
    3431     fi
    3432   done
    3433 done
    3434 fi
    3435 rm -f core conftest.err conftest.$ac_objext \
    3436     conftest$ac_exeext conftest.$ac_ext
    3437 fi # $ac_x_libraries = no
    3438 
    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 esac
    3449 fi
    3450 ;; #(
    3451     *) have_x=yes;;
    3452   esac
    3453   eval "$ac_cv_have_x"
    3454 fi # $with_x != no
    3455 
    3456 if test "$have_x" != yes; then
    3457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
    3458 $as_echo "$have_x" >&6; }
    3459   no_x=yes
    3460 else
    3461   # If each of the values was on the command line, it overrides each guess.
    3462   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
    3463   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
    3464   # 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" >&5
    3469 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
    3470 fi
    3471 
    3472 
    34732285# Find a good install program.  We prefer a C program (faster),
    34742286# so one script is as good as another.  But avoid the broken or
     
    40382850done
    40392851
     2852cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2853/* end confdefs.h.  */
     2854
     2855int
     2856main ()
     2857{
     2858
     2859  ;
     2860  return 0;
     2861}
     2862_ACEOF
     2863ac_clean_files_save=$ac_clean_files
     2864ac_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; }
     2870ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2871
     2872# The possible output files:
     2873ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     2874
     2875ac_rmfiles=
     2876for ac_file in $ac_files
     2877do
     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
     2882done
     2883rm -f $ac_rmfiles
     2884
     2885if { { ac_try="$ac_link_default"
     2886case "(($ac_try" in
     2887  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2888  *) ac_try_echo=$ac_try;;
     2889esac
     2890eval 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.
     2901for ac_file in $ac_files ''
     2902do
     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
     2925done
     2926test "$ac_cv_exeext" = no && ac_cv_exeext=
     2927
     2928else
     2929  ac_file=''
     2930fi
     2931if 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
     2935sed '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;}
     2939as_fn_error 77 "C compiler cannot create executables
     2940See \`config.log' for more details" "$LINENO" 5; }
     2941else
     2942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2943$as_echo "yes" >&6; }
     2944fi
     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; }
     2949ac_exeext=$ac_cv_exeext
     2950
     2951rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     2952ac_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; }
     2955if { { ac_try="$ac_link"
     2956case "(($ac_try" in
     2957  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2958  *) ac_try_echo=$ac_try;;
     2959esac
     2960eval 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'.
     2970for 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
     2978done
     2979else
     2980  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2981$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2982as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     2983See \`config.log' for more details" "$LINENO" 5; }
     2984fi
     2985rm -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
     2989rm -f conftest.$ac_ext
     2990EXEEXT=$ac_cv_exeext
     2991ac_exeext=$EXEEXT
     2992cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2993/* end confdefs.h.  */
     2994#include <stdio.h>
     2995int
     2996main ()
     2997{
     2998FILE *f = fopen ("conftest.out", "w");
     2999 return ferror (f) || fclose (f) != 0;
     3000
     3001  ;
     3002  return 0;
     3003}
     3004_ACEOF
     3005ac_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; }
     3010if test "$cross_compiling" != yes; then
     3011  { { ac_try="$ac_link"
     3012case "(($ac_try" in
     3013  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3014  *) ac_try_echo=$ac_try;;
     3015esac
     3016eval 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;;
     3026esac
     3027eval 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;}
     3040as_fn_error $? "cannot run C compiled programs.
     3041If you meant to cross compile, use \`--host'.
     3042See \`config.log' for more details" "$LINENO" 5; }
     3043    fi
     3044  fi
     3045fi
     3046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3047$as_echo "$cross_compiling" >&6; }
     3048
     3049rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3050ac_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; }
     3053if ${ac_cv_objext+:} false; then :
     3054  $as_echo_n "(cached) " >&6
     3055else
     3056  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3057/* end confdefs.h.  */
     3058
     3059int
     3060main ()
     3061{
     3062
     3063  ;
     3064  return 0;
     3065}
     3066_ACEOF
     3067rm -f conftest.o conftest.obj
     3068if { { ac_try="$ac_compile"
     3069case "(($ac_try" in
     3070  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3071  *) ac_try_echo=$ac_try;;
     3072esac
     3073eval 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
     3086done
     3087else
     3088  $as_echo "$as_me: failed program was:" >&5
     3089sed '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;}
     3093as_fn_error $? "cannot compute suffix of object files: cannot compile
     3094See \`config.log' for more details" "$LINENO" 5; }
     3095fi
     3096rm -f conftest.$ac_cv_objext conftest.$ac_ext
     3097fi
     3098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     3099$as_echo "$ac_cv_objext" >&6; }
     3100OBJEXT=$ac_cv_objext
     3101ac_objext=$OBJEXT
    40403102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    40413103$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     
    50394101ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    50404102
    5041 
    5042 LD_RPATH="";
    50434103
    50444104#
     
    53854445fi
    53864446done
    5387 
    5388 
    5389 
    5390 
    5391 
    5392 
    5393 
    5394 
    53954447
    53964448
Note: See TracChangeset for help on using the changeset viewer.