Diff for /embedaddon/mtr/configure between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2016/11/01 09:44:48 version 1.1.1.4, 2019/10/21 14:25:31
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for mtr 0.86.# Generated by GNU Autoconf 2.69 for mtr 0.91.1-4c982.
 #  #
   # Report bugs to <R.E.Wolff@BitWizard.nl>.
 #  #
   #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.  # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 #  #
 #  #
Line 264  fi Line 266  fi
     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     $as_echo "$0: be upgraded to zsh 4.3.4 or later."      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   else    else
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,    $as_echo "$0: Please tell bug-autoconf@gnu.org and
$0: including any error possibly output before this$0: R.E.Wolff@BitWizard.nl about your system, including any
$0: message. Then install a modern shell, or manually run$0: error possibly output before this message. Then install
$0: the script under such a shell if you do have one."$0: a modern shell, or manually run the script under such a
 $0: shell if you do have one."
   fi    fi
   exit 1    exit 1
 fi  fi
Line 577  MAKEFLAGS= Line 580  MAKEFLAGS=
 # Identity of this package.  # Identity of this package.
 PACKAGE_NAME='mtr'  PACKAGE_NAME='mtr'
 PACKAGE_TARNAME='mtr'  PACKAGE_TARNAME='mtr'
PACKAGE_VERSION='0.86'PACKAGE_VERSION='0.91.1-4c982'
PACKAGE_STRING='mtr 0.86'PACKAGE_STRING='mtr 0.91.1-4c982'
PACKAGE_BUGREPORT=''PACKAGE_BUGREPORT='R.E.Wolff@BitWizard.nl'
PACKAGE_URL=''PACKAGE_URL='http://www.BitWizard.nl/mtr/'
   
ac_unique_file="mtr.c"ac_unique_file="ui/mtr.c"
 # Factoring default headers for most tests.  # Factoring default headers for most tests.
 ac_includes_default="\  ac_includes_default="\
 #include <stdio.h>  #include <stdio.h>
Line 623  ac_subst_vars='am__EXEEXT_FALSE Line 626  ac_subst_vars='am__EXEEXT_FALSE
 am__EXEEXT_TRUE  am__EXEEXT_TRUE
 LTLIBOBJS  LTLIBOBJS
 LIBOBJS  LIBOBJS
   BUILD_BASH_COMPLETION_FALSE
   BUILD_BASH_COMPLETION_TRUE
   bashcompletiondir
 RESOLV_LIBS  RESOLV_LIBS
   WITH_IPINFO_FALSE
   WITH_IPINFO_TRUE
   WITH_CURSES_FALSE
   WITH_CURSES_TRUE
   WITH_GTK_FALSE
   WITH_GTK_TRUE
 GTK_LIBS  GTK_LIBS
 GTK_CFLAGS  GTK_CFLAGS
   WITH_GETOPT_FALSE
   WITH_GETOPT_TRUE
   WITH_ERROR_FALSE
   WITH_ERROR_TRUE
   CYGWIN_FALSE
   CYGWIN_TRUE
 PKG_CONFIG_LIBDIR  PKG_CONFIG_LIBDIR
 PKG_CONFIG_PATH  PKG_CONFIG_PATH
 PKG_CONFIG  PKG_CONFIG
IPINFO_FALSEhost_os
IPINFO_TRUEhost_vendor
EGREPhost_cpu
GREPhost
CPPbuild_os
 build_vendor
 build_cpu
 build
 AM_BACKSLASH
 AM_DEFAULT_VERBOSITY
 AM_DEFAULT_V
 AM_V
 am__fastdepCC_FALSE  am__fastdepCC_FALSE
 am__fastdepCC_TRUE  am__fastdepCC_TRUE
 CCDEPMODE  CCDEPMODE
Line 644  AMDEP_TRUE Line 669  AMDEP_TRUE
 am__quote  am__quote
 am__include  am__include
 DEPDIR  DEPDIR
 OBJEXT  
 EXEEXT  
 ac_ct_CC  
 CPPFLAGS  
 LDFLAGS  
 CFLAGS  
 CC  
 CURSES_OBJ  
 GTK_OBJ  
 AM_BACKSLASH  
 AM_DEFAULT_VERBOSITY  
 AM_DEFAULT_V  
 AM_V  
 am__untar  am__untar
 am__tar  am__tar
 AMTAR  AMTAR
Line 680  am__isrc Line 692  am__isrc
 INSTALL_DATA  INSTALL_DATA
 INSTALL_SCRIPT  INSTALL_SCRIPT
 INSTALL_PROGRAM  INSTALL_PROGRAM
   EGREP
   GREP
   CPP
   OBJEXT
   EXEEXT
   ac_ct_CC
   CPPFLAGS
   LDFLAGS
   CFLAGS
   CC
 target_alias  target_alias
 host_alias  host_alias
 build_alias  build_alias
Line 721  SHELL' Line 743  SHELL'
 ac_subst_files=''  ac_subst_files=''
 ac_user_opts='  ac_user_opts='
 enable_option_checking  enable_option_checking
 enable_silent_rules  
 enable_dependency_tracking  enable_dependency_tracking
   enable_silent_rules
 with_gtk  with_gtk
   with_ncurses
 with_ipinfo  with_ipinfo
 enable_ipv6  enable_ipv6
enable_gtktestwith_bashcompletiondir
 enable_bash_completion
 '  '
       ac_precious_vars='build_alias        ac_precious_vars='build_alias
 host_alias  host_alias
Line 739  CPPFLAGS Line 763  CPPFLAGS
 CPP  CPP
 PKG_CONFIG  PKG_CONFIG
 PKG_CONFIG_PATH  PKG_CONFIG_PATH
PKG_CONFIG_LIBDIR'PKG_CONFIG_LIBDIR
 GTK_CFLAGS
 GTK_LIBS'
   
   
 # Initialize some variables set by options.  # Initialize some variables set by options.
Line 1280  if test "$ac_init_help" = "long"; then Line 1306  if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF    cat <<_ACEOF
\`configure' configures mtr 0.86 to adapt to many kinds of systems.\`configure' configures mtr 0.91.1-4c982 to adapt to many kinds of systems.
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1341  Program names: Line 1367  Program names:
   --program-prefix=PREFIX            prepend PREFIX to installed program names    --program-prefix=PREFIX            prepend PREFIX to installed program names
   --program-suffix=SUFFIX            append SUFFIX to installed program names    --program-suffix=SUFFIX            append SUFFIX to installed program names
   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names    --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   
   System types:
     --build=BUILD     configure for building on BUILD [guessed]
     --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 _ACEOF  _ACEOF
 fi  fi
   
 if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
   case $ac_init_help in    case $ac_init_help in
     short | recursive ) echo "Configuration of mtr 0.86:";;     short | recursive ) echo "Configuration of mtr 0.91.1-4c982:";;
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1354  Optional Features: Line 1384  Optional Features:
   --disable-option-checking  ignore unrecognized --enable/--with options    --disable-option-checking  ignore unrecognized --enable/--with options
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --enable-silent-rules   less verbose build output (undo: "make V=1")  
   --disable-silent-rules  verbose build output (undo: "make V=0")  
   --enable-dependency-tracking    --enable-dependency-tracking
                           do not reject slow dependency extractors                            do not reject slow dependency extractors
   --disable-dependency-tracking    --disable-dependency-tracking
                           speeds up one-time build                            speeds up one-time build
     --enable-silent-rules   less verbose build output (undo: "make V=1")
     --disable-silent-rules  verbose build output (undo: "make V=0")
   --disable-ipv6          Do not enable IPv6    --disable-ipv6          Do not enable IPv6
  --disable-gtktest       do not try to compile and run a test GTK+ program  --disable-bash-completion
                           do not install bash completion files
   
 Optional Packages:  Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --without-gtk           Do not try to use GTK+ at all  --without-gtk           Build without the GTK+2.0 interface
   --without-ncurses       Build without the ncurses interface
   --without-ipinfo        Do not try to use ipinfo lookup at all    --without-ipinfo        Do not try to use ipinfo lookup at all
     --with-bashcompletiondir=DIR
                             Bash completions directory
   
 Some influential environment variables:  Some influential environment variables:
   CC          C compiler command    CC          C compiler command
Line 1383  Some influential environment variables: Line 1417  Some influential environment variables:
               directories to add to pkg-config's search path                directories to add to pkg-config's search path
   PKG_CONFIG_LIBDIR    PKG_CONFIG_LIBDIR
               path overriding pkg-config's built-in search path                path overriding pkg-config's built-in search path
     GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
     GTK_LIBS    linker flags for GTK, overriding pkg-config
   
 Use these variables to override the choices made by `configure' or to help  Use these variables to override the choices made by `configure' or to help
 it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
   
Report bugs to the package provider.Report bugs to <R.E.Wolff@BitWizard.nl>.
 mtr home page: <http://www.BitWizard.nl/mtr/>.
 _ACEOF  _ACEOF
 ac_status=$?  ac_status=$?
 fi  fi
Line 1450  fi Line 1487  fi
 test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then  if $ac_init_version; then
   cat <<\_ACEOF    cat <<\_ACEOF
mtr configure 0.86mtr configure 0.91.1-4c982
 generated by GNU Autoconf 2.69  generated by GNU Autoconf 2.69
   
 Copyright (C) 2012 Free Software Foundation, Inc.  Copyright (C) 2012 Free Software Foundation, Inc.
Line 1502  fi Line 1539  fi
   
 } # ac_fn_c_try_compile  } # ac_fn_c_try_compile
   
   # ac_fn_c_try_cpp LINENO
   # ----------------------
   # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   ac_fn_c_try_cpp ()
   {
     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     if { { ac_try="$ac_cpp conftest.$ac_ext"
   case "(($ac_try" in
     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     *) ac_try_echo=$ac_try;;
   esac
   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   $as_echo "$ac_try_echo"; } >&5
     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     ac_status=$?
     if test -s conftest.err; then
       grep -v '^ *+' conftest.err >conftest.er1
       cat conftest.er1 >&5
       mv -f conftest.er1 conftest.err
     fi
     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     test $ac_status = 0; } > conftest.i && {
            test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
            test ! -s conftest.err
          }; then :
     ac_retval=0
   else
     $as_echo "$as_me: failed program was:" >&5
   sed 's/^/| /' conftest.$ac_ext >&5
   
       ac_retval=1
   fi
     eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     as_fn_set_status $ac_retval
   
   } # ac_fn_c_try_cpp
   
   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   # -------------------------------------------------------
   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   # the include files in INCLUDES and setting the cache variable VAR
   # accordingly.
   ac_fn_c_check_header_mongrel ()
   {
     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     if eval \${$3+:} false; then :
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   $as_echo_n "checking for $2... " >&6; }
   if eval \${$3+:} false; then :
     $as_echo_n "(cached) " >&6
   fi
   eval ac_res=\$$3
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   $as_echo "$ac_res" >&6; }
   else
     # Is the header compilable?
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   $as_echo_n "checking $2 usability... " >&6; }
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   $4
   #include <$2>
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     ac_header_compiler=yes
   else
     ac_header_compiler=no
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   $as_echo "$ac_header_compiler" >&6; }
   
   # Is the header present?
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   $as_echo_n "checking $2 presence... " >&6; }
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <$2>
   _ACEOF
   if ac_fn_c_try_cpp "$LINENO"; then :
     ac_header_preproc=yes
   else
     ac_header_preproc=no
   fi
   rm -f conftest.err conftest.i conftest.$ac_ext
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   $as_echo "$ac_header_preproc" >&6; }
   
   # So?  What about this header?
   case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     yes:no: )
       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
       ;;
     no:yes:* )
       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   ( $as_echo "## ------------------------------------- ##
   ## Report this to R.E.Wolff@BitWizard.nl ##
   ## ------------------------------------- ##"
        ) | sed "s/^/$as_me: WARNING:     /" >&2
       ;;
   esac
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   $as_echo_n "checking for $2... " >&6; }
   if eval \${$3+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     eval "$3=\$ac_header_compiler"
   fi
   eval ac_res=\$$3
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   $as_echo "$ac_res" >&6; }
   fi
     eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   
   } # ac_fn_c_check_header_mongrel
   
 # ac_fn_c_try_run LINENO  # ac_fn_c_try_run LINENO
 # ----------------------  # ----------------------
 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes  # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
Line 1544  fi Line 1709  fi
   
 } # ac_fn_c_try_run  } # ac_fn_c_try_run
   
   # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   # -------------------------------------------------------
   # Tests whether HEADER exists and can be compiled using the include files in
   # INCLUDES, setting the cache variable VAR accordingly.
   ac_fn_c_check_header_compile ()
   {
     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   $as_echo_n "checking for $2... " >&6; }
   if eval \${$3+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   $4
   #include <$2>
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     eval "$3=yes"
   else
     eval "$3=no"
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   fi
   eval ac_res=\$$3
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   $as_echo "$ac_res" >&6; }
     eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   
   } # ac_fn_c_check_header_compile
   
 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES  # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 # --------------------------------------------  # --------------------------------------------
 # Tries to find the compile-time value of EXPR in a program that includes  # Tries to find the compile-time value of EXPR in a program that includes
Line 1727  rm -f conftest.val Line 1923  rm -f conftest.val
   
 } # ac_fn_c_compute_int  } # ac_fn_c_compute_int
   
 # ac_fn_c_try_cpp LINENO  
 # ----------------------  
 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.  
 ac_fn_c_try_cpp ()  
 {  
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
   if { { ac_try="$ac_cpp conftest.$ac_ext"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""  
 $as_echo "$ac_try_echo"; } >&5  
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err  
   ac_status=$?  
   if test -s conftest.err; then  
     grep -v '^ *+' conftest.err >conftest.er1  
     cat conftest.er1 >&5  
     mv -f conftest.er1 conftest.err  
   fi  
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5  
   test $ac_status = 0; } > conftest.i && {  
          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        }; then :  
   ac_retval=0  
 else  
   $as_echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
     ac_retval=1  
 fi  
   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno  
   as_fn_set_status $ac_retval  
   
 } # ac_fn_c_try_cpp  
   
 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES  
 # -------------------------------------------------------  
 # Tests whether HEADER exists and can be compiled using the include files in  
 # INCLUDES, setting the cache variable VAR accordingly.  
 ac_fn_c_check_header_compile ()  
 {  
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5  
 $as_echo_n "checking for $2... " >&6; }  
 if eval \${$3+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 $4  
 #include <$2>  
 _ACEOF  
 if ac_fn_c_try_compile "$LINENO"; then :  
   eval "$3=yes"  
 else  
   eval "$3=no"  
 fi  
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  
 fi  
 eval ac_res=\$$3  
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5  
 $as_echo "$ac_res" >&6; }  
   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno  
   
 } # ac_fn_c_check_header_compile  
   
 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES  
 # -------------------------------------------------------  
 # Tests whether HEADER exists, giving a warning if it cannot be compiled using  
 # the include files in INCLUDES and setting the cache variable VAR  
 # accordingly.  
 ac_fn_c_check_header_mongrel ()  
 {  
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
   if eval \${$3+:} false; then :  
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5  
 $as_echo_n "checking for $2... " >&6; }  
 if eval \${$3+:} false; then :  
   $as_echo_n "(cached) " >&6  
 fi  
 eval ac_res=\$$3  
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5  
 $as_echo "$ac_res" >&6; }  
 else  
   # Is the header compilable?  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5  
 $as_echo_n "checking $2 usability... " >&6; }  
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 $4  
 #include <$2>  
 _ACEOF  
 if ac_fn_c_try_compile "$LINENO"; then :  
   ac_header_compiler=yes  
 else  
   ac_header_compiler=no  
 fi  
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5  
 $as_echo "$ac_header_compiler" >&6; }  
   
 # Is the header present?  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5  
 $as_echo_n "checking $2 presence... " >&6; }  
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 #include <$2>  
 _ACEOF  
 if ac_fn_c_try_cpp "$LINENO"; then :  
   ac_header_preproc=yes  
 else  
   ac_header_preproc=no  
 fi  
 rm -f conftest.err conftest.i conftest.$ac_ext  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5  
 $as_echo "$ac_header_preproc" >&6; }  
   
 # So?  What about this header?  
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((  
   yes:no: )  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5  
 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5  
 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}  
     ;;  
   no:yes:* )  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5  
 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5  
 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5  
 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5  
 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}  
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5  
 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}  
     ;;  
 esac  
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5  
 $as_echo_n "checking for $2... " >&6; }  
 if eval \${$3+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   eval "$3=\$ac_header_compiler"  
 fi  
 eval ac_res=\$$3  
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5  
 $as_echo "$ac_res" >&6; }  
 fi  
   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno  
   
 } # ac_fn_c_check_header_mongrel  
   
 # ac_fn_c_try_link LINENO  # ac_fn_c_try_link LINENO
 # -----------------------  # -----------------------
 # Try to link conftest.$ac_ext, and return whether this succeeded.  # Try to link conftest.$ac_ext, and return whether this succeeded.
