Skip to content
Snippets Groups Projects
configure 1.4 MiB
Newer Older
  • Learn to ignore specific revisions
  • ac_header_list="$ac_header_list sys/time.h"
    ac_header_list="$ac_header_list unistd.h"
    ac_func_list="$ac_func_list alarm"
    ac_header_list="$ac_header_list utime.h"
    
    # Check that the precious variables saved in the cache have kept the same
    # value.
    ac_cache_corrupted=false
    
    for ac_var in $ac_precious_vars; do
    
      eval ac_old_set=\$ac_cv_env_${ac_var}_set
      eval ac_new_set=\$ac_env_${ac_var}_set
    
      eval ac_old_val=\$ac_cv_env_${ac_var}_value
      eval ac_new_val=\$ac_env_${ac_var}_value
    
      case $ac_old_set,$ac_new_set in
        set,)
          { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
          ac_cache_corrupted=: ;;
        ,set)
          { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
          ac_cache_corrupted=: ;;
        ,);;
        *)
          if test "x$ac_old_val" != "x$ac_new_val"; then
    	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    echo "$as_me:   former value:  $ac_old_val" >&2;}
    	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    echo "$as_me:   current value: $ac_new_val" >&2;}
    	ac_cache_corrupted=:
          fi;;
      esac
      # Pass precious variables to config.status.
      if test "$ac_new_set" = set; then
        case $ac_new_val in
    
        *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    
        *) ac_arg=$ac_var=$ac_new_val ;;
        esac
        case " $ac_configure_args " in
          *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
          *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
        esac
      fi
    done
    if $ac_cache_corrupted; then
      { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    echo "$as_me: error: changes in the environment can compromise the build" >&2;}
      { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
       { (exit 1); exit 1; }; }
    fi
    
    
    
    
    
    
    
    
    
    
    
    
    
    ac_ext=c
    ac_cpp='$CPP $CPPFLAGS'
    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    ac_compiler_gnu=$ac_cv_c_compiler_gnu
    
    for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
      if test -f "$ac_dir/install-sh"; then
    
        ac_aux_dir=$ac_dir
        ac_install_sh="$ac_aux_dir/install-sh -c"
        break
    
        ac_aux_dir=$ac_dir
        ac_install_sh="$ac_aux_dir/install.sh -c"
        break
    
        ac_aux_dir=$ac_dir
        ac_install_sh="$ac_aux_dir/shtool install -c"
        break
      fi
    done
    if test -z "$ac_aux_dir"; then
    
      { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    
    
    # These three variables are undocumented and unsupported,
    # and are intended to be withdrawn in a future Autoconf release.
    # They can cause serious problems if a builder's source tree is in a directory
    # whose full name contains unusual characters.
    ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
    ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    
    
    
    # Make sure we can run config.sub.
    
    $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
      { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
    echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    
    { echo "$as_me:$LINENO: checking build system type" >&5
    echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
    
    if test "${ac_cv_build+set}" = set; then
      echo $ECHO_N "(cached) $ECHO_C" >&6
    else
    
      ac_build_alias=$build_alias
    test "x$ac_build_alias" = x &&
    
      ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    
    test "x$ac_build_alias" = x &&
    
      { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
       { (exit 1); exit 1; }; }
    
    ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
      { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
    echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    
    { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    echo "${ECHO_T}$ac_cv_build" >&6; }
    case $ac_cv_build in
    *-*-*) ;;
    *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
    echo "$as_me: error: invalid value of canonical build" >&2;}
       { (exit 1); exit 1; }; };;
    esac
    
    ac_save_IFS=$IFS; IFS='-'
    set x $ac_cv_build
    shift
    build_cpu=$1
    build_vendor=$2
    shift; shift
    # Remember, the first character of IFS is used to create $*,
    # except with old shells:
    build_os=$*
    IFS=$ac_save_IFS
    case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    
    { echo "$as_me:$LINENO: checking host system type" >&5
    echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
    
    if test "${ac_cv_host+set}" = set; then
      echo $ECHO_N "(cached) $ECHO_C" >&6
    else
    
      if test "x$host_alias" = x; then
      ac_cv_host=$ac_cv_build
    else
    
      ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
        { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
    echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    
    { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    echo "${ECHO_T}$ac_cv_host" >&6; }
    case $ac_cv_host in
    *-*-*) ;;
    *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
    echo "$as_me: error: invalid value of canonical host" >&2;}
       { (exit 1); exit 1; }; };;
    esac
    
    ac_save_IFS=$IFS; IFS='-'
    set x $ac_cv_host
    shift
    host_cpu=$1
    host_vendor=$2
    shift; shift
    # Remember, the first character of IFS is used to create $*,
    # except with old shells:
    host_os=$*
    IFS=$ac_save_IFS
    case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    
    
    
    
    # check existence of the package
    
    
    # specify output header file
    
    ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
    
    ac_ext=c
    ac_cpp='$CPP $CPPFLAGS'
    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    ac_compiler_gnu=$ac_cv_c_compiler_gnu
    if test -n "$ac_tool_prefix"; then
    
      # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    set dummy ${ac_tool_prefix}gcc; ac_word=$2
    
    { echo "$as_me:$LINENO: checking for $ac_word" >&5
    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    
    if test "${ac_cv_prog_CC+set}" = set; then
      echo $ECHO_N "(cached) $ECHO_C" >&6
    else
      if test -n "$CC"; then
      ac_cv_prog_CC="$CC" # Let the user override the test.
    else
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    for as_dir in $PATH
    do
      IFS=$as_save_IFS
      test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    
      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    
        ac_cv_prog_CC="${ac_tool_prefix}gcc"
        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        break 2
      fi
    done
    done
    
    
    fi
    fi
    CC=$ac_cv_prog_CC
    if test -n "$CC"; then
    
      { echo "$as_me:$LINENO: result: $CC" >&5
    echo "${ECHO_T}$CC" >&6; }
    
      { echo "$as_me:$LINENO: result: no" >&5
    echo "${ECHO_T}no" >&6; }
    
    fi
    if test -z "$ac_cv_prog_CC"; then
      ac_ct_CC=$CC
      # Extract the first word of "gcc", so it can be a program name with args.
    set dummy gcc; ac_word=$2
    
    { echo "$as_me:$LINENO: checking for $ac_word" >&5
    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    
    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
      echo $ECHO_N "(cached) $ECHO_C" >&6
    else
      if test -n "$ac_ct_CC"; then
      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    else
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    for as_dir in $PATH
    do
      IFS=$as_save_IFS
      test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    
      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    
        ac_cv_prog_ac_ct_CC="gcc"
        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        break 2
      fi
    done
    done
    
    
    fi
    fi
    ac_ct_CC=$ac_cv_prog_ac_ct_CC
    if test -n "$ac_ct_CC"; then
    
      { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    echo "${ECHO_T}$ac_ct_CC" >&6; }
    
      { echo "$as_me:$LINENO: result: no" >&5
    echo "${ECHO_T}no" >&6; }
    
      if test "x$ac_ct_CC" = x; then
    
      else
        case $cross_compiling:$ac_tool_warned in
    yes:)
    { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    whose name does not start with the host triplet.  If you think this
    configuration is useful to you, please write to autoconf@gnu.org." >&5
    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    whose name does not start with the host triplet.  If you think this
    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    ac_tool_warned=yes ;;
    esac
        CC=$ac_ct_CC
      fi
    
    if test -z "$CC"; then
              if test -n "$ac_tool_prefix"; then
        # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    set dummy ${ac_tool_prefix}cc; ac_word=$2
    
    { echo "$as_me:$LINENO: checking for $ac_word" >&5
    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    
    if test "${ac_cv_prog_CC+set}" = set; then
    
      echo $ECHO_N "(cached) $ECHO_C" >&6
    else
    
      if test -n "$CC"; then
      ac_cv_prog_CC="$CC" # Let the user override the test.
    
    else
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    for as_dir in $PATH
    do
      IFS=$as_save_IFS
      test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    
      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    
        ac_cv_prog_CC="${ac_tool_prefix}cc"
    
        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        break 2
      fi
    done
    done
    
    CC=$ac_cv_prog_CC
    if test -n "$CC"; then
      { echo "$as_me:$LINENO: result: $CC" >&5
    echo "${ECHO_T}$CC" >&6; }
    
      { echo "$as_me:$LINENO: result: no" >&5
    echo "${ECHO_T}no" >&6; }
    
    if test -z "$CC"; then
      # Extract the first word of "cc", so it can be a program name with args.
    set dummy cc; ac_word=$2
    
    { echo "$as_me:$LINENO: checking for $ac_word" >&5
    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    
    if test "${ac_cv_prog_CC+set}" = set; then
    
      echo $ECHO_N "(cached) $ECHO_C" >&6
    else
    
      if test -n "$CC"; then
      ac_cv_prog_CC="$CC" # Let the user override the test.
    
      ac_prog_rejected=no
    
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    for as_dir in $PATH
    do
      IFS=$as_save_IFS
      test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    
      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    
        if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
           ac_prog_rejected=yes
           continue
         fi
        ac_cv_prog_CC="cc"
    
        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        break 2
      fi
    done
    done
    
    if test $ac_prog_rejected = yes; then
      # We found a bogon in the path, so make sure we never use it.
      set dummy $ac_cv_prog_CC
      shift
      if test $# != 0; then
        # We chose a different compiler from the bogus one.
        # However, it has the same basename, so the bogon will be chosen
        # first if we set CC to just the basename; use the full file name.
        shift
        ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    
    CC=$ac_cv_prog_CC
    if test -n "$CC"; then
      { echo "$as_me:$LINENO: result: $CC" >&5
    echo "${ECHO_T}$CC" >&6; }
    
    else
      { echo "$as_me:$LINENO: result: no" >&5
    echo "${ECHO_T}no" >&6; }
    fi
    
    
    fi
    
    if test -z "$CC"; then
      if test -n "$ac_tool_prefix"; then
      for ac_prog in cl.exe
      do
        # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    
    { echo "$as_me:$LINENO: checking for $ac_word" >&5
    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    
    if test "${ac_cv_prog_CC+set}" = set; then
    
      echo $ECHO_N "(cached) $ECHO_C" >&6
    else
    
      if test -n "$CC"; then
      ac_cv_prog_CC="$CC" # Let the user override the test.
    
    else
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    for as_dir in $PATH
    do
      IFS=$as_save_IFS
      test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    
      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    
        ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    
        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        break 2
      fi
    done
    done
    IFS=$as_save_IFS
    
    fi
    fi
    
    CC=$ac_cv_prog_CC
    if test -n "$CC"; then
      { echo "$as_me:$LINENO: result: $CC" >&5
    echo "${ECHO_T}$CC" >&6; }
    
    else
      { echo "$as_me:$LINENO: result: no" >&5
    echo "${ECHO_T}no" >&6; }
    fi
    
    
    
        test -n "$CC" && break
      done
    fi
    if test -z "$CC"; then
      ac_ct_CC=$CC
      for ac_prog in cl.exe
    do
      # Extract the first word of "$ac_prog", so it can be a program name with args.
    set dummy $ac_prog; ac_word=$2
    
    { echo "$as_me:$LINENO: checking for $ac_word" >&5
    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    
    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    
      echo $ECHO_N "(cached) $ECHO_C" >&6
    else
    
      if test -n "$ac_ct_CC"; then
      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    
    else
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    for as_dir in $PATH
    do
      IFS=$as_save_IFS
      test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    
      if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    
        ac_cv_prog_ac_ct_CC="$ac_prog"
    
        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        break 2
      fi
    done
    done
    
    ac_ct_CC=$ac_cv_prog_ac_ct_CC
    if test -n "$ac_ct_CC"; then
      { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    echo "${ECHO_T}$ac_ct_CC" >&6; }
    
      { echo "$as_me:$LINENO: result: no" >&5
    echo "${ECHO_T}no" >&6; }
    
      test -n "$ac_ct_CC" && break
    
      if test "x$ac_ct_CC" = x; then
        CC=""
    
      else
        case $cross_compiling:$ac_tool_warned in
    yes:)
    { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    whose name does not start with the host triplet.  If you think this
    configuration is useful to you, please write to autoconf@gnu.org." >&5
    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    whose name does not start with the host triplet.  If you think this
    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    ac_tool_warned=yes ;;
    esac
    
    test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    See \`config.log' for more details." >&5
    echo "$as_me: error: no acceptable C compiler found in \$PATH
    See \`config.log' for more details." >&2;}
       { (exit 1); exit 1; }; }
    
    # Provide some information about the compiler.
    echo "$as_me:$LINENO: checking for C compiler version" >&5
    ac_compiler=`set X $ac_compile; echo $2`
    { (ac_try="$ac_compiler --version >&5"
    case "(($ac_try" in
      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
      *) ac_try_echo=$ac_try;;
    esac
    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
      (eval "$ac_compiler --version >&5") 2>&5
      ac_status=$?
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
      (exit $ac_status); }
    { (ac_try="$ac_compiler -v >&5"
    case "(($ac_try" in
      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
      *) ac_try_echo=$ac_try;;
    esac
    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
      (eval "$ac_compiler -v >&5") 2>&5
      ac_status=$?
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
      (exit $ac_status); }
    { (ac_try="$ac_compiler -V >&5"
    case "(($ac_try" in
      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
      *) ac_try_echo=$ac_try;;
    esac
    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
      (eval "$ac_compiler -V >&5") 2>&5
      ac_status=$?
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
      (exit $ac_status); }
    
    cat >conftest.$ac_ext <<_ACEOF
    /* confdefs.h.  */
    _ACEOF
    cat confdefs.h >>conftest.$ac_ext
    cat >>conftest.$ac_ext <<_ACEOF
    /* end confdefs.h.  */
    
    int
    main ()
    {
    
      ;
      return 0;
    }
    _ACEOF
    ac_clean_files_save=$ac_clean_files
    ac_clean_files="$ac_clean_files a.out a.exe b.out"
    # Try to create an executable without -o first, disregard a.out.
    # It will help us diagnose broken compilers, and finding out an intuition
    # of exeext.
    { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    #
    # List of possible output files, starting from the most likely.
    # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
    # only as a last resort.  b.out is created by i960 compilers.
    ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
    #
    # The IRIX 6 linker writes into existing files which may not be
    # executable, retaining their permissions.  Remove them first so a
    # subsequent execution test works.
    ac_rmfiles=
    for ac_file in $ac_files
    do
      case $ac_file in
        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
        * ) ac_rmfiles="$ac_rmfiles $ac_file";;
      esac
    done
    rm -f $ac_rmfiles
    
    if { (ac_try="$ac_link_default"
    case "(($ac_try" in
      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
      *) ac_try_echo=$ac_try;;
    esac
    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
      (eval "$ac_link_default") 2>&5
      ac_status=$?
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
      (exit $ac_status); }; then
      # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    # so that the user can short-circuit this test for compilers unknown to
    # Autoconf.
    
    for ac_file in $ac_files ''
    
    do
      test -f "$ac_file" || continue
      case $ac_file in
        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
    	;;
        [ab].out )
    	# We found the default executable, but exeext='' is most
    	# certainly right.
    	break;;
        *.* )
            if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    	then :; else
    	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    	fi
    	# We set ac_cv_exeext here because the later test for it is not
    	# safe: cross compilers may not add the suffix if given an `-o'
    	# argument, so we may need to know it at that point already.
    	# Even if this section looks crufty: it has the advantage of
    	# actually working.
    	break;;
        * )
    	break;;
      esac
    done
    test "$ac_cv_exeext" = no && ac_cv_exeext=
    
    else
    
      ac_file=''
    fi
    
    { echo "$as_me:$LINENO: result: $ac_file" >&5
    echo "${ECHO_T}$ac_file" >&6; }
    if test -z "$ac_file"; then
    
      echo "$as_me: failed program was:" >&5
    sed 's/^/| /' conftest.$ac_ext >&5
    
    { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    See \`config.log' for more details." >&5
    echo "$as_me: error: C compiler cannot create executables
    See \`config.log' for more details." >&2;}
       { (exit 77); exit 77; }; }
    fi
    
    ac_exeext=$ac_cv_exeext
    
    # Check that the compiler produces executables we can run.  If not, either
    # the compiler is broken, or we cross compile.
    { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    # If not cross compiling, check that we can run a simple program.
    if test "$cross_compiling" != yes; then
      if { ac_try='./$ac_file'
      { (case "(($ac_try" in
      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
      *) ac_try_echo=$ac_try;;
    esac
    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
      (eval "$ac_try") 2>&5
      ac_status=$?
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
      (exit $ac_status); }; }; then
        cross_compiling=no
      else
        if test "$cross_compiling" = maybe; then
    	cross_compiling=yes
        else
    	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    If you meant to cross compile, use \`--host'.
    See \`config.log' for more details." >&5
    echo "$as_me: error: cannot run C compiled programs.
    If you meant to cross compile, use \`--host'.
    See \`config.log' for more details." >&2;}
       { (exit 1); exit 1; }; }
        fi
      fi
    fi
    { echo "$as_me:$LINENO: result: yes" >&5
    echo "${ECHO_T}yes" >&6; }
    
    rm -f a.out a.exe conftest$ac_cv_exeext b.out
    ac_clean_files=$ac_clean_files_save
    # Check that the compiler produces executables we can run.  If not, either
    # the compiler is broken, or we cross compile.
    { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
    { echo "$as_me:$LINENO: result: $cross_compiling" >&5
    echo "${ECHO_T}$cross_compiling" >&6; }
    
    { echo "$as_me:$LINENO: checking for suffix of executables" >&5
    echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
    if { (ac_try="$ac_link"
    case "(($ac_try" in
      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
      *) ac_try_echo=$ac_try;;
    esac
    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
      (eval "$ac_link") 2>&5
      ac_status=$?
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
      (exit $ac_status); }; then
      # If both `conftest.exe' and `conftest' are `present' (well, observable)
    # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    # work properly (i.e., refer to `conftest.exe'), while it won't with
    # `rm'.
    for ac_file in conftest.exe conftest conftest.*; do
      test -f "$ac_file" || continue
      case $ac_file in
        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
        *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    	  break;;
        * ) break;;
      esac
    done
    else
      { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    See \`config.log' for more details." >&5
    echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    See \`config.log' for more details." >&2;}
       { (exit 1); exit 1; }; }
    fi
    
    rm -f conftest$ac_cv_exeext
    { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    echo "${ECHO_T}$ac_cv_exeext" >&6; }
    
    rm -f conftest.$ac_ext
    EXEEXT=$ac_cv_exeext
    ac_exeext=$EXEEXT
    { echo "$as_me:$LINENO: checking for suffix of object files" >&5
    echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    if test "${ac_cv_objext+set}" = set; then
      echo $ECHO_N "(cached) $ECHO_C" >&6
    else
      cat >conftest.$ac_ext <<_ACEOF
    /* confdefs.h.  */
    _ACEOF
    cat confdefs.h >>conftest.$ac_ext
    cat >>conftest.$ac_ext <<_ACEOF
    /* end confdefs.h.  */
    
    int
    main ()
    {
    
      ;
      return 0;
    }
    _ACEOF
    rm -f conftest.o conftest.obj
    if { (ac_try="$ac_compile"
    case "(($ac_try" in
      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
      *) ac_try_echo=$ac_try;;
    esac
    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
      (eval "$ac_compile") 2>&5
      ac_status=$?
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
      (exit $ac_status); }; then
      for ac_file in conftest.o conftest.obj conftest.*; do
      test -f "$ac_file" || continue;
      case $ac_file in
        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
        *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
           break;;
      esac
    done
    else
      echo "$as_me: failed program was:" >&5
    sed 's/^/| /' conftest.$ac_ext >&5
    
    { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    See \`config.log' for more details." >&5
    echo "$as_me: error: cannot compute suffix of object files: cannot compile
    See \`config.log' for more details." >&2;}
       { (exit 1); exit 1; }; }
    fi
    
    rm -f conftest.$ac_cv_objext conftest.$ac_ext
    fi
    { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    echo "${ECHO_T}$ac_cv_objext" >&6; }
    OBJEXT=$ac_cv_objext
    ac_objext=$OBJEXT
    { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    if test "${ac_cv_c_compiler_gnu+set}" = set; then
      echo $ECHO_N "(cached) $ECHO_C" >&6
    else
      cat >conftest.$ac_ext <<_ACEOF
    /* confdefs.h.  */
    _ACEOF
    cat confdefs.h >>conftest.$ac_ext
    cat >>conftest.$ac_ext <<_ACEOF
    /* end confdefs.h.  */
    
    int
    main ()
    {
    #ifndef __GNUC__
           choke me
    #endif
    
      ;
      return 0;
    }
    _ACEOF
    rm -f conftest.$ac_objext
    if { (ac_try="$ac_compile"
    case "(($ac_try" in
      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
      *) ac_try_echo=$ac_try;;
    esac
    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
      (eval "$ac_compile") 2>conftest.er1
      ac_status=$?
      grep -v '^ *+' conftest.er1 >conftest.err
      rm -f conftest.er1
      cat conftest.err >&5
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
    
      (exit $ac_status); } && {
    	 test -z "$ac_c_werror_flag" ||
    	 test ! -s conftest.err
           } && test -s conftest.$ac_objext; then
    
      ac_compiler_gnu=yes
    else
      echo "$as_me: failed program was:" >&5
    sed 's/^/| /' conftest.$ac_ext >&5
    
    	ac_compiler_gnu=no
    fi
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    ac_cv_c_compiler_gnu=$ac_compiler_gnu
    
    fi
    { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    GCC=`test $ac_compiler_gnu = yes && echo yes`
    ac_test_CFLAGS=${CFLAGS+set}
    ac_save_CFLAGS=$CFLAGS
    { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    if test "${ac_cv_prog_cc_g+set}" = set; then
      echo $ECHO_N "(cached) $ECHO_C" >&6
    else
      ac_save_c_werror_flag=$ac_c_werror_flag
       ac_c_werror_flag=yes
       ac_cv_prog_cc_g=no
       CFLAGS="-g"
       cat >conftest.$ac_ext <<_ACEOF
    /* confdefs.h.  */
    _ACEOF
    cat confdefs.h >>conftest.$ac_ext
    cat >>conftest.$ac_ext <<_ACEOF
    /* end confdefs.h.  */
    
    int
    main ()
    {
    
      ;
      return 0;
    }
    _ACEOF
    rm -f conftest.$ac_objext
    if { (ac_try="$ac_compile"
    case "(($ac_try" in
      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
      *) ac_try_echo=$ac_try;;
    esac
    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
      (eval "$ac_compile") 2>conftest.er1
      ac_status=$?
      grep -v '^ *+' conftest.er1 >conftest.err
      rm -f conftest.er1
      cat conftest.err >&5
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
    
      (exit $ac_status); } && {
    	 test -z "$ac_c_werror_flag" ||
    	 test ! -s conftest.err
           } && test -s conftest.$ac_objext; then
    
      ac_cv_prog_cc_g=yes
    else
      echo "$as_me: failed program was:" >&5
    sed 's/^/| /' conftest.$ac_ext >&5
    
    	CFLAGS=""
          cat >conftest.$ac_ext <<_ACEOF
    /* confdefs.h.  */
    _ACEOF
    cat confdefs.h >>conftest.$ac_ext
    cat >>conftest.$ac_ext <<_ACEOF
    /* end confdefs.h.  */
    
    int
    main ()
    {
    
      ;
      return 0;
    }
    _ACEOF
    rm -f conftest.$ac_objext
    if { (ac_try="$ac_compile"
    case "(($ac_try" in
      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
      *) ac_try_echo=$ac_try;;
    esac
    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
      (eval "$ac_compile") 2>conftest.er1
      ac_status=$?
      grep -v '^ *+' conftest.er1 >conftest.err
      rm -f conftest.er1
      cat conftest.err >&5
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
    
      (exit $ac_status); } && {
    	 test -z "$ac_c_werror_flag" ||
    	 test ! -s conftest.err
           } && test -s conftest.$ac_objext; then
    
      :
    else
      echo "$as_me: failed program was:" >&5
    sed 's/^/| /' conftest.$ac_ext >&5
    
    	ac_c_werror_flag=$ac_save_c_werror_flag
    	 CFLAGS="-g"
    	 cat >conftest.$ac_ext <<_ACEOF
    /* confdefs.h.  */
    _ACEOF
    cat confdefs.h >>conftest.$ac_ext
    cat >>conftest.$ac_ext <<_ACEOF
    /* end confdefs.h.  */
    
    int
    main ()
    {
    
      ;
      return 0;
    }
    _ACEOF
    rm -f conftest.$ac_objext
    if { (ac_try="$ac_compile"
    case "(($ac_try" in
      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
      *) ac_try_echo=$ac_try;;
    esac
    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
      (eval "$ac_compile") 2>conftest.er1
      ac_status=$?
      grep -v '^ *+' conftest.er1 >conftest.err
      rm -f conftest.er1
      cat conftest.err >&5
      echo "$as_me:$LINENO: \$? = $ac_status" >&5
    
      (exit $ac_status); } && {
    	 test -z "$ac_c_werror_flag" ||
    	 test ! -s conftest.err
           } && test -s conftest.$ac_objext; then
    
      ac_cv_prog_cc_g=yes
    else
      echo "$as_me: failed program was:" >&5
    sed 's/^/| /' conftest.$ac_ext >&5
    
    
    fi
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    fi
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    fi
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_c_werror_flag=$ac_save_c_werror_flag
    fi