Changeset 3248 for ThirdParty/Glpk


Ignore:
Timestamp:
Jun 29, 2014 6:41:45 PM (5 years ago)
Author:
stefan
Message:

move more initialization

Location:
ThirdParty/Glpk/branches/autotools-update
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Glpk/branches/autotools-update/config_glpk.h.in

    r3193 r3248  
    6262#undef ODBC_DLNAME
    6363
    64 /* Name of package */
    65 #undef PACKAGE
    66 
    6764/* Define to the address where bug reports for this package should be sent. */
    6865#undef PACKAGE_BUGREPORT
     
    8683#undef STDC_HEADERS
    8784
    88 /* Version number of package */
    89 #undef VERSION
    90 
    9185/* Define to 1 if windows dll support is available */
    9286#undef __WOE__
  • ThirdParty/Glpk/branches/autotools-update/configure

    r3246 r3248  
    648648glpkminorver
    649649glpkmajorver
     650COIN_DESTDIR
    650651CPP
    651652OTOOL64
     
    669670GREP
    670671SED
     672am__fastdepCC_FALSE
     673am__fastdepCC_TRUE
     674CCDEPMODE
     675am__nodep
     676AMDEPBACKSLASH
     677AMDEP_FALSE
     678AMDEP_TRUE
     679am__quote
     680am__include
     681DEPDIR
     682OBJEXT
     683EXEEXT
     684ac_ct_CC
     685CPPFLAGS
     686LDFLAGS
     687CFLAGS
     688CC
    671689host_os
    672690host_vendor
     
    681699AM_DEFAULT_V
    682700AM_V
    683 am__fastdepCC_FALSE
    684 am__fastdepCC_TRUE
    685 CCDEPMODE
    686 am__nodep
    687 AMDEPBACKSLASH
    688 AMDEP_FALSE
    689 AMDEP_TRUE
    690 am__quote
    691 am__include
    692 DEPDIR
    693701am__untar
    694702am__tar
     
    714722INSTALL_SCRIPT
    715723INSTALL_PROGRAM
    716 OBJEXT
    717 EXEEXT
    718 ac_ct_CC
    719 CPPFLAGS
    720 LDFLAGS
    721 CFLAGS
    722 CC
    723 COIN_DESTDIR
    724724build_os
    725725build_vendor
     
    771771ac_user_opts='
    772772enable_option_checking
    773 enable_dependency_tracking
    774773enable_silent_rules
    775774enable_maintainer_mode
     
    778777with_pic
    779778enable_fast_install
     779enable_dependency_tracking
    780780with_gnu_ld
    781781with_sysroot
     
    14111411  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    14121412  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    1413   --enable-dependency-tracking
    1414                           do not reject slow dependency extractors
    1415   --disable-dependency-tracking
    1416                           speeds up one-time build
    14171413  --enable-silent-rules   less verbose build output (undo: "make V=1")
    14181414  --disable-silent-rules  verbose build output (undo: "make V=0")
     
    14241420  --enable-fast-install[=PKGS]
    14251421                          optimize for fast installation [default=yes]
     1422  --enable-dependency-tracking
     1423                          do not reject slow dependency extractors
     1424  --disable-dependency-tracking
     1425                          speeds up one-time build
    14261426  --disable-libtool-lock  avoid locking (might break parallel builds)
    14271427  --enable-odbc           enable MathProg ODBC support [[default=auto]]
     
    23102310
    23112311
    2312 
    2313 
    2314 
    2315 
    2316 # Set the project's version numbers
    2317 
    2318 
    2319 cat >>confdefs.h <<_ACEOF
    2320 #define GLPK_VERSION "$PACKAGE_VERSION"
    2321 _ACEOF
    2322 
    2323 
    2324   coin_majorver=`echo $PACKAGE_VERSION | sed -n -e 's/^\([0-9]*\).*/\1/gp'`
    2325   coin_minorver=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.\([0-9]*\).*/\1/gp'`
    2326   coin_releasever=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*/\1/gp'`
    2327   test -z "$coin_majorver"   && coin_majorver=9999
    2328   test -z "$coin_minorver"   && coin_minorver=9999
    2329   test -z "$coin_releasever" && coin_releasever=9999
    2330 
    2331 cat >>confdefs.h <<_ACEOF
    2332 #define GLPK_VERSION_MAJOR $coin_majorver
    2333 _ACEOF
    2334 
    2335 
    2336 cat >>confdefs.h <<_ACEOF
    2337 #define GLPK_VERSION_MINOR $coin_minorver
    2338 _ACEOF
    2339 
    2340 
    2341 cat >>confdefs.h <<_ACEOF
    2342 #define GLPK_VERSION_RELEASE $coin_releasever
    2343 _ACEOF
    2344 
    2345 
    2346   # We use the following variable to have a string with the upper case
    2347   # version of the project name
    2348   COIN_PRJCT=GLPK
    2349 
    2350   # Set the project's SVN revision number. The complicated sed expression
    2351   # (made worse by quadrigraphs) ensures that things like 4123:4168MS end up
    2352   # as a single number.
    2353   # Extract the first word of "svnversion", so it can be a program name with args.
    2354 set dummy svnversion; ac_word=$2
    2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2356 $as_echo_n "checking for $ac_word... " >&6; }
    2357 if ${ac_cv_prog_have_svnversion+:} false; then :
    2358   $as_echo_n "(cached) " >&6
    2359 else
    2360   if test -n "$have_svnversion"; then
    2361   ac_cv_prog_have_svnversion="$have_svnversion" # Let the user override the test.
    2362 else
    2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2364 for as_dir in $PATH
    2365 do
    2366   IFS=$as_save_IFS
    2367   test -z "$as_dir" && as_dir=.
    2368     for ac_exec_ext in '' $ac_executable_extensions; do
    2369   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2370     ac_cv_prog_have_svnversion="yes"
    2371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2372     break 2
    2373   fi
    2374 done
    2375   done
    2376 IFS=$as_save_IFS
    2377 
    2378   test -z "$ac_cv_prog_have_svnversion" && ac_cv_prog_have_svnversion="no"
    2379 fi
    2380 fi
    2381 have_svnversion=$ac_cv_prog_have_svnversion
    2382 if test -n "$have_svnversion"; then
    2383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_svnversion" >&5
    2384 $as_echo "$have_svnversion" >&6; }
    2385 else
    2386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2387 $as_echo "no" >&6; }
    2388 fi
    2389 
    2390 
    2391   if test "x$have_svnversion" = xyes; then
    2392 
    2393     svn_rev_tmp=`LANG=en_EN svnversion $srcdir 2>/dev/null`
    2394     if test "x$svn_rev_tmp" != xexported -a "x$svn_rev_tmp" != x -a "x$svn_rev_tmp" != "xUnversioned directory"; then
    2395       GLPK_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'`
    2396 
    2397 cat >>confdefs.h <<_ACEOF
    2398 #define GLPK_SVN_REV $GLPK_SVN_REV
    2399 _ACEOF
    2400 
    2401     fi
    2402   fi
    2403 
    2404 
    2405 
    2406 # Capture libtool library version, if given.
    2407 
    2408 
    2409 
    2410 # A useful makefile conditional that is always false
    2411  if false; then
    2412   ALWAYS_FALSE_TRUE=
    2413   ALWAYS_FALSE_FALSE='#'
    2414 else
    2415   ALWAYS_FALSE_TRUE='#'
    2416   ALWAYS_FALSE_FALSE=
    2417 fi
    2418 
    2419 
    2420 # Where should everything be installed by default?  Here, we want it
    2421 # to be installed directly in 'bin', 'lib', 'include' subdirectories
    2422 # of the directory where configure is run.  The default would be
    2423 # /usr/local.
    2424 
    2425 
    2426 # Get the system type
    2427 
    2428 
    2429 
    2430 # figure out whether there is a base directory up from here
    2431 coin_base_directory=
    2432 if test -e ../.coin_subdirs.txt ; then
    2433   coin_base_directory=`cd ..; pwd`
    2434 elif test -e ../../.coin_subdirs.txt ; then
    2435   coin_base_directory=`cd ../..; pwd`
    2436 fi
    2437 
    2438 if test "x$coin_base_directory" != x ; then
    2439   COIN_DESTDIR=$coin_base_directory/.coinstash
    2440 fi
    2441 
    2442 
    2443 
    2444 #############################################################################
    2445 #                         Standard build tool stuff                         #
    2446 #############################################################################
    2447 
    2448 #turn off warnings and pedantic mode since it seem to make trouble on solaris platform
    2449 #and we couldn't fix it anyway
    2450 #coin_skip_warn_cflags=yes
    2451 
    2452 # Check if user wants to produce debugging code
    2453 #AC_COIN_DEBUG_COMPILE(Glpk)
    2454 
    2455 # Get the name of the C compiler
    2456 #AC_COIN_PROG_CC
    2457 ac_ext=c
    2458 ac_cpp='$CPP $CPPFLAGS'
    2459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2462 if test -n "$ac_tool_prefix"; then
    2463   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    2464 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2466 $as_echo_n "checking for $ac_word... " >&6; }
    2467 if ${ac_cv_prog_CC+:} false; then :
    2468   $as_echo_n "(cached) " >&6
    2469 else
    2470   if test -n "$CC"; then
    2471   ac_cv_prog_CC="$CC" # Let the user override the test.
    2472 else
    2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2474 for as_dir in $PATH
    2475 do
    2476   IFS=$as_save_IFS
    2477   test -z "$as_dir" && as_dir=.
    2478     for ac_exec_ext in '' $ac_executable_extensions; do
    2479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2480     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2482     break 2
    2483   fi
    2484 done
    2485   done
    2486 IFS=$as_save_IFS
    2487 
    2488 fi
    2489 fi
    2490 CC=$ac_cv_prog_CC
    2491 if test -n "$CC"; then
    2492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2493 $as_echo "$CC" >&6; }
    2494 else
    2495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2496 $as_echo "no" >&6; }
    2497 fi
    2498 
    2499 
    2500 fi
    2501 if test -z "$ac_cv_prog_CC"; then
    2502   ac_ct_CC=$CC
    2503   # Extract the first word of "gcc", so it can be a program name with args.
    2504 set dummy gcc; ac_word=$2
    2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2506 $as_echo_n "checking for $ac_word... " >&6; }
    2507 if ${ac_cv_prog_ac_ct_CC+:} false; then :
    2508   $as_echo_n "(cached) " >&6
    2509 else
    2510   if test -n "$ac_ct_CC"; then
    2511   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2512 else
    2513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2514 for as_dir in $PATH
    2515 do
    2516   IFS=$as_save_IFS
    2517   test -z "$as_dir" && as_dir=.
    2518     for ac_exec_ext in '' $ac_executable_extensions; do
    2519   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2520     ac_cv_prog_ac_ct_CC="gcc"
    2521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2522     break 2
    2523   fi
    2524 done
    2525   done
    2526 IFS=$as_save_IFS
    2527 
    2528 fi
    2529 fi
    2530 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2531 if test -n "$ac_ct_CC"; then
    2532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    2533 $as_echo "$ac_ct_CC" >&6; }
    2534 else
    2535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2536 $as_echo "no" >&6; }
    2537 fi
    2538 
    2539   if test "x$ac_ct_CC" = x; then
    2540     CC=""
    2541   else
    2542     case $cross_compiling:$ac_tool_warned in
    2543 yes:)
    2544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2546 ac_tool_warned=yes ;;
    2547 esac
    2548     CC=$ac_ct_CC
    2549   fi
    2550 else
    2551   CC="$ac_cv_prog_CC"
    2552 fi
    2553 
    2554 if test -z "$CC"; then
    2555           if test -n "$ac_tool_prefix"; then
    2556     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    2557 set dummy ${ac_tool_prefix}cc; ac_word=$2
    2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2559 $as_echo_n "checking for $ac_word... " >&6; }
    2560 if ${ac_cv_prog_CC+:} false; then :
    2561   $as_echo_n "(cached) " >&6
    2562 else
    2563   if test -n "$CC"; then
    2564   ac_cv_prog_CC="$CC" # Let the user override the test.
    2565 else
    2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2567 for as_dir in $PATH
    2568 do
    2569   IFS=$as_save_IFS
    2570   test -z "$as_dir" && as_dir=.
    2571     for ac_exec_ext in '' $ac_executable_extensions; do
    2572   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2573     ac_cv_prog_CC="${ac_tool_prefix}cc"
    2574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2575     break 2
    2576   fi
    2577 done
    2578   done
    2579 IFS=$as_save_IFS
    2580 
    2581 fi
    2582 fi
    2583 CC=$ac_cv_prog_CC
    2584 if test -n "$CC"; then
    2585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2586 $as_echo "$CC" >&6; }
    2587 else
    2588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2589 $as_echo "no" >&6; }
    2590 fi
    2591 
    2592 
    2593   fi
    2594 fi
    2595 if test -z "$CC"; then
    2596   # Extract the first word of "cc", so it can be a program name with args.
    2597 set dummy cc; ac_word=$2
    2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2599 $as_echo_n "checking for $ac_word... " >&6; }
    2600 if ${ac_cv_prog_CC+:} false; then :
    2601   $as_echo_n "(cached) " >&6
    2602 else
    2603   if test -n "$CC"; then
    2604   ac_cv_prog_CC="$CC" # Let the user override the test.
    2605 else
    2606   ac_prog_rejected=no
    2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2608 for as_dir in $PATH
    2609 do
    2610   IFS=$as_save_IFS
    2611   test -z "$as_dir" && as_dir=.
    2612     for ac_exec_ext in '' $ac_executable_extensions; do
    2613   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2614     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    2615        ac_prog_rejected=yes
    2616        continue
    2617      fi
    2618     ac_cv_prog_CC="cc"
    2619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2620     break 2
    2621   fi
    2622 done
    2623   done
    2624 IFS=$as_save_IFS
    2625 
    2626 if test $ac_prog_rejected = yes; then
    2627   # We found a bogon in the path, so make sure we never use it.
    2628   set dummy $ac_cv_prog_CC
    2629   shift
    2630   if test $# != 0; then
    2631     # We chose a different compiler from the bogus one.
    2632     # However, it has the same basename, so the bogon will be chosen
    2633     # first if we set CC to just the basename; use the full file name.
    2634     shift
    2635     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    2636   fi
    2637 fi
    2638 fi
    2639 fi
    2640 CC=$ac_cv_prog_CC
    2641 if test -n "$CC"; then
    2642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2643 $as_echo "$CC" >&6; }
    2644 else
    2645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2646 $as_echo "no" >&6; }
    2647 fi
    2648 
    2649 
    2650 fi
    2651 if test -z "$CC"; then
    2652   if test -n "$ac_tool_prefix"; then
    2653   for ac_prog in cl.exe
    2654   do
    2655     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    2656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2658 $as_echo_n "checking for $ac_word... " >&6; }
    2659 if ${ac_cv_prog_CC+:} false; then :
    2660   $as_echo_n "(cached) " >&6
    2661 else
    2662   if test -n "$CC"; then
    2663   ac_cv_prog_CC="$CC" # Let the user override the test.
    2664 else
    2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2666 for as_dir in $PATH
    2667 do
    2668   IFS=$as_save_IFS
    2669   test -z "$as_dir" && as_dir=.
    2670     for ac_exec_ext in '' $ac_executable_extensions; do
    2671   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2672     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2674     break 2
    2675   fi
    2676 done
    2677   done
    2678 IFS=$as_save_IFS
    2679 
    2680 fi
    2681 fi
    2682 CC=$ac_cv_prog_CC
    2683 if test -n "$CC"; then
    2684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2685 $as_echo "$CC" >&6; }
    2686 else
    2687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2688 $as_echo "no" >&6; }
    2689 fi
    2690 
    2691 
    2692     test -n "$CC" && break
    2693   done
    2694 fi
    2695 if test -z "$CC"; then
    2696   ac_ct_CC=$CC
    2697   for ac_prog in cl.exe
    2698 do
    2699   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2700 set dummy $ac_prog; ac_word=$2
    2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2702 $as_echo_n "checking for $ac_word... " >&6; }
    2703 if ${ac_cv_prog_ac_ct_CC+:} false; then :
    2704   $as_echo_n "(cached) " >&6
    2705 else
    2706   if test -n "$ac_ct_CC"; then
    2707   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2708 else
    2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2710 for as_dir in $PATH
    2711 do
    2712   IFS=$as_save_IFS
    2713   test -z "$as_dir" && as_dir=.
    2714     for ac_exec_ext in '' $ac_executable_extensions; do
    2715   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2716     ac_cv_prog_ac_ct_CC="$ac_prog"
    2717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2718     break 2
    2719   fi
    2720 done
    2721   done
    2722 IFS=$as_save_IFS
    2723 
    2724 fi
    2725 fi
    2726 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2727 if test -n "$ac_ct_CC"; then
    2728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    2729 $as_echo "$ac_ct_CC" >&6; }
    2730 else
    2731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2732 $as_echo "no" >&6; }
    2733 fi
    2734 
    2735 
    2736   test -n "$ac_ct_CC" && break
    2737 done
    2738 
    2739   if test "x$ac_ct_CC" = x; then
    2740     CC=""
    2741   else
    2742     case $cross_compiling:$ac_tool_warned in
    2743 yes:)
    2744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2746 ac_tool_warned=yes ;;
    2747 esac
    2748     CC=$ac_ct_CC
    2749   fi
    2750 fi
    2751 
    2752 fi
    2753 
    2754 
    2755 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2757 as_fn_error $? "no acceptable C compiler found in \$PATH
    2758 See \`config.log' for more details" "$LINENO" 5; }
    2759 
    2760 # Provide some information about the compiler.
    2761 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    2762 set X $ac_compile
    2763 ac_compiler=$2
    2764 for ac_option in --version -v -V -qversion; do
    2765   { { ac_try="$ac_compiler $ac_option >&5"
    2766 case "(($ac_try" in
    2767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2768   *) ac_try_echo=$ac_try;;
    2769 esac
    2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2771 $as_echo "$ac_try_echo"; } >&5
    2772   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    2773   ac_status=$?
    2774   if test -s conftest.err; then
    2775     sed '10a\
    2776 ... rest of stderr output deleted ...
    2777          10q' conftest.err >conftest.er1
    2778     cat conftest.er1 >&5
    2779   fi
    2780   rm -f conftest.er1 conftest.err
    2781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2782   test $ac_status = 0; }
    2783 done
    2784 
    2785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2786 /* end confdefs.h.  */
    2787 
    2788 int
    2789 main ()
    2790 {
    2791 
    2792   ;
    2793   return 0;
    2794 }
    2795 _ACEOF
    2796 ac_clean_files_save=$ac_clean_files
    2797 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    2798 # Try to create an executable without -o first, disregard a.out.
    2799 # It will help us diagnose broken compilers, and finding out an intuition
    2800 # of exeext.
    2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    2802 $as_echo_n "checking whether the C compiler works... " >&6; }
    2803 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2804 
    2805 # The possible output files:
    2806 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
    2807 
    2808 ac_rmfiles=
    2809 for ac_file in $ac_files
    2810 do
    2811   case $ac_file in
    2812     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    2813     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2814   esac
    2815 done
    2816 rm -f $ac_rmfiles
    2817 
    2818 if { { ac_try="$ac_link_default"
    2819 case "(($ac_try" in
    2820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2821   *) ac_try_echo=$ac_try;;
    2822 esac
    2823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2824 $as_echo "$ac_try_echo"; } >&5
    2825   (eval "$ac_link_default") 2>&5
    2826   ac_status=$?
    2827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2828   test $ac_status = 0; }; then :
    2829   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    2830 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    2831 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    2832 # so that the user can short-circuit this test for compilers unknown to
    2833 # Autoconf.
    2834 for ac_file in $ac_files ''
    2835 do
    2836   test -f "$ac_file" || continue
    2837   case $ac_file in
    2838     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    2839         ;;
    2840     [ab].out )
    2841         # We found the default executable, but exeext='' is most
    2842         # certainly right.
    2843         break;;
    2844     *.* )
    2845         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2846         then :; else
    2847            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2848         fi
    2849         # We set ac_cv_exeext here because the later test for it is not
    2850         # safe: cross compilers may not add the suffix if given an `-o'
    2851         # argument, so we may need to know it at that point already.
    2852         # Even if this section looks crufty: it has the advantage of
    2853         # actually working.
    2854         break;;
    2855     * )
    2856         break;;
    2857   esac
    2858 done
    2859 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2860 
    2861 else
    2862   ac_file=''
    2863 fi
    2864 if test -z "$ac_file"; then :
    2865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2866 $as_echo "no" >&6; }
    2867 $as_echo "$as_me: failed program was:" >&5
    2868 sed 's/^/| /' conftest.$ac_ext >&5
    2869 
    2870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2872 as_fn_error 77 "C compiler cannot create executables
    2873 See \`config.log' for more details" "$LINENO" 5; }
    2874 else
    2875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    2876 $as_echo "yes" >&6; }
    2877 fi
    2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    2879 $as_echo_n "checking for C compiler default output file name... " >&6; }
    2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    2881 $as_echo "$ac_file" >&6; }
    2882 ac_exeext=$ac_cv_exeext
    2883 
    2884 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    2885 ac_clean_files=$ac_clean_files_save
    2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    2887 $as_echo_n "checking for suffix of executables... " >&6; }
    2888 if { { ac_try="$ac_link"
    2889 case "(($ac_try" in
    2890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2891   *) ac_try_echo=$ac_try;;
    2892 esac
    2893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2894 $as_echo "$ac_try_echo"; } >&5
    2895   (eval "$ac_link") 2>&5
    2896   ac_status=$?
    2897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2898   test $ac_status = 0; }; then :
    2899   # If both `conftest.exe' and `conftest' are `present' (well, observable)
    2900 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    2901 # work properly (i.e., refer to `conftest.exe'), while it won't with
    2902 # `rm'.
    2903 for ac_file in conftest.exe conftest conftest.*; do
    2904   test -f "$ac_file" || continue
    2905   case $ac_file in
    2906     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    2907     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2908           break;;
    2909     * ) break;;
    2910   esac
    2911 done
    2912 else
    2913   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2915 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
    2916 See \`config.log' for more details" "$LINENO" 5; }
    2917 fi
    2918 rm -f conftest conftest$ac_cv_exeext
    2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    2920 $as_echo "$ac_cv_exeext" >&6; }
    2921 
    2922 rm -f conftest.$ac_ext
    2923 EXEEXT=$ac_cv_exeext
    2924 ac_exeext=$EXEEXT
    2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2926 /* end confdefs.h.  */
    2927 #include <stdio.h>
    2928 int
    2929 main ()
    2930 {
    2931 FILE *f = fopen ("conftest.out", "w");
    2932  return ferror (f) || fclose (f) != 0;
    2933 
    2934   ;
    2935   return 0;
    2936 }
    2937 _ACEOF
    2938 ac_clean_files="$ac_clean_files conftest.out"
    2939 # Check that the compiler produces executables we can run.  If not, either
    2940 # the compiler is broken, or we cross compile.
    2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    2942 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2943 if test "$cross_compiling" != yes; then
    2944   { { ac_try="$ac_link"
    2945 case "(($ac_try" in
    2946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2947   *) ac_try_echo=$ac_try;;
    2948 esac
    2949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2950 $as_echo "$ac_try_echo"; } >&5
    2951   (eval "$ac_link") 2>&5
    2952   ac_status=$?
    2953   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2954   test $ac_status = 0; }
    2955   if { ac_try='./conftest$ac_cv_exeext'
    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_try") 2>&5
    2963   ac_status=$?
    2964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2965   test $ac_status = 0; }; }; then
    2966     cross_compiling=no
    2967   else
    2968     if test "$cross_compiling" = maybe; then
    2969         cross_compiling=yes
    2970     else
    2971         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2973 as_fn_error $? "cannot run C compiled programs.
    2974 If you meant to cross compile, use \`--host'.
    2975 See \`config.log' for more details" "$LINENO" 5; }
    2976     fi
    2977   fi
    2978 fi
    2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    2980 $as_echo "$cross_compiling" >&6; }
    2981 
    2982 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
    2983 ac_clean_files=$ac_clean_files_save
    2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    2985 $as_echo_n "checking for suffix of object files... " >&6; }
    2986 if ${ac_cv_objext+:} false; then :
    2987   $as_echo_n "(cached) " >&6
    2988 else
    2989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2990 /* end confdefs.h.  */
    2991 
    2992 int
    2993 main ()
    2994 {
    2995 
    2996   ;
    2997   return 0;
    2998 }
    2999 _ACEOF
    3000 rm -f conftest.o conftest.obj
    3001 if { { ac_try="$ac_compile"
    3002 case "(($ac_try" in
    3003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3004   *) ac_try_echo=$ac_try;;
    3005 esac
    3006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3007 $as_echo "$ac_try_echo"; } >&5
    3008   (eval "$ac_compile") 2>&5
    3009   ac_status=$?
    3010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3011   test $ac_status = 0; }; then :
    3012   for ac_file in conftest.o conftest.obj conftest.*; do
    3013   test -f "$ac_file" || continue;
    3014   case $ac_file in
    3015     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    3016     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    3017        break;;
    3018   esac
    3019 done
    3020 else
    3021   $as_echo "$as_me: failed program was:" >&5
    3022 sed 's/^/| /' conftest.$ac_ext >&5
    3023 
    3024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3026 as_fn_error $? "cannot compute suffix of object files: cannot compile
    3027 See \`config.log' for more details" "$LINENO" 5; }
    3028 fi
    3029 rm -f conftest.$ac_cv_objext conftest.$ac_ext
    3030 fi
    3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    3032 $as_echo "$ac_cv_objext" >&6; }
    3033 OBJEXT=$ac_cv_objext
    3034 ac_objext=$OBJEXT
    3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    3036 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3037 if ${ac_cv_c_compiler_gnu+:} false; then :
    3038   $as_echo_n "(cached) " >&6
    3039 else
    3040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3041 /* end confdefs.h.  */
    3042 
    3043 int
    3044 main ()
    3045 {
    3046 #ifndef __GNUC__
    3047        choke me
    3048 #endif
    3049 
    3050   ;
    3051   return 0;
    3052 }
    3053 _ACEOF
    3054 if ac_fn_c_try_compile "$LINENO"; then :
    3055   ac_compiler_gnu=yes
    3056 else
    3057   ac_compiler_gnu=no
    3058 fi
    3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3060 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    3061 
    3062 fi
    3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    3064 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
    3065 if test $ac_compiler_gnu = yes; then
    3066   GCC=yes
    3067 else
    3068   GCC=
    3069 fi
    3070 ac_test_CFLAGS=${CFLAGS+set}
    3071 ac_save_CFLAGS=$CFLAGS
    3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    3073 $as_echo_n "checking whether $CC accepts -g... " >&6; }
    3074 if ${ac_cv_prog_cc_g+:} false; then :
    3075   $as_echo_n "(cached) " >&6
    3076 else
    3077   ac_save_c_werror_flag=$ac_c_werror_flag
    3078    ac_c_werror_flag=yes
    3079    ac_cv_prog_cc_g=no
    3080    CFLAGS="-g"
    3081    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3082 /* end confdefs.h.  */
    3083 
    3084 int
    3085 main ()
    3086 {
    3087 
    3088   ;
    3089   return 0;
    3090 }
    3091 _ACEOF
    3092 if ac_fn_c_try_compile "$LINENO"; then :
    3093   ac_cv_prog_cc_g=yes
    3094 else
    3095   CFLAGS=""
    3096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3097 /* end confdefs.h.  */
    3098 
    3099 int
    3100 main ()
    3101 {
    3102 
    3103   ;
    3104   return 0;
    3105 }
    3106 _ACEOF
    3107 if ac_fn_c_try_compile "$LINENO"; then :
    3108 
    3109 else
    3110   ac_c_werror_flag=$ac_save_c_werror_flag
    3111          CFLAGS="-g"
    3112          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3113 /* end confdefs.h.  */
    3114 
    3115 int
    3116 main ()
    3117 {
    3118 
    3119   ;
    3120   return 0;
    3121 }
    3122 _ACEOF
    3123 if ac_fn_c_try_compile "$LINENO"; then :
    3124   ac_cv_prog_cc_g=yes
    3125 fi
    3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3127 fi
    3128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3129 fi
    3130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3131    ac_c_werror_flag=$ac_save_c_werror_flag
    3132 fi
    3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    3134 $as_echo "$ac_cv_prog_cc_g" >&6; }
    3135 if test "$ac_test_CFLAGS" = set; then
    3136   CFLAGS=$ac_save_CFLAGS
    3137 elif test $ac_cv_prog_cc_g = yes; then
    3138   if test "$GCC" = yes; then
    3139     CFLAGS="-g -O2"
    3140   else
    3141     CFLAGS="-g"
    3142   fi
    3143 else
    3144   if test "$GCC" = yes; then
    3145     CFLAGS="-O2"
    3146   else
    3147     CFLAGS=
    3148   fi
    3149 fi
    3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    3151 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3152 if ${ac_cv_prog_cc_c89+:} false; then :
    3153   $as_echo_n "(cached) " >&6
    3154 else
    3155   ac_cv_prog_cc_c89=no
    3156 ac_save_CC=$CC
    3157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3158 /* end confdefs.h.  */
    3159 #include <stdarg.h>
    3160 #include <stdio.h>
    3161 struct stat;
    3162 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    3163 struct buf { int x; };
    3164 FILE * (*rcsopen) (struct buf *, struct stat *, int);
    3165 static char *e (p, i)
    3166      char **p;
    3167      int i;
    3168 {
    3169   return p[i];
    3170 }
    3171 static char *f (char * (*g) (char **, int), char **p, ...)
    3172 {
    3173   char *s;
    3174   va_list v;
    3175   va_start (v,p);
    3176   s = g (p, va_arg (v,int));
    3177   va_end (v);
    3178   return s;
    3179 }
    3180 
    3181 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    3182    function prototypes and stuff, but not '\xHH' hex character constants.
    3183    These don't provoke an error unfortunately, instead are silently treated
    3184    as 'x'.  The following induces an error, until -std is added to get
    3185    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    3186    array size at least.  It's necessary to write '\x00'==0 to get something
    3187    that's true only with -std.  */
    3188 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    3189 
    3190 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    3191    inside strings and character constants.  */
    3192 #define FOO(x) 'x'
    3193 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    3194 
    3195 int test (int i, double x);
    3196 struct s1 {int (*f) (int a);};
    3197 struct s2 {int (*f) (double a);};
    3198 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    3199 int argc;
    3200 char **argv;
    3201 int
    3202 main ()
    3203 {
    3204 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    3205   ;
    3206   return 0;
    3207 }
    3208 _ACEOF
    3209 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    3210         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    3211 do
    3212   CC="$ac_save_CC $ac_arg"
    3213   if ac_fn_c_try_compile "$LINENO"; then :
    3214   ac_cv_prog_cc_c89=$ac_arg
    3215 fi
    3216 rm -f core conftest.err conftest.$ac_objext
    3217   test "x$ac_cv_prog_cc_c89" != "xno" && break
    3218 done
    3219 rm -f conftest.$ac_ext
    3220 CC=$ac_save_CC
    3221 
    3222 fi
    3223 # AC_CACHE_VAL
    3224 case "x$ac_cv_prog_cc_c89" in
    3225   x)
    3226     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    3227 $as_echo "none needed" >&6; } ;;
    3228   xno)
    3229     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    3230 $as_echo "unsupported" >&6; } ;;
    3231   *)
    3232     CC="$CC $ac_cv_prog_cc_c89"
    3233     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    3234 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    3235 esac
    3236 if test "x$ac_cv_prog_cc_c89" != xno; then :
    3237 
    3238 fi
    3239 
    3240 ac_ext=c
    3241 ac_cpp='$CPP $CPPFLAGS'
    3242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3245 
    3246 # expand $ac_aux_dir to an absolute path
    3247 am_aux_dir=`cd $ac_aux_dir && pwd`
    3248 
    3249 ac_ext=c
    3250 ac_cpp='$CPP $CPPFLAGS'
    3251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
    3255 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
    3256 if ${am_cv_prog_cc_c_o+:} false; then :
    3257   $as_echo_n "(cached) " >&6
    3258 else
    3259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3260 /* end confdefs.h.  */
    3261 
    3262 int
    3263 main ()
    3264 {
    3265 
    3266   ;
    3267   return 0;
    3268 }
    3269 _ACEOF
    3270   # Make sure it works both with $CC and with simple cc.
    3271   # Following AC_PROG_CC_C_O, we do the test twice because some
    3272   # compilers refuse to overwrite an existing .o file with -o,
    3273   # though they will create one.
    3274   am_cv_prog_cc_c_o=yes
    3275   for am_i in 1 2; do
    3276     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
    3277    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
    3278    ac_status=$?
    3279    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3280    (exit $ac_status); } \
    3281          && test -f conftest2.$ac_objext; then
    3282       : OK
    3283     else
    3284       am_cv_prog_cc_c_o=no
    3285       break
    3286     fi
    3287   done
    3288   rm -f core conftest*
    3289   unset am_i
    3290 fi
    3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
    3292 $as_echo "$am_cv_prog_cc_c_o" >&6; }
    3293 if test "$am_cv_prog_cc_c_o" != yes; then
    3294    # Losing compiler, so override with the script.
    3295    # FIXME: It is wrong to rewrite CC.
    3296    # But if we don't then we get into trouble of one sort or another.
    3297    # A longer-term fix would be to have automake use am__CC in this case,
    3298    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
    3299    CC="$am_aux_dir/compile $CC"
    3300 fi
    3301 ac_ext=c
    3302 ac_cpp='$CPP $CPPFLAGS'
    3303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3306 
    3307 
    3308 
    3309 # Check if pkg-config is available (to setup addlibs file)
    3310 #AC_COIN_HAS_PKGCONFIG
    3311 
    3312 # Initialize automake
    3313 #AC_COIN_INIT_AUTO_TOOLS
    33142312am__api_version='1.14'
    33152313
     
    34842482program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
    34852483
     2484# expand $ac_aux_dir to an absolute path
     2485am_aux_dir=`cd $ac_aux_dir && pwd`
     2486
    34862487if test x"${MISSING+set}" != xset; then
    34872488  case $am_aux_dir in
     
    37332734fi
    37342735rmdir .tst 2>/dev/null
     2736
     2737# Check whether --enable-silent-rules was given.
     2738if test "${enable_silent_rules+set}" = set; then :
     2739  enableval=$enable_silent_rules;
     2740fi
     2741
     2742case $enable_silent_rules in # (((
     2743  yes) AM_DEFAULT_VERBOSITY=0;;
     2744   no) AM_DEFAULT_VERBOSITY=1;;
     2745    *) AM_DEFAULT_VERBOSITY=1;;
     2746esac
     2747am_make=${MAKE-make}
     2748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
     2749$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
     2750if ${am_cv_make_support_nested_variables+:} false; then :
     2751  $as_echo_n "(cached) " >&6
     2752else
     2753  if $as_echo 'TRUE=$(BAR$(V))
     2754BAR0=false
     2755BAR1=true
     2756V=1
     2757am__doit:
     2758        @$(TRUE)
     2759.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
     2760  am_cv_make_support_nested_variables=yes
     2761else
     2762  am_cv_make_support_nested_variables=no
     2763fi
     2764fi
     2765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
     2766$as_echo "$am_cv_make_support_nested_variables" >&6; }
     2767if test $am_cv_make_support_nested_variables = yes; then
     2768    AM_V='$(V)'
     2769  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     2770else
     2771  AM_V=$AM_DEFAULT_VERBOSITY
     2772  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
     2773fi
     2774AM_BACKSLASH='\'
     2775
     2776case `pwd` in
     2777  *\ * | *\     *)
     2778    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
     2779$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
     2780esac
     2781
     2782
     2783
     2784macro_version='2.4.2'
     2785macro_revision='1.3337'
     2786
     2787
     2788
     2789
     2790
     2791
     2792
     2793
     2794
     2795
     2796
     2797
     2798
     2799ltmain="$ac_aux_dir/ltmain.sh"
     2800
     2801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     2802$as_echo_n "checking host system type... " >&6; }
     2803if ${ac_cv_host+:} false; then :
     2804  $as_echo_n "(cached) " >&6
     2805else
     2806  if test "x$host_alias" = x; then
     2807  ac_cv_host=$ac_cv_build
     2808else
     2809  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     2810    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     2811fi
     2812
     2813fi
     2814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     2815$as_echo "$ac_cv_host" >&6; }
     2816case $ac_cv_host in
     2817*-*-*) ;;
     2818*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
     2819esac
     2820host=$ac_cv_host
     2821ac_save_IFS=$IFS; IFS='-'
     2822set x $ac_cv_host
     2823shift
     2824host_cpu=$1
     2825host_vendor=$2
     2826shift; shift
     2827# Remember, the first character of IFS is used to create $*,
     2828# except with old shells:
     2829host_os=$*
     2830IFS=$ac_save_IFS
     2831case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     2832
     2833
     2834# Backslashify metacharacters that are still active within
     2835# double-quoted strings.
     2836sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
     2837
     2838# Same as above, but do not quote variable references.
     2839double_quote_subst='s/\(["`\\]\)/\\\1/g'
     2840
     2841# Sed substitution to delay expansion of an escaped shell variable in a
     2842# double_quote_subst'ed string.
     2843delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     2844
     2845# Sed substitution to delay expansion of an escaped single quote.
     2846delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
     2847
     2848# Sed substitution to avoid accidental globbing in evaled expressions
     2849no_glob_subst='s/\*/\\\*/g'
     2850
     2851ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     2852ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
     2853ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
     2854
     2855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
     2856$as_echo_n "checking how to print strings... " >&6; }
     2857# Test print first, because it will be a builtin if present.
     2858if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
     2859   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
     2860  ECHO='print -r --'
     2861elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
     2862  ECHO='printf %s\n'
     2863else
     2864  # Use this function as a fallback that always works.
     2865  func_fallback_echo ()
     2866  {
     2867    eval 'cat <<_LTECHO_EOF
     2868$1
     2869_LTECHO_EOF'
     2870  }
     2871  ECHO='func_fallback_echo'
     2872fi
     2873
     2874# func_echo_all arg...
     2875# Invoke $ECHO with all args, space-separated.
     2876func_echo_all ()
     2877{
     2878    $ECHO ""
     2879}
     2880
     2881case "$ECHO" in
     2882  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
     2883$as_echo "printf" >&6; } ;;
     2884  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
     2885$as_echo "print -r" >&6; } ;;
     2886  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
     2887$as_echo "cat" >&6; } ;;
     2888esac
     2889
     2890
     2891
     2892
     2893
     2894
     2895
     2896
     2897
     2898
     2899
     2900
     2901
    37352902
    37362903DEPDIR="${am__leading_dot}deps"
     
    37972964
    37982965
    3799 # Check whether --enable-silent-rules was given.
    3800 if test "${enable_silent_rules+set}" = set; then :
    3801   enableval=$enable_silent_rules;
    3802 fi
    3803 
    3804 case $enable_silent_rules in # (((
    3805   yes) AM_DEFAULT_VERBOSITY=0;;
    3806    no) AM_DEFAULT_VERBOSITY=1;;
    3807     *) AM_DEFAULT_VERBOSITY=1;;
     2966ac_ext=c
     2967ac_cpp='$CPP $CPPFLAGS'
     2968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2970ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2971if test -n "$ac_tool_prefix"; then
     2972  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     2973set dummy ${ac_tool_prefix}gcc; ac_word=$2
     2974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2975$as_echo_n "checking for $ac_word... " >&6; }
     2976if ${ac_cv_prog_CC+:} false; then :
     2977  $as_echo_n "(cached) " >&6
     2978else
     2979  if test -n "$CC"; then
     2980  ac_cv_prog_CC="$CC" # Let the user override the test.
     2981else
     2982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2983for as_dir in $PATH
     2984do
     2985  IFS=$as_save_IFS
     2986  test -z "$as_dir" && as_dir=.
     2987    for ac_exec_ext in '' $ac_executable_extensions; do
     2988  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2989    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     2990    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2991    break 2
     2992  fi
     2993done
     2994  done
     2995IFS=$as_save_IFS
     2996
     2997fi
     2998fi
     2999CC=$ac_cv_prog_CC
     3000if test -n "$CC"; then
     3001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3002$as_echo "$CC" >&6; }
     3003else
     3004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3005$as_echo "no" >&6; }
     3006fi
     3007
     3008
     3009fi
     3010if test -z "$ac_cv_prog_CC"; then
     3011  ac_ct_CC=$CC
     3012  # Extract the first word of "gcc", so it can be a program name with args.
     3013set dummy gcc; ac_word=$2
     3014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3015$as_echo_n "checking for $ac_word... " >&6; }
     3016if ${ac_cv_prog_ac_ct_CC+:} false; then :
     3017  $as_echo_n "(cached) " >&6
     3018else
     3019  if test -n "$ac_ct_CC"; then
     3020  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     3021else
     3022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3023for as_dir in $PATH
     3024do
     3025  IFS=$as_save_IFS
     3026  test -z "$as_dir" && as_dir=.
     3027    for ac_exec_ext in '' $ac_executable_extensions; do
     3028  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3029    ac_cv_prog_ac_ct_CC="gcc"
     3030    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3031    break 2
     3032  fi
     3033done
     3034  done
     3035IFS=$as_save_IFS
     3036
     3037fi
     3038fi
     3039ac_ct_CC=$ac_cv_prog_ac_ct_CC
     3040if test -n "$ac_ct_CC"; then
     3041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3042$as_echo "$ac_ct_CC" >&6; }
     3043else
     3044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3045$as_echo "no" >&6; }
     3046fi
     3047
     3048  if test "x$ac_ct_CC" = x; then
     3049    CC=""
     3050  else
     3051    case $cross_compiling:$ac_tool_warned in
     3052yes:)
     3053{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3054$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3055ac_tool_warned=yes ;;
    38083056esac
    3809 am_make=${MAKE-make}
    3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
    3811 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
    3812 if ${am_cv_make_support_nested_variables+:} false; then :
     3057    CC=$ac_ct_CC
     3058  fi
     3059else
     3060  CC="$ac_cv_prog_CC"
     3061fi
     3062
     3063if test -z "$CC"; then
     3064          if test -n "$ac_tool_prefix"; then
     3065    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     3066set dummy ${ac_tool_prefix}cc; ac_word=$2
     3067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3068$as_echo_n "checking for $ac_word... " >&6; }
     3069if ${ac_cv_prog_CC+:} false; then :
    38133070  $as_echo_n "(cached) " >&6
    38143071else
    3815   if $as_echo 'TRUE=$(BAR$(V))
    3816 BAR0=false
    3817 BAR1=true
    3818 V=1
    3819 am__doit:
    3820         @$(TRUE)
    3821 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
    3822   am_cv_make_support_nested_variables=yes
    3823 else
    3824   am_cv_make_support_nested_variables=no
    3825 fi
    3826 fi
    3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
    3828 $as_echo "$am_cv_make_support_nested_variables" >&6; }
    3829 if test $am_cv_make_support_nested_variables = yes; then
    3830     AM_V='$(V)'
    3831   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
    3832 else
    3833   AM_V=$AM_DEFAULT_VERBOSITY
    3834   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
    3835 fi
    3836 AM_BACKSLASH='\'
    3837 
    3838 if test "`cd $srcdir && pwd`" != "`pwd`"; then
    3839   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
    3840   # is not polluted with repeated "-I."
    3841   am__isrc=' -I$(srcdir)'
    3842   # test to see if srcdir already configured
    3843   if test -f $srcdir/config.status; then
    3844     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
     3072  if test -n "$CC"; then
     3073  ac_cv_prog_CC="$CC" # Let the user override the test.
     3074else
     3075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3076for as_dir in $PATH
     3077do
     3078  IFS=$as_save_IFS
     3079  test -z "$as_dir" && as_dir=.
     3080    for ac_exec_ext in '' $ac_executable_extensions; do
     3081  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3082    ac_cv_prog_CC="${ac_tool_prefix}cc"
     3083    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3084    break 2
    38453085  fi
    3846 fi
    3847 
    3848 # test whether we have cygpath
    3849 if test -z "$CYGPATH_W"; then
    3850   if (cygpath --version) >/dev/null 2>/dev/null; then
    3851     CYGPATH_W='cygpath -w'
     3086done
     3087  done
     3088IFS=$as_save_IFS
     3089
     3090fi
     3091fi
     3092CC=$ac_cv_prog_CC
     3093if test -n "$CC"; then
     3094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3095$as_echo "$CC" >&6; }
     3096else
     3097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3098$as_echo "no" >&6; }
     3099fi
     3100
     3101
     3102  fi
     3103fi
     3104if test -z "$CC"; then
     3105  # Extract the first word of "cc", so it can be a program name with args.
     3106set dummy cc; ac_word=$2
     3107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3108$as_echo_n "checking for $ac_word... " >&6; }
     3109if ${ac_cv_prog_CC+:} false; then :
     3110  $as_echo_n "(cached) " >&6
     3111else
     3112  if test -n "$CC"; then
     3113  ac_cv_prog_CC="$CC" # Let the user override the test.
     3114else
     3115  ac_prog_rejected=no
     3116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3117for as_dir in $PATH
     3118do
     3119  IFS=$as_save_IFS
     3120  test -z "$as_dir" && as_dir=.
     3121    for ac_exec_ext in '' $ac_executable_extensions; do
     3122  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3123    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     3124       ac_prog_rejected=yes
     3125       continue
     3126     fi
     3127    ac_cv_prog_CC="cc"
     3128    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3129    break 2
     3130  fi
     3131done
     3132  done
     3133IFS=$as_save_IFS
     3134
     3135if test $ac_prog_rejected = yes; then
     3136  # We found a bogon in the path, so make sure we never use it.
     3137  set dummy $ac_cv_prog_CC
     3138  shift
     3139  if test $# != 0; then
     3140    # We chose a different compiler from the bogus one.
     3141    # However, it has the same basename, so the bogon will be chosen
     3142    # first if we set CC to just the basename; use the full file name.
     3143    shift
     3144    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     3145  fi
     3146fi
     3147fi
     3148fi
     3149CC=$ac_cv_prog_CC
     3150if test -n "$CC"; then
     3151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3152$as_echo "$CC" >&6; }
     3153else
     3154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3155$as_echo "no" >&6; }
     3156fi
     3157
     3158
     3159fi
     3160if test -z "$CC"; then
     3161  if test -n "$ac_tool_prefix"; then
     3162  for ac_prog in cl.exe
     3163  do
     3164    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     3165set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     3166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3167$as_echo_n "checking for $ac_word... " >&6; }
     3168if ${ac_cv_prog_CC+:} false; then :
     3169  $as_echo_n "(cached) " >&6
     3170else
     3171  if test -n "$CC"; then
     3172  ac_cv_prog_CC="$CC" # Let the user override the test.
     3173else
     3174as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3175for as_dir in $PATH
     3176do
     3177  IFS=$as_save_IFS
     3178  test -z "$as_dir" && as_dir=.
     3179    for ac_exec_ext in '' $ac_executable_extensions; do
     3180  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3181    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     3182    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3183    break 2
     3184  fi
     3185done
     3186  done
     3187IFS=$as_save_IFS
     3188
     3189fi
     3190fi
     3191CC=$ac_cv_prog_CC
     3192if test -n "$CC"; then
     3193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3194$as_echo "$CC" >&6; }
     3195else
     3196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3197$as_echo "no" >&6; }
     3198fi
     3199
     3200
     3201    test -n "$CC" && break
     3202  done
     3203fi
     3204if test -z "$CC"; then
     3205  ac_ct_CC=$CC
     3206  for ac_prog in cl.exe
     3207do
     3208  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3209set dummy $ac_prog; ac_word=$2
     3210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3211$as_echo_n "checking for $ac_word... " >&6; }
     3212if ${ac_cv_prog_ac_ct_CC+:} false; then :
     3213  $as_echo_n "(cached) " >&6
     3214else
     3215  if test -n "$ac_ct_CC"; then
     3216  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     3217else
     3218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3219for as_dir in $PATH
     3220do
     3221  IFS=$as_save_IFS
     3222  test -z "$as_dir" && as_dir=.
     3223    for ac_exec_ext in '' $ac_executable_extensions; do
     3224  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3225    ac_cv_prog_ac_ct_CC="$ac_prog"
     3226    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3227    break 2
     3228  fi
     3229done
     3230  done
     3231IFS=$as_save_IFS
     3232
     3233fi
     3234fi
     3235ac_ct_CC=$ac_cv_prog_ac_ct_CC
     3236if test -n "$ac_ct_CC"; then
     3237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3238$as_echo "$ac_ct_CC" >&6; }
     3239else
     3240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3241$as_echo "no" >&6; }
     3242fi
     3243
     3244
     3245  test -n "$ac_ct_CC" && break
     3246done
     3247
     3248  if test "x$ac_ct_CC" = x; then
     3249    CC=""
    38523250  else
    3853     CYGPATH_W=echo
     3251    case $cross_compiling:$ac_tool_warned in
     3252yes:)
     3253{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3254$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3255ac_tool_warned=yes ;;
     3256esac
     3257    CC=$ac_ct_CC
    38543258  fi
    38553259fi
    38563260
    3857 
    3858 # Define the identity of the package.
    3859  PACKAGE='thirdpartyglpk'
    3860  VERSION='trunk'
    3861 
    3862 
    3863 cat >>confdefs.h <<_ACEOF
    3864 #define PACKAGE "$PACKAGE"
     3261fi
     3262
     3263
     3264test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3265$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3266as_fn_error $? "no acceptable C compiler found in \$PATH
     3267See \`config.log' for more details" "$LINENO" 5; }
     3268
     3269# Provide some information about the compiler.
     3270$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     3271set X $ac_compile
     3272ac_compiler=$2
     3273for ac_option in --version -v -V -qversion; do
     3274  { { ac_try="$ac_compiler $ac_option >&5"
     3275case "(($ac_try" in
     3276  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3277  *) ac_try_echo=$ac_try;;
     3278esac
     3279eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3280$as_echo "$ac_try_echo"; } >&5
     3281  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     3282  ac_status=$?
     3283  if test -s conftest.err; then
     3284    sed '10a\
     3285... rest of stderr output deleted ...
     3286         10q' conftest.err >conftest.er1
     3287    cat conftest.er1 >&5
     3288  fi
     3289  rm -f conftest.er1 conftest.err
     3290  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3291  test $ac_status = 0; }
     3292done
     3293
     3294cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3295/* end confdefs.h.  */
     3296
     3297int
     3298main ()
     3299{
     3300
     3301  ;
     3302  return 0;
     3303}
    38653304_ACEOF
    3866 
    3867 
    3868 cat >>confdefs.h <<_ACEOF
    3869 #define VERSION "$VERSION"
     3305ac_clean_files_save=$ac_clean_files
     3306ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     3307# Try to create an executable without -o first, disregard a.out.
     3308# It will help us diagnose broken compilers, and finding out an intuition
     3309# of exeext.
     3310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3311$as_echo_n "checking whether the C compiler works... " >&6; }
     3312ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     3313
     3314# The possible output files:
     3315ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     3316
     3317ac_rmfiles=
     3318for ac_file in $ac_files
     3319do
     3320  case $ac_file in
     3321    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     3322    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     3323  esac
     3324done
     3325rm -f $ac_rmfiles
     3326
     3327if { { ac_try="$ac_link_default"
     3328case "(($ac_try" in
     3329  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3330  *) ac_try_echo=$ac_try;;
     3331esac
     3332eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3333$as_echo "$ac_try_echo"; } >&5
     3334  (eval "$ac_link_default") 2>&5
     3335  ac_status=$?
     3336  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3337  test $ac_status = 0; }; then :
     3338  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     3339# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     3340# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     3341# so that the user can short-circuit this test for compilers unknown to
     3342# Autoconf.
     3343for ac_file in $ac_files ''
     3344do
     3345  test -f "$ac_file" || continue
     3346  case $ac_file in
     3347    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
     3348        ;;
     3349    [ab].out )
     3350        # We found the default executable, but exeext='' is most
     3351        # certainly right.
     3352        break;;
     3353    *.* )
     3354        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3355        then :; else
     3356           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     3357        fi
     3358        # We set ac_cv_exeext here because the later test for it is not
     3359        # safe: cross compilers may not add the suffix if given an `-o'
     3360        # argument, so we may need to know it at that point already.
     3361        # Even if this section looks crufty: it has the advantage of
     3362        # actually working.
     3363        break;;
     3364    * )
     3365        break;;
     3366  esac
     3367done
     3368test "$ac_cv_exeext" = no && ac_cv_exeext=
     3369
     3370else
     3371  ac_file=''
     3372fi
     3373if test -z "$ac_file"; then :
     3374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3375$as_echo "no" >&6; }
     3376$as_echo "$as_me: failed program was:" >&5
     3377sed 's/^/| /' conftest.$ac_ext >&5
     3378
     3379{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3380$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3381as_fn_error 77 "C compiler cannot create executables
     3382See \`config.log' for more details" "$LINENO" 5; }
     3383else
     3384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3385$as_echo "yes" >&6; }
     3386fi
     3387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3388$as_echo_n "checking for C compiler default output file name... " >&6; }
     3389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     3390$as_echo "$ac_file" >&6; }
     3391ac_exeext=$ac_cv_exeext
     3392
     3393rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     3394ac_clean_files=$ac_clean_files_save
     3395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     3396$as_echo_n "checking for suffix of executables... " >&6; }
     3397if { { ac_try="$ac_link"
     3398case "(($ac_try" in
     3399  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3400  *) ac_try_echo=$ac_try;;
     3401esac
     3402eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3403$as_echo "$ac_try_echo"; } >&5
     3404  (eval "$ac_link") 2>&5
     3405  ac_status=$?
     3406  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3407  test $ac_status = 0; }; then :
     3408  # If both `conftest.exe' and `conftest' are `present' (well, observable)
     3409# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     3410# work properly (i.e., refer to `conftest.exe'), while it won't with
     3411# `rm'.
     3412for ac_file in conftest.exe conftest conftest.*; do
     3413  test -f "$ac_file" || continue
     3414  case $ac_file in
     3415    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     3416    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     3417          break;;
     3418    * ) break;;
     3419  esac
     3420done
     3421else
     3422  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3423$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3424as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3425See \`config.log' for more details" "$LINENO" 5; }
     3426fi
     3427rm -f conftest conftest$ac_cv_exeext
     3428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     3429$as_echo "$ac_cv_exeext" >&6; }
     3430
     3431rm -f conftest.$ac_ext
     3432EXEEXT=$ac_cv_exeext
     3433ac_exeext=$EXEEXT
     3434cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3435/* end confdefs.h.  */
     3436#include <stdio.h>
     3437int
     3438main ()
     3439{
     3440FILE *f = fopen ("conftest.out", "w");
     3441 return ferror (f) || fclose (f) != 0;
     3442
     3443  ;
     3444  return 0;
     3445}
    38703446_ACEOF
    3871 
    3872 # Some tools Automake needs.
    3873 
    3874 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
    3875 
    3876 
    3877 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
    3878 
    3879 
    3880 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
    3881 
    3882 
    3883 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
    3884 
    3885 
    3886 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
    3887 
    3888 # For better backward compatibility.  To be removed once Automake 1.9.x
    3889 # dies out for good.  For more background, see:
    3890 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
    3891 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
    3892 mkdir_p='$(MKDIR_P)'
    3893 
    3894 # We need awk for the "check" target.  The system "awk" is bad on
    3895 # some platforms.
    3896 # Always define AMTAR for backward compatibility.  Yes, it's still used
    3897 # in the wild :-(  We should find a proper way to deprecate it ...
    3898 AMTAR='$${TAR-tar}'
    3899 
    3900 
    3901 # We'll loop over all known methods to create a tar archive until one works.
    3902 _am_tools='gnutar  pax cpio none'
    3903 
    3904 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
    3905 
    3906 
    3907 
     3447ac_clean_files="$ac_clean_files conftest.out"
     3448# Check that the compiler produces executables we can run.  If not, either
     3449# the compiler is broken, or we cross compile.
     3450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3451$as_echo_n "checking whether we are cross compiling... " >&6; }
     3452if test "$cross_compiling" != yes; then
     3453  { { ac_try="$ac_link"
     3454case "(($ac_try" in
     3455  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3456  *) ac_try_echo=$ac_try;;
     3457esac
     3458eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3459$as_echo "$ac_try_echo"; } >&5
     3460  (eval "$ac_link") 2>&5
     3461  ac_status=$?
     3462  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3463  test $ac_status = 0; }
     3464  if { ac_try='./conftest$ac_cv_exeext'
     3465  { { case "(($ac_try" in
     3466  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3467  *) ac_try_echo=$ac_try;;
     3468esac
     3469eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3470$as_echo "$ac_try_echo"; } >&5
     3471  (eval "$ac_try") 2>&5
     3472  ac_status=$?
     3473  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3474  test $ac_status = 0; }; }; then
     3475    cross_compiling=no
     3476  else
     3477    if test "$cross_compiling" = maybe; then
     3478        cross_compiling=yes
     3479    else
     3480        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3481$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3482as_fn_error $? "cannot run C compiled programs.
     3483If you meant to cross compile, use \`--host'.
     3484See \`config.log' for more details" "$LINENO" 5; }
     3485    fi
     3486  fi
     3487fi
     3488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3489$as_echo "$cross_compiling" >&6; }
     3490
     3491rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3492ac_clean_files=$ac_clean_files_save
     3493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3494$as_echo_n "checking for suffix of object files... " >&6; }
     3495if ${ac_cv_objext+:} false; then :
     3496  $as_echo_n "(cached) " >&6
     3497else
     3498  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3499/* end confdefs.h.  */
     3500
     3501int
     3502main ()
     3503{
     3504
     3505  ;
     3506  return 0;
     3507}
     3508_ACEOF
     3509rm -f conftest.o conftest.obj
     3510if { { ac_try="$ac_compile"
     3511case "(($ac_try" in
     3512  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3513  *) ac_try_echo=$ac_try;;
     3514esac
     3515eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3516$as_echo "$ac_try_echo"; } >&5
     3517  (eval "$ac_compile") 2>&5
     3518  ac_status=$?
     3519  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3520  test $ac_status = 0; }; then :
     3521  for ac_file in conftest.o conftest.obj conftest.*; do
     3522  test -f "$ac_file" || continue;
     3523  case $ac_file in
     3524    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
     3525    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
     3526       break;;
     3527  esac
     3528done
     3529else
     3530  $as_echo "$as_me: failed program was:" >&5
     3531sed 's/^/| /' conftest.$ac_ext >&5
     3532
     3533{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3534$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3535as_fn_error $? "cannot compute suffix of object files: cannot compile
     3536See \`config.log' for more details" "$LINENO" 5; }
     3537fi
     3538rm -f conftest.$ac_cv_objext conftest.$ac_ext
     3539fi
     3540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     3541$as_echo "$ac_cv_objext" >&6; }
     3542OBJEXT=$ac_cv_objext
     3543ac_objext=$OBJEXT
     3544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     3545$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     3546if ${ac_cv_c_compiler_gnu+:} false; then :
     3547  $as_echo_n "(cached) " >&6
     3548else
     3549  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3550/* end confdefs.h.  */
     3551
     3552int
     3553main ()
     3554{
     3555#ifndef __GNUC__
     3556       choke me
     3557#endif
     3558
     3559  ;
     3560  return 0;
     3561}
     3562_ACEOF
     3563if ac_fn_c_try_compile "$LINENO"; then :
     3564  ac_compiler_gnu=yes
     3565else
     3566  ac_compiler_gnu=no
     3567fi
     3568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3569ac_cv_c_compiler_gnu=$ac_compiler_gnu
     3570
     3571fi
     3572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     3573$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     3574if test $ac_compiler_gnu = yes; then
     3575  GCC=yes
     3576else
     3577  GCC=
     3578fi
     3579ac_test_CFLAGS=${CFLAGS+set}
     3580ac_save_CFLAGS=$CFLAGS
     3581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     3582$as_echo_n "checking whether $CC accepts -g... " >&6; }
     3583if ${ac_cv_prog_cc_g+:} false; then :
     3584  $as_echo_n "(cached) " >&6
     3585else
     3586  ac_save_c_werror_flag=$ac_c_werror_flag
     3587   ac_c_werror_flag=yes
     3588   ac_cv_prog_cc_g=no
     3589   CFLAGS="-g"
     3590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3591/* end confdefs.h.  */
     3592
     3593int
     3594main ()
     3595{
     3596
     3597  ;
     3598  return 0;
     3599}
     3600_ACEOF
     3601if ac_fn_c_try_compile "$LINENO"; then :
     3602  ac_cv_prog_cc_g=yes
     3603else
     3604  CFLAGS=""
     3605      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3606/* end confdefs.h.  */
     3607
     3608int
     3609main ()
     3610{
     3611
     3612  ;
     3613  return 0;
     3614}
     3615_ACEOF
     3616if ac_fn_c_try_compile "$LINENO"; then :
     3617
     3618else
     3619  ac_c_werror_flag=$ac_save_c_werror_flag
     3620         CFLAGS="-g"
     3621         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3622/* end confdefs.h.  */
     3623
     3624int
     3625main ()
     3626{
     3627
     3628  ;
     3629  return 0;
     3630}
     3631_ACEOF
     3632if ac_fn_c_try_compile "$LINENO"; then :
     3633  ac_cv_prog_cc_g=yes
     3634fi
     3635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3636fi
     3637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3638fi
     3639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3640   ac_c_werror_flag=$ac_save_c_werror_flag
     3641fi
     3642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     3643$as_echo "$ac_cv_prog_cc_g" >&6; }
     3644if test "$ac_test_CFLAGS" = set; then
     3645  CFLAGS=$ac_save_CFLAGS
     3646elif test $ac_cv_prog_cc_g = yes; then
     3647  if test "$GCC" = yes; then
     3648    CFLAGS="-g -O2"
     3649  else
     3650    CFLAGS="-g"
     3651  fi
     3652else
     3653  if test "$GCC" = yes; then
     3654    CFLAGS="-O2"
     3655  else
     3656    CFLAGS=
     3657  fi
     3658fi
     3659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     3660$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     3661if ${ac_cv_prog_cc_c89+:} false; then :
     3662  $as_echo_n "(cached) " >&6
     3663else
     3664  ac_cv_prog_cc_c89=no
     3665ac_save_CC=$CC
     3666cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3667/* end confdefs.h.  */
     3668#include <stdarg.h>
     3669#include <stdio.h>
     3670struct stat;
     3671/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     3672struct buf { int x; };
     3673FILE * (*rcsopen) (struct buf *, struct stat *, int);
     3674static char *e (p, i)
     3675     char **p;
     3676     int i;
     3677{
     3678  return p[i];
     3679}
     3680static char *f (char * (*g) (char **, int), char **p, ...)
     3681{
     3682  char *s;
     3683  va_list v;
     3684  va_start (v,p);
     3685  s = g (p, va_arg (v,int));
     3686  va_end (v);
     3687  return s;
     3688}
     3689
     3690/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     3691   function prototypes and stuff, but not '\xHH' hex character constants.
     3692   These don't provoke an error unfortunately, instead are silently treated
     3693   as 'x'.  The following induces an error, until -std is added to get
     3694   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     3695   array size at least.  It's necessary to write '\x00'==0 to get something
     3696   that's true only with -std.  */
     3697int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     3698
     3699/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     3700   inside strings and character constants.  */
     3701#define FOO(x) 'x'
     3702int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     3703
     3704int test (int i, double x);
     3705struct s1 {int (*f) (int a);};
     3706struct s2 {int (*f) (double a);};
     3707int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     3708int argc;
     3709char **argv;
     3710int
     3711main ()
     3712{
     3713return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     3714  ;
     3715  return 0;
     3716}
     3717_ACEOF
     3718for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     3719        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     3720do
     3721  CC="$ac_save_CC $ac_arg"
     3722  if ac_fn_c_try_compile "$LINENO"; then :
     3723  ac_cv_prog_cc_c89=$ac_arg
     3724fi
     3725rm -f core conftest.err conftest.$ac_objext
     3726  test "x$ac_cv_prog_cc_c89" != "xno" && break
     3727done
     3728rm -f conftest.$ac_ext
     3729CC=$ac_save_CC
     3730
     3731fi
     3732# AC_CACHE_VAL
     3733case "x$ac_cv_prog_cc_c89" in
     3734  x)
     3735    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     3736$as_echo "none needed" >&6; } ;;
     3737  xno)
     3738    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     3739$as_echo "unsupported" >&6; } ;;
     3740  *)
     3741    CC="$CC $ac_cv_prog_cc_c89"
     3742    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     3743$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     3744esac
     3745if test "x$ac_cv_prog_cc_c89" != xno; then :
     3746
     3747fi
     3748
     3749ac_ext=c
     3750ac_cpp='$CPP $CPPFLAGS'
     3751ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3752ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3753ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3754
     3755ac_ext=c
     3756ac_cpp='$CPP $CPPFLAGS'
     3757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3759ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
     3761$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
     3762if ${am_cv_prog_cc_c_o+:} false; then :
     3763  $as_echo_n "(cached) " >&6
     3764else
     3765  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3766/* end confdefs.h.  */
     3767
     3768int
     3769main ()
     3770{
     3771
     3772  ;
     3773  return 0;
     3774}
     3775_ACEOF
     3776  # Make sure it works both with $CC and with simple cc.
     3777  # Following AC_PROG_CC_C_O, we do the test twice because some
     3778  # compilers refuse to overwrite an existing .o file with -o,
     3779  # though they will create one.
     3780  am_cv_prog_cc_c_o=yes
     3781  for am_i in 1 2; do
     3782    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
     3783   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
     3784   ac_status=$?
     3785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3786   (exit $ac_status); } \
     3787         && test -f conftest2.$ac_objext; then
     3788      : OK
     3789    else
     3790      am_cv_prog_cc_c_o=no
     3791      break
     3792    fi
     3793  done
     3794  rm -f core conftest*
     3795  unset am_i
     3796fi
     3797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
     3798$as_echo "$am_cv_prog_cc_c_o" >&6; }
     3799if test "$am_cv_prog_cc_c_o" != yes; then
     3800   # Losing compiler, so override with the script.
     3801   # FIXME: It is wrong to rewrite CC.
     3802   # But if we don't then we get into trouble of one sort or another.
     3803   # A longer-term fix would be to have automake use am__CC in this case,
     3804   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     3805   CC="$am_aux_dir/compile $CC"
     3806fi
     3807ac_ext=c
     3808ac_cpp='$CPP $CPPFLAGS'
     3809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3811ac_compiler_gnu=$ac_cv_c_compiler_gnu
    39083812
    39093813
     
    40343938  am__fastdepCC_FALSE=
    40353939fi
    4036 
    4037 
    4038 
    4039 # POSIX will say in a future version that running "rm -f" with no argument
    4040 # is OK; and we want to be able to make that assumption in our Makefile
    4041 # recipes.  So use an aggressive probe to check that the usage we want is
    4042 # actually supported "in the wild" to an acceptable degree.
    4043 # See automake bug#10828.
    4044 # To make any issue more visible, cause the running configure to be aborted
    4045 # by default if the 'rm' program in use doesn't match our expectations; the
    4046 # user can still override this though.
    4047 if rm -f && rm -fr && rm -rf; then : OK; else
    4048   cat >&2 <<'END'
    4049 Oops!
    4050 
    4051 Your 'rm' program seems unable to run without file operands specified
    4052 on the command line, even when the '-f' option is present.  This is contrary
    4053 to the behaviour of most rm programs out there, and not conforming with
    4054 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
    4055 
    4056 Please tell bug-automake@gnu.org about your system, including the value
    4057 of your $PATH and any error possibly output before this message.  This
    4058 can help us improve future automake versions.
    4059 
    4060 END
    4061   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
    4062     echo 'Configuration will proceed anyway, since you have set the' >&2
    4063     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
    4064     echo >&2
    4065   else
    4066     cat >&2 <<'END'
    4067 Aborting the configuration process, to ensure you take notice of the issue.
    4068 
    4069 You can download and install GNU coreutils to get an 'rm' implementation
    4070 that behaves properly: <http://www.gnu.org/software/coreutils/>.
    4071 
    4072 If you want to complete the configuration process using your problematic
    4073 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
    4074 to "yes", and re-run configure.
    4075 
    4076 END
    4077     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
    4078   fi
    4079 fi
    4080 
    4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
    4082 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
    4083     # Check whether --enable-maintainer-mode was given.
    4084 if test "${enable_maintainer_mode+set}" = set; then :
    4085   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
    4086 else
    4087   USE_MAINTAINER_MODE=no
    4088 fi
    4089 
    4090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
    4091 $as_echo "$USE_MAINTAINER_MODE" >&6; }
    4092    if test $USE_MAINTAINER_MODE = yes; then
    4093   MAINTAINER_MODE_TRUE=
    4094   MAINTAINER_MODE_FALSE='#'
    4095 else
    4096   MAINTAINER_MODE_TRUE='#'
    4097   MAINTAINER_MODE_FALSE=
    4098 fi
    4099 
    4100   MAINT=$MAINTAINER_MODE_TRUE
    4101 
    4102 
    4103 
    4104 case `pwd` in
    4105   *\ * | *\     *)
    4106     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
    4107 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
    4108 esac
    4109 
    4110 
    4111 
    4112 macro_version='2.4.2'
    4113 macro_revision='1.3337'
    4114 
    4115 
    4116 
    4117 
    4118 
    4119 
    4120 
    4121 
    4122 
    4123 
    4124 
    4125 
    4126 
    4127 ltmain="$ac_aux_dir/ltmain.sh"
    4128 
    4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    4130 $as_echo_n "checking host system type... " >&6; }
    4131 if ${ac_cv_host+:} false; then :
    4132   $as_echo_n "(cached) " >&6
    4133 else
    4134   if test "x$host_alias" = x; then
    4135   ac_cv_host=$ac_cv_build
    4136 else
    4137   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    4138     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
    4139 fi
    4140 
    4141 fi
    4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
    4143 $as_echo "$ac_cv_host" >&6; }
    4144 case $ac_cv_host in
    4145 *-*-*) ;;
    4146 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
    4147 esac
    4148 host=$ac_cv_host
    4149 ac_save_IFS=$IFS; IFS='-'
    4150 set x $ac_cv_host
    4151 shift
    4152 host_cpu=$1
    4153 host_vendor=$2
    4154 shift; shift
    4155 # Remember, the first character of IFS is used to create $*,
    4156 # except with old shells:
    4157 host_os=$*
    4158 IFS=$ac_save_IFS
    4159 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    4160 
    4161 
    4162 # Backslashify metacharacters that are still active within
    4163 # double-quoted strings.
    4164 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
    4165 
    4166 # Same as above, but do not quote variable references.
    4167 double_quote_subst='s/\(["`\\]\)/\\\1/g'
    4168 
    4169 # Sed substitution to delay expansion of an escaped shell variable in a
    4170 # double_quote_subst'ed string.
    4171 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
    4172 
    4173 # Sed substitution to delay expansion of an escaped single quote.
    4174 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
    4175 
    4176 # Sed substitution to avoid accidental globbing in evaled expressions
    4177 no_glob_subst='s/\*/\\\*/g'
    4178 
    4179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    4180 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
    4181 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
    4182 
    4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
    4184 $as_echo_n "checking how to print strings... " >&6; }
    4185 # Test print first, because it will be a builtin if present.
    4186 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
    4187    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    4188   ECHO='print -r --'
    4189 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
    4190   ECHO='printf %s\n'
    4191 else
    4192   # Use this function as a fallback that always works.
    4193   func_fallback_echo ()
    4194   {
    4195     eval 'cat <<_LTECHO_EOF
    4196 $1
    4197 _LTECHO_EOF'
    4198   }
    4199   ECHO='func_fallback_echo'
    4200 fi
    4201 
    4202 # func_echo_all arg...
    4203 # Invoke $ECHO with all args, space-separated.
    4204 func_echo_all ()
    4205 {
    4206     $ECHO ""
    4207 }
    4208 
    4209 case "$ECHO" in
    4210   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
    4211 $as_echo "printf" >&6; } ;;
    4212   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
    4213 $as_echo "print -r" >&6; } ;;
    4214   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
    4215 $as_echo "cat" >&6; } ;;
    4216 esac
    4217 
    4218 
    4219 
    4220 
    4221 
    4222 
    4223 
    4224 
    4225 
    4226 
    4227 
    4228 
    42293940
    42303941
     
    76387349done
    76397350
     7351
     7352
     7353
     7354
     7355# Set the project's version numbers
     7356
     7357
     7358cat >>confdefs.h <<_ACEOF
     7359#define GLPK_VERSION "$PACKAGE_VERSION"
     7360_ACEOF
     7361
     7362
     7363  coin_majorver=`echo $PACKAGE_VERSION | sed -n -e 's/^\([0-9]*\).*/\1/gp'`
     7364  coin_minorver=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.\([0-9]*\).*/\1/gp'`
     7365  coin_releasever=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*/\1/gp'`
     7366  test -z "$coin_majorver"   && coin_majorver=9999
     7367  test -z "$coin_minorver"   && coin_minorver=9999
     7368  test -z "$coin_releasever" && coin_releasever=9999
     7369
     7370cat >>confdefs.h <<_ACEOF
     7371#define GLPK_VERSION_MAJOR $coin_majorver
     7372_ACEOF
     7373
     7374
     7375cat >>confdefs.h <<_ACEOF
     7376#define GLPK_VERSION_MINOR $coin_minorver
     7377_ACEOF
     7378
     7379
     7380cat >>confdefs.h <<_ACEOF
     7381#define GLPK_VERSION_RELEASE $coin_releasever
     7382_ACEOF
     7383
     7384
     7385  # We use the following variable to have a string with the upper case
     7386  # version of the project name
     7387  COIN_PRJCT=GLPK
     7388
     7389  # Set the project's SVN revision number. The complicated sed expression
     7390  # (made worse by quadrigraphs) ensures that things like 4123:4168MS end up
     7391  # as a single number.
     7392  # Extract the first word of "svnversion", so it can be a program name with args.
     7393set dummy svnversion; ac_word=$2
     7394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7395$as_echo_n "checking for $ac_word... " >&6; }
     7396if ${ac_cv_prog_have_svnversion+:} false; then :
     7397  $as_echo_n "(cached) " >&6
     7398else
     7399  if test -n "$have_svnversion"; then
     7400  ac_cv_prog_have_svnversion="$have_svnversion" # Let the user override the test.
     7401else
     7402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7403for as_dir in $PATH
     7404do
     7405  IFS=$as_save_IFS
     7406  test -z "$as_dir" && as_dir=.
     7407    for ac_exec_ext in '' $ac_executable_extensions; do
     7408  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7409    ac_cv_prog_have_svnversion="yes"
     7410    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7411    break 2
     7412  fi
     7413done
     7414  done
     7415IFS=$as_save_IFS
     7416
     7417  test -z "$ac_cv_prog_have_svnversion" && ac_cv_prog_have_svnversion="no"
     7418fi
     7419fi
     7420have_svnversion=$ac_cv_prog_have_svnversion
     7421if test -n "$have_svnversion"; then
     7422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_svnversion" >&5
     7423$as_echo "$have_svnversion" >&6; }
     7424else
     7425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7426$as_echo "no" >&6; }
     7427fi
     7428
     7429
     7430  if test "x$have_svnversion" = xyes; then
     7431
     7432    svn_rev_tmp=`LANG=en_EN svnversion $srcdir 2>/dev/null`
     7433    if test "x$svn_rev_tmp" != xexported -a "x$svn_rev_tmp" != x -a "x$svn_rev_tmp" != "xUnversioned directory"; then
     7434      GLPK_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'`
     7435
     7436cat >>confdefs.h <<_ACEOF
     7437#define GLPK_SVN_REV $GLPK_SVN_REV
     7438_ACEOF
     7439
     7440    fi
     7441  fi
     7442
     7443
     7444
     7445# Capture libtool library version, if given.
     7446
     7447
     7448
     7449# A useful makefile conditional that is always false
     7450 if false; then
     7451  ALWAYS_FALSE_TRUE=
     7452  ALWAYS_FALSE_FALSE='#'
     7453else
     7454  ALWAYS_FALSE_TRUE='#'
     7455  ALWAYS_FALSE_FALSE=
     7456fi
     7457
     7458
     7459# Where should everything be installed by default?  Here, we want it
     7460# to be installed directly in 'bin', 'lib', 'include' subdirectories
     7461# of the directory where configure is run.  The default would be
     7462# /usr/local.
     7463
     7464
     7465# Get the system type
     7466
     7467
     7468# initialize automake, don't define PACKAGE or VERSION
     7469if test "`cd $srcdir && pwd`" != "`pwd`"; then
     7470  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
     7471  # is not polluted with repeated "-I."
     7472  am__isrc=' -I$(srcdir)'
     7473  # test to see if srcdir already configured
     7474  if test -f $srcdir/config.status; then
     7475    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
     7476  fi
     7477fi
     7478
     7479# test whether we have cygpath
     7480if test -z "$CYGPATH_W"; then
     7481  if (cygpath --version) >/dev/null 2>/dev/null; then
     7482    CYGPATH_W='cygpath -w'
     7483  else
     7484    CYGPATH_W=echo
     7485  fi
     7486fi
     7487
     7488
     7489# Define the identity of the package.
     7490 PACKAGE='thirdpartyglpk'
     7491 VERSION='trunk'
     7492
     7493
     7494# Some tools Automake needs.
     7495
     7496ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
     7497
     7498
     7499AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
     7500
     7501
     7502AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
     7503
     7504
     7505AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
     7506
     7507
     7508MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
     7509
     7510# For better backward compatibility.  To be removed once Automake 1.9.x
     7511# dies out for good.  For more background, see:
     7512# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
     7513# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
     7514mkdir_p='$(MKDIR_P)'
     7515
     7516# We need awk for the "check" target.  The system "awk" is bad on
     7517# some platforms.
     7518# Always define AMTAR for backward compatibility.  Yes, it's still used
     7519# in the wild :-(  We should find a proper way to deprecate it ...
     7520AMTAR='$${TAR-tar}'
     7521
     7522
     7523# We'll loop over all known methods to create a tar archive until one works.
     7524_am_tools='gnutar  pax cpio none'
     7525
     7526am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
     7527
     7528
     7529
     7530
     7531
     7532
     7533# POSIX will say in a future version that running "rm -f" with no argument
     7534# is OK; and we want to be able to make that assumption in our Makefile
     7535# recipes.  So use an aggressive probe to check that the usage we want is
     7536# actually supported "in the wild" to an acceptable degree.
     7537# See automake bug#10828.
     7538# To make any issue more visible, cause the running configure to be aborted
     7539# by default if the 'rm' program in use doesn't match our expectations; the
     7540# user can still override this though.
     7541if rm -f && rm -fr && rm -rf; then : OK; else
     7542  cat >&2 <<'END'
     7543Oops!
     7544
     7545Your 'rm' program seems unable to run without file operands specified
     7546on the command line, even when the '-f' option is present.  This is contrary
     7547to the behaviour of most rm programs out there, and not conforming with
     7548the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
     7549
     7550Please tell bug-automake@gnu.org about your system, including the value
     7551of your $PATH and any error possibly output before this message.  This
     7552can help us improve future automake versions.
     7553
     7554END
     7555  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
     7556    echo 'Configuration will proceed anyway, since you have set the' >&2
     7557    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
     7558    echo >&2
     7559  else
     7560    cat >&2 <<'END'
     7561Aborting the configuration process, to ensure you take notice of the issue.
     7562
     7563You can download and install GNU coreutils to get an 'rm' implementation
     7564that behaves properly: <http://www.gnu.org/software/coreutils/>.
     7565
     7566If you want to complete the configuration process using your problematic
     7567'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
     7568to "yes", and re-run configure.
     7569
     7570END
     7571    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
     7572  fi
     7573fi
     7574
     7575# disable automatic rebuild of configure/Makefile
     7576
     7577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
     7578$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
     7579    # Check whether --enable-maintainer-mode was given.
     7580if test "${enable_maintainer_mode+set}" = set; then :
     7581  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
     7582else
     7583  USE_MAINTAINER_MODE=no
     7584fi
     7585
     7586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
     7587$as_echo "$USE_MAINTAINER_MODE" >&6; }
     7588   if test $USE_MAINTAINER_MODE = yes; then
     7589  MAINTAINER_MODE_TRUE=
     7590  MAINTAINER_MODE_FALSE='#'
     7591else
     7592  MAINTAINER_MODE_TRUE='#'
     7593  MAINTAINER_MODE_FALSE=
     7594fi
     7595
     7596  MAINT=$MAINTAINER_MODE_TRUE
     7597
     7598
     7599
     7600# create libtool
    76407601
    76417602
     
    1164711608
    1164811609
     11610
     11611# figure out whether there is a base directory up from here
     11612coin_base_directory=
     11613if test -e ../.coin_subdirs.txt ; then
     11614  coin_base_directory=`cd ..; pwd`
     11615elif test -e ../../.coin_subdirs.txt ; then
     11616  coin_base_directory=`cd ../..; pwd`
     11617fi
     11618
     11619if test "x$coin_base_directory" != x ; then
     11620  COIN_DESTDIR=$coin_base_directory/.coinstash
     11621fi
     11622
     11623
     11624
     11625#############################################################################
     11626#                         Standard build tool stuff                         #
     11627#############################################################################
     11628
     11629#turn off warnings and pedantic mode since it seem to make trouble on solaris platform
     11630#and we couldn't fix it anyway
     11631#coin_skip_warn_cflags=yes
     11632
     11633# Check if user wants to produce debugging code
     11634#AC_COIN_DEBUG_COMPILE(Glpk)
     11635
     11636# Get the name of the C compiler
     11637#AC_COIN_PROG_CC
     11638ac_ext=c
     11639ac_cpp='$CPP $CPPFLAGS'
     11640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     11641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     11642ac_compiler_gnu=$ac_cv_c_compiler_gnu
     11643if test -n "$ac_tool_prefix"; then
     11644  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     11645set dummy ${ac_tool_prefix}gcc; ac_word=$2
     11646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11647$as_echo_n "checking for $ac_word... " >&6; }
     11648if ${ac_cv_prog_CC+:} false; then :
     11649  $as_echo_n "(cached) " >&6
     11650else
     11651  if test -n "$CC"; then
     11652  ac_cv_prog_CC="$CC" # Let the user override the test.
     11653else
     11654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11655for as_dir in $PATH
     11656do
     11657  IFS=$as_save_IFS
     11658  test -z "$as_dir" && as_dir=.
     11659    for ac_exec_ext in '' $ac_executable_extensions; do
     11660  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11661    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     11662    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11663    break 2
     11664  fi
     11665done
     11666  done
     11667IFS=$as_save_IFS
     11668
     11669fi
     11670fi
     11671CC=$ac_cv_prog_CC
     11672if test -n "$CC"; then
     11673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     11674$as_echo "$CC" >&6; }
     11675else
     11676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11677$as_echo "no" >&6; }
     11678fi
     11679
     11680
     11681fi
     11682if test -z "$ac_cv_prog_CC"; then
     11683  ac_ct_CC=$CC
     11684  # Extract the first word of "gcc", so it can be a program name with args.
     11685set dummy gcc; ac_word=$2
     11686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11687$as_echo_n "checking for $ac_word... " >&6; }
     11688if ${ac_cv_prog_ac_ct_CC+:} false; then :
     11689  $as_echo_n "(cached) " >&6
     11690else
     11691  if test -n "$ac_ct_CC"; then
     11692  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     11693else
     11694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11695for as_dir in $PATH
     11696do
     11697  IFS=$as_save_IFS
     11698  test -z "$as_dir" && as_dir=.
     11699    for ac_exec_ext in '' $ac_executable_extensions; do
     11700  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11701    ac_cv_prog_ac_ct_CC="gcc"
     11702    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11703    break 2
     11704  fi
     11705done
     11706  done
     11707IFS=$as_save_IFS
     11708
     11709fi
     11710fi
     11711ac_ct_CC=$ac_cv_prog_ac_ct_CC
     11712if test -n "$ac_ct_CC"; then
     11713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     11714$as_echo "$ac_ct_CC" >&6; }
     11715else
     11716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11717$as_echo "no" >&6; }
     11718fi
     11719
     11720  if test "x$ac_ct_CC" = x; then
     11721    CC=""
     11722  else
     11723    case $cross_compiling:$ac_tool_warned in
     11724yes:)
     11725{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     11726$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     11727ac_tool_warned=yes ;;
     11728esac
     11729    CC=$ac_ct_CC
     11730  fi
     11731else
     11732  CC="$ac_cv_prog_CC"
     11733fi
     11734
     11735if test -z "$CC"; then
     11736          if test -n "$ac_tool_prefix"; then
     11737    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     11738set dummy ${ac_tool_prefix}cc; ac_word=$2
     11739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11740$as_echo_n "checking for $ac_word... " >&6; }
     11741if ${ac_cv_prog_CC+:} false; then :
     11742  $as_echo_n "(cached) " >&6
     11743else
     11744  if test -n "$CC"; then
     11745  ac_cv_prog_CC="$CC" # Let the user override the test.
     11746else
     11747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11748for as_dir in $PATH
     11749do
     11750  IFS=$as_save_IFS
     11751  test -z "$as_dir" && as_dir=.
     11752    for ac_exec_ext in '' $ac_executable_extensions; do
     11753  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11754    ac_cv_prog_CC="${ac_tool_prefix}cc"
     11755    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11756    break 2
     11757  fi
     11758done
     11759  done
     11760IFS=$as_save_IFS
     11761
     11762fi
     11763fi
     11764CC=$ac_cv_prog_CC
     11765if test -n "$CC"; then
     11766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     11767$as_echo "$CC" >&6; }
     11768else
     11769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11770$as_echo "no" >&6; }
     11771fi
     11772
     11773
     11774  fi
     11775fi
     11776if test -z "$CC"; then
     11777  # Extract the first word of "cc", so it can be a program name with args.
     11778set dummy cc; ac_word=$2
     11779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11780$as_echo_n "checking for $ac_word... " >&6; }
     11781if ${ac_cv_prog_CC+:} false; then :
     11782  $as_echo_n "(cached) " >&6
     11783else
     11784  if test -n "$CC"; then
     11785  ac_cv_prog_CC="$CC" # Let the user override the test.
     11786else
     11787  ac_prog_rejected=no
     11788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11789for as_dir in $PATH
     11790do
     11791  IFS=$as_save_IFS
     11792  test -z "$as_dir" && as_dir=.
     11793    for ac_exec_ext in '' $ac_executable_extensions; do
     11794  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11795    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     11796       ac_prog_rejected=yes
     11797       continue
     11798     fi
     11799    ac_cv_prog_CC="cc"
     11800    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11801    break 2
     11802  fi
     11803done
     11804  done
     11805IFS=$as_save_IFS
     11806
     11807if test $ac_prog_rejected = yes; then
     11808  # We found a bogon in the path, so make sure we never use it.
     11809  set dummy $ac_cv_prog_CC
     11810  shift
     11811  if test $# != 0; then
     11812    # We chose a different compiler from the bogus one.
     11813    # However, it has the same basename, so the bogon will be chosen
     11814    # first if we set CC to just the basename; use the full file name.
     11815    shift
     11816    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     11817  fi
     11818fi
     11819fi
     11820fi
     11821CC=$ac_cv_prog_CC
     11822if test -n "$CC"; then
     11823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     11824$as_echo "$CC" >&6; }
     11825else
     11826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11827$as_echo "no" >&6; }
     11828fi
     11829
     11830
     11831fi
     11832if test -z "$CC"; then
     11833  if test -n "$ac_tool_prefix"; then
     11834  for ac_prog in cl.exe
     11835  do
     11836    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     11837set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     11838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11839$as_echo_n "checking for $ac_word... " >&6; }
     11840if ${ac_cv_prog_CC+:} false; then :
     11841  $as_echo_n "(cached) " >&6
     11842else
     11843  if test -n "$CC"; then
     11844  ac_cv_prog_CC="$CC" # Let the user override the test.
     11845else
     11846as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11847for as_dir in $PATH
     11848do
     11849  IFS=$as_save_IFS
     11850  test -z "$as_dir" && as_dir=.
     11851    for ac_exec_ext in '' $ac_executable_extensions; do
     11852  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11853    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     11854    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11855    break 2
     11856  fi
     11857done
     11858  done
     11859IFS=$as_save_IFS
     11860
     11861fi
     11862fi
     11863CC=$ac_cv_prog_CC
     11864if test -n "$CC"; then
     11865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     11866$as_echo "$CC" >&6; }
     11867else
     11868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11869$as_echo "no" >&6; }
     11870fi
     11871
     11872
     11873    test -n "$CC" && break
     11874  done
     11875fi
     11876if test -z "$CC"; then
     11877  ac_ct_CC=$CC
     11878  for ac_prog in cl.exe
     11879do
     11880  # Extract the first word of "$ac_prog", so it can be a program name with args.
     11881set dummy $ac_prog; ac_word=$2
     11882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11883$as_echo_n "checking for $ac_word... " >&6; }
     11884if ${ac_cv_prog_ac_ct_CC+:} false; then :
     11885  $as_echo_n "(cached) " >&6
     11886else
     11887  if test -n "$ac_ct_CC"; then
     11888  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     11889else
     11890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11891for as_dir in $PATH
     11892do
     11893  IFS=$as_save_IFS
     11894  test -z "$as_dir" && as_dir=.
     11895    for ac_exec_ext in '' $ac_executable_extensions; do
     11896  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11897    ac_cv_prog_ac_ct_CC="$ac_prog"
     11898    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11899    break 2
     11900  fi
     11901done
     11902  done
     11903IFS=$as_save_IFS
     11904
     11905fi
     11906fi
     11907ac_ct_CC=$ac_cv_prog_ac_ct_CC
     11908if test -n "$ac_ct_CC"; then
     11909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     11910$as_echo "$ac_ct_CC" >&6; }
     11911else
     11912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11913$as_echo "no" >&6; }
     11914fi
     11915
     11916
     11917  test -n "$ac_ct_CC" && break
     11918done
     11919
     11920  if test "x$ac_ct_CC" = x; then
     11921    CC=""
     11922  else
     11923    case $cross_compiling:$ac_tool_warned in
     11924yes:)
     11925{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     11926$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     11927ac_tool_warned=yes ;;
     11928esac
     11929    CC=$ac_ct_CC
     11930  fi
     11931fi
     11932
     11933fi
     11934
     11935
     11936test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     11937$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     11938as_fn_error $? "no acceptable C compiler found in \$PATH
     11939See \`config.log' for more details" "$LINENO" 5; }
     11940
     11941# Provide some information about the compiler.
     11942$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     11943set X $ac_compile
     11944ac_compiler=$2
     11945for ac_option in --version -v -V -qversion; do
     11946  { { ac_try="$ac_compiler $ac_option >&5"
     11947case "(($ac_try" in
     11948  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11949  *) ac_try_echo=$ac_try;;
     11950esac
     11951eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     11952$as_echo "$ac_try_echo"; } >&5
     11953  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     11954  ac_status=$?
     11955  if test -s conftest.err; then
     11956    sed '10a\
     11957... rest of stderr output deleted ...
     11958         10q' conftest.err >conftest.er1
     11959    cat conftest.er1 >&5
     11960  fi
     11961  rm -f conftest.er1 conftest.err
     11962  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     11963  test $ac_status = 0; }
     11964done
     11965
     11966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     11967$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     11968if ${ac_cv_c_compiler_gnu+:} false; then :
     11969  $as_echo_n "(cached) " >&6
     11970else
     11971  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11972/* end confdefs.h.  */
     11973
     11974int
     11975main ()
     11976{
     11977#ifndef __GNUC__
     11978       choke me
     11979#endif
     11980
     11981  ;
     11982  return 0;
     11983}
     11984_ACEOF
     11985if ac_fn_c_try_compile "$LINENO"; then :
     11986  ac_compiler_gnu=yes
     11987else
     11988  ac_compiler_gnu=no
     11989fi
     11990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11991ac_cv_c_compiler_gnu=$ac_compiler_gnu
     11992
     11993fi
     11994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     11995$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     11996if test $ac_compiler_gnu = yes; then
     11997  GCC=yes
     11998else
     11999  GCC=
     12000fi
     12001ac_test_CFLAGS=${CFLAGS+set}
     12002ac_save_CFLAGS=$CFLAGS
     12003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     12004$as_echo_n "checking whether $CC accepts -g... " >&6; }
     12005if ${ac_cv_prog_cc_g+:} false; then :
     12006  $as_echo_n "(cached) " >&6
     12007else
     12008  ac_save_c_werror_flag=$ac_c_werror_flag
     12009   ac_c_werror_flag=yes
     12010   ac_cv_prog_cc_g=no
     12011   CFLAGS="-g"
     12012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12013/* end confdefs.h.  */
     12014
     12015int
     12016main ()
     12017{
     12018
     12019  ;
     12020  return 0;
     12021}
     12022_ACEOF
     12023if ac_fn_c_try_compile "$LINENO"; then :
     12024  ac_cv_prog_cc_g=yes
     12025else
     12026  CFLAGS=""
     12027      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12028/* end confdefs.h.  */
     12029
     12030int
     12031main ()
     12032{
     12033
     12034  ;
     12035  return 0;
     12036}
     12037_ACEOF
     12038if ac_fn_c_try_compile "$LINENO"; then :
     12039
     12040else
     12041  ac_c_werror_flag=$ac_save_c_werror_flag
     12042         CFLAGS="-g"
     12043         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12044/* end confdefs.h.  */
     12045
     12046int
     12047main ()
     12048{
     12049
     12050  ;
     12051  return 0;
     12052}
     12053_ACEOF
     12054if ac_fn_c_try_compile "$LINENO"; then :
     12055  ac_cv_prog_cc_g=yes
     12056fi
     12057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12058fi
     12059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12060fi
     12061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12062   ac_c_werror_flag=$ac_save_c_werror_flag
     12063fi
     12064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     12065$as_echo "$ac_cv_prog_cc_g" >&6; }
     12066if test "$ac_test_CFLAGS" = set; then
     12067  CFLAGS=$ac_save_CFLAGS
     12068elif test $ac_cv_prog_cc_g = yes; then
     12069  if test "$GCC" = yes; then
     12070    CFLAGS="-g -O2"
     12071  else
     12072    CFLAGS="-g"
     12073  fi
     12074else
     12075  if test "$GCC" = yes; then
     12076    CFLAGS="-O2"
     12077  else
     12078    CFLAGS=
     12079  fi
     12080fi
     12081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     12082$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     12083if ${ac_cv_prog_cc_c89+:} false; then :
     12084  $as_echo_n "(cached) " >&6
     12085else
     12086  ac_cv_prog_cc_c89=no
     12087ac_save_CC=$CC
     12088cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12089/* end confdefs.h.  */
     12090#include <stdarg.h>
     12091#include <stdio.h>
     12092struct stat;
     12093/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     12094struct buf { int x; };
     12095FILE * (*rcsopen) (struct buf *, struct stat *, int);
     12096static char *e (p, i)
     12097     char **p;
     12098     int i;
     12099{
     12100  return p[i];
     12101}
     12102static char *f (char * (*g) (char **, int), char **p, ...)
     12103{
     12104  char *s;
     12105  va_list v;
     12106  va_start (v,p);
     12107  s = g (p, va_arg (v,int));
     12108  va_end (v);
     12109  return s;
     12110}
     12111
     12112/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     12113   function prototypes and stuff, but not '\xHH' hex character constants.
     12114   These don't provoke an error unfortunately, instead are silently treated
     12115   as 'x'.  The following induces an error, until -std is added to get
     12116   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     12117   array size at least.  It's necessary to write '\x00'==0 to get something
     12118   that's true only with -std.  */
     12119int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     12120
     12121/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     12122   inside strings and character constants.  */
     12123#define FOO(x) 'x'
     12124int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     12125
     12126int test (int i, double x);
     12127struct s1 {int (*f) (int a);};
     12128struct s2 {int (*f) (double a);};
     12129int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     12130int argc;
     12131char **argv;
     12132int
     12133main ()
     12134{
     12135return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     12136  ;
     12137  return 0;
     12138}
     12139_ACEOF
     12140for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     12141        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     12142do
     12143  CC="$ac_save_CC $ac_arg"
     12144  if ac_fn_c_try_compile "$LINENO"; then :
     12145  ac_cv_prog_cc_c89=$ac_arg
     12146fi
     12147rm -f core conftest.err conftest.$ac_objext
     12148  test "x$ac_cv_prog_cc_c89" != "xno" && break
     12149done
     12150rm -f conftest.$ac_ext
     12151CC=$ac_save_CC
     12152
     12153fi
     12154# AC_CACHE_VAL
     12155case "x$ac_cv_prog_cc_c89" in
     12156  x)
     12157    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     12158$as_echo "none needed" >&6; } ;;
     12159  xno)
     12160    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     12161$as_echo "unsupported" >&6; } ;;
     12162  *)
     12163    CC="$CC $ac_cv_prog_cc_c89"
     12164    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     12165$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     12166esac
     12167if test "x$ac_cv_prog_cc_c89" != xno; then :
     12168
     12169fi
     12170
     12171ac_ext=c
     12172ac_cpp='$CPP $CPPFLAGS'
     12173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     12174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     12175ac_compiler_gnu=$ac_cv_c_compiler_gnu
     12176
     12177ac_ext=c
     12178ac_cpp='$CPP $CPPFLAGS'
     12179ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     12180ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     12181ac_compiler_gnu=$ac_cv_c_compiler_gnu
     12182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
     12183$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
     12184if ${am_cv_prog_cc_c_o+:} false; then :
     12185  $as_echo_n "(cached) " >&6
     12186else
     12187  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12188/* end confdefs.h.  */
     12189
     12190int
     12191main ()
     12192{
     12193
     12194  ;
     12195  return 0;
     12196}
     12197_ACEOF
     12198  # Make sure it works both with $CC and with simple cc.
     12199  # Following AC_PROG_CC_C_O, we do the test twice because some
     12200  # compilers refuse to overwrite an existing .o file with -o,
     12201  # though they will create one.
     12202  am_cv_prog_cc_c_o=yes
     12203  for am_i in 1 2; do
     12204    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
     12205   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
     12206   ac_status=$?
     12207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12208   (exit $ac_status); } \
     12209         && test -f conftest2.$ac_objext; then
     12210      : OK
     12211    else
     12212      am_cv_prog_cc_c_o=no
     12213      break
     12214    fi
     12215  done
     12216  rm -f core conftest*
     12217  unset am_i
     12218fi
     12219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
     12220$as_echo "$am_cv_prog_cc_c_o" >&6; }
     12221if test "$am_cv_prog_cc_c_o" != yes; then
     12222   # Losing compiler, so override with the script.
     12223   # FIXME: It is wrong to rewrite CC.
     12224   # But if we don't then we get into trouble of one sort or another.
     12225   # A longer-term fix would be to have automake use am__CC in this case,
     12226   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     12227   CC="$am_aux_dir/compile $CC"
     12228fi
     12229ac_ext=c
     12230ac_cpp='$CPP $CPPFLAGS'
     12231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     12232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     12233ac_compiler_gnu=$ac_cv_c_compiler_gnu
     12234
     12235
     12236depcc="$CC"   am_compiler_list=
     12237
     12238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     12239$as_echo_n "checking dependency style of $depcc... " >&6; }
     12240if ${am_cv_CC_dependencies_compiler_type+:} false; then :
     12241  $as_echo_n "(cached) " >&6
     12242else
     12243  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     12244  # We make a subdir and do the tests there.  Otherwise we can end up
     12245  # making bogus files that we don't know about and never remove.  For
     12246  # instance it was reported that on HP-UX the gcc test will end up
     12247  # making a dummy file named 'D' -- because '-MD' means "put the output
     12248  # in D".
     12249  rm -rf conftest.dir
     12250  mkdir conftest.dir
     12251  # Copy depcomp to subdir because otherwise we won't find it if we're
     12252  # using a relative directory.
     12253  cp "$am_depcomp" conftest.dir
     12254  cd conftest.dir
     12255  # We will build objects and dependencies in a subdirectory because
     12256  # it helps to detect inapplicable dependency modes.  For instance
     12257  # both Tru64's cc and ICC support -MD to output dependencies as a
     12258  # side effect of compilation, but ICC will put the dependencies in
     12259  # the current directory while Tru64 will put them in the object
     12260  # directory.
     12261  mkdir sub
     12262
     12263  am_cv_CC_dependencies_compiler_type=none
     12264  if test "$am_compiler_list" = ""; then
     12265     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     12266  fi
     12267  am__universal=false
     12268  case " $depcc " in #(
     12269     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     12270     esac
     12271
     12272  for depmode in $am_compiler_list; do
     12273    # Setup a source with many dependencies, because some compilers
     12274    # like to wrap large dependency lists on column 80 (with \), and
     12275    # we should not choose a depcomp mode which is confused by this.
     12276    #
     12277    # We need to recreate these files for each test, as the compiler may
     12278    # overwrite some of them when testing with obscure command lines.
     12279    # This happens at least with the AIX C compiler.
     12280    : > sub/conftest.c
     12281    for i in 1 2 3 4 5 6; do
     12282      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     12283      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     12284      # Solaris 10 /bin/sh.
     12285      echo '/* dummy */' > sub/conftst$i.h
     12286    done
     12287    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     12288
     12289    # We check with '-c' and '-o' for the sake of the "dashmstdout"
     12290    # mode.  It turns out that the SunPro C++ compiler does not properly
     12291    # handle '-M -o', and we need to detect this.  Also, some Intel
     12292    # versions had trouble with output in subdirs.
     12293    am__obj=sub/conftest.${OBJEXT-o}
     12294    am__minus_obj="-o $am__obj"
     12295    case $depmode in
     12296    gcc)
     12297      # This depmode causes a compiler race in universal mode.
     12298      test "$am__universal" = false || continue
     12299      ;;
     12300    nosideeffect)
     12301      # After this tag, mechanisms are not by side-effect, so they'll
     12302      # only be used when explicitly requested.
     12303      if test "x$enable_dependency_tracking" = xyes; then
     12304        continue
     12305      else
     12306        break
     12307      fi
     12308      ;;
     12309    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     12310      # This compiler won't grok '-c -o', but also, the minuso test has
     12311      # not run yet.  These depmodes are late enough in the game, and
     12312      # so weak that their functioning should not be impacted.
     12313      am__obj=conftest.${OBJEXT-o}
     12314      am__minus_obj=
     12315      ;;
     12316    none) break ;;
     12317    esac
     12318    if depmode=$depmode \
     12319       source=sub/conftest.c object=$am__obj \
     12320       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     12321       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     12322         >/dev/null 2>conftest.err &&
     12323       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     12324       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     12325       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     12326       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     12327      # icc doesn't choke on unknown options, it will just issue warnings
     12328      # or remarks (even with -Werror).  So we grep stderr for any message
     12329      # that says an option was ignored or not supported.
     12330      # When given -MP, icc 7.0 and 7.1 complain thusly:
     12331      #   icc: Command line warning: ignoring option '-M'; no argument required
     12332      # The diagnosis changed in icc 8.0:
     12333      #   icc: Command line remark: option '-MP' not supported
     12334      if (grep 'ignoring option' conftest.err ||
     12335          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     12336        am_cv_CC_dependencies_compiler_type=$depmode
     12337        break
     12338      fi
     12339    fi
     12340  done
     12341
     12342  cd ..
     12343  rm -rf conftest.dir
     12344else
     12345  am_cv_CC_dependencies_compiler_type=none
     12346fi
     12347
     12348fi
     12349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
     12350$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
     12351CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     12352
     12353 if
     12354  test "x$enable_dependency_tracking" != xno \
     12355  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     12356  am__fastdepCC_TRUE=
     12357  am__fastdepCC_FALSE='#'
     12358else
     12359  am__fastdepCC_TRUE='#'
     12360  am__fastdepCC_FALSE=
     12361fi
     12362
     12363
     12364
     12365# Check if pkg-config is available (to setup addlibs file)
     12366#AC_COIN_HAS_PKGCONFIG
     12367
    1164912368###########################################################################
    1165012369#                            check GLPK version                           #
     
    1214912868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
    1215012869$as_echo "done" >&6; }
     12870 if test -n "$EXEEXT"; then
     12871  am__EXEEXT_TRUE=
     12872  am__EXEEXT_FALSE='#'
     12873else
     12874  am__EXEEXT_TRUE='#'
     12875  am__EXEEXT_FALSE=
     12876fi
     12877
     12878if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
     12879  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
     12880Usually this means the macro was only invoked conditionally." "$LINENO" 5
     12881fi
    1215112882if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
    1215212883  as_fn_error $? "conditional \"AMDEP\" was never defined.
     
    1215712888Usually this means the macro was only invoked conditionally." "$LINENO" 5
    1215812889fi
    12159  if test -n "$EXEEXT"; then
    12160   am__EXEEXT_TRUE=
    12161   am__EXEEXT_FALSE='#'
    12162 else
    12163   am__EXEEXT_TRUE='#'
    12164   am__EXEEXT_FALSE=
    12165 fi
    12166 
    12167 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
    12168   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
     12890if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
     12891  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
    1216912892Usually this means the macro was only invoked conditionally." "$LINENO" 5
    1217012893fi
  • ThirdParty/Glpk/branches/autotools-update/configure.ac

    r3246 r3248  
    4040# Check if pkg-config is available (to setup addlibs file)
    4141#AC_COIN_HAS_PKGCONFIG
    42 
    43 # Initialize automake
    44 #AC_COIN_INIT_AUTO_TOOLS
    45 AM_INIT_AUTOMAKE
    46 AM_MAINTAINER_MODE
    47 
    48 AC_PROG_LIBTOOL
    4942
    5043###########################################################################
Note: See TracChangeset for help on using the changeset viewer.