Line 2098  cat >config.log <<_ACEOF Line 2139  cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
   
It was created by mtr $as_me 0.86, which wasIt was created by mtr $as_me 0.91.1-4c982, which was
 generated by GNU Autoconf 2.69.  Invocation command line was  generated by GNU Autoconf 2.69.  Invocation command line was
   
   $ $0 $@    $ $0 $@
Line 2447  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2488  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
   
   
 am__api_version='1.15'  
   
 ac_aux_dir=  ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; dofor ac_dir in build-aux "$srcdir"/build-aux; do
   if test -f "$ac_dir/install-sh"; then    if test -f "$ac_dir/install-sh"; then
     ac_aux_dir=$ac_dir      ac_aux_dir=$ac_dir
     ac_install_sh="$ac_aux_dir/install-sh -c"      ac_install_sh="$ac_aux_dir/install-sh -c"
Line 2466  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../..";  Line 2505  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; 
   fi    fi
 done  done
 if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
 fi  fi
   
 # These three variables are undocumented and unsupported,  # These three variables are undocumented and unsupported,
Line 2478  ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Pleas Line 2517  ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Pleas
 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.  ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   
   
 # Find a good install program.  We prefer a C program (faster),  
 # so one script is as good as another.  But avoid the broken or  
 # incompatible versions:  
 # SysV /etc/install, /usr/sbin/install  
 # SunOS /usr/etc/install  
 # IRIX /sbin/install  
 # AIX /bin/install  
 # AmigaOS /C/install, which installs bootblocks on floppy discs  
 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args  
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  
 # OS/2's system install, which has a completely different semantic  
 # ./install, which can be erroneously created by make from ./install.sh.  
 # Reject install programs that cannot install multiple files.  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5  
 $as_echo_n "checking for a BSD-compatible install... " >&6; }  
 if test -z "$INSTALL"; then  
 if ${ac_cv_path_install+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
     # Account for people who put trailing slashes in PATH elements.  
 case $as_dir/ in #((  
   ./ | .// | /[cC]/* | \  
   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \  
   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \  
   /usr/ucb/* ) ;;  
   *)  
     # OSF1 and SCO ODT 3.0 have their own names for install.  
     # Don't use installbsd from OSF since it installs stuff as root  
     # by default.  
     for ac_prog in ginstall scoinst install; do  
       for ac_exec_ext in '' $ac_executable_extensions; do  
         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then  
           if test $ac_prog = install &&  
             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then  
             # AIX install.  It has an incompatible calling convention.  
             :  
           elif test $ac_prog = install &&  
             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then  
             # program-specific install script used by HP pwplus--don't use.  
             :  
           else  
             rm -rf conftest.one conftest.two conftest.dir  
             echo one > conftest.one  
             echo two > conftest.two  
             mkdir conftest.dir  
             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&  
               test -s conftest.one && test -s conftest.two &&  
               test -s conftest.dir/conftest.one &&  
               test -s conftest.dir/conftest.two  
             then  
               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"  
               break 3  
             fi  
           fi  
         fi  
       done  
     done  
     ;;  
 esac  
   
   done  
 IFS=$as_save_IFS  
   
 rm -rf conftest.one conftest.two conftest.dir  
   
 fi  
   if test "${ac_cv_path_install+set}" = set; then  
     INSTALL=$ac_cv_path_install  
   else  
     # As a last resort, use the slow shell script.  Don't cache a  
     # value for INSTALL within a source directory, because that will  
     # break other packages using the cache if that directory is  
     # removed, or if the value is a relative name.  
     INSTALL=$ac_install_sh  
   fi  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5  
 $as_echo "$INSTALL" >&6; }  
   
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  
 # It thinks the first close brace ends the variable substitution.  
 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  
   
 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'  
   
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5  
 $as_echo_n "checking whether build environment is sane... " >&6; }  
 # Reject unsafe characters in $srcdir or the absolute working directory  
 # name.  Accept space and tab only in the latter.  
 am_lf='  
 '  
 case `pwd` in  
   *[\\\"\#\$\&\'\`$am_lf]*)  
     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;  
 esac  
 case $srcdir in  
   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)  
     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;  
 esac  
   
 # Do 'set' in a subshell so we don't clobber the current shell's  
 # arguments.  Must try -L first in case configure is actually a  
 # symlink; some systems play weird games with the mod time of symlinks  
 # (eg FreeBSD returns the mod time of the symlink's containing  
 # directory).  
 if (  
    am_has_slept=no  
    for am_try in 1 2; do  
      echo "timestamp, slept: $am_has_slept" > conftest.file  
      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`  
      if test "$*" = "X"; then  
         # -L didn't work.  
         set X `ls -t "$srcdir/configure" conftest.file`  
      fi  
      if test "$*" != "X $srcdir/configure conftest.file" \  
         && test "$*" != "X conftest.file $srcdir/configure"; then  
   
         # If neither matched, then we have a broken ls.  This can happen  
         # if, for instance, CONFIG_SHELL is bash and it inherits a  
         # broken ls alias from the environment.  This has actually  
         # happened.  Such a system could not be considered "sane".  
         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken  
   alias in your environment" "$LINENO" 5  
      fi  
      if test "$2" = conftest.file || test $am_try -eq 2; then  
        break  
      fi  
      # Just in case.  
      sleep 1  
      am_has_slept=yes  
    done  
    test "$2" = conftest.file  
    )  
 then  
    # Ok.  
    :  
 else  
    as_fn_error $? "newly created file is older than distributed files!  
 Check your system clock" "$LINENO" 5  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  
 $as_echo "yes" >&6; }  
 # If we didn't sleep, we still need to ensure time stamps of config.status and  
 # generated files are strictly newer.  
 am_sleep_pid=  
 if grep 'slept: no' conftest.file >/dev/null 2>&1; then  
   ( sleep 1 ) &  
   am_sleep_pid=$!  
 fi  
   
 rm -f conftest.file  
   
 test "$program_prefix" != NONE &&  
   program_transform_name="s&^&$program_prefix&;$program_transform_name"  
 # Use a double $ so make ignores it.  
 test "$program_suffix" != NONE &&  
   program_transform_name="s&\$&$program_suffix&;$program_transform_name"  
 # Double any \ or $.  
 # By default was `s,x,x', remove it if useless.  
 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'  
 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`  
   
 # Expand $ac_aux_dir to an absolute path.  # Expand $ac_aux_dir to an absolute path.
 am_aux_dir=`cd "$ac_aux_dir" && pwd`  am_aux_dir=`cd "$ac_aux_dir" && pwd`
   
 if test x"${MISSING+set}" != xset; then  
   case $am_aux_dir in  
   *\ * | *\     *)  
     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;  
   *)  
     MISSING="\${SHELL} $am_aux_dir/missing" ;;  
   esac  
 fi  
 # Use eval to expand $SHELL  
 if eval "$MISSING --is-lightweight"; then  
   am_missing_run="$MISSING "  
 else  
   am_missing_run=  
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5  
 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}  
 fi  
   
 if test x"${install_sh+set}" != xset; then  
   case $am_aux_dir in  
   *\ * | *\     *)  
     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;  
   *)  
     install_sh="\${SHELL} $am_aux_dir/install-sh"  
   esac  
 fi  
   
 # Installed binaries are usually stripped using 'strip' when the user  
 # run "make install-strip".  However 'strip' might not be the right  
 # tool to use in cross-compilation environments, therefore Automake  
 # will honor the 'STRIP' environment variable to overrule this program.  
 if test "$cross_compiling" != no; then  
   if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}strip; ac_word=$2  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  
 $as_echo_n "checking for $ac_word... " >&6; }  
 if ${ac_cv_prog_STRIP+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if test -n "$STRIP"; then  
   ac_cv_prog_STRIP="$STRIP" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"  
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
   done  
 IFS=$as_save_IFS  
   
 fi  
 fi  
 STRIP=$ac_cv_prog_STRIP  
 if test -n "$STRIP"; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5  
 $as_echo "$STRIP" >&6; }  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  
   
   
 fi  
 if test -z "$ac_cv_prog_STRIP"; then  
   ac_ct_STRIP=$STRIP  
   # Extract the first word of "strip", so it can be a program name with args.  
 set dummy strip; ac_word=$2  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  
 $as_echo_n "checking for $ac_word... " >&6; }  
 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if test -n "$ac_ct_STRIP"; then  
   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_ac_ct_STRIP="strip"  
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
   done  
 IFS=$as_save_IFS  
   
 fi  
 fi  
 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP  
 if test -n "$ac_ct_STRIP"; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5  
 $as_echo "$ac_ct_STRIP" >&6; }  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  
   
   if test "x$ac_ct_STRIP" = x; then  
     STRIP=":"  
   else  
     case $cross_compiling:$ac_tool_warned in  
 yes:)  
 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5  
 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  
 ac_tool_warned=yes ;;  
 esac  
     STRIP=$ac_ct_STRIP  
   fi  
 else  
   STRIP="$ac_cv_prog_STRIP"  
 fi  
   
 fi  
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"  
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5  
 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }  
 if test -z "$MKDIR_P"; then  
   if ${ac_cv_path_mkdir+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
     for ac_prog in mkdir gmkdir; do  
          for ac_exec_ext in '' $ac_executable_extensions; do  
            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue  
            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(  
              'mkdir (GNU coreutils) '* | \  
              'mkdir (coreutils) '* | \  
              'mkdir (fileutils) '4.1*)  
                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext  
                break 3;;  
            esac  
          done  
        done  
   done  
 IFS=$as_save_IFS  
   
 fi  
   
   test -d ./--version && rmdir ./--version  
   if test "${ac_cv_path_mkdir+set}" = set; then  
     MKDIR_P="$ac_cv_path_mkdir -p"  
   else  
     # As a last resort, use the slow shell script.  Don't cache a  
     # value for MKDIR_P within a source directory, because that will  
     # break other packages using the cache if that directory is  
     # removed, or if the value is a relative name.  
     MKDIR_P="$ac_install_sh -d"  
   fi  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5  
 $as_echo "$MKDIR_P" >&6; }  
   
 for ac_prog in gawk mawk nawk awk  
 do  
   # Extract the first word of "$ac_prog", so it can be a program name with args.  
 set dummy $ac_prog; ac_word=$2  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  
 $as_echo_n "checking for $ac_word... " >&6; }  
 if ${ac_cv_prog_AWK+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if test -n "$AWK"; then  
   ac_cv_prog_AWK="$AWK" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_AWK="$ac_prog"  
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
   done  
 IFS=$as_save_IFS  
   
 fi  
 fi  
 AWK=$ac_cv_prog_AWK  
 if test -n "$AWK"; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5  
 $as_echo "$AWK" >&6; }  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  
   
   
   test -n "$AWK" && break  
 done  
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5  
 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }  
 set x ${MAKE-make}  
 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`  
 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   cat >conftest.make <<\_ACEOF  
 SHELL = /bin/sh  
 all:  
         @echo '@@@%%%=$(MAKE)=@@@%%%'  
 _ACEOF  
 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.  
 case `${MAKE-make} -f conftest.make 2>/dev/null` in  
   *@@@%%%=?*=@@@%%%*)  
     eval ac_cv_prog_make_${ac_make}_set=yes;;  
   *)  
     eval ac_cv_prog_make_${ac_make}_set=no;;  
 esac  
 rm -f conftest.make  
 fi  
 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  
 $as_echo "yes" >&6; }  
   SET_MAKE=  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
   SET_MAKE="MAKE=${MAKE-make}"  
 fi  
   
 rm -rf .tst 2>/dev/null  
 mkdir .tst 2>/dev/null  
 if test -d .tst; then  
   am__leading_dot=.  
 else  
   am__leading_dot=_  
 fi  
 rmdir .tst 2>/dev/null  
   
 # Check whether --enable-silent-rules was given.  
 if test "${enable_silent_rules+set}" = set; then :  
   enableval=$enable_silent_rules;  
 fi  
   
 case $enable_silent_rules in # (((  
   yes) AM_DEFAULT_VERBOSITY=0;;  
    no) AM_DEFAULT_VERBOSITY=1;;  
     *) AM_DEFAULT_VERBOSITY=1;;  
 esac  
 am_make=${MAKE-make}  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5  
 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }  
 if ${am_cv_make_support_nested_variables+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if $as_echo 'TRUE=$(BAR$(V))  
 BAR0=false  
 BAR1=true  
 V=1  
 am__doit:  
         @$(TRUE)  
 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then  
   am_cv_make_support_nested_variables=yes  
 else  
   am_cv_make_support_nested_variables=no  
 fi  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5  
 $as_echo "$am_cv_make_support_nested_variables" >&6; }  
 if test $am_cv_make_support_nested_variables = yes; then  
     AM_V='$(V)'  
   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'  
 else  
   AM_V=$AM_DEFAULT_VERBOSITY  
   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY  
 fi  
 AM_BACKSLASH='\'  
   
 if test "`cd $srcdir && pwd`" != "`pwd`"; then  
   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output  
   # is not polluted with repeated "-I."  
   am__isrc=' -I$(srcdir)'  
   # test to see if srcdir already configured  
   if test -f $srcdir/config.status; then  
     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5  
   fi  
 fi  
   
 # test whether we have cygpath  
 if test -z "$CYGPATH_W"; then  
   if (cygpath --version) >/dev/null 2>/dev/null; then  
     CYGPATH_W='cygpath -w'  
   else  
     CYGPATH_W=echo  
   fi  
 fi  
   
   
 # Define the identity of the package.  
  PACKAGE='mtr'  
  VERSION='0.86'  
   
   
 cat >>confdefs.h <<_ACEOF  
 #define PACKAGE "$PACKAGE"  
 _ACEOF  
   
   
 cat >>confdefs.h <<_ACEOF  
 #define VERSION "$VERSION"  
 _ACEOF  
   
 # Some tools Automake needs.  
   
 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}  
   
   
 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}  
   
   
 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}  
   
   
 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}  
   
   
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}  
   
 # For better backward compatibility.  To be removed once Automake 1.9.x  
 # dies out for good.  For more background, see:  
 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>  
 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>  
 mkdir_p='$(MKDIR_P)'  
   
 # We need awk for the "check" target (and possibly the TAP driver).  The  
 # system "awk" is bad on some platforms.  
 # Always define AMTAR for backward compatibility.  Yes, it's still used  
 # in the wild :-(  We should find a proper way to deprecate it ...  
 AMTAR='$${TAR-tar}'  
   
   
 # We'll loop over all known methods to create a tar archive until one works.  
 _am_tools='gnutar  pax cpio none'  
   
 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'  
   
   
   
   
   
   
 # POSIX will say in a future version that running "rm -f" with no argument  
 # is OK; and we want to be able to make that assumption in our Makefile  
 # recipes.  So use an aggressive probe to check that the usage we want is  
 # actually supported "in the wild" to an acceptable degree.  
 # See automake bug#10828.  
 # To make any issue more visible, cause the running configure to be aborted  
 # by default if the 'rm' program in use doesn't match our expectations; the  
 # user can still override this though.  
 if rm -f && rm -fr && rm -rf; then : OK; else  
   cat >&2 <<'END'  
 Oops!  
   
 Your 'rm' program seems unable to run without file operands specified  
 on the command line, even when the '-f' option is present.  This is contrary  
 to the behaviour of most rm programs out there, and not conforming with  
 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>  
   
 Please tell bug-automake@gnu.org about your system, including the value  
 of your $PATH and any error possibly output before this message.  This  
 can help us improve future automake versions.  
   
 END  
   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then  
     echo 'Configuration will proceed anyway, since you have set the' >&2  
     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2  
     echo >&2  
   else  
     cat >&2 <<'END'  
 Aborting the configuration process, to ensure you take notice of the issue.  
   
 You can download and install GNU coreutils to get an 'rm' implementation  
 that behaves properly: <http://www.gnu.org/software/coreutils/>.  
   
 If you want to complete the configuration process using your problematic  
 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM  
 to "yes", and re-run configure.  
   
 END  
     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5  
   fi  
 fi  
   
   
 ac_config_files="$ac_config_files version.h.tmp:version.h.in"  
   
   
   
   
   
 GTK_OBJ=gtk.o  
 CURSES_OBJ=curses.o  
   
 ac_ext=c  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Line 3912  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext  Line 3367  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext 
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
 DEPDIR="${am__leading_dot}deps"  
   
 ac_config_commands="$ac_config_commands depfiles"  
   
   
 am_make=${MAKE-make}  
 cat > confinc << 'END'  
 am__doit:  
         @echo this is the am__doit target  
 .PHONY: am__doit  
 END  
 # If we don't find an include directive, just comment out the code.  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5  
 $as_echo_n "checking for style of include used by $am_make... " >&6; }  
 am__include="#"  
 am__quote=  
 _am_result=none  
 # First try GNU make style include.  
 echo "include confinc" > confmf  
 # Ignore all kinds of additional output from 'make'.  
 case `$am_make -s -f confmf 2> /dev/null` in #(  
 *the\ am__doit\ target*)  
   am__include=include  
   am__quote=  
   _am_result=GNU  
   ;;  
 esac  
 # Now try BSD make style include.  
 if test "$am__include" = "#"; then  
    echo '.include "confinc"' > confmf  
    case `$am_make -s -f confmf 2> /dev/null` in #(  
    *the\ am__doit\ target*)  
      am__include=.include  
      am__quote="\""  
      _am_result=BSD  
      ;;  
    esac  
 fi  
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5  
 $as_echo "$_am_result" >&6; }  
 rm -f confinc confmf  
   
 # Check whether --enable-dependency-tracking was given.  
 if test "${enable_dependency_tracking+set}" = set; then :  
   enableval=$enable_dependency_tracking;  
 fi  
   
 if test "x$enable_dependency_tracking" != xno; then  
   am_depcomp="$ac_aux_dir/depcomp"  
   AMDEPBACKSLASH='\'  
   am__nodep='_no'  
 fi  
  if test "x$enable_dependency_tracking" != xno; then  
   AMDEP_TRUE=  
   AMDEP_FALSE='#'  
 else  
   AMDEP_TRUE='#'  
   AMDEP_FALSE=  
 fi  
   
   
   
 depcc="$CC"   am_compiler_list=  
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5  
 $as_echo_n "checking dependency style of $depcc... " >&6; }  
 if ${am_cv_CC_dependencies_compiler_type+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then  
   # We make a subdir and do the tests there.  Otherwise we can end up  
   # making bogus files that we don't know about and never remove.  For  
   # instance it was reported that on HP-UX the gcc test will end up  
   # making a dummy file named 'D' -- because '-MD' means "put the output  
   # in D".  
   rm -rf conftest.dir  
   mkdir conftest.dir  
   # Copy depcomp to subdir because otherwise we won't find it if we're  
   # using a relative directory.  
   cp "$am_depcomp" conftest.dir  
   cd conftest.dir  
   # We will build objects and dependencies in a subdirectory because  
   # it helps to detect inapplicable dependency modes.  For instance  
   # both Tru64's cc and ICC support -MD to output dependencies as a  
   # side effect of compilation, but ICC will put the dependencies in  
   # the current directory while Tru64 will put them in the object  
   # directory.  
   mkdir sub  
   
   am_cv_CC_dependencies_compiler_type=none  
   if test "$am_compiler_list" = ""; then  
      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`  
   fi  
   am__universal=false  
   case " $depcc " in #(  
      *\ -arch\ *\ -arch\ *) am__universal=true ;;  
      esac  
   
   for depmode in $am_compiler_list; do  
     # Setup a source with many dependencies, because some compilers  
     # like to wrap large dependency lists on column 80 (with \), and  
     # we should not choose a depcomp mode which is confused by this.  
     #  
     # We need to recreate these files for each test, as the compiler may  
     # overwrite some of them when testing with obscure command lines.  
     # This happens at least with the AIX C compiler.  
     : > sub/conftest.c  
     for i in 1 2 3 4 5 6; do  
       echo '#include "conftst'$i'.h"' >> sub/conftest.c  
       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with  
       # Solaris 10 /bin/sh.  
       echo '/* dummy */' > sub/conftst$i.h  
     done  
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf  
   
     # We check with '-c' and '-o' for the sake of the "dashmstdout"  
     # mode.  It turns out that the SunPro C++ compiler does not properly  
     # handle '-M -o', and we need to detect this.  Also, some Intel  
     # versions had trouble with output in subdirs.  
     am__obj=sub/conftest.${OBJEXT-o}  
     am__minus_obj="-o $am__obj"  
     case $depmode in  
     gcc)  
       # This depmode causes a compiler race in universal mode.  
       test "$am__universal" = false || continue  
       ;;  
     nosideeffect)  
       # After this tag, mechanisms are not by side-effect, so they'll  
       # only be used when explicitly requested.  
       if test "x$enable_dependency_tracking" = xyes; then  
         continue  
       else  
         break  
       fi  
       ;;  
     msvc7 | msvc7msys | msvisualcpp | msvcmsys)  
       # This compiler won't grok '-c -o', but also, the minuso test has  
       # not run yet.  These depmodes are late enough in the game, and  
       # so weak that their functioning should not be impacted.  
       am__obj=conftest.${OBJEXT-o}  
       am__minus_obj=  
       ;;  
     none) break ;;  
     esac  
     if depmode=$depmode \  
        source=sub/conftest.c object=$am__obj \  
        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \  
        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \  
          >/dev/null 2>conftest.err &&  
        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&  
        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&  
        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&  
        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then  
       # icc doesn't choke on unknown options, it will just issue warnings  
       # or remarks (even with -Werror).  So we grep stderr for any message  
       # that says an option was ignored or not supported.  
       # When given -MP, icc 7.0 and 7.1 complain thusly:  
       #   icc: Command line warning: ignoring option '-M'; no argument required  
       # The diagnosis changed in icc 8.0:  
       #   icc: Command line remark: option '-MP' not supported  
       if (grep 'ignoring option' conftest.err ||  
           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else  
         am_cv_CC_dependencies_compiler_type=$depmode  
         break  
       fi  
     fi  
   done  
   
   cd ..  
   rm -rf conftest.dir  
 else  
   am_cv_CC_dependencies_compiler_type=none  
 fi  
   
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5  
 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }  
 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type  
   
  if  
   test "x$enable_dependency_tracking" != xno \  
   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then  
   am__fastdepCC_TRUE=  
   am__fastdepCC_FALSE='#'  
 else  
   am__fastdepCC_TRUE='#'  
   am__fastdepCC_FALSE=  
 fi  
   
   
   
   
 ac_ext=c  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Line 4503  fi Line 3766  fi
 done  done
   
   
 # The cast to long int works around a bug in the HP C Compiler  
 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects  
 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.  
 # This bug is HP SR number 8606223364.  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char" >&5  
 $as_echo_n "checking size of unsigned char... " >&6; }  
 if ${ac_cv_sizeof_unsigned_char+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char))" "ac_cv_sizeof_unsigned_char"        "$ac_includes_default"; then :  
   
     ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   if test "x$ac_cv_header_minix_config_h" = xyes; then :
     MINIX=yes
 else  else
  if test "$ac_cv_type_unsigned_char" = yes; then  MINIX=
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
as_fn_error 77 "cannot compute sizeof (unsigned char) 
See \`config.log' for more details" "$LINENO" 5; } 
   else 
     ac_cv_sizeof_unsigned_char=0 
   fi 
 fi  fi
   
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char" >&5  
 $as_echo "$ac_cv_sizeof_unsigned_char" >&6; }  
   
     if test "$MINIX" = yes; then
   
   $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   
 cat >>confdefs.h <<_ACEOF  
 #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char  
 _ACEOF  
   
   $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects$as_echo "#define _MINIX 1" >>confdefs.h
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
$as_echo_n "checking size of unsigned short... " >&6; }
if ${ac_cv_sizeof_unsigned_short+:} false; then :  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short"        "$ac_includes_default"; then :  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
   
   #         define __EXTENSIONS__ 1
             $ac_includes_default
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     ac_cv_safe_to_define___extensions__=yes
 else  else
  if test "$ac_cv_type_unsigned_short" = yes; then  ac_cv_safe_to_define___extensions__=no
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
as_fn_error 77 "cannot compute sizeof (unsigned short) 
See \`config.log' for more details" "$LINENO" 5; } 
   else 
     ac_cv_sizeof_unsigned_short=0 
   fi 
 fi  fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
$as_echo "$ac_cv_sizeof_unsigned_short" >&6; }$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   test $ac_cv_safe_to_define___extensions__ = yes &&
     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   
     $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   
     $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   
cat >>confdefs.h <<_ACEOF  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short 
_ACEOF 
   
     $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejectsam__api_version='1.15'
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.# Find a good install program.  We prefer a C program (faster),
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5# so one script is as good as another.  But avoid the broken or
$as_echo_n "checking size of unsigned int... " >&6; }# incompatible versions:
if ${ac_cv_sizeof_unsigned_int+:} false; then :# SysV /etc/install, /usr/sbin/install
 # SunOS /usr/etc/install
 # IRIX /sbin/install
 # AIX /bin/install
 # AmigaOS /C/install, which installs bootblocks on floppy discs
 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 # OS/2's system install, which has a completely different semantic
 # ./install, which can be erroneously created by make from ./install.sh.
 # Reject install programs that cannot install multiple files.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 if test -z "$INSTALL"; then
 if ${ac_cv_path_install+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int"        "$ac_includes_default"; then :  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     # Account for people who put trailing slashes in PATH elements.
 case $as_dir/ in #((
   ./ | .// | /[cC]/* | \
   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   /usr/ucb/* ) ;;
   *)
     # OSF1 and SCO ODT 3.0 have their own names for install.
     # Don't use installbsd from OSF since it installs stuff as root
     # by default.
     for ac_prog in ginstall scoinst install; do
       for ac_exec_ext in '' $ac_executable_extensions; do
         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
           if test $ac_prog = install &&
             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
             # AIX install.  It has an incompatible calling convention.
             :
           elif test $ac_prog = install &&
             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
             # program-specific install script used by HP pwplus--don't use.
             :
           else
             rm -rf conftest.one conftest.two conftest.dir
             echo one > conftest.one
             echo two > conftest.two
             mkdir conftest.dir
             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
               test -s conftest.one && test -s conftest.two &&
               test -s conftest.dir/conftest.one &&
               test -s conftest.dir/conftest.two
             then
               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
               break 3
             fi
           fi
         fi
       done
     done
     ;;
 esac
   
else  done
  if test "$ac_cv_type_unsigned_int" = yes; thenIFS=$as_save_IFS
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
as_fn_error 77 "cannot compute sizeof (unsigned int) 
See \`config.log' for more details" "$LINENO" 5; } 
   else 
     ac_cv_sizeof_unsigned_int=0 
   fi 
fi 
   
   rm -rf conftest.one conftest.two conftest.dir
   
 fi  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5  if test "${ac_cv_path_install+set}" = set; then
$as_echo "$ac_cv_sizeof_unsigned_int" >&6; }    INSTALL=$ac_cv_path_install
   else
     # As a last resort, use the slow shell script.  Don't cache a
     # value for INSTALL within a source directory, because that will
     # break other packages using the cache if that directory is
     # removed, or if the value is a relative name.
     INSTALL=$ac_install_sh
   fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 $as_echo "$INSTALL" >&6; }
   
   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   # It thinks the first close brace ends the variable substitution.
   test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   
   test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   
cat >>confdefs.h <<_ACEOFtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int 
_ACEOF 
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   $as_echo_n "checking whether build environment is sane... " >&6; }
   # Reject unsafe characters in $srcdir or the absolute working directory
   # name.  Accept space and tab only in the latter.
   am_lf='
   '
   case `pwd` in
     *[\\\"\#\$\&\'\`$am_lf]*)
       as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   esac
   case $srcdir in
     *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
       as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   esac
   
# The cast to long int works around a bug in the HP C Compiler# Do 'set' in a subshell so we don't clobber the current shell's
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects# arguments.  Must try -L first in case configure is actually a
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.# symlink; some systems play weird games with the mod time of symlinks
# This bug is HP SR number 8606223364.# (eg FreeBSD returns the mod time of the symlink's containing
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5# directory).
$as_echo_n "checking size of unsigned long... " >&6; }if (
if ${ac_cv_sizeof_unsigned_long+:} false; then :   am_has_slept=no
  $as_echo_n "(cached) " >&6   for am_try in 1 2; do
else     echo "timestamp, slept: $am_has_slept" > conftest.file
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long"        "$ac_includes_default"; then :     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
      if test "$*" = "X"; then
         # -L didn't work.
         set X `ls -t "$srcdir/configure" conftest.file`
      fi
      if test "$*" != "X $srcdir/configure conftest.file" \
         && test "$*" != "X conftest.file $srcdir/configure"; then
   
           # If neither matched, then we have a broken ls.  This can happen
           # if, for instance, CONFIG_SHELL is bash and it inherits a
           # broken ls alias from the environment.  This has actually
           # happened.  Such a system could not be considered "sane".
           as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
     alias in your environment" "$LINENO" 5
        fi
        if test "$2" = conftest.file || test $am_try -eq 2; then
          break
        fi
        # Just in case.
        sleep 1
        am_has_slept=yes
      done
      test "$2" = conftest.file
      )
   then
      # Ok.
      :
 else  else
  if test "$ac_cv_type_unsigned_long" = yes; then   as_fn_error $? "newly created file is older than distributed files!
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5Check your system clock" "$LINENO" 5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
as_fn_error 77 "cannot compute sizeof (unsigned long) 
See \`config.log' for more details" "$LINENO" 5; } 
   else 
     ac_cv_sizeof_unsigned_long=0 
   fi 
 fi  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
 # If we didn't sleep, we still need to ensure time stamps of config.status and
 # generated files are strictly newer.
 am_sleep_pid=
 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   ( sleep 1 ) &
   am_sleep_pid=$!
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5  
 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }  
   
   rm -f conftest.file
   
   test "$program_prefix" != NONE &&
     program_transform_name="s&^&$program_prefix&;$program_transform_name"
   # Use a double $ so make ignores it.
   test "$program_suffix" != NONE &&
     program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   # Double any \ or $.
   # By default was `s,x,x', remove it if useless.
   ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   
cat >>confdefs.h <<_ACEOFif test x"${MISSING+set}" != xset; then
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long  case $am_aux_dir in
_ACEOF  *\ * | *\     *)
     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   *)
     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   esac
 fi
 # Use eval to expand $SHELL
 if eval "$MISSING --is-lightweight"; then
   am_missing_run="$MISSING "
 else
   am_missing_run=
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 fi
   
if test x"${install_sh+set}" != xset; then
  case $am_aux_dir in
for ac_header in ncurses.h ncurses/curses.h curses.h cursesX.h sys/types.h fcntl.h  *\ * | *\     *)
do :    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`  *)
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"    install_sh="\${SHELL} $am_aux_dir/install-sh"
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :  esac
  cat >>confdefs.h <<_ACEOF 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
_ACEOF 
 
 fi  fi
   
   # Installed binaries are usually stripped using 'strip' when the user
   # run "make install-strip".  However 'strip' might not be the right
   # tool to use in cross-compilation environments, therefore Automake
   # will honor the 'STRIP' environment variable to overrule this program.
   if test "$cross_compiling" != no; then
     if test -n "$ac_tool_prefix"; then
     # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   set dummy ${ac_tool_prefix}strip; ac_word=$2
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   $as_echo_n "checking for $ac_word... " >&6; }
   if ${ac_cv_prog_STRIP+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if test -n "$STRIP"; then
     ac_cv_prog_STRIP="$STRIP" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
       ac_cv_prog_STRIP="${ac_tool_prefix}strip"
       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       break 2
     fi
 done  done
     done
   IFS=$as_save_IFS
   
 for ac_header in socket.h sys/socket.h sys/xti.h arpa/nameser_compat.h  
 do :  
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`  
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"  
 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :  
   cat >>confdefs.h <<_ACEOF  
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1  
 _ACEOF  
   
 fi  fi
   fi
   STRIP=$ac_cv_prog_STRIP
   if test -n "$STRIP"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   $as_echo "$STRIP" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
 done  
   
fi
# We don't refer to any symbols in termcap, but -lcurses on SunOS does.if test -z "$ac_cv_prog_STRIP"; then
# We have to trust the linker not to mess things up... (It should not  ac_ct_STRIP=$STRIP
# pull in anything if we don't refer to anything in the lib).  # Extract the first word of "strip", so it can be a program name with args.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5set dummy strip; ac_word=$2
$as_echo_n "checking for tgetent in -ltermcap... " >&6; }{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
if ${ac_cv_lib_termcap_tgetent+:} false; then :$as_echo_n "checking for $ac_word... " >&6; }
 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  ac_check_lib_save_LIBS=$LIBS  if test -n "$ac_ct_STRIP"; then
LIBS="-ltermcap  $LIBS"  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
cat confdefs.h - <<_ACEOF >conftest.$ac_extelse
/* end confdefs.h.  */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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_STRIP="strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
   done
 IFS=$as_save_IFS
   
/* Override any GCC internal prototype to avoid an error.fi
   Use char because int might match the return type of a GCCfi
   builtin and then its argument prototype would still apply.  */ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
#ifdef __cplusplusif test -n "$ac_ct_STRIP"; then
extern "C"  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
#endif$as_echo "$ac_ct_STRIP" >&6; }
char tgetent (); 
int 
main () 
{ 
return tgetent (); 
  ; 
  return 0; 
} 
_ACEOF 
if ac_fn_c_try_link "$LINENO"; then : 
  ac_cv_lib_termcap_tgetent=yes 
 else  else
  ac_cv_lib_termcap_tgetent=no  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi  fi
rm -f core conftest.err conftest.$ac_objext \
    conftest$ac_exeext conftest.$ac_ext  if test "x$ac_ct_STRIP" = x; then
LIBS=$ac_check_lib_save_LIBS    STRIP=":"
   else
     case $cross_compiling:$ac_tool_warned in
 yes:)
 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 ac_tool_warned=yes ;;
 esac
     STRIP=$ac_ct_STRIP
   fi
 else
   STRIP="$ac_cv_prog_STRIP"
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5  
 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }  
 if test "x$ac_cv_lib_termcap_tgetent" = xyes; then :  
   cat >>confdefs.h <<_ACEOF  
 #define HAVE_LIBTERMCAP 1  
 _ACEOF  
   
   LIBS="-ltermcap $LIBS"  
   
 fi  fi
   INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
$as_echo_n "checking for tgetent in -ltinfo... " >&6; }$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
if ${ac_cv_lib_tinfo_tgetent+:} false; then :if test -z "$MKDIR_P"; then
   if ${ac_cv_path_mkdir+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  ac_check_lib_save_LIBS=$LIBS  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
LIBS="-ltinfo  $LIBS"for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
cat confdefs.h - <<_ACEOF >conftest.$ac_extdo
/* end confdefs.h.  */  IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_prog in mkdir gmkdir; do
          for ac_exec_ext in '' $ac_executable_extensions; do
            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
              'mkdir (GNU coreutils) '* | \
              'mkdir (coreutils) '* | \
              'mkdir (fileutils) '4.1*)
                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                break 3;;
            esac
          done
        done
   done
 IFS=$as_save_IFS
   
 /* Override any GCC internal prototype to avoid an error.  
    Use char because int might match the return type of a GCC  
    builtin and then its argument prototype would still apply.  */  
 #ifdef __cplusplus  
 extern "C"  
 #endif  
 char tgetent ();  
 int  
 main ()  
 {  
 return tgetent ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_link "$LINENO"; then :  
   ac_cv_lib_tinfo_tgetent=yes  
 else  
   ac_cv_lib_tinfo_tgetent=no  
 fi  fi
rm -f core conftest.err conftest.$ac_objext \
    conftest$ac_exeext conftest.$ac_ext  test -d ./--version && rmdir ./--version
LIBS=$ac_check_lib_save_LIBS  if test "${ac_cv_path_mkdir+set}" = set; then
     MKDIR_P="$ac_cv_path_mkdir -p"
   else
     # As a last resort, use the slow shell script.  Don't cache a
     # value for MKDIR_P within a source directory, because that will
     # break other packages using the cache if that directory is
     # removed, or if the value is a relative name.
     MKDIR_P="$ac_install_sh -d"
   fi
 fi  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; }$as_echo "$MKDIR_P" >&6; }
if test "x$ac_cv_lib_tinfo_tgetent" = xyes; then : 
  cat >>confdefs.h <<_ACEOF 
#define HAVE_LIBTINFO 1 
_ACEOF 
   
  LIBS="-ltinfo $LIBS"for ac_prog in gawk mawk nawk awk
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
 if ${ac_cv_prog_AWK+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$AWK"; then
   ac_cv_prog_AWK="$AWK" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_AWK="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
   done
 IFS=$as_save_IFS
   
 fi  fi
   fi
   AWK=$ac_cv_prog_AWK
   if test -n "$AWK"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   $as_echo "$AWK" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
   
ac_fn_c_check_func "$LINENO" "initscr" "ac_cv_func_initscr"  test -n "$AWK" && break
if test "x$ac_cv_func_initscr" = xyes; then :done
   
else{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
$as_echo_n "checking for initscr in -lncurses... " >&6; }set x ${MAKE-make}
if ${ac_cv_lib_ncurses_initscr+:} false; then :ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  ac_check_lib_save_LIBS=$LIBS  cat >conftest.make <<\_ACEOF
LIBS="-lncurses  $LIBS"SHELL = /bin/sh
cat confdefs.h - <<_ACEOF >conftest.$ac_extall:
/* end confdefs.h.  */        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
/* Override any GCC internal prototype to avoid an error. 
   Use char because int might match the return type of a GCC 
   builtin and then its argument prototype would still apply.  */ 
#ifdef __cplusplus 
extern "C" 
#endif 
char initscr (); 
int 
main () 
{ 
return initscr (); 
  ; 
  return 0; 
} 
 _ACEOF  _ACEOF
if ac_fn_c_try_link "$LINENO"; then :# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  ac_cv_lib_ncurses_initscr=yescase `${MAKE-make} -f conftest.make 2>/dev/null` in
   *@@@%%%=?*=@@@%%%*)
     eval ac_cv_prog_make_${ac_make}_set=yes;;
   *)
     eval ac_cv_prog_make_${ac_make}_set=no;;
 esac
 rm -f conftest.make
 fi
 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
   SET_MAKE=
 else  else
  ac_cv_lib_ncurses_initscr=no  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
   SET_MAKE="MAKE=${MAKE-make}"
 fi  fi
rm -f core conftest.err conftest.$ac_objext \
    conftest$ac_exeext conftest.$ac_extrm -rf .tst 2>/dev/null
LIBS=$ac_check_lib_save_LIBSmkdir .tst 2>/dev/null
 if test -d .tst; then
   am__leading_dot=.
 else
   am__leading_dot=_
 fi  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5rmdir .tst 2>/dev/null
$as_echo "$ac_cv_lib_ncurses_initscr" >&6; } 
if test "x$ac_cv_lib_ncurses_initscr" = xyes; then : 
  cat >>confdefs.h <<_ACEOF 
#define HAVE_LIBNCURSES 1 
_ACEOF 
   
  LIBS="-lncurses $LIBS"DEPDIR="${am__leading_dot}deps"
   
elseac_config_commands="$ac_config_commands depfiles"
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5 
$as_echo_n "checking for initscr in -lcurses... " >&6; } 
if ${ac_cv_lib_curses_initscr+:} false; then : 
  $as_echo_n "(cached) " >&6 
else 
  ac_check_lib_save_LIBS=$LIBS 
LIBS="-lcurses  $LIBS" 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
/* end confdefs.h.  */ 
   
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCCam_make=${MAKE-make}
   builtin and then its argument prototype would still apply.  */cat > confinc << 'END'
#ifdef __cplusplusam__doit:
extern "C"        @echo this is the am__doit target
#endif.PHONY: am__doit
char initscr ();END
int# If we don't find an include directive, just comment out the code.
main (){ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
{$as_echo_n "checking for style of include used by $am_make... " >&6; }
return initscr ();am__include="#"
  ;am__quote=
  return 0;_am_result=none
}# First try GNU make style include.
_ACEOFecho "include confinc" > confmf
if ac_fn_c_try_link "$LINENO"; then :# Ignore all kinds of additional output from 'make'.
  ac_cv_lib_curses_initscr=yescase `$am_make -s -f confmf 2> /dev/null` in #(
else*the\ am__doit\ target*)
  ac_cv_lib_curses_initscr=no  am__include=include
   am__quote=
   _am_result=GNU
   ;;
 esac
 # Now try BSD make style include.
 if test "$am__include" = "#"; then
    echo '.include "confinc"' > confmf
    case `$am_make -s -f confmf 2> /dev/null` in #(
    *the\ am__doit\ target*)
      am__include=.include
      am__quote="\""
      _am_result=BSD
      ;;
    esac
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  
     conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5  
 $as_echo "$ac_cv_lib_curses_initscr" >&6; }  
 if test "x$ac_cv_lib_curses_initscr" = xyes; then :  
   cat >>confdefs.h <<_ACEOF  
 #define HAVE_LIBCURSES 1  
 _ACEOF  
   
   LIBS="-lcurses $LIBS"  
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   $as_echo "$_am_result" >&6; }
   rm -f confinc confmf
   
   # Check whether --enable-dependency-tracking was given.
   if test "${enable_dependency_tracking+set}" = set; then :
     enableval=$enable_dependency_tracking;
   fi
   
   if test "x$enable_dependency_tracking" != xno; then
     am_depcomp="$ac_aux_dir/depcomp"
     AMDEPBACKSLASH='\'
     am__nodep='_no'
   fi
    if test "x$enable_dependency_tracking" != xno; then
     AMDEP_TRUE=
     AMDEP_FALSE='#'
 else  else
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcursesX" >&5  AMDEP_TRUE='#'
$as_echo_n "checking for initscr in -lcursesX... " >&6; }  AMDEP_FALSE=
if ${ac_cv_lib_cursesX_initscr+:} false; then :fi
 
 
 # Check whether --enable-silent-rules was given.
 if test "${enable_silent_rules+set}" = set; then :
   enableval=$enable_silent_rules;
 fi
 
 case $enable_silent_rules in # (((
   yes) AM_DEFAULT_VERBOSITY=0;;
    no) AM_DEFAULT_VERBOSITY=1;;
     *) AM_DEFAULT_VERBOSITY=1;;
 esac
 am_make=${MAKE-make}
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 if ${am_cv_make_support_nested_variables+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  ac_check_lib_save_LIBS=$LIBS  if $as_echo 'TRUE=$(BAR$(V))
LIBS="-lcursesX  $LIBS"BAR0=false
cat confdefs.h - <<_ACEOF >conftest.$ac_extBAR1=true
/* end confdefs.h.  */V=1
am__doit:
/* Override any GCC internal prototype to avoid an error.        @$(TRUE)
   Use char because int might match the return type of a GCC.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   builtin and then its argument prototype would still apply.  */  am_cv_make_support_nested_variables=yes
#ifdef __cplusplus 
extern "C" 
#endif 
char initscr (); 
int 
main () 
{ 
return initscr (); 
  ; 
  return 0; 
} 
_ACEOF 
if ac_fn_c_try_link "$LINENO"; then : 
  ac_cv_lib_cursesX_initscr=yes 
 else  else
  ac_cv_lib_cursesX_initscr=no  am_cv_make_support_nested_variables=no
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  
     conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cursesX_initscr" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
$as_echo "$ac_cv_lib_cursesX_initscr" >&6; }$as_echo "$am_cv_make_support_nested_variables" >&6; }
if test "x$ac_cv_lib_cursesX_initscr" = xyes; then :if test $am_cv_make_support_nested_variables = yes; then
  cat >>confdefs.h <<_ACEOF    AM_V='$(V)'
#define HAVE_LIBCURSESX 1  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 else
   AM_V=$AM_DEFAULT_VERBOSITY
   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 fi
 AM_BACKSLASH='\'
 
 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   # is not polluted with repeated "-I."
   am__isrc=' -I$(srcdir)'
   # test to see if srcdir already configured
   if test -f $srcdir/config.status; then
     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   fi
 fi
 
 # test whether we have cygpath
 if test -z "$CYGPATH_W"; then
   if (cygpath --version) >/dev/null 2>/dev/null; then
     CYGPATH_W='cygpath -w'
   else
     CYGPATH_W=echo
   fi
 fi
 
 
 # Define the identity of the package.
  PACKAGE='mtr'
  VERSION='0.91.1-4c982'
 
 
 cat >>confdefs.h <<_ACEOF
 #define PACKAGE "$PACKAGE"
 _ACEOF  _ACEOF
   
   LIBS="-lcursesX $LIBS"  
   
   cat >>confdefs.h <<_ACEOF
   #define VERSION "$VERSION"
   _ACEOF
   
   # Some tools Automake needs.
   
   ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   
   
   AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   
   
   AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   
   
   AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   
   
   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   
   # For better backward compatibility.  To be removed once Automake 1.9.x
   # dies out for good.  For more background, see:
   # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   mkdir_p='$(MKDIR_P)'
   
   # We need awk for the "check" target (and possibly the TAP driver).  The
   # system "awk" is bad on some platforms.
   # Always define AMTAR for backward compatibility.  Yes, it's still used
   # in the wild :-(  We should find a proper way to deprecate it ...
   AMTAR='$${TAR-tar}'
   
   
   # We'll loop over all known methods to create a tar archive until one works.
   _am_tools='gnutar  pax cpio none'
   
   am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   
   
   
   
   
   depcc="$CC"   am_compiler_list=
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   $as_echo_n "checking dependency style of $depcc... " >&6; }
   if ${am_cv_CC_dependencies_compiler_type+:} false; then :
     $as_echo_n "(cached) " >&6
 else  else
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building without curses display support" >&5  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
$as_echo "$as_me: WARNING: Building without curses display support" >&2;}  # We make a subdir and do the tests there.  Otherwise we can end up
   # making bogus files that we don't know about and never remove.  For
   # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named 'D' -- because '-MD' means "put the output
   # in D".
   rm -rf conftest.dir
   mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.
   cp "$am_depcomp" conftest.dir
   cd conftest.dir
   # We will build objects and dependencies in a subdirectory because
   # it helps to detect inapplicable dependency modes.  For instance
   # both Tru64's cc and ICC support -MD to output dependencies as a
   # side effect of compilation, but ICC will put the dependencies in
   # the current directory while Tru64 will put them in the object
   # directory.
   mkdir sub
   
$as_echo "#define NO_CURSES 1" >>confdefs.h  am_cv_CC_dependencies_compiler_type=none
   if test "$am_compiler_list" = ""; then
      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   fi
   am__universal=false
   case " $depcc " in #(
      *\ -arch\ *\ -arch\ *) am__universal=true ;;
      esac
   
        CURSES_OBJ=  for depmode in $am_compiler_list; do
fi    # Setup a source with many dependencies, because some compilers
     # like to wrap large dependency lists on column 80 (with \), and
     # we should not choose a depcomp mode which is confused by this.
     #
     # We need to recreate these files for each test, as the compiler may
     # overwrite some of them when testing with obscure command lines.
     # This happens at least with the AIX C compiler.
     : > sub/conftest.c
     for i in 1 2 3 4 5 6; do
       echo '#include "conftst'$i'.h"' >> sub/conftest.c
       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
       # Solaris 10 /bin/sh.
       echo '/* dummy */' > sub/conftst$i.h
     done
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   
       # We check with '-c' and '-o' for the sake of the "dashmstdout"
       # mode.  It turns out that the SunPro C++ compiler does not properly
       # handle '-M -o', and we need to detect this.  Also, some Intel
       # versions had trouble with output in subdirs.
       am__obj=sub/conftest.${OBJEXT-o}
       am__minus_obj="-o $am__obj"
       case $depmode in
       gcc)
         # This depmode causes a compiler race in universal mode.
         test "$am__universal" = false || continue
         ;;
       nosideeffect)
         # After this tag, mechanisms are not by side-effect, so they'll
         # only be used when explicitly requested.
         if test "x$enable_dependency_tracking" = xyes; then
           continue
         else
           break
         fi
         ;;
       msvc7 | msvc7msys | msvisualcpp | msvcmsys)
         # This compiler won't grok '-c -o', but also, the minuso test has
         # not run yet.  These depmodes are late enough in the game, and
         # so weak that their functioning should not be impacted.
         am__obj=conftest.${OBJEXT-o}
         am__minus_obj=
         ;;
       none) break ;;
       esac
       if depmode=$depmode \
          source=sub/conftest.c object=$am__obj \
          depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
          $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
            >/dev/null 2>conftest.err &&
          grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
          grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
          grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
          ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
         # icc doesn't choke on unknown options, it will just issue warnings
         # or remarks (even with -Werror).  So we grep stderr for any message
         # that says an option was ignored or not supported.
         # When given -MP, icc 7.0 and 7.1 complain thusly:
         #   icc: Command line warning: ignoring option '-M'; no argument required
         # The diagnosis changed in icc 8.0:
         #   icc: Command line remark: option '-MP' not supported
         if (grep 'ignoring option' conftest.err ||
             grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
           am_cv_CC_dependencies_compiler_type=$depmode
           break
         fi
       fi
     done
   
     cd ..
     rm -rf conftest.dir
   else
     am_cv_CC_dependencies_compiler_type=none
 fi  fi
   
 fi  fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   
    if
     test "x$enable_dependency_tracking" != xno \
     && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     am__fastdepCC_TRUE=
     am__fastdepCC_FALSE='#'
   else
     am__fastdepCC_TRUE='#'
     am__fastdepCC_FALSE=
 fi  fi
   
   
 for ac_func in attron fcntl  
 do :  
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`  
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"  
 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :  
   cat >>confdefs.h <<_ACEOF  
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1  
 _ACEOF  
   
   # POSIX will say in a future version that running "rm -f" with no argument
   # is OK; and we want to be able to make that assumption in our Makefile
   # recipes.  So use an aggressive probe to check that the usage we want is
   # actually supported "in the wild" to an acceptable degree.
   # See automake bug#10828.
   # To make any issue more visible, cause the running configure to be aborted
   # by default if the 'rm' program in use doesn't match our expectations; the
   # user can still override this though.
   if rm -f && rm -fr && rm -rf; then : OK; else
     cat >&2 <<'END'
   Oops!
   
   Your 'rm' program seems unable to run without file operands specified
   on the command line, even when the '-f' option is present.  This is contrary
   to the behaviour of most rm programs out there, and not conforming with
   the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   
   Please tell bug-automake@gnu.org about your system, including the value
   of your $PATH and any error possibly output before this message.  This
   can help us improve future automake versions.
   
   END
     if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
       echo 'Configuration will proceed anyway, since you have set the' >&2
       echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
       echo >&2
     else
       cat >&2 <<'END'
   Aborting the configuration process, to ensure you take notice of the issue.
   
   You can download and install GNU coreutils to get an 'rm' implementation
   that behaves properly: <http://www.gnu.org/software/coreutils/>.
   
   If you want to complete the configuration process using your problematic
   'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   to "yes", and re-run configure.
   
   END
       as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
     fi
 fi  fi
 done  
   
   
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5# --enable-silent-rules
$as_echo_n "checking for floor in -lm... " >&6; }# Check whether --enable-silent-rules was given.
if ${ac_cv_lib_m_floor+:} false; then :if test "${enable_silent_rules+set}" = set; then :
   enableval=$enable_silent_rules;
 fi
 
 case $enable_silent_rules in # (((
   yes) AM_DEFAULT_VERBOSITY=0;;
    no) AM_DEFAULT_VERBOSITY=1;;
     *) AM_DEFAULT_VERBOSITY=0;;
 esac
 am_make=${MAKE-make}
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 if ${am_cv_make_support_nested_variables+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  ac_check_lib_save_LIBS=$LIBS  if $as_echo 'TRUE=$(BAR$(V))
LIBS="-lm  $LIBS"BAR0=false
cat confdefs.h - <<_ACEOF >conftest.$ac_extBAR1=true
/* end confdefs.h.  */V=1
am__doit:
/* Override any GCC internal prototype to avoid an error.        @$(TRUE)
   Use char because int might match the return type of a GCC.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   builtin and then its argument prototype would still apply.  */  am_cv_make_support_nested_variables=yes
#ifdef __cplusplus 
extern "C" 
#endif 
char floor (); 
int 
main () 
{ 
return floor (); 
  ; 
  return 0; 
} 
_ACEOF 
if ac_fn_c_try_link "$LINENO"; then : 
  ac_cv_lib_m_floor=yes 
 else  else
  ac_cv_lib_m_floor=no  am_cv_make_support_nested_variables=no
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  
     conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
$as_echo "$ac_cv_lib_m_floor" >&6; }$as_echo "$am_cv_make_support_nested_variables" >&6; }
if test "x$ac_cv_lib_m_floor" = xyes; then :if test $am_cv_make_support_nested_variables = yes; then
  cat >>confdefs.h <<_ACEOF    AM_V='$(V)'
#define HAVE_LIBM 1  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
_ACEOF 
 
  LIBS="-lm $LIBS" 
 
 else  else
  as_fn_error $? "No math library found" "$LINENO" 5  AM_V=$AM_DEFAULT_VERBOSITY
   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 fi  fi
   AM_BACKSLASH='\'
   
   
   # Make sure we can run config.sub.
   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   
# Check whether --with-gtk was given.{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
if test "${with_gtk+set}" = set; then :$as_echo_n "checking build system type... " >&6; }
  withval=$with_gtk; WANTS_GTK=$withvalif ${ac_cv_build+:} false; then :
   $as_echo_n "(cached) " >&6
 else  else
  WANTS_GTK=yes  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 &&
   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
 fi  fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   $as_echo "$ac_cv_build" >&6; }
   case $ac_cv_build in
   *-*-*) ;;
   *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   esac
   build=$ac_cv_build
   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
   
   
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
# Check whether --with-ipinfo was given.$as_echo_n "checking host system type... " >&6; }
if test "${with_ipinfo+set}" = set; then :if ${ac_cv_host+:} false; then :
  withval=$with_ipinfo; ipinfo="${withval}"  $as_echo_n "(cached) " >&6
 else  else
  ipinfo=yes  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` ||
     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 fi  fi
   
  if test x$ipinfo = xyes; then  
   IPINFO_TRUE=  
   IPINFO_FALSE='#'  
 else  
   IPINFO_TRUE='#'  
   IPINFO_FALSE=  
 fi  fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   $as_echo "$ac_cv_host" >&6; }
   case $ac_cv_host in
   *-*-*) ;;
   *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   esac
   host=$ac_cv_host
   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 whether --enable-ipv6 was given.ac_ext=c
if test "${enable_ipv6+set}" = set; then :ac_cpp='$CPP $CPPFLAGS'
  enableval=$enable_ipv6; WANTS_IPV6=$enablevalac_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
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
 if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else  else
  WANTS_IPV6=yes  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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
   done
 IFS=$as_save_IFS
 
 fi  fi
   fi
   CC=$ac_cv_prog_CC
   if test -n "$CC"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   $as_echo "$CC" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
   
   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
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   $as_echo_n "checking for $ac_word... " >&6; }
   if ${ac_cv_prog_ac_ct_CC+:} false; then :
     $as_echo_n "(cached) " >&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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
       ac_cv_prog_ac_ct_CC="gcc"
       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       break 2
     fi
   done
     done
   IFS=$as_save_IFS
   
   fi
   fi
   ac_ct_CC=$ac_cv_prog_ac_ct_CC
   if test -n "$ac_ct_CC"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   $as_echo "$ac_ct_CC" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
if test "x$WANTS_GTK" = "xyes"; then  if test "x$ac_ct_CC" = x; then
     CC=""
   else
     case $cross_compiling:$ac_tool_warned in
 yes:)
 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 ac_tool_warned=yes ;;
 esac
     CC=$ac_ct_CC
   fi
 else
   CC="$ac_cv_prog_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
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   $as_echo_n "checking for $ac_word... " >&6; }
   if ${ac_cv_prog_CC+:} false; then :
     $as_echo_n "(cached) " >&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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
       ac_cv_prog_CC="${ac_tool_prefix}cc"
       $as_echo "$as_me:${as_lineno-$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
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   $as_echo "$CC" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
   
     fi
   fi
   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
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   $as_echo_n "checking for $ac_word... " >&6; }
   if ${ac_cv_prog_CC+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if test -n "$CC"; then
     ac_cv_prog_CC="$CC" # Let the user override the test.
   else
     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 as_fn_executable_p "$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"
       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       break 2
     fi
   done
     done
   IFS=$as_save_IFS
   
   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+' '}$@"
     fi
   fi
   fi
   fi
   CC=$ac_cv_prog_CC
   if test -n "$CC"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   $as_echo "$CC" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
   
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; thenfi
        if test -n "$ac_tool_prefix"; thenif test -z "$CC"; then
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.  if test -n "$ac_tool_prefix"; then
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2  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
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_PKG_CONFIG+:} false; then :if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  case $PKG_CONFIG in  if test -n "$CC"; then
  [\\/]* | ?:[\\/]*)  ac_cv_prog_CC="$CC" # Let the user override the test.
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.else
  ;;as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  *) 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
 for as_dir in $PATH  for as_dir in $PATH
 do  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
   fi    fi
Line 5042  done Line 4930  done
   done    done
 IFS=$as_save_IFS  IFS=$as_save_IFS
   
   ;;  
 esac  
 fi  fi
PKG_CONFIG=$ac_cv_path_PKG_CONFIGfi
if test -n "$PKG_CONFIG"; thenCC=$ac_cv_prog_CC
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5if test -n "$CC"; then
$as_echo "$PKG_CONFIG" >&6; }  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 $as_echo "$CC" >&6; }
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }  $as_echo "no" >&6; }
 fi  fi
   
   
       test -n "$CC" && break
     done
 fi  fi
if test -z "$ac_cv_path_PKG_CONFIG"; thenif test -z "$CC"; then
  ac_pt_PKG_CONFIG=$PKG_CONFIG  ac_ct_CC=$CC
  # Extract the first word of "pkg-config", so it can be a program name with args.  for ac_prog in cl.exe
set dummy pkg-config; ac_word=$2do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  case $ac_pt_PKG_CONFIG in  if test -n "$ac_ct_CC"; then
  [\\/]* | ?:[\\/]*)  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.else
  ;;as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  *) 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
 for as_dir in $PATH  for as_dir in $PATH
 do  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"    ac_cv_prog_ac_ct_CC="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
   fi    fi
Line 5085  done Line 4974  done
   done    done
 IFS=$as_save_IFS  IFS=$as_save_IFS
   
   ;;  
 esac  
 fi  fi
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIGfi
if test -n "$ac_pt_PKG_CONFIG"; thenac_ct_CC=$ac_cv_prog_ac_ct_CC
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5if test -n "$ac_ct_CC"; then
$as_echo "$ac_pt_PKG_CONFIG" >&6; }  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 $as_echo "$ac_ct_CC" >&6; }
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }  $as_echo "no" >&6; }
 fi  fi
   
  if test "x$ac_pt_PKG_CONFIG" = x; then
    PKG_CONFIG=""  test -n "$ac_ct_CC" && break
 done
 
   if test "x$ac_ct_CC" = x; then
     CC=""
   else    else
     case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
 yes:)  yes:)
Line 5106  yes:) Line 4998  yes:)
 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
 esac  esac
    PKG_CONFIG=$ac_pt_PKG_CONFIG    CC=$ac_ct_CC
   fi    fi
   fi
   
   fi
   
   
   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   as_fn_error $? "no acceptable C compiler found in \$PATH
   See \`config.log' for more details" "$LINENO" 5; }
   
   # Provide some information about the compiler.
   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   set X $ac_compile
   ac_compiler=$2
   for ac_option in --version -v -V -qversion; do
     { { ac_try="$ac_compiler $ac_option >&5"
   case "(($ac_try" in
     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     *) ac_try_echo=$ac_try;;
   esac
   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   $as_echo "$ac_try_echo"; } >&5
     (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     ac_status=$?
     if test -s conftest.err; then
       sed '10a\
   ... rest of stderr output deleted ...
            10q' conftest.err >conftest.er1
       cat conftest.er1 >&5
     fi
     rm -f conftest.er1 conftest.err
     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     test $ac_status = 0; }
   done
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   if ${ac_cv_c_compiler_gnu+:} false; then :
     $as_echo_n "(cached) " >&6
 else  else
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
 main ()
 {
 #ifndef __GNUC__
        choke me
 #endif
 
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :
   ac_compiler_gnu=yes
 else
   ac_compiler_gnu=no
 fi  fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_cv_c_compiler_gnu=$ac_compiler_gnu
   
 fi  fi
if test -n "$PKG_CONFIG"; then{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
        _pkg_min_version=0.9.0$as_echo "$ac_cv_c_compiler_gnu" >&6; }
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5if test $ac_compiler_gnu = yes; then
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }  GCC=yes
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; thenelse
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  GCC=
$as_echo "yes" >&6; } 
        else 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
$as_echo "no" >&6; } 
                PKG_CONFIG="" 
        fi 
 fi  fi
# Check whether --enable-gtktest was given.ac_test_CFLAGS=${CFLAGS+set}
if test "${enable_gtktest+set}" = set; then :ac_save_CFLAGS=$CFLAGS
  enableval=$enable_gtktest;{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 $as_echo_n "checking whether $CC accepts -g... " >&6; }
 if ${ac_cv_prog_cc_g+:} false; then :
   $as_echo_n "(cached) " >&6
 else  else
  enable_gtktest=yes  ac_save_c_werror_flag=$ac_c_werror_flag
    ac_c_werror_flag=yes
    ac_cv_prog_cc_g=no
    CFLAGS="-g"
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
 main ()
 {
 
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_prog_cc_g=yes
 else
   CFLAGS=""
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
 main ()
 {
 
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :
 
 else
   ac_c_werror_flag=$ac_save_c_werror_flag
          CFLAGS="-g"
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
 main ()
 {
 
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_prog_cc_g=yes
 fi  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
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   $as_echo "$ac_cv_prog_cc_g" >&6; }
   if test "$ac_test_CFLAGS" = set; then
     CFLAGS=$ac_save_CFLAGS
   elif test $ac_cv_prog_cc_g = yes; then
     if test "$GCC" = yes; then
       CFLAGS="-g -O2"
     else
       CFLAGS="-g"
     fi
   else
     if test "$GCC" = yes; then
       CFLAGS="-O2"
     else
       CFLAGS=
     fi
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   if ${ac_cv_prog_cc_c89+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     ac_cv_prog_cc_c89=no
   ac_save_CC=$CC
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <stdarg.h>
   #include <stdio.h>
   struct stat;
   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   struct buf { int x; };
   FILE * (*rcsopen) (struct buf *, struct stat *, int);
   static char *e (p, i)
        char **p;
        int i;
   {
     return p[i];
   }
   static char *f (char * (*g) (char **, int), char **p, ...)
   {
     char *s;
     va_list v;
     va_start (v,p);
     s = g (p, va_arg (v,int));
     va_end (v);
     return s;
   }
   
   /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
      function prototypes and stuff, but not '\xHH' hex character constants.
      These don't provoke an error unfortunately, instead are silently treated
      as 'x'.  The following induces an error, until -std is added to get
      proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
      array size at least.  It's necessary to write '\x00'==0 to get something
      that's true only with -std.  */
   int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   
  pkg_config_args=gtk+-2.0/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  for module in .   inside strings and character constants.  */
  do#define FOO(x) 'x'
      case "$module" inint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
         gthread)
             pkg_config_args="$pkg_config_args gthread-2.0"int test (int i, double x);
         ;;struct s1 {int (*f) (int a);};
      esacstruct s2 {int (*f) (double a);};
 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 int argc;
 char **argv;
 int
 main ()
 {
 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   ;
   return 0;
 }
 _ACEOF
 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 do
   CC="$ac_save_CC $ac_arg"
   if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_prog_cc_c89=$ac_arg
 fi
 rm -f core conftest.err conftest.$ac_objext
   test "x$ac_cv_prog_cc_c89" != "xno" && break
 done
 rm -f conftest.$ac_ext
 CC=$ac_save_CC
 
 fi
 # AC_CACHE_VAL
 case "x$ac_cv_prog_cc_c89" in
   x)
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 $as_echo "none needed" >&6; } ;;
   xno)
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 $as_echo "unsupported" >&6; } ;;
   *)
     CC="$CC $ac_cv_prog_cc_c89"
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 esac
 if test "x$ac_cv_prog_cc_c89" != xno; then :
 
 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
 
 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
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 if ${am_cv_prog_cc_c_o+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
 main ()
 {
 
   ;
   return 0;
 }
 _ACEOF
   # Make sure it works both with $CC and with simple cc.
   # Following AC_PROG_CC_C_O, we do the test twice because some
   # compilers refuse to overwrite an existing .o file with -o,
   # though they will create one.
   am_cv_prog_cc_c_o=yes
   for am_i in 1 2; do
     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
    ac_status=$?
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } \
          && test -f conftest2.$ac_objext; then
       : OK
     else
       am_cv_prog_cc_c_o=no
       break
     fi
   done    done
     rm -f core conftest*
     unset am_i
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   $as_echo "$am_cv_prog_cc_c_o" >&6; }
   if test "$am_cv_prog_cc_c_o" != yes; then
      # Losing compiler, so override with the script.
      # FIXME: It is wrong to rewrite CC.
      # But if we don't then we get into trouble of one sort or another.
      # A longer-term fix would be to have automake use am__CC in this case,
      # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
      CC="$am_aux_dir/compile $CC"
   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
   
   no_gtk=""  
   
   
   # Check pkg-config availability.
   
   
   
Line 5154  fi Line 5314  fi
   
   
   
   
 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then  if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
         if test -n "$ac_tool_prefix"; then          if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
Line 5255  fi Line 5416  fi
   
 fi  fi
 if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
        _pkg_min_version=0.7        _pkg_min_version=0.9.0
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }  $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
Line 5268  $as_echo "no" >&6; } Line 5429  $as_echo "no" >&6; }
         fi          fi
 fi  fi
   
  min_gtk_version=2.6.0 if test "$host_os" = cygwin; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5  CYGWIN_TRUE=
$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }  CYGWIN_FALSE='#'
 else
   CYGWIN_TRUE='#'
   CYGWIN_FALSE=
 fi
   
   if test x$PKG_CONFIG != xno ; then  
     ## don't try to run the test against uninstalled libtool libs  
     if $PKG_CONFIG --uninstalled $pkg_config_args; then  
           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"  
           enable_gtktest=no  
     fi  
   
    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then# Check bytes in types.
          :# The cast to long int works around a bug in the HP C Compiler
    else# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
          no_gtk=yes# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    fi# This bug is HP SR number 8606223364.
  fi{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char" >&5
 $as_echo_n "checking size of unsigned char... " >&6; }
 if ${ac_cv_sizeof_unsigned_char+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char))" "ac_cv_sizeof_unsigned_char"        "$ac_includes_default"; then :
   
   if test x"$no_gtk" = x ; then  
     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`  
     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`  
     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \  
            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`  
     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \  
            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`  
     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \  
            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`  
     if test "x$enable_gtktest" = "xyes" ; then  
       ac_save_CFLAGS="$CFLAGS"  
       ac_save_LIBS="$LIBS"  
       CFLAGS="$CFLAGS $GTK_CFLAGS"  
       LIBS="$GTK_LIBS $LIBS"  
       rm -f conf.gtktest  
       if test "$cross_compiling" = yes; then :  
   echo $ac_n "cross compiling; assumed OK... $ac_c"  
 else  else
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext  if test "$ac_cv_type_unsigned_char" = yes; then
/* end confdefs.h.  */     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error 77 "cannot compute sizeof (unsigned char)
 See \`config.log' for more details" "$LINENO" 5; }
    else
      ac_cv_sizeof_unsigned_char=0
    fi
 fi
   
#include <gtk/gtk.h>fi
#include <stdio.h>{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char" >&5
#include <stdlib.h>$as_echo "$ac_cv_sizeof_unsigned_char" >&6; }
   
   
   
   cat >>confdefs.h <<_ACEOF
   #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
   _ACEOF
   
   
   # The cast to long int works around a bug in the HP C Compiler
   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   # This bug is HP SR number 8606223364.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
   $as_echo_n "checking size of unsigned short... " >&6; }
   if ${ac_cv_sizeof_unsigned_short+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short"        "$ac_includes_default"; then :
   
   else
     if test "$ac_cv_type_unsigned_short" = yes; then
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   as_fn_error 77 "cannot compute sizeof (unsigned short)
   See \`config.log' for more details" "$LINENO" 5; }
      else
        ac_cv_sizeof_unsigned_short=0
      fi
   fi
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
   $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
   
   
   
   cat >>confdefs.h <<_ACEOF
   #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
   _ACEOF
   
   
   # The cast to long int works around a bug in the HP C Compiler
   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   # This bug is HP SR number 8606223364.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
   $as_echo_n "checking size of unsigned int... " >&6; }
   if ${ac_cv_sizeof_unsigned_int+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int"        "$ac_includes_default"; then :
   
   else
     if test "$ac_cv_type_unsigned_int" = yes; then
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   as_fn_error 77 "cannot compute sizeof (unsigned int)
   See \`config.log' for more details" "$LINENO" 5; }
      else
        ac_cv_sizeof_unsigned_int=0
      fi
   fi
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
   $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
   
   
   
   cat >>confdefs.h <<_ACEOF
   #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
   _ACEOF
   
   
   # The cast to long int works around a bug in the HP C Compiler
   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   # This bug is HP SR number 8606223364.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
   $as_echo_n "checking size of unsigned long... " >&6; }
   if ${ac_cv_sizeof_unsigned_long+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long"        "$ac_includes_default"; then :
   
   else
     if test "$ac_cv_type_unsigned_long" = yes; then
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   as_fn_error 77 "cannot compute sizeof (unsigned long)
   See \`config.log' for more details" "$LINENO" 5; }
      else
        ac_cv_sizeof_unsigned_long=0
      fi
   fi
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
   $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
   
   
   
   cat >>confdefs.h <<_ACEOF
   #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
   _ACEOF
   
   
   
   # Check headers.
   for ac_header in  \
     arpa/nameser_compat.h \
     curses.h \
     cursesX.h \
     error.h \
     fcntl.h \
     linux/icmp.h \
     ncurses.h \
     ncurses/curses.h \
     netinet/in.h \
     socket.h \
     sys/cdefs.h \
     sys/limits.h \
     sys/socket.h \
     stdio_ext.h \
     sys/types.h \
     sys/xti.h \
     values.h \
   
   do :
     as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     cat >>confdefs.h <<_ACEOF
   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   _ACEOF
   
   fi
   
   done
   
   
   # Check functions.
   for ac_func in  \
     __fpending \
     fcntl \
   
   do :
     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     cat >>confdefs.h <<_ACEOF
   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   _ACEOF
   
   fi
   done
   
   
   ac_fn_c_check_func "$LINENO" "error" "ac_cv_func_error"
   if test "x$ac_cv_func_error" = xyes; then :
     with_error=no
   else
     for ac_func in verr verrx vwarn vwarnx
   do :
     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     cat >>confdefs.h <<_ACEOF
   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   _ACEOF
    with_error=yes
   else
     as_fn_error $? "cannot find working error printing function" "$LINENO" 5
   
   fi
   done
   
   
   fi
   
    if test "x$with_error" = "xyes"; then
     WITH_ERROR_TRUE=
     WITH_ERROR_FALSE='#'
   else
     WITH_ERROR_TRUE='#'
     WITH_ERROR_FALSE=
   fi
   
   
   ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
   if test "x$ac_cv_func_getopt_long" = xyes; then :
     with_getopt=no
   else
     with_getopt=yes
   fi
   
   if test "x$with_getopt" = "xno"; then :
   
   
   $as_echo "#define HAVE_GETOPT 1" >>confdefs.h
   
   
   fi
    if test "x$with_getopt" = "xyes"; then
     WITH_GETOPT_TRUE=
     WITH_GETOPT_FALSE='#'
   else
     WITH_GETOPT_TRUE='#'
     WITH_GETOPT_FALSE=
   fi
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
   $as_echo_n "checking for floor in -lm... " >&6; }
   if ${ac_cv_lib_m_floor+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lm  $LIBS"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   /* Override any GCC internal prototype to avoid an error.
      Use char because int might match the return type of a GCC
      builtin and then its argument prototype would still apply.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   char floor ();
 int  int
 main ()  main ()
 {  {
  int major, minor, micro;return floor ();
  char *tmp_version;  ;
   return 0;
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_m_floor=yes
 else
   ac_cv_lib_m_floor=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
 $as_echo "$ac_cv_lib_m_floor" >&6; }
 if test "x$ac_cv_lib_m_floor" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBM 1
 _ACEOF
   
  fclose (fopen ("conf.gtktest", "w"));  LIBS="-lm $LIBS"
   
  /* HP/UX 9 (%@#!) writes to sscanf strings */else
  tmp_version = g_strdup("$min_gtk_version");  as_fn_error $? "No math library found" "$LINENO" 5
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {fi
     printf("%s, bad version string\n", "$min_gtk_version"); 
     exit(1); 
   } 
   
   if ((gtk_major_version != $gtk_config_major_version) ||  
       (gtk_minor_version != $gtk_config_minor_version) ||  
       (gtk_micro_version != $gtk_config_micro_version))  
     {  
       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",  
              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,  
              gtk_major_version, gtk_minor_version, gtk_micro_version);  
       printf ("*** was found! If pkg-config was correct, then it is best\n");  
       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");  
       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");  
       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");  
       printf("*** required on your system.\n");  
       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");  
       printf("*** to point to the correct configuration files\n");  
     }  
   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||  
            (gtk_minor_version != GTK_MINOR_VERSION) ||  
            (gtk_micro_version != GTK_MICRO_VERSION))  
     {  
       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",  
              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);  
       printf("*** library (version %d.%d.%d)\n",  
              gtk_major_version, gtk_minor_version, gtk_micro_version);  
     }  
   else  
     {  
       if ((gtk_major_version > major) ||  
         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||  
         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))  
       {  
         return 0;  
        }  
      else  
       {  
         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",  
                gtk_major_version, gtk_minor_version, gtk_micro_version);  
         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",  
                major, minor, micro);  
         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");  
         printf("***\n");  
         printf("*** If you have already installed a sufficiently new version, this error\n");  
         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");  
         printf("*** being found. The easiest way to fix this is to remove the old version\n");  
         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");  
         printf("*** correct copy of pkg-config. (In this case, you will have to\n");  
         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");  
         printf("*** so that the correct libraries are found at run-time))\n");  
       }  
     }  
   return 1;  
 }  
   
_ACEOF# Find GTK
if ac_fn_c_try_run "$LINENO"; then : 
   
   # Check whether --with-gtk was given.
   if test "${with_gtk+set}" = set; then :
     withval=$with_gtk;
 else  else
  no_gtk=yes  with_gtk=yes
 fi  fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  conftest.$ac_objext conftest.beam conftest.$ac_extif test "x$with_gtk" = "xyes"; then :
 
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
 $as_echo_n "checking for GTK... " >&6; }
 
 if test -n "$GTK_CFLAGS"; then
     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
                       test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi  fi
    else
       pkg_failed=untried
   fi
   if test -n "$GTK_LIBS"; then
       pkg_cv_GTK_LIBS="$GTK_LIBS"
    elif test -n "$PKG_CONFIG"; then
       if test -n "$PKG_CONFIG" && \
       { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
     ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
     ac_status=$?
     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     test $ac_status = 0; }; then
     pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
                         test "x$?" != "x0" && pkg_failed=yes
   else
     pkg_failed=yes
   fi
    else
       pkg_failed=untried
   fi
   
       CFLAGS="$ac_save_CFLAGS"
       LIBS="$ac_save_LIBS"
     fiif test $pkg_failed = yes; then
  fi        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  if test "x$no_gtk" = x ; then 
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 
$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } 
     CFLAGS="$CFLAGS $GTK_CFLAGS" 
                           LIBS="$LIBS $GTK_LIBS -lm" 
  else 
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
 $as_echo "no" >&6; }  $as_echo "no" >&6; }
     if test "$PKG_CONFIG" = "no" ; then
       echo "*** A new enough version of pkg-config was not found."if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
       echo "*** See http://pkgconfig.sourceforge.net"        _pkg_short_errors_supported=yes
     elseelse
       if test -f conf.gtktest ; then        _pkg_short_errors_supported=no
        :fi
       else        if test $_pkg_short_errors_supported = yes; then
          echo "*** Could not run GTK+ test program, checking why..."                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0" 2>&1`
          ac_save_CFLAGS="$CFLAGS"        else
          ac_save_LIBS="$LIBS"                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0" 2>&1`
          CFLAGS="$CFLAGS $GTK_CFLAGS"        fi
          LIBS="$LIBS $GTK_LIBS"        # Put the nasty error message in config.log where it belongs
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext        echo "$GTK_PKG_ERRORS" >&5
 
         with_gtk=no
 elif test $pkg_failed = untried; then
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
         with_gtk=no
 else
         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
         GTK_LIBS=$pkg_cv_GTK_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
 
 $as_echo "#define HAVE_GTK 1" >>confdefs.h
 
 fi
 
 fi
  if test "x$with_gtk" = xyes; then
   WITH_GTK_TRUE=
   WITH_GTK_FALSE='#'
 else
   WITH_GTK_TRUE='#'
   WITH_GTK_FALSE=
 fi
 
 
 # Find ncurses
 
 # Check whether --with-ncurses was given.
 if test "${with_ncurses+set}" = set; then :
   withval=$with_ncurses;
 else
   with_ncurses=yes
 fi
 
 if test "x$with_ncurses" = "xyes"; then :
   # Prefer ncurses over curses, if both are available.
   # (On Solaris 11.3, ncurses builds and links for us, but curses does not.)
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing initscr" >&5
 $as_echo_n "checking for library containing initscr... " >&6; }
 if ${ac_cv_search_initscr+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
#include <gtk/gtk.h>/* Override any GCC internal prototype to avoid an error.
#include <stdio.h>   Use char because int might match the return type of a GCC
    builtin and then its argument prototype would still apply.  */
 #ifdef __cplusplus
 extern "C"
 #endif
 char initscr ();
 int
 main ()
 {
 return initscr ();
   ;
   return 0;
 }
 _ACEOF
 for ac_lib in '' ncurses curses; do
   if test -z "$ac_lib"; then
     ac_res="none required"
   else
     ac_res=-l$ac_lib
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_search_initscr=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
   if ${ac_cv_search_initscr+:} false; then :
   break
 fi
 done
 if ${ac_cv_search_initscr+:} false; then :
   
   else
     ac_cv_search_initscr=no
   fi
   rm conftest.$ac_ext
   LIBS=$ac_func_search_save_LIBS
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_initscr" >&5
   $as_echo "$ac_cv_search_initscr" >&6; }
   ac_res=$ac_cv_search_initscr
   if test "$ac_res" != no; then :
     test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   
   $as_echo "#define HAVE_CURSES 1" >>confdefs.h
   
   else
     with_ncurses=no
   fi
   
   
   fi
    if test "x$with_ncurses" = xyes; then
     WITH_CURSES_TRUE=
     WITH_CURSES_FALSE='#'
   else
     WITH_CURSES_TRUE='#'
     WITH_CURSES_FALSE=
   fi
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_set_proc in -lcap" >&5
   $as_echo_n "checking for cap_set_proc in -lcap... " >&6; }
   if ${ac_cv_lib_cap_cap_set_proc+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lcap  $LIBS"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   /* Override any GCC internal prototype to avoid an error.
      Use char because int might match the return type of a GCC
      builtin and then its argument prototype would still apply.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   char cap_set_proc ();
 int  int
 main ()  main ()
 {  {
 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));return cap_set_proc ();
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
   echo "*** The test program compiled, but did not run. This usually means"  ac_cv_lib_cap_cap_set_proc=yes
          echo "*** that the run-time linker is not finding GTK+ or finding the wrong" 
          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" 
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 
          echo "*** to the installed location  Also, make sure you have run ldconfig if that" 
          echo "*** is required on your system" 
          echo "***" 
          echo "*** If you have an old version installed, it is best to remove it, although" 
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 
 else  else
   echo "*** The test program failed to compile or link. See the file config.log for the"  ac_cv_lib_cap_cap_set_proc=no
          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed." 
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
          CFLAGS="$ac_save_CFLAGS"LIBS=$ac_check_lib_save_LIBS
          LIBS="$ac_save_LIBS"fi
       fi{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_set_proc" >&5
     fi$as_echo "$ac_cv_lib_cap_cap_set_proc" >&6; }
     GTK_CFLAGS=""if test "x$ac_cv_lib_cap_cap_set_proc" = xyes; then :
     GTK_LIBS=""  cat >>confdefs.h <<_ACEOF
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building without GTK2 display support" >&5#define HAVE_LIBCAP 1
$as_echo "$as_me: WARNING: Building without GTK2 display support" >&2;}_ACEOF
   
$as_echo "#define NO_GTK 1" >>confdefs.h  LIBS="-lcap $LIBS"
   
                           GTK_OBJ=""else
  fi  if test "$host_os" = linux-gnu; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Capabilities support is strongly recommended for increased security.  See SECURITY for more information." >&5
 $as_echo "$as_me: WARNING: Capabilities support is strongly recommended for increased security.  See SECURITY for more information." >&2;}
 fi
 fi
   
   
  rm -f conf.gtktest# Enable ipinfo
   
   # Check whether --with-ipinfo was given.
   if test "${with_ipinfo+set}" = set; then :
     withval=$with_ipinfo;
 else  else
        $as_echo "#define NO_GTK 1" >>confdefs.h  with_ipinfo=yes
 fi
   
        GTK_OBJ="" if test "x$with_ipinfo" = "xyes"; then
   WITH_IPINFO_TRUE=
   WITH_IPINFO_FALSE='#'
 else
   WITH_IPINFO_TRUE='#'
   WITH_IPINFO_FALSE=
 fi  fi
   
if test "x$ipinfo" = "xno"; thenif test "x$with_ipinfo" = "xyes"; then :
   
 $as_echo "#define NO_IPINFO 1" >>confdefs.h  
   
   $as_echo "#define HAVE_IPINFO 1" >>confdefs.h
   
   
 fi  fi
   
   # Check whether --enable-ipv6 was given.
   if test "${enable_ipv6+set}" = set; then :
     enableval=$enable_ipv6; WANTS_IPV6=$enableval
   else
     WANTS_IPV6=yes
   fi
   
   
   if test "x$WANTS_IPV6" = "xyes"; then :
   
   
   $as_echo "#define ENABLE_IPV6 1" >>confdefs.h
   
     USES_IPV6=yes
   
   fi
   
 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"  ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
 if test "x$ac_cv_func_socket" = xyes; then :  if test "x$ac_cv_func_socket" = xyes; then :
   
Line 5579  fi Line 6102  fi
 fi  fi
   
   
#AC_CHECK_FUNC(res_init, ,# Find resolver library.
#  AC_CHECK_LIB(bind, res_init, ,ac_fn_c_check_func "$LINENO" "res_query" "ac_cv_func_res_query"
#   AC_CHECK_LIB(resolv, res_init, , AC_MSG_ERROR(No resolver library found))))if test "x$ac_cv_func_res_query" = xyes; then :
   RESOLV_LIBS=""
 else
   
for ac_func in seteuid  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_query in -lresolv" >&5
do :$as_echo_n "checking for __res_query in -lresolv... " >&6; }
  ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"if ${ac_cv_lib_resolv___res_query+:} false; then :
if test "x$ac_cv_func_seteuid" = xyes; then :  $as_echo_n "(cached) " >&6
  cat >>confdefs.h <<_ACEOFelse
#define HAVE_SETEUID 1  ac_check_lib_save_LIBS=$LIBS
_ACEOFLIBS="-lresolv  $LIBS"
 
fi 
done 
 
#  AC_CHECK_FUNC(setuid, , AC_MSG_ERROR (I Need either seteuid or setuid)) 
 
#AC_CHECK_FUNC(res_mkquery, , 
#  AC_CHECK_LIB(bind, res_mkquery, , 
#   AC_CHECK_LIB(resolv, res_mkquery, , 
#     AC_CHECK_LIB(resolv, __res_mkquery, , AC_MSG_ERROR(No resolver library found))))) 
 
# See if a library is needed for res_mkquery and if so put it in RESOLV_LIBS 
RESOLV_LIBS= 
 
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether library required for res_mkquery" >&5 
$as_echo_n "checking whether library required for res_mkquery... " >&6; } 
RESOLV_LIB_NONE= 
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
/* Override any GCC internal prototype to avoid an error.
#include <netinet/in.h>   Use char because int might match the return type of a GCC
#include <resolv.h>   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
 extern "C"
 #endif
 char __res_query ();
 int  int
 main ()  main ()
 {  {
return __res_query ();
int (*res_mkquery_func)(int,...) = (int (*)(int,...))res_mkquery; 
(void)(*res_mkquery_func)(0); 
 
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  ac_cv_lib_resolv___res_query=yes
$as_echo "no" >&6; } 
        RESOLV_LIB_NONE=yes 
 else  else
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  ac_cv_lib_resolv___res_query=no
$as_echo "yes" >&6; } 
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
if test "x$RESOLV_LIB_NONE" = "x"; thenLIBS=$ac_check_lib_save_LIBS
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_mkquery in -lbind" >&5fi
$as_echo_n "checking for res_mkquery in -lbind... " >&6; }{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_query" >&5
        STASH_LIBS="$LIBS"$as_echo "$ac_cv_lib_resolv___res_query" >&6; }
        LIBS="$STASH_LIBS -lbind"if test "x$ac_cv_lib_resolv___res_query" = xyes; then :
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext  RESOLV_LIBS="-lresolv"
 else
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv" >&5
 $as_echo_n "checking for res_query in -lresolv... " >&6; }
 if ${ac_cv_lib_resolv_res_query+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lresolv  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
/* Override any GCC internal prototype to avoid an error.
#include <netinet/in.h>   Use char because int might match the return type of a GCC
#include <resolv.h>   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
 extern "C"
 #endif
 char res_query ();
 int  int
 main ()  main ()
 {  {
return res_query ();
int (*res_mkquery_func)(int,...) = (int (*)(int,...))res_mkquery; 
(void)(*res_mkquery_func)(0); 
 
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  ac_cv_lib_resolv_res_query=yes
$as_echo "yes" >&6; } 
                RESOLV_LIBS=-lbind 
 else  else
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  ac_cv_lib_resolv_res_query=no
$as_echo "no" >&6; } 
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
        if test "x$RESOLV_LIBS" = "x"; thenLIBS=$ac_check_lib_save_LIBS
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_mkquery in -lresolv" >&5fi
$as_echo_n "checking for res_mkquery in -lresolv... " >&6; }{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_query" >&5
                LIBS="$STASH_LIBS -lresolv"$as_echo "$ac_cv_lib_resolv_res_query" >&6; }
                cat confdefs.h - <<_ACEOF >conftest.$ac_extif test "x$ac_cv_lib_resolv_res_query" = xyes; then :
   RESOLV_LIBS="-lresolv"
 else
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lbind" >&5
 $as_echo_n "checking for res_query in -lbind... " >&6; }
 if ${ac_cv_lib_bind_res_query+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lbind  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
/* Override any GCC internal prototype to avoid an error.
#include <netinet/in.h>   Use char because int might match the return type of a GCC
#include <resolv.h>   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
 extern "C"
 #endif
 char res_query ();
 int  int
 main ()  main ()
 {  {
return res_query ();
int (*res_mkquery_func)(int,...) = (int (*)(int,...))res_mkquery; 
(void)(*res_mkquery_func)(0); 
 
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  ac_cv_lib_bind_res_query=yes
$as_echo "yes" >&6; } 
                        RESOLV_LIBS=-lresolv 
 else  else
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  ac_cv_lib_bind_res_query=no
$as_echo "no" >&6; } 
                        as_fn_error $? "No resolver library found" "$LINENO" 5 
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
        fiLIBS=$ac_check_lib_save_LIBS
        LIBS="$STASH_LIBS" 
 fi  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_res_query" >&5
ac_fn_c_check_func "$LINENO" "herror" "ac_cv_func_herror"$as_echo "$ac_cv_lib_bind_res_query" >&6; }
if test "x$ac_cv_func_herror" = xyes; then :if test "x$ac_cv_lib_bind_res_query" = xyes; then :
  RESOLV_LIBS="-lbind"
 else  else
   
$as_echo "#define NO_HERROR 1" >>confdefs.h        as_fn_error $? "No resolver library found" "$LINENO" 5
   
 fi  fi
   
 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"  
 if test "x$ac_cv_func_strerror" = xyes; then :  
   
elsefi
   
 $as_echo "#define NO_STRERROR 1" >>confdefs.h  
   
 fi  fi
   
   
 USES_IPV6=  
 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"  
 if test "x$ac_cv_func_getaddrinfo" = xyes; then :  
   if test "$WANTS_IPV6" = "yes"; then  
   
 $as_echo "#define ENABLE_IPV6 /**/" >>confdefs.h  
   
         USES_IPV6=yes  
 fi  fi
 fi  
   
   if test "x" = "x$RESOLV_LIBS"; then :
   
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dn_expand in -lresolv" >&5
$as_echo_n "checking for dn_expand in -lresolv... " >&6; }
if test "x$USES_IPV6" = "xyes"; thenif ${ac_cv_lib_resolv_dn_expand+:} false; then :
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __res_state_ext needs to be defined" >&5  $as_echo_n "(cached) " >&6
$as_echo_n "checking whether __res_state_ext needs to be defined... " >&6; } 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
/* end confdefs.h.  */ 
 
 
#include <netinet/in.h> 
#include <resolv.h> 
#ifdef __GLIBC__ 
#define RESEXTIN6(r,i) (*(r._u._ext.nsaddrs[i])) 
#else 
#define RESEXTIN6(r,i) (r._u._ext.ext->nsaddrs[i].sin6) 
#endif 
 
int 
main () 
{ 
 
struct __res_state res; 
return RESEXTIN6(res,0).sin6_addr.s6_addr[0]; 
 
  ; 
  return 0; 
} 
_ACEOF 
if ac_fn_c_try_compile "$LINENO"; then : 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
$as_echo "no" >&6; } 
 else  else
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  ac_check_lib_save_LIBS=$LIBS
$as_echo "yes" >&6; }LIBS="-lresolv  $LIBS"
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether provided __res_state_ext definition can be compiled" >&5cat confdefs.h - <<_ACEOF >conftest.$ac_ext
$as_echo_n "checking whether provided __res_state_ext definition can be compiled... " >&6; } 
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
/* Override any GCC internal prototype to avoid an error.
#include <netinet/in.h>   Use char because int might match the return type of a GCC
#include <resolv.h>   builtin and then its argument prototype would still apply.  */
#ifdef __GLIBC__#ifdef __cplusplus
#define RESEXTIN6(r,i) (*(r._u._ext.nsaddrs[i]))extern "C"
#else 
#define RESEXTIN6(r,i) (r._u._ext.ext->nsaddrs[i].sin6) 
struct __res_state_ext { 
        union res_sockaddr_union nsaddrs[MAXNS]; 
        struct sort_list { 
                int     af; 
                union { 
                        struct in_addr  ina; 
                        struct in6_addr in6a; 
                } addr, mask; 
        } sort_list[MAXRESOLVSORT]; 
        char nsuffix[64]; 
        char nsuffix2[64]; 
}; 
 #endif  #endif
char dn_expand ();
 int  int
 main ()  main ()
 {  {
return dn_expand ();
struct __res_state res; 
return RESEXTIN6(res,0).sin6_addr.s6_addr[0]; 
 
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
if ac_fn_c_try_compile "$LINENO"; then :if ac_fn_c_try_link "$LINENO"; then :
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  ac_cv_lib_resolv_dn_expand=yes
$as_echo "yes" >&6; } 
 
$as_echo "#define NEED_RES_STATE_EXT 1" >>confdefs.h 
 
 else  else
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  ac_cv_lib_resolv_dn_expand=no
$as_echo "no" >&6; } 
                        as_fn_error $? "Need definition for struct __res_state_ext but unable to define it." "$LINENO" 5 
 fi  fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_extrm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi  fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dn_expand" >&5
 $as_echo "$ac_cv_lib_resolv_dn_expand" >&6; }
 if test "x$ac_cv_lib_resolv_dn_expand" = xyes; then :
   RESOLV_LIBS="-lresolv"
 fi  fi
   
   
   fi
   
   
   # Check errno and socket data types.
 ac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" "  ac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" "
 #include <errno.h>  #include <errno.h>
 #include <sys/errno.h>  #include <sys/errno.h>
Line 5840  cat >>confdefs.h <<_ACEOF Line 6304  cat >>confdefs.h <<_ACEOF
 _ACEOF  _ACEOF
   
   
ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <netinet/in.h>
#include <netinet/in.h> 
 #ifdef HAVE_SOCKET_H  #ifdef HAVE_SOCKET_H
 #include <socket.h>  #include <socket.h>
 #endif  #endif
 #ifdef HAVE_SYS_SOCKET_H  #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>  #include <sys/socket.h>
 #endif  #endif
   
 "  "
 if test "x$ac_cv_type_socklen_t" = xyes; then :  if test "x$ac_cv_type_socklen_t" = xyes; then :
   
Line 5857  $as_echo "#define HAVE_SOCKLEN_T /**/" >>confdefs.h Line 6319  $as_echo "#define HAVE_SOCKLEN_T /**/" >>confdefs.h
 fi  fi
   
   
ac_fn_c_check_type "$LINENO" "struct in_addr" "ac_cv_type_struct_in_addr" "ac_fn_c_check_type "$LINENO" "time_t" "ac_cv_type_time_t" "
#include <netinet/in.h>#include <time.h>
   
 "  "
if test "x$ac_cv_type_struct_in_addr" = xyes; then :if test "x$ac_cv_type_time_t" = xyes; then :
   
$as_echo "#define HAVE_STRUCT_INADDR /**/" >>confdefs.hcat >>confdefs.h <<_ACEOF
 #define HAVE_TIME_T 1
 _ACEOF
   
   
 fi  fi
   
   
   # Add C flags to display more warnings
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C flags to get more warnings" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C flags to get more warnings" >&5
 $as_echo_n "checking for C flags to get more warnings... " >&6; }  $as_echo_n "checking for C flags to get more warnings... " >&6; }
 ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then
 if test "x$ac_cv_c_compiler_gnu" = "xyes"; then :
 
     warning_CFLAGS="-Wall"      warning_CFLAGS="-Wall"
   # Check if compiler supports -Wno-pointer-sign and add it if supports    # Check if compiler supports -Wno-pointer-sign and add it if supports
   CFLAGS_saved="$CFLAGS"    CFLAGS_saved="$CFLAGS"
   CFLAGS="$CFLAGS -Wno-pointer-sign"    CFLAGS="$CFLAGS -Wno-pointer-sign"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
  int foo;int foo;
 _ACEOF  _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :  if ac_fn_c_try_compile "$LINENO"; then :
   warning_CFLAGS="${warning_CFLAGS} -Wno-pointer-sign"  warning_CFLAGS="${warning_CFLAGS} -Wno-pointer-sign"
 fi  fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   CFLAGS="$CFLAGS_saved"    CFLAGS="$CFLAGS_saved"
   
 else  else
    case "$host_os" in
        irix*)    case $host_os in #(
       irix*) :
 
       CFLAGS="$CFLAGS -fullwarn"        CFLAGS="$CFLAGS -fullwarn"
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
#include <stdio.h>
         #include <stdio.h>
 int  int
 main ()  main ()
 {  {
Line 5904  if ac_fn_c_try_compile "$LINENO"; then : Line 6376  if ac_fn_c_try_compile "$LINENO"; then :
   warning_CFLAGS="-fullwarn"    warning_CFLAGS="-fullwarn"
 fi  fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
      ;;     ;; #(
       sunos*) :
   
        sunos*)      if test "$CC" = "acc"; then :
        if "$CC" = "acc" ; then
          CFLAGS="$CFLAGS -vc"        CFLAGS="$CFLAGS -vc"
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
#include <stdio.h>
           #include <stdio.h>
 int  int
 main ()  main ()
 {  {
Line 5924  if ac_fn_c_try_compile "$LINENO"; then : Line 6398  if ac_fn_c_try_compile "$LINENO"; then :
   warning_CFLAGS="-vc"    warning_CFLAGS="-vc"
 fi  fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
         fi  
       ;;  
   
        *)fi
 
         * ;; #(
   *) :
 
       warning_CFLAGS="none"        warning_CFLAGS="none"
      ;;
  esac   ;;
 esac
 
 fi  fi
 CFLAGS="$ac_save_CFLAGS"  CFLAGS="$ac_save_CFLAGS"
if test "$warning_CFLAGS" = "none" ; then
 if test "$warning_CFLAGS" = "none"; then :
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 $as_echo "none" >&6; }  $as_echo "none" >&6; }
   
 else  else
   
   CFLAGS="$CFLAGS $warning_CFLAGS"    CFLAGS="$CFLAGS $warning_CFLAGS"
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_CFLAGS" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_CFLAGS" >&5
 $as_echo "$warning_CFLAGS" >&6; }  $as_echo "$warning_CFLAGS" >&6; }
   
 fi  fi
   
   # bash-completion
   
   # Check whether --with-bashcompletiondir was given.
   if test "${with_bashcompletiondir+set}" = set; then :
     withval=$with_bashcompletiondir;
   else
     if `$PKG_CONFIG --exists bash-completion`; then :
   
       with_bashcompletiondir=`$PKG_CONFIG --variable=completionsdir bash-completion`
   
   else
   
       with_bashcompletiondir=${datadir}/bash-completion/completions
   
   fi
   
   fi
   
   bashcompletiondir=$with_bashcompletiondir
   
   # Check whether --enable-bash-completion was given.
   if test "${enable_bash_completion+set}" = set; then :
     enableval=$enable_bash_completion;
   else
     enable_bash_completion=yes
   
   fi
   
    if test "x$enable_bash_completion" = xyes; then
     BUILD_BASH_COMPLETION_TRUE=
     BUILD_BASH_COMPLETION_FALSE='#'
   else
     BUILD_BASH_COMPLETION_TRUE='#'
     BUILD_BASH_COMPLETION_FALSE=
   fi
   
   
   # Prepare config.h, Makefile, and output them.
 ac_config_headers="$ac_config_headers config.h"  ac_config_headers="$ac_config_headers config.h"
   
ac_config_files="$ac_config_files Makefile img/Makefile"ac_config_files="$ac_config_files Makefile"
   
 cat >confcache <<\_ACEOF  cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
Line 6066  $as_echo_n "checking that generated files are newer th Line 6584  $as_echo_n "checking that generated files are newer th
    fi     fi
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5     { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 $as_echo "done" >&6; }  $as_echo "done" >&6; }
   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
     as_fn_error $? "conditional \"AMDEP\" was never defined.
   Usually this means the macro was only invoked conditionally." "$LINENO" 5
   fi
   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
     as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   Usually this means the macro was only invoked conditionally." "$LINENO" 5
   fi
  if test -n "$EXEEXT"; then   if test -n "$EXEEXT"; then
   am__EXEEXT_TRUE=    am__EXEEXT_TRUE=
   am__EXEEXT_FALSE='#'    am__EXEEXT_FALSE='#'
Line 6074  else Line 6600  else
   am__EXEEXT_FALSE=    am__EXEEXT_FALSE=
 fi  fi
   
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; thenif test -z "${CYGWIN_TRUE}" && test -z "${CYGWIN_FALSE}"; then
  as_fn_error $? "conditional \"AMDEP\" was never defined.  as_fn_error $? "conditional \"CYGWIN\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi  fi
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; thenif test -z "${WITH_ERROR_TRUE}" && test -z "${WITH_ERROR_FALSE}"; then
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.  as_fn_error $? "conditional \"WITH_ERROR\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi  fi
if test -z "${IPINFO_TRUE}" && test -z "${IPINFO_FALSE}"; thenif test -z "${WITH_GETOPT_TRUE}" && test -z "${WITH_GETOPT_FALSE}"; then
  as_fn_error $? "conditional \"IPINFO\" was never defined.  as_fn_error $? "conditional \"WITH_GETOPT\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi  fi
   if test -z "${WITH_GTK_TRUE}" && test -z "${WITH_GTK_FALSE}"; then
     as_fn_error $? "conditional \"WITH_GTK\" was never defined.
   Usually this means the macro was only invoked conditionally." "$LINENO" 5
   fi
   if test -z "${WITH_CURSES_TRUE}" && test -z "${WITH_CURSES_FALSE}"; then
     as_fn_error $? "conditional \"WITH_CURSES\" was never defined.
   Usually this means the macro was only invoked conditionally." "$LINENO" 5
   fi
   if test -z "${WITH_IPINFO_TRUE}" && test -z "${WITH_IPINFO_FALSE}"; then
     as_fn_error $? "conditional \"WITH_IPINFO\" was never defined.
   Usually this means the macro was only invoked conditionally." "$LINENO" 5
   fi
   if test -z "${BUILD_BASH_COMPLETION_TRUE}" && test -z "${BUILD_BASH_COMPLETION_FALSE}"; then
     as_fn_error $? "conditional \"BUILD_BASH_COMPLETION\" was never defined.
   Usually this means the macro was only invoked conditionally." "$LINENO" 5
   fi
   
 : "${CONFIG_STATUS=./config.status}"  : "${CONFIG_STATUS=./config.status}"
 ac_write_fail=0  ac_write_fail=0
Line 6483  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Line 7025  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.  # values after options handling.
 ac_log="  ac_log="
This file was extended by mtr $as_me 0.86, which wasThis file was extended by mtr $as_me 0.91.1-4c982, which was
 generated by GNU Autoconf 2.69.  Invocation command line was  generated by GNU Autoconf 2.69.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
Line 6543  $config_headers Line 7085  $config_headers
 Configuration commands:  Configuration commands:
 $config_commands  $config_commands
   
Report bugs to the package provider."Report bugs to <R.E.Wolff@BitWizard.nl>.
 mtr home page: <http://www.BitWizard.nl/mtr/>."
   
 _ACEOF  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\  ac_cs_version="\\
mtr config.status 0.86mtr config.status 0.91.1-4c982
 configured by $0, generated by GNU Autoconf 2.69,  configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"    with options \\"\$ac_cs_config\\"
   
Line 6678  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Line 7221  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 for ac_config_target in $ac_config_targets  for ac_config_target in $ac_config_targets
 do  do
   case $ac_config_target in    case $ac_config_target in
     "version.h.tmp") CONFIG_FILES="$CONFIG_FILES version.h.tmp:version.h.in" ;;  
     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;      "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     "img/Makefile") CONFIG_FILES="$CONFIG_FILES img/Makefile" ;;  
   
   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   esac    esac
Line 7408  if test -n "$ac_unrecognized_opts" && test "$enable_op Line 7949  if test -n "$ac_unrecognized_opts" && test "$enable_op
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}  $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 fi  fi
   
   

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>