"Fossies" - the Fresh Open Source Software Archive

Member "xbindkeys-1.8.7/configure" (23 May 2020, 228332 Bytes) of package /linux/privat/xbindkeys-1.8.7.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for xbindkeys 1.8.7.
    4 #
    5 # Report bugs to <hocwp@free.fr>.
    6 #
    7 #
    8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    9 #
   10 #
   11 # This configure script is free software; the Free Software Foundation
   12 # gives unlimited permission to copy, distribute and modify it.
   13 #
   14 # Copyright (C) Philippe Brochard <hocwp@free.fr>
   15 ## -------------------- ##
   16 ## M4sh Initialization. ##
   17 ## -------------------- ##
   18 
   19 # Be more Bourne compatible
   20 DUALCASE=1; export DUALCASE # for MKS sh
   21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   22   emulate sh
   23   NULLCMD=:
   24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   25   # is contrary to our usage.  Disable this feature.
   26   alias -g '${1+"$@"}'='"$@"'
   27   setopt NO_GLOB_SUBST
   28 else
   29   case `(set -o) 2>/dev/null` in #(
   30   *posix*) :
   31     set -o posix ;; #(
   32   *) :
   33      ;;
   34 esac
   35 fi
   36 
   37 
   38 as_nl='
   39 '
   40 export as_nl
   41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   45 # Prefer a ksh shell builtin over an external printf program on Solaris,
   46 # but without wasting forks for bash or zsh.
   47 if test -z "$BASH_VERSION$ZSH_VERSION" \
   48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   49   as_echo='print -r --'
   50   as_echo_n='print -rn --'
   51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   52   as_echo='printf %s\n'
   53   as_echo_n='printf %s'
   54 else
   55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   57     as_echo_n='/usr/ucb/echo -n'
   58   else
   59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   60     as_echo_n_body='eval
   61       arg=$1;
   62       case $arg in #(
   63       *"$as_nl"*)
   64     expr "X$arg" : "X\\(.*\\)$as_nl";
   65     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   66       esac;
   67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   68     '
   69     export as_echo_n_body
   70     as_echo_n='sh -c $as_echo_n_body as_echo'
   71   fi
   72   export as_echo_body
   73   as_echo='sh -c $as_echo_body as_echo'
   74 fi
   75 
   76 # The user is always right.
   77 if test "${PATH_SEPARATOR+set}" != set; then
   78   PATH_SEPARATOR=:
   79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   81       PATH_SEPARATOR=';'
   82   }
   83 fi
   84 
   85 
   86 # IFS
   87 # We need space, tab and new line, in precisely that order.  Quoting is
   88 # there to prevent editors from complaining about space-tab.
   89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   90 # splitting by setting IFS to empty value.)
   91 IFS=" ""    $as_nl"
   92 
   93 # Find who we are.  Look in the path if we contain no directory separator.
   94 as_myself=
   95 case $0 in #((
   96   *[\\/]* ) as_myself=$0 ;;
   97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   98 for as_dir in $PATH
   99 do
  100   IFS=$as_save_IFS
  101   test -z "$as_dir" && as_dir=.
  102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  103   done
  104 IFS=$as_save_IFS
  105 
  106      ;;
  107 esac
  108 # We did not find ourselves, most probably we were run as `sh COMMAND'
  109 # in which case we are not to be found in the path.
  110 if test "x$as_myself" = x; then
  111   as_myself=$0
  112 fi
  113 if test ! -f "$as_myself"; then
  114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  115   exit 1
  116 fi
  117 
  118 # Unset variables that we do not need and which cause bugs (e.g. in
  119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  120 # suppresses any "Segmentation fault" message there.  '((' could
  121 # trigger a bug in pdksh 5.2.14.
  122 for as_var in BASH_ENV ENV MAIL MAILPATH
  123 do eval test x\${$as_var+set} = xset \
  124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  125 done
  126 PS1='$ '
  127 PS2='> '
  128 PS4='+ '
  129 
  130 # NLS nuisances.
  131 LC_ALL=C
  132 export LC_ALL
  133 LANGUAGE=C
  134 export LANGUAGE
  135 
  136 # CDPATH.
  137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  138 
  139 # Use a proper internal environment variable to ensure we don't fall
  140   # into an infinite loop, continuously re-executing ourselves.
  141   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  142     _as_can_reexec=no; export _as_can_reexec;
  143     # We cannot yet assume a decent shell, so we have to provide a
  144 # neutralization value for shells without unset; and this also
  145 # works around shells that cannot unset nonexistent variables.
  146 # Preserve -v and -x to the replacement shell.
  147 BASH_ENV=/dev/null
  148 ENV=/dev/null
  149 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  150 case $- in # ((((
  151   *v*x* | *x*v* ) as_opts=-vx ;;
  152   *v* ) as_opts=-v ;;
  153   *x* ) as_opts=-x ;;
  154   * ) as_opts= ;;
  155 esac
  156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  157 # Admittedly, this is quite paranoid, since all the known shells bail
  158 # out after a failed `exec'.
  159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  160 as_fn_exit 255
  161   fi
  162   # We don't want this to propagate to other subprocesses.
  163           { _as_can_reexec=; unset _as_can_reexec;}
  164 if test "x$CONFIG_SHELL" = x; then
  165   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  166   emulate sh
  167   NULLCMD=:
  168   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  169   # is contrary to our usage.  Disable this feature.
  170   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  171   setopt NO_GLOB_SUBST
  172 else
  173   case \`(set -o) 2>/dev/null\` in #(
  174   *posix*) :
  175     set -o posix ;; #(
  176   *) :
  177      ;;
  178 esac
  179 fi
  180 "
  181   as_required="as_fn_return () { (exit \$1); }
  182 as_fn_success () { as_fn_return 0; }
  183 as_fn_failure () { as_fn_return 1; }
  184 as_fn_ret_success () { return 0; }
  185 as_fn_ret_failure () { return 1; }
  186 
  187 exitcode=0
  188 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  193 
  194 else
  195   exitcode=1; echo positional parameters were not saved.
  196 fi
  197 test x\$exitcode = x0 || exit 1
  198 test -x / || exit 1"
  199   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  200   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  201   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  202   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  203 test \$(( 1 + 1 )) = 2 || exit 1"
  204   if (eval "$as_required") 2>/dev/null; then :
  205   as_have_required=yes
  206 else
  207   as_have_required=no
  208 fi
  209   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  210 
  211 else
  212   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  213 as_found=false
  214 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  215 do
  216   IFS=$as_save_IFS
  217   test -z "$as_dir" && as_dir=.
  218   as_found=:
  219   case $as_dir in #(
  220      /*)
  221        for as_base in sh bash ksh sh5; do
  222          # Try only shells that exist, to save several forks.
  223          as_shell=$as_dir/$as_base
  224          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  225             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  226   CONFIG_SHELL=$as_shell as_have_required=yes
  227            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  228   break 2
  229 fi
  230 fi
  231        done;;
  232        esac
  233   as_found=false
  234 done
  235 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  236           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  237   CONFIG_SHELL=$SHELL as_have_required=yes
  238 fi; }
  239 IFS=$as_save_IFS
  240 
  241 
  242       if test "x$CONFIG_SHELL" != x; then :
  243   export CONFIG_SHELL
  244              # We cannot yet assume a decent shell, so we have to provide a
  245 # neutralization value for shells without unset; and this also
  246 # works around shells that cannot unset nonexistent variables.
  247 # Preserve -v and -x to the replacement shell.
  248 BASH_ENV=/dev/null
  249 ENV=/dev/null
  250 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  251 case $- in # ((((
  252   *v*x* | *x*v* ) as_opts=-vx ;;
  253   *v* ) as_opts=-v ;;
  254   *x* ) as_opts=-x ;;
  255   * ) as_opts= ;;
  256 esac
  257 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  258 # Admittedly, this is quite paranoid, since all the known shells bail
  259 # out after a failed `exec'.
  260 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  261 exit 255
  262 fi
  263 
  264     if test x$as_have_required = xno; then :
  265   $as_echo "$0: This script requires a shell more modern than all"
  266   $as_echo "$0: the shells that I found on your system."
  267   if test x${ZSH_VERSION+set} = xset ; then
  268     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  269     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  270   else
  271     $as_echo "$0: Please tell bug-autoconf@gnu.org and hocwp@free.fr
  272 $0: about your system, including any error possibly output
  273 $0: before this message. Then install a modern shell, or
  274 $0: manually run the script under such a shell if you do
  275 $0: have one."
  276   fi
  277   exit 1
  278 fi
  279 fi
  280 fi
  281 SHELL=${CONFIG_SHELL-/bin/sh}
  282 export SHELL
  283 # Unset more variables known to interfere with behavior of common tools.
  284 CLICOLOR_FORCE= GREP_OPTIONS=
  285 unset CLICOLOR_FORCE GREP_OPTIONS
  286 
  287 ## --------------------- ##
  288 ## M4sh Shell Functions. ##
  289 ## --------------------- ##
  290 # as_fn_unset VAR
  291 # ---------------
  292 # Portably unset VAR.
  293 as_fn_unset ()
  294 {
  295   { eval $1=; unset $1;}
  296 }
  297 as_unset=as_fn_unset
  298 
  299 # as_fn_set_status STATUS
  300 # -----------------------
  301 # Set $? to STATUS, without forking.
  302 as_fn_set_status ()
  303 {
  304   return $1
  305 } # as_fn_set_status
  306 
  307 # as_fn_exit STATUS
  308 # -----------------
  309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  310 as_fn_exit ()
  311 {
  312   set +e
  313   as_fn_set_status $1
  314   exit $1
  315 } # as_fn_exit
  316 
  317 # as_fn_mkdir_p
  318 # -------------
  319 # Create "$as_dir" as a directory, including parents if necessary.
  320 as_fn_mkdir_p ()
  321 {
  322 
  323   case $as_dir in #(
  324   -*) as_dir=./$as_dir;;
  325   esac
  326   test -d "$as_dir" || eval $as_mkdir_p || {
  327     as_dirs=
  328     while :; do
  329       case $as_dir in #(
  330       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  331       *) as_qdir=$as_dir;;
  332       esac
  333       as_dirs="'$as_qdir' $as_dirs"
  334       as_dir=`$as_dirname -- "$as_dir" ||
  335 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  336      X"$as_dir" : 'X\(//\)[^/]' \| \
  337      X"$as_dir" : 'X\(//\)$' \| \
  338      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  339 $as_echo X"$as_dir" |
  340     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  341         s//\1/
  342         q
  343       }
  344       /^X\(\/\/\)[^/].*/{
  345         s//\1/
  346         q
  347       }
  348       /^X\(\/\/\)$/{
  349         s//\1/
  350         q
  351       }
  352       /^X\(\/\).*/{
  353         s//\1/
  354         q
  355       }
  356       s/.*/./; q'`
  357       test -d "$as_dir" && break
  358     done
  359     test -z "$as_dirs" || eval "mkdir $as_dirs"
  360   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  361 
  362 
  363 } # as_fn_mkdir_p
  364 
  365 # as_fn_executable_p FILE
  366 # -----------------------
  367 # Test if FILE is an executable regular file.
  368 as_fn_executable_p ()
  369 {
  370   test -f "$1" && test -x "$1"
  371 } # as_fn_executable_p
  372 # as_fn_append VAR VALUE
  373 # ----------------------
  374 # Append the text in VALUE to the end of the definition contained in VAR. Take
  375 # advantage of any shell optimizations that allow amortized linear growth over
  376 # repeated appends, instead of the typical quadratic growth present in naive
  377 # implementations.
  378 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  379   eval 'as_fn_append ()
  380   {
  381     eval $1+=\$2
  382   }'
  383 else
  384   as_fn_append ()
  385   {
  386     eval $1=\$$1\$2
  387   }
  388 fi # as_fn_append
  389 
  390 # as_fn_arith ARG...
  391 # ------------------
  392 # Perform arithmetic evaluation on the ARGs, and store the result in the
  393 # global $as_val. Take advantage of shells that can avoid forks. The arguments
  394 # must be portable across $(()) and expr.
  395 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  396   eval 'as_fn_arith ()
  397   {
  398     as_val=$(( $* ))
  399   }'
  400 else
  401   as_fn_arith ()
  402   {
  403     as_val=`expr "$@" || test $? -eq 1`
  404   }
  405 fi # as_fn_arith
  406 
  407 
  408 # as_fn_error STATUS ERROR [LINENO LOG_FD]
  409 # ----------------------------------------
  410 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  411 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  412 # script with STATUS, using 1 if that was 0.
  413 as_fn_error ()
  414 {
  415   as_status=$1; test $as_status -eq 0 && as_status=1
  416   if test "$4"; then
  417     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  418     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  419   fi
  420   $as_echo "$as_me: error: $2" >&2
  421   as_fn_exit $as_status
  422 } # as_fn_error
  423 
  424 if expr a : '\(a\)' >/dev/null 2>&1 &&
  425    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  426   as_expr=expr
  427 else
  428   as_expr=false
  429 fi
  430 
  431 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  432   as_basename=basename
  433 else
  434   as_basename=false
  435 fi
  436 
  437 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  438   as_dirname=dirname
  439 else
  440   as_dirname=false
  441 fi
  442 
  443 as_me=`$as_basename -- "$0" ||
  444 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  445      X"$0" : 'X\(//\)$' \| \
  446      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  447 $as_echo X/"$0" |
  448     sed '/^.*\/\([^/][^/]*\)\/*$/{
  449         s//\1/
  450         q
  451       }
  452       /^X\/\(\/\/\)$/{
  453         s//\1/
  454         q
  455       }
  456       /^X\/\(\/\).*/{
  457         s//\1/
  458         q
  459       }
  460       s/.*/./; q'`
  461 
  462 # Avoid depending upon Character Ranges.
  463 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  464 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  465 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  466 as_cr_digits='0123456789'
  467 as_cr_alnum=$as_cr_Letters$as_cr_digits
  468 
  469 
  470   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  471   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  472   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  473   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  474   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  475   sed -n '
  476     p
  477     /[$]LINENO/=
  478   ' <$as_myself |
  479     sed '
  480       s/[$]LINENO.*/&-/
  481       t lineno
  482       b
  483       :lineno
  484       N
  485       :loop
  486       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  487       t loop
  488       s/-\n.*//
  489     ' >$as_me.lineno &&
  490   chmod +x "$as_me.lineno" ||
  491     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  492 
  493   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  494   # already done that, so ensure we don't try to do so again and fall
  495   # in an infinite loop.  This has already happened in practice.
  496   _as_can_reexec=no; export _as_can_reexec
  497   # Don't try to exec as it changes $[0], causing all sort of problems
  498   # (the dirname of $[0] is not the place where we might find the
  499   # original and so on.  Autoconf is especially sensitive to this).
  500   . "./$as_me.lineno"
  501   # Exit status is that of the last command.
  502   exit
  503 }
  504 
  505 ECHO_C= ECHO_N= ECHO_T=
  506 case `echo -n x` in #(((((
  507 -n*)
  508   case `echo 'xy\c'` in
  509   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  510   xy)  ECHO_C='\c';;
  511   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  512        ECHO_T=' ';;
  513   esac;;
  514 *)
  515   ECHO_N='-n';;
  516 esac
  517 
  518 rm -f conf$$ conf$$.exe conf$$.file
  519 if test -d conf$$.dir; then
  520   rm -f conf$$.dir/conf$$.file
  521 else
  522   rm -f conf$$.dir
  523   mkdir conf$$.dir 2>/dev/null
  524 fi
  525 if (echo >conf$$.file) 2>/dev/null; then
  526   if ln -s conf$$.file conf$$ 2>/dev/null; then
  527     as_ln_s='ln -s'
  528     # ... but there are two gotchas:
  529     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  530     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  531     # In both cases, we have to default to `cp -pR'.
  532     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  533       as_ln_s='cp -pR'
  534   elif ln conf$$.file conf$$ 2>/dev/null; then
  535     as_ln_s=ln
  536   else
  537     as_ln_s='cp -pR'
  538   fi
  539 else
  540   as_ln_s='cp -pR'
  541 fi
  542 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  543 rmdir conf$$.dir 2>/dev/null
  544 
  545 if mkdir -p . 2>/dev/null; then
  546   as_mkdir_p='mkdir -p "$as_dir"'
  547 else
  548   test -d ./-p && rmdir ./-p
  549   as_mkdir_p=false
  550 fi
  551 
  552 as_test_x='test -x'
  553 as_executable_p=as_fn_executable_p
  554 
  555 # Sed expression to map a string onto a valid CPP name.
  556 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  557 
  558 # Sed expression to map a string onto a valid variable name.
  559 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  560 
  561 
  562 test -n "$DJDIR" || exec 7<&0 </dev/null
  563 exec 6>&1
  564 
  565 # Name of the host.
  566 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  567 # so uname gets run too.
  568 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  569 
  570 #
  571 # Initializations.
  572 #
  573 ac_default_prefix=/usr/local
  574 ac_clean_files=
  575 ac_config_libobj_dir=.
  576 LIBOBJS=
  577 cross_compiling=no
  578 subdirs=
  579 MFLAGS=
  580 MAKEFLAGS=
  581 
  582 # Identity of this package.
  583 PACKAGE_NAME='xbindkeys'
  584 PACKAGE_TARNAME='xbindkeys'
  585 PACKAGE_VERSION='1.8.7'
  586 PACKAGE_STRING='xbindkeys 1.8.7'
  587 PACKAGE_BUGREPORT='hocwp@free.fr'
  588 PACKAGE_URL=''
  589 
  590 ac_unique_file="xbindkeys.c"
  591 # Factoring default headers for most tests.
  592 ac_includes_default="\
  593 #include <stdio.h>
  594 #ifdef HAVE_SYS_TYPES_H
  595 # include <sys/types.h>
  596 #endif
  597 #ifdef HAVE_SYS_STAT_H
  598 # include <sys/stat.h>
  599 #endif
  600 #ifdef STDC_HEADERS
  601 # include <stdlib.h>
  602 # include <stddef.h>
  603 #else
  604 # ifdef HAVE_STDLIB_H
  605 #  include <stdlib.h>
  606 # endif
  607 #endif
  608 #ifdef HAVE_STRING_H
  609 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  610 #  include <memory.h>
  611 # endif
  612 # include <string.h>
  613 #endif
  614 #ifdef HAVE_STRINGS_H
  615 # include <strings.h>
  616 #endif
  617 #ifdef HAVE_INTTYPES_H
  618 # include <inttypes.h>
  619 #endif
  620 #ifdef HAVE_STDINT_H
  621 # include <stdint.h>
  622 #endif
  623 #ifdef HAVE_UNISTD_H
  624 # include <unistd.h>
  625 #endif"
  626 
  627 ac_subst_vars='am__EXEEXT_FALSE
  628 am__EXEEXT_TRUE
  629 LTLIBOBJS
  630 LIBOBJS
  631 GUILE_FLAG
  632 GUILE_FALSE
  633 GUILE_TRUE
  634 GUILE_LDFLAGS
  635 GUILE_LTLIBS
  636 host_os
  637 host_vendor
  638 host_cpu
  639 host
  640 build_os
  641 build_vendor
  642 build_cpu
  643 build
  644 GUILE_LIBS
  645 GUILE_CFLAGS
  646 GUILE_EFFECTIVE_VERSION
  647 PKG_CONFIG_LIBDIR
  648 PKG_CONFIG_PATH
  649 PKG_CONFIG
  650 TK_FALSE
  651 TK_TRUE
  652 FORK_FLAG
  653 EGREP
  654 GREP
  655 X_EXTRA_LIBS
  656 X_LIBS
  657 X_PRE_LIBS
  658 X_CFLAGS
  659 CPP
  660 XMKMF
  661 am__fastdepCC_FALSE
  662 am__fastdepCC_TRUE
  663 CCDEPMODE
  664 am__nodep
  665 AMDEPBACKSLASH
  666 AMDEP_FALSE
  667 AMDEP_TRUE
  668 am__include
  669 DEPDIR
  670 OBJEXT
  671 EXEEXT
  672 ac_ct_CC
  673 CPPFLAGS
  674 LDFLAGS
  675 CFLAGS
  676 CC
  677 MAINT
  678 MAINTAINER_MODE_FALSE
  679 MAINTAINER_MODE_TRUE
  680 AM_BACKSLASH
  681 AM_DEFAULT_VERBOSITY
  682 AM_DEFAULT_V
  683 AM_V
  684 am__untar
  685 am__tar
  686 AMTAR
  687 am__leading_dot
  688 SET_MAKE
  689 AWK
  690 mkdir_p
  691 MKDIR_P
  692 INSTALL_STRIP_PROGRAM
  693 STRIP
  694 install_sh
  695 MAKEINFO
  696 AUTOHEADER
  697 AUTOMAKE
  698 AUTOCONF
  699 ACLOCAL
  700 VERSION
  701 PACKAGE
  702 CYGPATH_W
  703 am__isrc
  704 INSTALL_DATA
  705 INSTALL_SCRIPT
  706 INSTALL_PROGRAM
  707 target_alias
  708 host_alias
  709 build_alias
  710 LIBS
  711 ECHO_T
  712 ECHO_N
  713 ECHO_C
  714 DEFS
  715 mandir
  716 localedir
  717 libdir
  718 psdir
  719 pdfdir
  720 dvidir
  721 htmldir
  722 infodir
  723 docdir
  724 oldincludedir
  725 includedir
  726 runstatedir
  727 localstatedir
  728 sharedstatedir
  729 sysconfdir
  730 datadir
  731 datarootdir
  732 libexecdir
  733 sbindir
  734 bindir
  735 program_transform_name
  736 prefix
  737 exec_prefix
  738 PACKAGE_URL
  739 PACKAGE_BUGREPORT
  740 PACKAGE_STRING
  741 PACKAGE_VERSION
  742 PACKAGE_TARNAME
  743 PACKAGE_NAME
  744 PATH_SEPARATOR
  745 SHELL
  746 am__quote'
  747 ac_subst_files=''
  748 ac_user_opts='
  749 enable_option_checking
  750 enable_silent_rules
  751 enable_maintainer_mode
  752 enable_dependency_tracking
  753 with_x
  754 enable_fork
  755 enable_tk
  756 enable_guile
  757 with_gnu_ld
  758 enable_rpath
  759 '
  760       ac_precious_vars='build_alias
  761 host_alias
  762 target_alias
  763 CC
  764 CFLAGS
  765 LDFLAGS
  766 LIBS
  767 CPPFLAGS
  768 XMKMF
  769 CPP
  770 PKG_CONFIG
  771 PKG_CONFIG_PATH
  772 PKG_CONFIG_LIBDIR
  773 GUILE_CFLAGS
  774 GUILE_LIBS'
  775 
  776 
  777 # Initialize some variables set by options.
  778 ac_init_help=
  779 ac_init_version=false
  780 ac_unrecognized_opts=
  781 ac_unrecognized_sep=
  782 # The variables have the same names as the options, with
  783 # dashes changed to underlines.
  784 cache_file=/dev/null
  785 exec_prefix=NONE
  786 no_create=
  787 no_recursion=
  788 prefix=NONE
  789 program_prefix=NONE
  790 program_suffix=NONE
  791 program_transform_name=s,x,x,
  792 silent=
  793 site=
  794 srcdir=
  795 verbose=
  796 x_includes=NONE
  797 x_libraries=NONE
  798 
  799 # Installation directory options.
  800 # These are left unexpanded so users can "make install exec_prefix=/foo"
  801 # and all the variables that are supposed to be based on exec_prefix
  802 # by default will actually change.
  803 # Use braces instead of parens because sh, perl, etc. also accept them.
  804 # (The list follows the same order as the GNU Coding Standards.)
  805 bindir='${exec_prefix}/bin'
  806 sbindir='${exec_prefix}/sbin'
  807 libexecdir='${exec_prefix}/libexec'
  808 datarootdir='${prefix}/share'
  809 datadir='${datarootdir}'
  810 sysconfdir='${prefix}/etc'
  811 sharedstatedir='${prefix}/com'
  812 localstatedir='${prefix}/var'
  813 runstatedir='${localstatedir}/run'
  814 includedir='${prefix}/include'
  815 oldincludedir='/usr/include'
  816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  817 infodir='${datarootdir}/info'
  818 htmldir='${docdir}'
  819 dvidir='${docdir}'
  820 pdfdir='${docdir}'
  821 psdir='${docdir}'
  822 libdir='${exec_prefix}/lib'
  823 localedir='${datarootdir}/locale'
  824 mandir='${datarootdir}/man'
  825 
  826 ac_prev=
  827 ac_dashdash=
  828 for ac_option
  829 do
  830   # If the previous option needs an argument, assign it.
  831   if test -n "$ac_prev"; then
  832     eval $ac_prev=\$ac_option
  833     ac_prev=
  834     continue
  835   fi
  836 
  837   case $ac_option in
  838   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  839   *=)   ac_optarg= ;;
  840   *)    ac_optarg=yes ;;
  841   esac
  842 
  843   # Accept the important Cygnus configure options, so we can diagnose typos.
  844 
  845   case $ac_dashdash$ac_option in
  846   --)
  847     ac_dashdash=yes ;;
  848 
  849   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  850     ac_prev=bindir ;;
  851   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  852     bindir=$ac_optarg ;;
  853 
  854   -build | --build | --buil | --bui | --bu)
  855     ac_prev=build_alias ;;
  856   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  857     build_alias=$ac_optarg ;;
  858 
  859   -cache-file | --cache-file | --cache-fil | --cache-fi \
  860   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  861     ac_prev=cache_file ;;
  862   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  863   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  864     cache_file=$ac_optarg ;;
  865 
  866   --config-cache | -C)
  867     cache_file=config.cache ;;
  868 
  869   -datadir | --datadir | --datadi | --datad)
  870     ac_prev=datadir ;;
  871   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  872     datadir=$ac_optarg ;;
  873 
  874   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  875   | --dataroo | --dataro | --datar)
  876     ac_prev=datarootdir ;;
  877   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  878   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  879     datarootdir=$ac_optarg ;;
  880 
  881   -disable-* | --disable-*)
  882     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  883     # Reject names that are not valid shell variable names.
  884     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  885       as_fn_error $? "invalid feature name: $ac_useropt"
  886     ac_useropt_orig=$ac_useropt
  887     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  888     case $ac_user_opts in
  889       *"
  890 "enable_$ac_useropt"
  891 "*) ;;
  892       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  893      ac_unrecognized_sep=', ';;
  894     esac
  895     eval enable_$ac_useropt=no ;;
  896 
  897   -docdir | --docdir | --docdi | --doc | --do)
  898     ac_prev=docdir ;;
  899   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  900     docdir=$ac_optarg ;;
  901 
  902   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  903     ac_prev=dvidir ;;
  904   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  905     dvidir=$ac_optarg ;;
  906 
  907   -enable-* | --enable-*)
  908     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  909     # Reject names that are not valid shell variable names.
  910     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  911       as_fn_error $? "invalid feature name: $ac_useropt"
  912     ac_useropt_orig=$ac_useropt
  913     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  914     case $ac_user_opts in
  915       *"
  916 "enable_$ac_useropt"
  917 "*) ;;
  918       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  919      ac_unrecognized_sep=', ';;
  920     esac
  921     eval enable_$ac_useropt=\$ac_optarg ;;
  922 
  923   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  924   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  925   | --exec | --exe | --ex)
  926     ac_prev=exec_prefix ;;
  927   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  928   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  929   | --exec=* | --exe=* | --ex=*)
  930     exec_prefix=$ac_optarg ;;
  931 
  932   -gas | --gas | --ga | --g)
  933     # Obsolete; use --with-gas.
  934     with_gas=yes ;;
  935 
  936   -help | --help | --hel | --he | -h)
  937     ac_init_help=long ;;
  938   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  939     ac_init_help=recursive ;;
  940   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  941     ac_init_help=short ;;
  942 
  943   -host | --host | --hos | --ho)
  944     ac_prev=host_alias ;;
  945   -host=* | --host=* | --hos=* | --ho=*)
  946     host_alias=$ac_optarg ;;
  947 
  948   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  949     ac_prev=htmldir ;;
  950   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  951   | --ht=*)
  952     htmldir=$ac_optarg ;;
  953 
  954   -includedir | --includedir | --includedi | --included | --include \
  955   | --includ | --inclu | --incl | --inc)
  956     ac_prev=includedir ;;
  957   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  958   | --includ=* | --inclu=* | --incl=* | --inc=*)
  959     includedir=$ac_optarg ;;
  960 
  961   -infodir | --infodir | --infodi | --infod | --info | --inf)
  962     ac_prev=infodir ;;
  963   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  964     infodir=$ac_optarg ;;
  965 
  966   -libdir | --libdir | --libdi | --libd)
  967     ac_prev=libdir ;;
  968   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  969     libdir=$ac_optarg ;;
  970 
  971   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  972   | --libexe | --libex | --libe)
  973     ac_prev=libexecdir ;;
  974   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  975   | --libexe=* | --libex=* | --libe=*)
  976     libexecdir=$ac_optarg ;;
  977 
  978   -localedir | --localedir | --localedi | --localed | --locale)
  979     ac_prev=localedir ;;
  980   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  981     localedir=$ac_optarg ;;
  982 
  983   -localstatedir | --localstatedir | --localstatedi | --localstated \
  984   | --localstate | --localstat | --localsta | --localst | --locals)
  985     ac_prev=localstatedir ;;
  986   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  987   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  988     localstatedir=$ac_optarg ;;
  989 
  990   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  991     ac_prev=mandir ;;
  992   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  993     mandir=$ac_optarg ;;
  994 
  995   -nfp | --nfp | --nf)
  996     # Obsolete; use --without-fp.
  997     with_fp=no ;;
  998 
  999   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1000   | --no-cr | --no-c | -n)
 1001     no_create=yes ;;
 1002 
 1003   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1004   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1005     no_recursion=yes ;;
 1006 
 1007   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1008   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1009   | --oldin | --oldi | --old | --ol | --o)
 1010     ac_prev=oldincludedir ;;
 1011   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1012   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1013   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1014     oldincludedir=$ac_optarg ;;
 1015 
 1016   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1017     ac_prev=prefix ;;
 1018   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1019     prefix=$ac_optarg ;;
 1020 
 1021   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1022   | --program-pre | --program-pr | --program-p)
 1023     ac_prev=program_prefix ;;
 1024   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1025   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1026     program_prefix=$ac_optarg ;;
 1027 
 1028   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1029   | --program-suf | --program-su | --program-s)
 1030     ac_prev=program_suffix ;;
 1031   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1032   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1033     program_suffix=$ac_optarg ;;
 1034 
 1035   -program-transform-name | --program-transform-name \
 1036   | --program-transform-nam | --program-transform-na \
 1037   | --program-transform-n | --program-transform- \
 1038   | --program-transform | --program-transfor \
 1039   | --program-transfo | --program-transf \
 1040   | --program-trans | --program-tran \
 1041   | --progr-tra | --program-tr | --program-t)
 1042     ac_prev=program_transform_name ;;
 1043   -program-transform-name=* | --program-transform-name=* \
 1044   | --program-transform-nam=* | --program-transform-na=* \
 1045   | --program-transform-n=* | --program-transform-=* \
 1046   | --program-transform=* | --program-transfor=* \
 1047   | --program-transfo=* | --program-transf=* \
 1048   | --program-trans=* | --program-tran=* \
 1049   | --progr-tra=* | --program-tr=* | --program-t=*)
 1050     program_transform_name=$ac_optarg ;;
 1051 
 1052   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1053     ac_prev=pdfdir ;;
 1054   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1055     pdfdir=$ac_optarg ;;
 1056 
 1057   -psdir | --psdir | --psdi | --psd | --ps)
 1058     ac_prev=psdir ;;
 1059   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1060     psdir=$ac_optarg ;;
 1061 
 1062   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1063   | -silent | --silent | --silen | --sile | --sil)
 1064     silent=yes ;;
 1065 
 1066   -runstatedir | --runstatedir | --runstatedi | --runstated \
 1067   | --runstate | --runstat | --runsta | --runst | --runs \
 1068   | --run | --ru | --r)
 1069     ac_prev=runstatedir ;;
 1070   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
 1071   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
 1072   | --run=* | --ru=* | --r=*)
 1073     runstatedir=$ac_optarg ;;
 1074 
 1075   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1076     ac_prev=sbindir ;;
 1077   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1078   | --sbi=* | --sb=*)
 1079     sbindir=$ac_optarg ;;
 1080 
 1081   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1082   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1083   | --sharedst | --shareds | --shared | --share | --shar \
 1084   | --sha | --sh)
 1085     ac_prev=sharedstatedir ;;
 1086   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1087   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1088   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1089   | --sha=* | --sh=*)
 1090     sharedstatedir=$ac_optarg ;;
 1091 
 1092   -site | --site | --sit)
 1093     ac_prev=site ;;
 1094   -site=* | --site=* | --sit=*)
 1095     site=$ac_optarg ;;
 1096 
 1097   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1098     ac_prev=srcdir ;;
 1099   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1100     srcdir=$ac_optarg ;;
 1101 
 1102   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1103   | --syscon | --sysco | --sysc | --sys | --sy)
 1104     ac_prev=sysconfdir ;;
 1105   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1106   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1107     sysconfdir=$ac_optarg ;;
 1108 
 1109   -target | --target | --targe | --targ | --tar | --ta | --t)
 1110     ac_prev=target_alias ;;
 1111   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1112     target_alias=$ac_optarg ;;
 1113 
 1114   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1115     verbose=yes ;;
 1116 
 1117   -version | --version | --versio | --versi | --vers | -V)
 1118     ac_init_version=: ;;
 1119 
 1120   -with-* | --with-*)
 1121     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1122     # Reject names that are not valid shell variable names.
 1123     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1124       as_fn_error $? "invalid package name: $ac_useropt"
 1125     ac_useropt_orig=$ac_useropt
 1126     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1127     case $ac_user_opts in
 1128       *"
 1129 "with_$ac_useropt"
 1130 "*) ;;
 1131       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1132      ac_unrecognized_sep=', ';;
 1133     esac
 1134     eval with_$ac_useropt=\$ac_optarg ;;
 1135 
 1136   -without-* | --without-*)
 1137     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1138     # Reject names that are not valid shell variable names.
 1139     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1140       as_fn_error $? "invalid package name: $ac_useropt"
 1141     ac_useropt_orig=$ac_useropt
 1142     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1143     case $ac_user_opts in
 1144       *"
 1145 "with_$ac_useropt"
 1146 "*) ;;
 1147       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1148      ac_unrecognized_sep=', ';;
 1149     esac
 1150     eval with_$ac_useropt=no ;;
 1151 
 1152   --x)
 1153     # Obsolete; use --with-x.
 1154     with_x=yes ;;
 1155 
 1156   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1157   | --x-incl | --x-inc | --x-in | --x-i)
 1158     ac_prev=x_includes ;;
 1159   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1160   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1161     x_includes=$ac_optarg ;;
 1162 
 1163   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1164   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1165     ac_prev=x_libraries ;;
 1166   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1167   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1168     x_libraries=$ac_optarg ;;
 1169 
 1170   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1171 Try \`$0 --help' for more information"
 1172     ;;
 1173 
 1174   *=*)
 1175     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1176     # Reject names that are not valid shell variable names.
 1177     case $ac_envvar in #(
 1178       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1179       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1180     esac
 1181     eval $ac_envvar=\$ac_optarg
 1182     export $ac_envvar ;;
 1183 
 1184   *)
 1185     # FIXME: should be removed in autoconf 3.0.
 1186     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1187     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1188       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1189     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1190     ;;
 1191 
 1192   esac
 1193 done
 1194 
 1195 if test -n "$ac_prev"; then
 1196   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1197   as_fn_error $? "missing argument to $ac_option"
 1198 fi
 1199 
 1200 if test -n "$ac_unrecognized_opts"; then
 1201   case $enable_option_checking in
 1202     no) ;;
 1203     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1204     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1205   esac
 1206 fi
 1207 
 1208 # Check all directory arguments for consistency.
 1209 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1210         datadir sysconfdir sharedstatedir localstatedir includedir \
 1211         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1212         libdir localedir mandir runstatedir
 1213 do
 1214   eval ac_val=\$$ac_var
 1215   # Remove trailing slashes.
 1216   case $ac_val in
 1217     */ )
 1218       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1219       eval $ac_var=\$ac_val;;
 1220   esac
 1221   # Be sure to have absolute directory names.
 1222   case $ac_val in
 1223     [\\/$]* | ?:[\\/]* )  continue;;
 1224     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1225   esac
 1226   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1227 done
 1228 
 1229 # There might be people who depend on the old broken behavior: `$host'
 1230 # used to hold the argument of --host etc.
 1231 # FIXME: To remove some day.
 1232 build=$build_alias
 1233 host=$host_alias
 1234 target=$target_alias
 1235 
 1236 # FIXME: To remove some day.
 1237 if test "x$host_alias" != x; then
 1238   if test "x$build_alias" = x; then
 1239     cross_compiling=maybe
 1240   elif test "x$build_alias" != "x$host_alias"; then
 1241     cross_compiling=yes
 1242   fi
 1243 fi
 1244 
 1245 ac_tool_prefix=
 1246 test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1247 
 1248 test "$silent" = yes && exec 6>/dev/null
 1249 
 1250 
 1251 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1252 ac_ls_di=`ls -di .` &&
 1253 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1254   as_fn_error $? "working directory cannot be determined"
 1255 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1256   as_fn_error $? "pwd does not report name of working directory"
 1257 
 1258 
 1259 # Find the source files, if location was not specified.
 1260 if test -z "$srcdir"; then
 1261   ac_srcdir_defaulted=yes
 1262   # Try the directory containing this script, then the parent directory.
 1263   ac_confdir=`$as_dirname -- "$as_myself" ||
 1264 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1265      X"$as_myself" : 'X\(//\)[^/]' \| \
 1266      X"$as_myself" : 'X\(//\)$' \| \
 1267      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1268 $as_echo X"$as_myself" |
 1269     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1270         s//\1/
 1271         q
 1272       }
 1273       /^X\(\/\/\)[^/].*/{
 1274         s//\1/
 1275         q
 1276       }
 1277       /^X\(\/\/\)$/{
 1278         s//\1/
 1279         q
 1280       }
 1281       /^X\(\/\).*/{
 1282         s//\1/
 1283         q
 1284       }
 1285       s/.*/./; q'`
 1286   srcdir=$ac_confdir
 1287   if test ! -r "$srcdir/$ac_unique_file"; then
 1288     srcdir=..
 1289   fi
 1290 else
 1291   ac_srcdir_defaulted=no
 1292 fi
 1293 if test ! -r "$srcdir/$ac_unique_file"; then
 1294   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1295   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1296 fi
 1297 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1298 ac_abs_confdir=`(
 1299     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1300     pwd)`
 1301 # When building in place, set srcdir=.
 1302 if test "$ac_abs_confdir" = "$ac_pwd"; then
 1303   srcdir=.
 1304 fi
 1305 # Remove unnecessary trailing slashes from srcdir.
 1306 # Double slashes in file names in object file debugging info
 1307 # mess up M-x gdb in Emacs.
 1308 case $srcdir in
 1309 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1310 esac
 1311 for ac_var in $ac_precious_vars; do
 1312   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1313   eval ac_env_${ac_var}_value=\$${ac_var}
 1314   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1315   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1316 done
 1317 
 1318 #
 1319 # Report the --help message.
 1320 #
 1321 if test "$ac_init_help" = "long"; then
 1322   # Omit some internal or obsolete options to make the list less imposing.
 1323   # This message is too long to be a string in the A/UX 3.1 sh.
 1324   cat <<_ACEOF
 1325 \`configure' configures xbindkeys 1.8.7 to adapt to many kinds of systems.
 1326 
 1327 Usage: $0 [OPTION]... [VAR=VALUE]...
 1328 
 1329 To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1330 VAR=VALUE.  See below for descriptions of some of the useful variables.
 1331 
 1332 Defaults for the options are specified in brackets.
 1333 
 1334 Configuration:
 1335   -h, --help              display this help and exit
 1336       --help=short        display options specific to this package
 1337       --help=recursive    display the short help of all the included packages
 1338   -V, --version           display version information and exit
 1339   -q, --quiet, --silent   do not print \`checking ...' messages
 1340       --cache-file=FILE   cache test results in FILE [disabled]
 1341   -C, --config-cache      alias for \`--cache-file=config.cache'
 1342   -n, --no-create         do not create output files
 1343       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1344 
 1345 Installation directories:
 1346   --prefix=PREFIX         install architecture-independent files in PREFIX
 1347                           [$ac_default_prefix]
 1348   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1349                           [PREFIX]
 1350 
 1351 By default, \`make install' will install all the files in
 1352 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1353 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1354 for instance \`--prefix=\$HOME'.
 1355 
 1356 For better control, use the options below.
 1357 
 1358 Fine tuning of the installation directories:
 1359   --bindir=DIR            user executables [EPREFIX/bin]
 1360   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1361   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1362   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1363   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1364   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1365   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
 1366   --libdir=DIR            object code libraries [EPREFIX/lib]
 1367   --includedir=DIR        C header files [PREFIX/include]
 1368   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1369   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1370   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1371   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1372   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1373   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1374   --docdir=DIR            documentation root [DATAROOTDIR/doc/xbindkeys]
 1375   --htmldir=DIR           html documentation [DOCDIR]
 1376   --dvidir=DIR            dvi documentation [DOCDIR]
 1377   --pdfdir=DIR            pdf documentation [DOCDIR]
 1378   --psdir=DIR             ps documentation [DOCDIR]
 1379 _ACEOF
 1380 
 1381   cat <<\_ACEOF
 1382 
 1383 Program names:
 1384   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1385   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1386   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1387 
 1388 X features:
 1389   --x-includes=DIR    X include files are in DIR
 1390   --x-libraries=DIR   X library files are in DIR
 1391 
 1392 System types:
 1393   --build=BUILD     configure for building on BUILD [guessed]
 1394   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1395 _ACEOF
 1396 fi
 1397 
 1398 if test -n "$ac_init_help"; then
 1399   case $ac_init_help in
 1400      short | recursive ) echo "Configuration of xbindkeys 1.8.7:";;
 1401    esac
 1402   cat <<\_ACEOF
 1403 
 1404 Optional Features:
 1405   --disable-option-checking  ignore unrecognized --enable/--with options
 1406   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1407   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1408   --enable-silent-rules   less verbose build output (undo: "make V=1")
 1409   --disable-silent-rules  verbose build output (undo: "make V=0")
 1410   --enable-maintainer-mode
 1411                           enable make rules and dependencies not useful (and
 1412                           sometimes confusing) to the casual installer
 1413   --enable-dependency-tracking
 1414                           do not reject slow dependency extractors
 1415   --disable-dependency-tracking
 1416                           speeds up one-time build
 1417   --disable-fork       No fork+exec to launch program (Use a system call instead)
 1418   --disable-tk    Do not install xbindkeys_show (prevent tk dependency)
 1419   --disable-guile       Disable scheme/guile configuration file style
 1420   --disable-rpath         do not hardcode runtime library paths
 1421 
 1422 Optional Packages:
 1423   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1424   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1425   --with-x                use the X Window System
 1426   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1427 
 1428 Some influential environment variables:
 1429   CC          C compiler command
 1430   CFLAGS      C compiler flags
 1431   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1432               nonstandard directory <lib dir>
 1433   LIBS        libraries to pass to the linker, e.g. -l<library>
 1434   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1435               you have headers in a nonstandard directory <include dir>
 1436   XMKMF       Path to xmkmf, Makefile generator for X Window System
 1437   CPP         C preprocessor
 1438   PKG_CONFIG  path to pkg-config utility
 1439   PKG_CONFIG_PATH
 1440               directories to add to pkg-config's search path
 1441   PKG_CONFIG_LIBDIR
 1442               path overriding pkg-config's built-in search path
 1443   GUILE_CFLAGS
 1444               C compiler flags for GUILE, overriding pkg-config
 1445   GUILE_LIBS  linker flags for GUILE, overriding pkg-config
 1446 
 1447 Use these variables to override the choices made by `configure' or to help
 1448 it to find libraries and programs with nonstandard names/locations.
 1449 
 1450 Report bugs to <hocwp@free.fr>.
 1451 _ACEOF
 1452 ac_status=$?
 1453 fi
 1454 
 1455 if test "$ac_init_help" = "recursive"; then
 1456   # If there are subdirs, report their specific --help.
 1457   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1458     test -d "$ac_dir" ||
 1459       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1460       continue
 1461     ac_builddir=.
 1462 
 1463 case "$ac_dir" in
 1464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1465 *)
 1466   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1467   # A ".." for each directory in $ac_dir_suffix.
 1468   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1469   case $ac_top_builddir_sub in
 1470   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1471   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1472   esac ;;
 1473 esac
 1474 ac_abs_top_builddir=$ac_pwd
 1475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1476 # for backward compatibility:
 1477 ac_top_builddir=$ac_top_build_prefix
 1478 
 1479 case $srcdir in
 1480   .)  # We are building in place.
 1481     ac_srcdir=.
 1482     ac_top_srcdir=$ac_top_builddir_sub
 1483     ac_abs_top_srcdir=$ac_pwd ;;
 1484   [\\/]* | ?:[\\/]* )  # Absolute name.
 1485     ac_srcdir=$srcdir$ac_dir_suffix;
 1486     ac_top_srcdir=$srcdir
 1487     ac_abs_top_srcdir=$srcdir ;;
 1488   *) # Relative name.
 1489     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1490     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1491     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1492 esac
 1493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1494 
 1495     cd "$ac_dir" || { ac_status=$?; continue; }
 1496     # Check for guested configure.
 1497     if test -f "$ac_srcdir/configure.gnu"; then
 1498       echo &&
 1499       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1500     elif test -f "$ac_srcdir/configure"; then
 1501       echo &&
 1502       $SHELL "$ac_srcdir/configure" --help=recursive
 1503     else
 1504       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1505     fi || ac_status=$?
 1506     cd "$ac_pwd" || { ac_status=$?; break; }
 1507   done
 1508 fi
 1509 
 1510 test -n "$ac_init_help" && exit $ac_status
 1511 if $ac_init_version; then
 1512   cat <<\_ACEOF
 1513 xbindkeys configure 1.8.7
 1514 generated by GNU Autoconf 2.69
 1515 
 1516 Copyright (C) 2012 Free Software Foundation, Inc.
 1517 This configure script is free software; the Free Software Foundation
 1518 gives unlimited permission to copy, distribute and modify it.
 1519 
 1520 Copyright (C) Philippe Brochard <hocwp@free.fr>
 1521 _ACEOF
 1522   exit
 1523 fi
 1524 
 1525 ## ------------------------ ##
 1526 ## Autoconf initialization. ##
 1527 ## ------------------------ ##
 1528 
 1529 # ac_fn_c_try_compile LINENO
 1530 # --------------------------
 1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1532 ac_fn_c_try_compile ()
 1533 {
 1534   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1535   rm -f conftest.$ac_objext
 1536   if { { ac_try="$ac_compile"
 1537 case "(($ac_try" in
 1538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1539   *) ac_try_echo=$ac_try;;
 1540 esac
 1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1542 $as_echo "$ac_try_echo"; } >&5
 1543   (eval "$ac_compile") 2>conftest.err
 1544   ac_status=$?
 1545   if test -s conftest.err; then
 1546     grep -v '^ *+' conftest.err >conftest.er1
 1547     cat conftest.er1 >&5
 1548     mv -f conftest.er1 conftest.err
 1549   fi
 1550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1551   test $ac_status = 0; } && {
 1552      test -z "$ac_c_werror_flag" ||
 1553      test ! -s conftest.err
 1554        } && test -s conftest.$ac_objext; then :
 1555   ac_retval=0
 1556 else
 1557   $as_echo "$as_me: failed program was:" >&5
 1558 sed 's/^/| /' conftest.$ac_ext >&5
 1559 
 1560     ac_retval=1
 1561 fi
 1562   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1563   as_fn_set_status $ac_retval
 1564 
 1565 } # ac_fn_c_try_compile
 1566 
 1567 # ac_fn_c_try_cpp LINENO
 1568 # ----------------------
 1569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1570 ac_fn_c_try_cpp ()
 1571 {
 1572   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1573   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1574 case "(($ac_try" in
 1575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1576   *) ac_try_echo=$ac_try;;
 1577 esac
 1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1579 $as_echo "$ac_try_echo"; } >&5
 1580   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1581   ac_status=$?
 1582   if test -s conftest.err; then
 1583     grep -v '^ *+' conftest.err >conftest.er1
 1584     cat conftest.er1 >&5
 1585     mv -f conftest.er1 conftest.err
 1586   fi
 1587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1588   test $ac_status = 0; } > conftest.i && {
 1589      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1590      test ! -s conftest.err
 1591        }; then :
 1592   ac_retval=0
 1593 else
 1594   $as_echo "$as_me: failed program was:" >&5
 1595 sed 's/^/| /' conftest.$ac_ext >&5
 1596 
 1597     ac_retval=1
 1598 fi
 1599   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1600   as_fn_set_status $ac_retval
 1601 
 1602 } # ac_fn_c_try_cpp
 1603 
 1604 # ac_fn_c_try_link LINENO
 1605 # -----------------------
 1606 # Try to link conftest.$ac_ext, and return whether this succeeded.
 1607 ac_fn_c_try_link ()
 1608 {
 1609   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1610   rm -f conftest.$ac_objext conftest$ac_exeext
 1611   if { { ac_try="$ac_link"
 1612 case "(($ac_try" in
 1613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1614   *) ac_try_echo=$ac_try;;
 1615 esac
 1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1617 $as_echo "$ac_try_echo"; } >&5
 1618   (eval "$ac_link") 2>conftest.err
 1619   ac_status=$?
 1620   if test -s conftest.err; then
 1621     grep -v '^ *+' conftest.err >conftest.er1
 1622     cat conftest.er1 >&5
 1623     mv -f conftest.er1 conftest.err
 1624   fi
 1625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1626   test $ac_status = 0; } && {
 1627      test -z "$ac_c_werror_flag" ||
 1628      test ! -s conftest.err
 1629        } && test -s conftest$ac_exeext && {
 1630      test "$cross_compiling" = yes ||
 1631      test -x conftest$ac_exeext
 1632        }; then :
 1633   ac_retval=0
 1634 else
 1635   $as_echo "$as_me: failed program was:" >&5
 1636 sed 's/^/| /' conftest.$ac_ext >&5
 1637 
 1638     ac_retval=1
 1639 fi
 1640   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1641   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1642   # interfere with the next link command; also delete a directory that is
 1643   # left behind by Apple's compiler.  We do this before executing the actions.
 1644   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1645   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1646   as_fn_set_status $ac_retval
 1647 
 1648 } # ac_fn_c_try_link
 1649 
 1650 # ac_fn_c_check_func LINENO FUNC VAR
 1651 # ----------------------------------
 1652 # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1653 ac_fn_c_check_func ()
 1654 {
 1655   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1657 $as_echo_n "checking for $2... " >&6; }
 1658 if eval \${$3+:} false; then :
 1659   $as_echo_n "(cached) " >&6
 1660 else
 1661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1662 /* end confdefs.h.  */
 1663 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1664    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1665 #define $2 innocuous_$2
 1666 
 1667 /* System header to define __stub macros and hopefully few prototypes,
 1668     which can conflict with char $2 (); below.
 1669     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1670     <limits.h> exists even on freestanding compilers.  */
 1671 
 1672 #ifdef __STDC__
 1673 # include <limits.h>
 1674 #else
 1675 # include <assert.h>
 1676 #endif
 1677 
 1678 #undef $2
 1679 
 1680 /* Override any GCC internal prototype to avoid an error.
 1681    Use char because int might match the return type of a GCC
 1682    builtin and then its argument prototype would still apply.  */
 1683 #ifdef __cplusplus
 1684 extern "C"
 1685 #endif
 1686 char $2 ();
 1687 /* The GNU C library defines this for functions which it implements
 1688     to always fail with ENOSYS.  Some functions are actually named
 1689     something starting with __ and the normal name is an alias.  */
 1690 #if defined __stub_$2 || defined __stub___$2
 1691 choke me
 1692 #endif
 1693 
 1694 int
 1695 main ()
 1696 {
 1697 return $2 ();
 1698   ;
 1699   return 0;
 1700 }
 1701 _ACEOF
 1702 if ac_fn_c_try_link "$LINENO"; then :
 1703   eval "$3=yes"
 1704 else
 1705   eval "$3=no"
 1706 fi
 1707 rm -f core conftest.err conftest.$ac_objext \
 1708     conftest$ac_exeext conftest.$ac_ext
 1709 fi
 1710 eval ac_res=\$$3
 1711            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1712 $as_echo "$ac_res" >&6; }
 1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1714 
 1715 } # ac_fn_c_check_func
 1716 
 1717 # ac_fn_c_try_run LINENO
 1718 # ----------------------
 1719 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1720 # that executables *can* be run.
 1721 ac_fn_c_try_run ()
 1722 {
 1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1724   if { { ac_try="$ac_link"
 1725 case "(($ac_try" in
 1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1727   *) ac_try_echo=$ac_try;;
 1728 esac
 1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1730 $as_echo "$ac_try_echo"; } >&5
 1731   (eval "$ac_link") 2>&5
 1732   ac_status=$?
 1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1734   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1735   { { case "(($ac_try" in
 1736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1737   *) ac_try_echo=$ac_try;;
 1738 esac
 1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1740 $as_echo "$ac_try_echo"; } >&5
 1741   (eval "$ac_try") 2>&5
 1742   ac_status=$?
 1743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1744   test $ac_status = 0; }; }; then :
 1745   ac_retval=0
 1746 else
 1747   $as_echo "$as_me: program exited with status $ac_status" >&5
 1748        $as_echo "$as_me: failed program was:" >&5
 1749 sed 's/^/| /' conftest.$ac_ext >&5
 1750 
 1751        ac_retval=$ac_status
 1752 fi
 1753   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1754   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1755   as_fn_set_status $ac_retval
 1756 
 1757 } # ac_fn_c_try_run
 1758 
 1759 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 1760 # -------------------------------------------------------
 1761 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 1762 # the include files in INCLUDES and setting the cache variable VAR
 1763 # accordingly.
 1764 ac_fn_c_check_header_mongrel ()
 1765 {
 1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1767   if eval \${$3+:} false; then :
 1768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1769 $as_echo_n "checking for $2... " >&6; }
 1770 if eval \${$3+:} false; then :
 1771   $as_echo_n "(cached) " >&6
 1772 fi
 1773 eval ac_res=\$$3
 1774            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1775 $as_echo "$ac_res" >&6; }
 1776 else
 1777   # Is the header compilable?
 1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 1779 $as_echo_n "checking $2 usability... " >&6; }
 1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1781 /* end confdefs.h.  */
 1782 $4
 1783 #include <$2>
 1784 _ACEOF
 1785 if ac_fn_c_try_compile "$LINENO"; then :
 1786   ac_header_compiler=yes
 1787 else
 1788   ac_header_compiler=no
 1789 fi
 1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 1792 $as_echo "$ac_header_compiler" >&6; }
 1793 
 1794 # Is the header present?
 1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 1796 $as_echo_n "checking $2 presence... " >&6; }
 1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1798 /* end confdefs.h.  */
 1799 #include <$2>
 1800 _ACEOF
 1801 if ac_fn_c_try_cpp "$LINENO"; then :
 1802   ac_header_preproc=yes
 1803 else
 1804   ac_header_preproc=no
 1805 fi
 1806 rm -f conftest.err conftest.i conftest.$ac_ext
 1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 1808 $as_echo "$ac_header_preproc" >&6; }
 1809 
 1810 # So?  What about this header?
 1811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 1812   yes:no: )
 1813     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 1814 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 1815     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1816 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1817     ;;
 1818   no:yes:* )
 1819     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 1820 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 1821     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 1822 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 1823     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 1824 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 1825     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 1826 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 1827     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1828 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1829 ( $as_echo "## ---------------------------- ##
 1830 ## Report this to hocwp@free.fr ##
 1831 ## ---------------------------- ##"
 1832      ) | sed "s/^/$as_me: WARNING:     /" >&2
 1833     ;;
 1834 esac
 1835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1836 $as_echo_n "checking for $2... " >&6; }
 1837 if eval \${$3+:} false; then :
 1838   $as_echo_n "(cached) " >&6
 1839 else
 1840   eval "$3=\$ac_header_compiler"
 1841 fi
 1842 eval ac_res=\$$3
 1843            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1844 $as_echo "$ac_res" >&6; }
 1845 fi
 1846   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1847 
 1848 } # ac_fn_c_check_header_mongrel
 1849 
 1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1851 # -------------------------------------------------------
 1852 # Tests whether HEADER exists and can be compiled using the include files in
 1853 # INCLUDES, setting the cache variable VAR accordingly.
 1854 ac_fn_c_check_header_compile ()
 1855 {
 1856   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1858 $as_echo_n "checking for $2... " >&6; }
 1859 if eval \${$3+:} false; then :
 1860   $as_echo_n "(cached) " >&6
 1861 else
 1862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1863 /* end confdefs.h.  */
 1864 $4
 1865 #include <$2>
 1866 _ACEOF
 1867 if ac_fn_c_try_compile "$LINENO"; then :
 1868   eval "$3=yes"
 1869 else
 1870   eval "$3=no"
 1871 fi
 1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1873 fi
 1874 eval ac_res=\$$3
 1875            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1876 $as_echo "$ac_res" >&6; }
 1877   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1878 
 1879 } # ac_fn_c_check_header_compile
 1880 
 1881 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1882 # -------------------------------------------
 1883 # Tests whether TYPE exists after having included INCLUDES, setting cache
 1884 # variable VAR accordingly.
 1885 ac_fn_c_check_type ()
 1886 {
 1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1889 $as_echo_n "checking for $2... " >&6; }
 1890 if eval \${$3+:} false; then :
 1891   $as_echo_n "(cached) " >&6
 1892 else
 1893   eval "$3=no"
 1894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1895 /* end confdefs.h.  */
 1896 $4
 1897 int
 1898 main ()
 1899 {
 1900 if (sizeof ($2))
 1901      return 0;
 1902   ;
 1903   return 0;
 1904 }
 1905 _ACEOF
 1906 if ac_fn_c_try_compile "$LINENO"; then :
 1907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1908 /* end confdefs.h.  */
 1909 $4
 1910 int
 1911 main ()
 1912 {
 1913 if (sizeof (($2)))
 1914         return 0;
 1915   ;
 1916   return 0;
 1917 }
 1918 _ACEOF
 1919 if ac_fn_c_try_compile "$LINENO"; then :
 1920 
 1921 else
 1922   eval "$3=yes"
 1923 fi
 1924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1925 fi
 1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1927 fi
 1928 eval ac_res=\$$3
 1929            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1930 $as_echo "$ac_res" >&6; }
 1931   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1932 
 1933 } # ac_fn_c_check_type
 1934 cat >config.log <<_ACEOF
 1935 This file contains any messages produced by compilers while
 1936 running configure, to aid debugging if configure makes a mistake.
 1937 
 1938 It was created by xbindkeys $as_me 1.8.7, which was
 1939 generated by GNU Autoconf 2.69.  Invocation command line was
 1940 
 1941   $ $0 $@
 1942 
 1943 _ACEOF
 1944 exec 5>>config.log
 1945 {
 1946 cat <<_ASUNAME
 1947 ## --------- ##
 1948 ## Platform. ##
 1949 ## --------- ##
 1950 
 1951 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1952 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1953 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1954 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1955 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1956 
 1957 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1958 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1959 
 1960 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1961 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1962 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1963 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 1964 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1965 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1966 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1967 
 1968 _ASUNAME
 1969 
 1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1971 for as_dir in $PATH
 1972 do
 1973   IFS=$as_save_IFS
 1974   test -z "$as_dir" && as_dir=.
 1975     $as_echo "PATH: $as_dir"
 1976   done
 1977 IFS=$as_save_IFS
 1978 
 1979 } >&5
 1980 
 1981 cat >&5 <<_ACEOF
 1982 
 1983 
 1984 ## ----------- ##
 1985 ## Core tests. ##
 1986 ## ----------- ##
 1987 
 1988 _ACEOF
 1989 
 1990 
 1991 # Keep a trace of the command line.
 1992 # Strip out --no-create and --no-recursion so they do not pile up.
 1993 # Strip out --silent because we don't want to record it for future runs.
 1994 # Also quote any args containing shell meta-characters.
 1995 # Make two passes to allow for proper duplicate-argument suppression.
 1996 ac_configure_args=
 1997 ac_configure_args0=
 1998 ac_configure_args1=
 1999 ac_must_keep_next=false
 2000 for ac_pass in 1 2
 2001 do
 2002   for ac_arg
 2003   do
 2004     case $ac_arg in
 2005     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2006     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2007     | -silent | --silent | --silen | --sile | --sil)
 2008       continue ;;
 2009     *\'*)
 2010       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2011     esac
 2012     case $ac_pass in
 2013     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2014     2)
 2015       as_fn_append ac_configure_args1 " '$ac_arg'"
 2016       if test $ac_must_keep_next = true; then
 2017     ac_must_keep_next=false # Got value, back to normal.
 2018       else
 2019     case $ac_arg in
 2020       *=* | --config-cache | -C | -disable-* | --disable-* \
 2021       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2022       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2023       | -with-* | --with-* | -without-* | --without-* | --x)
 2024         case "$ac_configure_args0 " in
 2025           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2026         esac
 2027         ;;
 2028       -* ) ac_must_keep_next=true ;;
 2029     esac
 2030       fi
 2031       as_fn_append ac_configure_args " '$ac_arg'"
 2032       ;;
 2033     esac
 2034   done
 2035 done
 2036 { ac_configure_args0=; unset ac_configure_args0;}
 2037 { ac_configure_args1=; unset ac_configure_args1;}
 2038 
 2039 # When interrupted or exit'd, cleanup temporary files, and complete
 2040 # config.log.  We remove comments because anyway the quotes in there
 2041 # would cause problems or look ugly.
 2042 # WARNING: Use '\'' to represent an apostrophe within the trap.
 2043 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2044 trap 'exit_status=$?
 2045   # Save into config.log some information that might help in debugging.
 2046   {
 2047     echo
 2048 
 2049     $as_echo "## ---------------- ##
 2050 ## Cache variables. ##
 2051 ## ---------------- ##"
 2052     echo
 2053     # The following way of writing the cache mishandles newlines in values,
 2054 (
 2055   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2056     eval ac_val=\$$ac_var
 2057     case $ac_val in #(
 2058     *${as_nl}*)
 2059       case $ac_var in #(
 2060       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2061 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2062       esac
 2063       case $ac_var in #(
 2064       _ | IFS | as_nl) ;; #(
 2065       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2066       *) { eval $ac_var=; unset $ac_var;} ;;
 2067       esac ;;
 2068     esac
 2069   done
 2070   (set) 2>&1 |
 2071     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2072     *${as_nl}ac_space=\ *)
 2073       sed -n \
 2074     "s/'\''/'\''\\\\'\'''\''/g;
 2075       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2076       ;; #(
 2077     *)
 2078       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2079       ;;
 2080     esac |
 2081     sort
 2082 )
 2083     echo
 2084 
 2085     $as_echo "## ----------------- ##
 2086 ## Output variables. ##
 2087 ## ----------------- ##"
 2088     echo
 2089     for ac_var in $ac_subst_vars
 2090     do
 2091       eval ac_val=\$$ac_var
 2092       case $ac_val in
 2093       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2094       esac
 2095       $as_echo "$ac_var='\''$ac_val'\''"
 2096     done | sort
 2097     echo
 2098 
 2099     if test -n "$ac_subst_files"; then
 2100       $as_echo "## ------------------- ##
 2101 ## File substitutions. ##
 2102 ## ------------------- ##"
 2103       echo
 2104       for ac_var in $ac_subst_files
 2105       do
 2106     eval ac_val=\$$ac_var
 2107     case $ac_val in
 2108     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2109     esac
 2110     $as_echo "$ac_var='\''$ac_val'\''"
 2111       done | sort
 2112       echo
 2113     fi
 2114 
 2115     if test -s confdefs.h; then
 2116       $as_echo "## ----------- ##
 2117 ## confdefs.h. ##
 2118 ## ----------- ##"
 2119       echo
 2120       cat confdefs.h
 2121       echo
 2122     fi
 2123     test "$ac_signal" != 0 &&
 2124       $as_echo "$as_me: caught signal $ac_signal"
 2125     $as_echo "$as_me: exit $exit_status"
 2126   } >&5
 2127   rm -f core *.core core.conftest.* &&
 2128     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2129     exit $exit_status
 2130 ' 0
 2131 for ac_signal in 1 2 13 15; do
 2132   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2133 done
 2134 ac_signal=0
 2135 
 2136 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2137 rm -f -r conftest* confdefs.h
 2138 
 2139 $as_echo "/* confdefs.h */" > confdefs.h
 2140 
 2141 # Predefined preprocessor variables.
 2142 
 2143 cat >>confdefs.h <<_ACEOF
 2144 #define PACKAGE_NAME "$PACKAGE_NAME"
 2145 _ACEOF
 2146 
 2147 cat >>confdefs.h <<_ACEOF
 2148 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2149 _ACEOF
 2150 
 2151 cat >>confdefs.h <<_ACEOF
 2152 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2153 _ACEOF
 2154 
 2155 cat >>confdefs.h <<_ACEOF
 2156 #define PACKAGE_STRING "$PACKAGE_STRING"
 2157 _ACEOF
 2158 
 2159 cat >>confdefs.h <<_ACEOF
 2160 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2161 _ACEOF
 2162 
 2163 cat >>confdefs.h <<_ACEOF
 2164 #define PACKAGE_URL "$PACKAGE_URL"
 2165 _ACEOF
 2166 
 2167 
 2168 # Let the site file select an alternate cache file if it wants to.
 2169 # Prefer an explicitly selected file to automatically selected ones.
 2170 ac_site_file1=NONE
 2171 ac_site_file2=NONE
 2172 if test -n "$CONFIG_SITE"; then
 2173   # We do not want a PATH search for config.site.
 2174   case $CONFIG_SITE in #((
 2175     -*)  ac_site_file1=./$CONFIG_SITE;;
 2176     */*) ac_site_file1=$CONFIG_SITE;;
 2177     *)   ac_site_file1=./$CONFIG_SITE;;
 2178   esac
 2179 elif test "x$prefix" != xNONE; then
 2180   ac_site_file1=$prefix/share/config.site
 2181   ac_site_file2=$prefix/etc/config.site
 2182 else
 2183   ac_site_file1=$ac_default_prefix/share/config.site
 2184   ac_site_file2=$ac_default_prefix/etc/config.site
 2185 fi
 2186 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2187 do
 2188   test "x$ac_site_file" = xNONE && continue
 2189   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2190     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2191 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2192     sed 's/^/| /' "$ac_site_file" >&5
 2193     . "$ac_site_file" \
 2194       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2196 as_fn_error $? "failed to load site script $ac_site_file
 2197 See \`config.log' for more details" "$LINENO" 5; }
 2198   fi
 2199 done
 2200 
 2201 if test -r "$cache_file"; then
 2202   # Some versions of bash will fail to source /dev/null (special files
 2203   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2204   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2205     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2206 $as_echo "$as_me: loading cache $cache_file" >&6;}
 2207     case $cache_file in
 2208       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2209       *)                      . "./$cache_file";;
 2210     esac
 2211   fi
 2212 else
 2213   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2214 $as_echo "$as_me: creating cache $cache_file" >&6;}
 2215   >$cache_file
 2216 fi
 2217 
 2218 # Check that the precious variables saved in the cache have kept the same
 2219 # value.
 2220 ac_cache_corrupted=false
 2221 for ac_var in $ac_precious_vars; do
 2222   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2223   eval ac_new_set=\$ac_env_${ac_var}_set
 2224   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2225   eval ac_new_val=\$ac_env_${ac_var}_value
 2226   case $ac_old_set,$ac_new_set in
 2227     set,)
 2228       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2229 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2230       ac_cache_corrupted=: ;;
 2231     ,set)
 2232       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2233 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2234       ac_cache_corrupted=: ;;
 2235     ,);;
 2236     *)
 2237       if test "x$ac_old_val" != "x$ac_new_val"; then
 2238     # differences in whitespace do not lead to failure.
 2239     ac_old_val_w=`echo x $ac_old_val`
 2240     ac_new_val_w=`echo x $ac_new_val`
 2241     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2242       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2243 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2244       ac_cache_corrupted=:
 2245     else
 2246       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2247 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2248       eval $ac_var=\$ac_old_val
 2249     fi
 2250     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2251 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2252     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2253 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2254       fi;;
 2255   esac
 2256   # Pass precious variables to config.status.
 2257   if test "$ac_new_set" = set; then
 2258     case $ac_new_val in
 2259     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2260     *) ac_arg=$ac_var=$ac_new_val ;;
 2261     esac
 2262     case " $ac_configure_args " in
 2263       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2264       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2265     esac
 2266   fi
 2267 done
 2268 if $ac_cache_corrupted; then
 2269   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2271   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2272 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2273   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2274 fi
 2275 ## -------------------- ##
 2276 ## Main body of script. ##
 2277 ## -------------------- ##
 2278 
 2279 ac_ext=c
 2280 ac_cpp='$CPP $CPPFLAGS'
 2281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2284 
 2285 
 2286 
 2287 
 2288 
 2289 # Automake
 2290 am__api_version='1.16'
 2291 
 2292 ac_aux_dir=
 2293 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2294   if test -f "$ac_dir/install-sh"; then
 2295     ac_aux_dir=$ac_dir
 2296     ac_install_sh="$ac_aux_dir/install-sh -c"
 2297     break
 2298   elif test -f "$ac_dir/install.sh"; then
 2299     ac_aux_dir=$ac_dir
 2300     ac_install_sh="$ac_aux_dir/install.sh -c"
 2301     break
 2302   elif test -f "$ac_dir/shtool"; then
 2303     ac_aux_dir=$ac_dir
 2304     ac_install_sh="$ac_aux_dir/shtool install -c"
 2305     break
 2306   fi
 2307 done
 2308 if test -z "$ac_aux_dir"; then
 2309   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2310 fi
 2311 
 2312 # These three variables are undocumented and unsupported,
 2313 # and are intended to be withdrawn in a future Autoconf release.
 2314 # They can cause serious problems if a builder's source tree is in a directory
 2315 # whose full name contains unusual characters.
 2316 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2317 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2318 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2319 
 2320 
 2321 # Find a good install program.  We prefer a C program (faster),
 2322 # so one script is as good as another.  But avoid the broken or
 2323 # incompatible versions:
 2324 # SysV /etc/install, /usr/sbin/install
 2325 # SunOS /usr/etc/install
 2326 # IRIX /sbin/install
 2327 # AIX /bin/install
 2328 # AmigaOS /C/install, which installs bootblocks on floppy discs
 2329 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2330 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2331 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2332 # OS/2's system install, which has a completely different semantic
 2333 # ./install, which can be erroneously created by make from ./install.sh.
 2334 # Reject install programs that cannot install multiple files.
 2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2336 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2337 if test -z "$INSTALL"; then
 2338 if ${ac_cv_path_install+:} false; then :
 2339   $as_echo_n "(cached) " >&6
 2340 else
 2341   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2342 for as_dir in $PATH
 2343 do
 2344   IFS=$as_save_IFS
 2345   test -z "$as_dir" && as_dir=.
 2346     # Account for people who put trailing slashes in PATH elements.
 2347 case $as_dir/ in #((
 2348   ./ | .// | /[cC]/* | \
 2349   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2350   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2351   /usr/ucb/* ) ;;
 2352   *)
 2353     # OSF1 and SCO ODT 3.0 have their own names for install.
 2354     # Don't use installbsd from OSF since it installs stuff as root
 2355     # by default.
 2356     for ac_prog in ginstall scoinst install; do
 2357       for ac_exec_ext in '' $ac_executable_extensions; do
 2358     if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 2359       if test $ac_prog = install &&
 2360         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2361         # AIX install.  It has an incompatible calling convention.
 2362         :
 2363       elif test $ac_prog = install &&
 2364         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2365         # program-specific install script used by HP pwplus--don't use.
 2366         :
 2367       else
 2368         rm -rf conftest.one conftest.two conftest.dir
 2369         echo one > conftest.one
 2370         echo two > conftest.two
 2371         mkdir conftest.dir
 2372         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2373           test -s conftest.one && test -s conftest.two &&
 2374           test -s conftest.dir/conftest.one &&
 2375           test -s conftest.dir/conftest.two
 2376         then
 2377           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2378           break 3
 2379         fi
 2380       fi
 2381     fi
 2382       done
 2383     done
 2384     ;;
 2385 esac
 2386 
 2387   done
 2388 IFS=$as_save_IFS
 2389 
 2390 rm -rf conftest.one conftest.two conftest.dir
 2391 
 2392 fi
 2393   if test "${ac_cv_path_install+set}" = set; then
 2394     INSTALL=$ac_cv_path_install
 2395   else
 2396     # As a last resort, use the slow shell script.  Don't cache a
 2397     # value for INSTALL within a source directory, because that will
 2398     # break other packages using the cache if that directory is
 2399     # removed, or if the value is a relative name.
 2400     INSTALL=$ac_install_sh
 2401   fi
 2402 fi
 2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2404 $as_echo "$INSTALL" >&6; }
 2405 
 2406 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2407 # It thinks the first close brace ends the variable substitution.
 2408 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2409 
 2410 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2411 
 2412 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2413 
 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2415 $as_echo_n "checking whether build environment is sane... " >&6; }
 2416 # Reject unsafe characters in $srcdir or the absolute working directory
 2417 # name.  Accept space and tab only in the latter.
 2418 am_lf='
 2419 '
 2420 case `pwd` in
 2421   *[\\\"\#\$\&\'\`$am_lf]*)
 2422     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2423 esac
 2424 case $srcdir in
 2425   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2426     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 2427 esac
 2428 
 2429 # Do 'set' in a subshell so we don't clobber the current shell's
 2430 # arguments.  Must try -L first in case configure is actually a
 2431 # symlink; some systems play weird games with the mod time of symlinks
 2432 # (eg FreeBSD returns the mod time of the symlink's containing
 2433 # directory).
 2434 if (
 2435    am_has_slept=no
 2436    for am_try in 1 2; do
 2437      echo "timestamp, slept: $am_has_slept" > conftest.file
 2438      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2439      if test "$*" = "X"; then
 2440     # -L didn't work.
 2441     set X `ls -t "$srcdir/configure" conftest.file`
 2442      fi
 2443      if test "$*" != "X $srcdir/configure conftest.file" \
 2444     && test "$*" != "X conftest.file $srcdir/configure"; then
 2445 
 2446     # If neither matched, then we have a broken ls.  This can happen
 2447     # if, for instance, CONFIG_SHELL is bash and it inherits a
 2448     # broken ls alias from the environment.  This has actually
 2449     # happened.  Such a system could not be considered "sane".
 2450     as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2451   alias in your environment" "$LINENO" 5
 2452      fi
 2453      if test "$2" = conftest.file || test $am_try -eq 2; then
 2454        break
 2455      fi
 2456      # Just in case.
 2457      sleep 1
 2458      am_has_slept=yes
 2459    done
 2460    test "$2" = conftest.file
 2461    )
 2462 then
 2463    # Ok.
 2464    :
 2465 else
 2466    as_fn_error $? "newly created file is older than distributed files!
 2467 Check your system clock" "$LINENO" 5
 2468 fi
 2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2470 $as_echo "yes" >&6; }
 2471 # If we didn't sleep, we still need to ensure time stamps of config.status and
 2472 # generated files are strictly newer.
 2473 am_sleep_pid=
 2474 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 2475   ( sleep 1 ) &
 2476   am_sleep_pid=$!
 2477 fi
 2478 
 2479 rm -f conftest.file
 2480 
 2481 test "$program_prefix" != NONE &&
 2482   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2483 # Use a double $ so make ignores it.
 2484 test "$program_suffix" != NONE &&
 2485   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2486 # Double any \ or $.
 2487 # By default was `s,x,x', remove it if useless.
 2488 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2489 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2490 
 2491 # Expand $ac_aux_dir to an absolute path.
 2492 am_aux_dir=`cd "$ac_aux_dir" && pwd`
 2493 
 2494 if test x"${MISSING+set}" != xset; then
 2495   case $am_aux_dir in
 2496   *\ * | *\ *)
 2497     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2498   *)
 2499     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2500   esac
 2501 fi
 2502 # Use eval to expand $SHELL
 2503 if eval "$MISSING --is-lightweight"; then
 2504   am_missing_run="$MISSING "
 2505 else
 2506   am_missing_run=
 2507   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 2508 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 2509 fi
 2510 
 2511 if test x"${install_sh+set}" != xset; then
 2512   case $am_aux_dir in
 2513   *\ * | *\ *)
 2514     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2515   *)
 2516     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2517   esac
 2518 fi
 2519 
 2520 # Installed binaries are usually stripped using 'strip' when the user
 2521 # run "make install-strip".  However 'strip' might not be the right
 2522 # tool to use in cross-compilation environments, therefore Automake
 2523 # will honor the 'STRIP' environment variable to overrule this program.
 2524 if test "$cross_compiling" != no; then
 2525   if test -n "$ac_tool_prefix"; then
 2526   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2527 set dummy ${ac_tool_prefix}strip; ac_word=$2
 2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2529 $as_echo_n "checking for $ac_word... " >&6; }
 2530 if ${ac_cv_prog_STRIP+:} false; then :
 2531   $as_echo_n "(cached) " >&6
 2532 else
 2533   if test -n "$STRIP"; then
 2534   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2535 else
 2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2537 for as_dir in $PATH
 2538 do
 2539   IFS=$as_save_IFS
 2540   test -z "$as_dir" && as_dir=.
 2541     for ac_exec_ext in '' $ac_executable_extensions; do
 2542   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2543     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2544     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2545     break 2
 2546   fi
 2547 done
 2548   done
 2549 IFS=$as_save_IFS
 2550 
 2551 fi
 2552 fi
 2553 STRIP=$ac_cv_prog_STRIP
 2554 if test -n "$STRIP"; then
 2555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2556 $as_echo "$STRIP" >&6; }
 2557 else
 2558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2559 $as_echo "no" >&6; }
 2560 fi
 2561 
 2562 
 2563 fi
 2564 if test -z "$ac_cv_prog_STRIP"; then
 2565   ac_ct_STRIP=$STRIP
 2566   # Extract the first word of "strip", so it can be a program name with args.
 2567 set dummy strip; ac_word=$2
 2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2569 $as_echo_n "checking for $ac_word... " >&6; }
 2570 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 2571   $as_echo_n "(cached) " >&6
 2572 else
 2573   if test -n "$ac_ct_STRIP"; then
 2574   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2575 else
 2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2577 for as_dir in $PATH
 2578 do
 2579   IFS=$as_save_IFS
 2580   test -z "$as_dir" && as_dir=.
 2581     for ac_exec_ext in '' $ac_executable_extensions; do
 2582   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2583     ac_cv_prog_ac_ct_STRIP="strip"
 2584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2585     break 2
 2586   fi
 2587 done
 2588   done
 2589 IFS=$as_save_IFS
 2590 
 2591 fi
 2592 fi
 2593 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2594 if test -n "$ac_ct_STRIP"; then
 2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2596 $as_echo "$ac_ct_STRIP" >&6; }
 2597 else
 2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2599 $as_echo "no" >&6; }
 2600 fi
 2601 
 2602   if test "x$ac_ct_STRIP" = x; then
 2603     STRIP=":"
 2604   else
 2605     case $cross_compiling:$ac_tool_warned in
 2606 yes:)
 2607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2609 ac_tool_warned=yes ;;
 2610 esac
 2611     STRIP=$ac_ct_STRIP
 2612   fi
 2613 else
 2614   STRIP="$ac_cv_prog_STRIP"
 2615 fi
 2616 
 2617 fi
 2618 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 2619 
 2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 2621 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 2622 if test -z "$MKDIR_P"; then
 2623   if ${ac_cv_path_mkdir+:} false; then :
 2624   $as_echo_n "(cached) " >&6
 2625 else
 2626   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2627 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 2628 do
 2629   IFS=$as_save_IFS
 2630   test -z "$as_dir" && as_dir=.
 2631     for ac_prog in mkdir gmkdir; do
 2632      for ac_exec_ext in '' $ac_executable_extensions; do
 2633        as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 2634        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 2635          'mkdir (GNU coreutils) '* | \
 2636          'mkdir (coreutils) '* | \
 2637          'mkdir (fileutils) '4.1*)
 2638            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 2639            break 3;;
 2640        esac
 2641      done
 2642        done
 2643   done
 2644 IFS=$as_save_IFS
 2645 
 2646 fi
 2647 
 2648   test -d ./--version && rmdir ./--version
 2649   if test "${ac_cv_path_mkdir+set}" = set; then
 2650     MKDIR_P="$ac_cv_path_mkdir -p"
 2651   else
 2652     # As a last resort, use the slow shell script.  Don't cache a
 2653     # value for MKDIR_P within a source directory, because that will
 2654     # break other packages using the cache if that directory is
 2655     # removed, or if the value is a relative name.
 2656     MKDIR_P="$ac_install_sh -d"
 2657   fi
 2658 fi
 2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 2660 $as_echo "$MKDIR_P" >&6; }
 2661 
 2662 for ac_prog in gawk mawk nawk awk
 2663 do
 2664   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2665 set dummy $ac_prog; ac_word=$2
 2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2667 $as_echo_n "checking for $ac_word... " >&6; }
 2668 if ${ac_cv_prog_AWK+:} false; then :
 2669   $as_echo_n "(cached) " >&6
 2670 else
 2671   if test -n "$AWK"; then
 2672   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 2673 else
 2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2675 for as_dir in $PATH
 2676 do
 2677   IFS=$as_save_IFS
 2678   test -z "$as_dir" && as_dir=.
 2679     for ac_exec_ext in '' $ac_executable_extensions; do
 2680   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2681     ac_cv_prog_AWK="$ac_prog"
 2682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2683     break 2
 2684   fi
 2685 done
 2686   done
 2687 IFS=$as_save_IFS
 2688 
 2689 fi
 2690 fi
 2691 AWK=$ac_cv_prog_AWK
 2692 if test -n "$AWK"; then
 2693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 2694 $as_echo "$AWK" >&6; }
 2695 else
 2696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2697 $as_echo "no" >&6; }
 2698 fi
 2699 
 2700 
 2701   test -n "$AWK" && break
 2702 done
 2703 
 2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2705 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 2706 set x ${MAKE-make}
 2707 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 2708 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 2709   $as_echo_n "(cached) " >&6
 2710 else
 2711   cat >conftest.make <<\_ACEOF
 2712 SHELL = /bin/sh
 2713 all:
 2714     @echo '@@@%%%=$(MAKE)=@@@%%%'
 2715 _ACEOF
 2716 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 2717 case `${MAKE-make} -f conftest.make 2>/dev/null` in
 2718   *@@@%%%=?*=@@@%%%*)
 2719     eval ac_cv_prog_make_${ac_make}_set=yes;;
 2720   *)
 2721     eval ac_cv_prog_make_${ac_make}_set=no;;
 2722 esac
 2723 rm -f conftest.make
 2724 fi
 2725 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 2726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2727 $as_echo "yes" >&6; }
 2728   SET_MAKE=
 2729 else
 2730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2731 $as_echo "no" >&6; }
 2732   SET_MAKE="MAKE=${MAKE-make}"
 2733 fi
 2734 
 2735 rm -rf .tst 2>/dev/null
 2736 mkdir .tst 2>/dev/null
 2737 if test -d .tst; then
 2738   am__leading_dot=.
 2739 else
 2740   am__leading_dot=_
 2741 fi
 2742 rmdir .tst 2>/dev/null
 2743 
 2744 # Check whether --enable-silent-rules was given.
 2745 if test "${enable_silent_rules+set}" = set; then :
 2746   enableval=$enable_silent_rules;
 2747 fi
 2748 
 2749 case $enable_silent_rules in # (((
 2750   yes) AM_DEFAULT_VERBOSITY=0;;
 2751    no) AM_DEFAULT_VERBOSITY=1;;
 2752     *) AM_DEFAULT_VERBOSITY=1;;
 2753 esac
 2754 am_make=${MAKE-make}
 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 2756 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 2757 if ${am_cv_make_support_nested_variables+:} false; then :
 2758   $as_echo_n "(cached) " >&6
 2759 else
 2760   if $as_echo 'TRUE=$(BAR$(V))
 2761 BAR0=false
 2762 BAR1=true
 2763 V=1
 2764 am__doit:
 2765     @$(TRUE)
 2766 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 2767   am_cv_make_support_nested_variables=yes
 2768 else
 2769   am_cv_make_support_nested_variables=no
 2770 fi
 2771 fi
 2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 2773 $as_echo "$am_cv_make_support_nested_variables" >&6; }
 2774 if test $am_cv_make_support_nested_variables = yes; then
 2775     AM_V='$(V)'
 2776   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 2777 else
 2778   AM_V=$AM_DEFAULT_VERBOSITY
 2779   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 2780 fi
 2781 AM_BACKSLASH='\'
 2782 
 2783 if test "`cd $srcdir && pwd`" != "`pwd`"; then
 2784   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 2785   # is not polluted with repeated "-I."
 2786   am__isrc=' -I$(srcdir)'
 2787   # test to see if srcdir already configured
 2788   if test -f $srcdir/config.status; then
 2789     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 2790   fi
 2791 fi
 2792 
 2793 # test whether we have cygpath
 2794 if test -z "$CYGPATH_W"; then
 2795   if (cygpath --version) >/dev/null 2>/dev/null; then
 2796     CYGPATH_W='cygpath -w'
 2797   else
 2798     CYGPATH_W=echo
 2799   fi
 2800 fi
 2801 
 2802 
 2803 # Define the identity of the package.
 2804  PACKAGE='xbindkeys'
 2805  VERSION='1.8.7'
 2806 
 2807 
 2808 cat >>confdefs.h <<_ACEOF
 2809 #define PACKAGE "$PACKAGE"
 2810 _ACEOF
 2811 
 2812 
 2813 cat >>confdefs.h <<_ACEOF
 2814 #define VERSION "$VERSION"
 2815 _ACEOF
 2816 
 2817 # Some tools Automake needs.
 2818 
 2819 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 2820 
 2821 
 2822 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 2823 
 2824 
 2825 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 2826 
 2827 
 2828 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 2829 
 2830 
 2831 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 2832 
 2833 # For better backward compatibility.  To be removed once Automake 1.9.x
 2834 # dies out for good.  For more background, see:
 2835 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 2836 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 2837 mkdir_p='$(MKDIR_P)'
 2838 
 2839 # We need awk for the "check" target (and possibly the TAP driver).  The
 2840 # system "awk" is bad on some platforms.
 2841 # Always define AMTAR for backward compatibility.  Yes, it's still used
 2842 # in the wild :-(  We should find a proper way to deprecate it ...
 2843 AMTAR='$${TAR-tar}'
 2844 
 2845 
 2846 # We'll loop over all known methods to create a tar archive until one works.
 2847 _am_tools='gnutar  pax cpio none'
 2848 
 2849 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 2850 
 2851 
 2852 
 2853 
 2854 
 2855 
 2856 # POSIX will say in a future version that running "rm -f" with no argument
 2857 # is OK; and we want to be able to make that assumption in our Makefile
 2858 # recipes.  So use an aggressive probe to check that the usage we want is
 2859 # actually supported "in the wild" to an acceptable degree.
 2860 # See automake bug#10828.
 2861 # To make any issue more visible, cause the running configure to be aborted
 2862 # by default if the 'rm' program in use doesn't match our expectations; the
 2863 # user can still override this though.
 2864 if rm -f && rm -fr && rm -rf; then : OK; else
 2865   cat >&2 <<'END'
 2866 Oops!
 2867 
 2868 Your 'rm' program seems unable to run without file operands specified
 2869 on the command line, even when the '-f' option is present.  This is contrary
 2870 to the behaviour of most rm programs out there, and not conforming with
 2871 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 2872 
 2873 Please tell bug-automake@gnu.org about your system, including the value
 2874 of your $PATH and any error possibly output before this message.  This
 2875 can help us improve future automake versions.
 2876 
 2877 END
 2878   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 2879     echo 'Configuration will proceed anyway, since you have set the' >&2
 2880     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 2881     echo >&2
 2882   else
 2883     cat >&2 <<'END'
 2884 Aborting the configuration process, to ensure you take notice of the issue.
 2885 
 2886 You can download and install GNU coreutils to get an 'rm' implementation
 2887 that behaves properly: <https://www.gnu.org/software/coreutils/>.
 2888 
 2889 If you want to complete the configuration process using your problematic
 2890 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 2891 to "yes", and re-run configure.
 2892 
 2893 END
 2894     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 2895   fi
 2896 fi
 2897 
 2898 
 2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 2900 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 2901     # Check whether --enable-maintainer-mode was given.
 2902 if test "${enable_maintainer_mode+set}" = set; then :
 2903   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 2904 else
 2905   USE_MAINTAINER_MODE=no
 2906 fi
 2907 
 2908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 2909 $as_echo "$USE_MAINTAINER_MODE" >&6; }
 2910    if test $USE_MAINTAINER_MODE = yes; then
 2911   MAINTAINER_MODE_TRUE=
 2912   MAINTAINER_MODE_FALSE='#'
 2913 else
 2914   MAINTAINER_MODE_TRUE='#'
 2915   MAINTAINER_MODE_FALSE=
 2916 fi
 2917 
 2918   MAINT=$MAINTAINER_MODE_TRUE
 2919 
 2920 
 2921 
 2922 
 2923 ac_config_headers="$ac_config_headers config.h"
 2924 
 2925 
 2926 ac_ext=c
 2927 ac_cpp='$CPP $CPPFLAGS'
 2928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2931 if test -n "$ac_tool_prefix"; then
 2932   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2933 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2935 $as_echo_n "checking for $ac_word... " >&6; }
 2936 if ${ac_cv_prog_CC+:} false; then :
 2937   $as_echo_n "(cached) " >&6
 2938 else
 2939   if test -n "$CC"; then
 2940   ac_cv_prog_CC="$CC" # Let the user override the test.
 2941 else
 2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2943 for as_dir in $PATH
 2944 do
 2945   IFS=$as_save_IFS
 2946   test -z "$as_dir" && as_dir=.
 2947     for ac_exec_ext in '' $ac_executable_extensions; do
 2948   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2949     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2951     break 2
 2952   fi
 2953 done
 2954   done
 2955 IFS=$as_save_IFS
 2956 
 2957 fi
 2958 fi
 2959 CC=$ac_cv_prog_CC
 2960 if test -n "$CC"; then
 2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2962 $as_echo "$CC" >&6; }
 2963 else
 2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2965 $as_echo "no" >&6; }
 2966 fi
 2967 
 2968 
 2969 fi
 2970 if test -z "$ac_cv_prog_CC"; then
 2971   ac_ct_CC=$CC
 2972   # Extract the first word of "gcc", so it can be a program name with args.
 2973 set dummy gcc; ac_word=$2
 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2975 $as_echo_n "checking for $ac_word... " >&6; }
 2976 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2977   $as_echo_n "(cached) " >&6
 2978 else
 2979   if test -n "$ac_ct_CC"; then
 2980   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2981 else
 2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2983 for as_dir in $PATH
 2984 do
 2985   IFS=$as_save_IFS
 2986   test -z "$as_dir" && as_dir=.
 2987     for ac_exec_ext in '' $ac_executable_extensions; do
 2988   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2989     ac_cv_prog_ac_ct_CC="gcc"
 2990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2991     break 2
 2992   fi
 2993 done
 2994   done
 2995 IFS=$as_save_IFS
 2996 
 2997 fi
 2998 fi
 2999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3000 if test -n "$ac_ct_CC"; then
 3001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3002 $as_echo "$ac_ct_CC" >&6; }
 3003 else
 3004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3005 $as_echo "no" >&6; }
 3006 fi
 3007 
 3008   if test "x$ac_ct_CC" = x; then
 3009     CC=""
 3010   else
 3011     case $cross_compiling:$ac_tool_warned in
 3012 yes:)
 3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3015 ac_tool_warned=yes ;;
 3016 esac
 3017     CC=$ac_ct_CC
 3018   fi
 3019 else
 3020   CC="$ac_cv_prog_CC"
 3021 fi
 3022 
 3023 if test -z "$CC"; then
 3024           if test -n "$ac_tool_prefix"; then
 3025     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3026 set dummy ${ac_tool_prefix}cc; ac_word=$2
 3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3028 $as_echo_n "checking for $ac_word... " >&6; }
 3029 if ${ac_cv_prog_CC+:} false; then :
 3030   $as_echo_n "(cached) " >&6
 3031 else
 3032   if test -n "$CC"; then
 3033   ac_cv_prog_CC="$CC" # Let the user override the test.
 3034 else
 3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3036 for as_dir in $PATH
 3037 do
 3038   IFS=$as_save_IFS
 3039   test -z "$as_dir" && as_dir=.
 3040     for ac_exec_ext in '' $ac_executable_extensions; do
 3041   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3042     ac_cv_prog_CC="${ac_tool_prefix}cc"
 3043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3044     break 2
 3045   fi
 3046 done
 3047   done
 3048 IFS=$as_save_IFS
 3049 
 3050 fi
 3051 fi
 3052 CC=$ac_cv_prog_CC
 3053 if test -n "$CC"; then
 3054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3055 $as_echo "$CC" >&6; }
 3056 else
 3057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3058 $as_echo "no" >&6; }
 3059 fi
 3060 
 3061 
 3062   fi
 3063 fi
 3064 if test -z "$CC"; then
 3065   # Extract the first word of "cc", so it can be a program name with args.
 3066 set dummy cc; ac_word=$2
 3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3068 $as_echo_n "checking for $ac_word... " >&6; }
 3069 if ${ac_cv_prog_CC+:} false; then :
 3070   $as_echo_n "(cached) " >&6
 3071 else
 3072   if test -n "$CC"; then
 3073   ac_cv_prog_CC="$CC" # Let the user override the test.
 3074 else
 3075   ac_prog_rejected=no
 3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3077 for as_dir in $PATH
 3078 do
 3079   IFS=$as_save_IFS
 3080   test -z "$as_dir" && as_dir=.
 3081     for ac_exec_ext in '' $ac_executable_extensions; do
 3082   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3083     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3084        ac_prog_rejected=yes
 3085        continue
 3086      fi
 3087     ac_cv_prog_CC="cc"
 3088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3089     break 2
 3090   fi
 3091 done
 3092   done
 3093 IFS=$as_save_IFS
 3094 
 3095 if test $ac_prog_rejected = yes; then
 3096   # We found a bogon in the path, so make sure we never use it.
 3097   set dummy $ac_cv_prog_CC
 3098   shift
 3099   if test $# != 0; then
 3100     # We chose a different compiler from the bogus one.
 3101     # However, it has the same basename, so the bogon will be chosen
 3102     # first if we set CC to just the basename; use the full file name.
 3103     shift
 3104     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3105   fi
 3106 fi
 3107 fi
 3108 fi
 3109 CC=$ac_cv_prog_CC
 3110 if test -n "$CC"; then
 3111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3112 $as_echo "$CC" >&6; }
 3113 else
 3114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3115 $as_echo "no" >&6; }
 3116 fi
 3117 
 3118 
 3119 fi
 3120 if test -z "$CC"; then
 3121   if test -n "$ac_tool_prefix"; then
 3122   for ac_prog in cl.exe
 3123   do
 3124     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3125 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3127 $as_echo_n "checking for $ac_word... " >&6; }
 3128 if ${ac_cv_prog_CC+:} false; then :
 3129   $as_echo_n "(cached) " >&6
 3130 else
 3131   if test -n "$CC"; then
 3132   ac_cv_prog_CC="$CC" # Let the user override the test.
 3133 else
 3134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3135 for as_dir in $PATH
 3136 do
 3137   IFS=$as_save_IFS
 3138   test -z "$as_dir" && as_dir=.
 3139     for ac_exec_ext in '' $ac_executable_extensions; do
 3140   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3141     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3143     break 2
 3144   fi
 3145 done
 3146   done
 3147 IFS=$as_save_IFS
 3148 
 3149 fi
 3150 fi
 3151 CC=$ac_cv_prog_CC
 3152 if test -n "$CC"; then
 3153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3154 $as_echo "$CC" >&6; }
 3155 else
 3156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3157 $as_echo "no" >&6; }
 3158 fi
 3159 
 3160 
 3161     test -n "$CC" && break
 3162   done
 3163 fi
 3164 if test -z "$CC"; then
 3165   ac_ct_CC=$CC
 3166   for ac_prog in cl.exe
 3167 do
 3168   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3169 set dummy $ac_prog; ac_word=$2
 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3171 $as_echo_n "checking for $ac_word... " >&6; }
 3172 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3173   $as_echo_n "(cached) " >&6
 3174 else
 3175   if test -n "$ac_ct_CC"; then
 3176   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3177 else
 3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3179 for as_dir in $PATH
 3180 do
 3181   IFS=$as_save_IFS
 3182   test -z "$as_dir" && as_dir=.
 3183     for ac_exec_ext in '' $ac_executable_extensions; do
 3184   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3185     ac_cv_prog_ac_ct_CC="$ac_prog"
 3186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3187     break 2
 3188   fi
 3189 done
 3190   done
 3191 IFS=$as_save_IFS
 3192 
 3193 fi
 3194 fi
 3195 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3196 if test -n "$ac_ct_CC"; then
 3197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3198 $as_echo "$ac_ct_CC" >&6; }
 3199 else
 3200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3201 $as_echo "no" >&6; }
 3202 fi
 3203 
 3204 
 3205   test -n "$ac_ct_CC" && break
 3206 done
 3207 
 3208   if test "x$ac_ct_CC" = x; then
 3209     CC=""
 3210   else
 3211     case $cross_compiling:$ac_tool_warned in
 3212 yes:)
 3213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3215 ac_tool_warned=yes ;;
 3216 esac
 3217     CC=$ac_ct_CC
 3218   fi
 3219 fi
 3220 
 3221 fi
 3222 
 3223 
 3224 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3226 as_fn_error $? "no acceptable C compiler found in \$PATH
 3227 See \`config.log' for more details" "$LINENO" 5; }
 3228 
 3229 # Provide some information about the compiler.
 3230 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3231 set X $ac_compile
 3232 ac_compiler=$2
 3233 for ac_option in --version -v -V -qversion; do
 3234   { { ac_try="$ac_compiler $ac_option >&5"
 3235 case "(($ac_try" in
 3236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3237   *) ac_try_echo=$ac_try;;
 3238 esac
 3239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3240 $as_echo "$ac_try_echo"; } >&5
 3241   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3242   ac_status=$?
 3243   if test -s conftest.err; then
 3244     sed '10a\
 3245 ... rest of stderr output deleted ...
 3246          10q' conftest.err >conftest.er1
 3247     cat conftest.er1 >&5
 3248   fi
 3249   rm -f conftest.er1 conftest.err
 3250   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3251   test $ac_status = 0; }
 3252 done
 3253 
 3254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3255 /* end confdefs.h.  */
 3256 
 3257 int
 3258 main ()
 3259 {
 3260 
 3261   ;
 3262   return 0;
 3263 }
 3264 _ACEOF
 3265 ac_clean_files_save=$ac_clean_files
 3266 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3267 # Try to create an executable without -o first, disregard a.out.
 3268 # It will help us diagnose broken compilers, and finding out an intuition
 3269 # of exeext.
 3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3271 $as_echo_n "checking whether the C compiler works... " >&6; }
 3272 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3273 
 3274 # The possible output files:
 3275 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3276 
 3277 ac_rmfiles=
 3278 for ac_file in $ac_files
 3279 do
 3280   case $ac_file in
 3281     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3282     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3283   esac
 3284 done
 3285 rm -f $ac_rmfiles
 3286 
 3287 if { { ac_try="$ac_link_default"
 3288 case "(($ac_try" in
 3289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3290   *) ac_try_echo=$ac_try;;
 3291 esac
 3292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3293 $as_echo "$ac_try_echo"; } >&5
 3294   (eval "$ac_link_default") 2>&5
 3295   ac_status=$?
 3296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3297   test $ac_status = 0; }; then :
 3298   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3299 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3300 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3301 # so that the user can short-circuit this test for compilers unknown to
 3302 # Autoconf.
 3303 for ac_file in $ac_files ''
 3304 do
 3305   test -f "$ac_file" || continue
 3306   case $ac_file in
 3307     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3308     ;;
 3309     [ab].out )
 3310     # We found the default executable, but exeext='' is most
 3311     # certainly right.
 3312     break;;
 3313     *.* )
 3314     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3315     then :; else
 3316        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3317     fi
 3318     # We set ac_cv_exeext here because the later test for it is not
 3319     # safe: cross compilers may not add the suffix if given an `-o'
 3320     # argument, so we may need to know it at that point already.
 3321     # Even if this section looks crufty: it has the advantage of
 3322     # actually working.
 3323     break;;
 3324     * )
 3325     break;;
 3326   esac
 3327 done
 3328 test "$ac_cv_exeext" = no && ac_cv_exeext=
 3329 
 3330 else
 3331   ac_file=''
 3332 fi
 3333 if test -z "$ac_file"; then :
 3334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3335 $as_echo "no" >&6; }
 3336 $as_echo "$as_me: failed program was:" >&5
 3337 sed 's/^/| /' conftest.$ac_ext >&5
 3338 
 3339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3341 as_fn_error 77 "C compiler cannot create executables
 3342 See \`config.log' for more details" "$LINENO" 5; }
 3343 else
 3344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3345 $as_echo "yes" >&6; }
 3346 fi
 3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3348 $as_echo_n "checking for C compiler default output file name... " >&6; }
 3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3350 $as_echo "$ac_file" >&6; }
 3351 ac_exeext=$ac_cv_exeext
 3352 
 3353 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3354 ac_clean_files=$ac_clean_files_save
 3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3356 $as_echo_n "checking for suffix of executables... " >&6; }
 3357 if { { ac_try="$ac_link"
 3358 case "(($ac_try" in
 3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3360   *) ac_try_echo=$ac_try;;
 3361 esac
 3362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3363 $as_echo "$ac_try_echo"; } >&5
 3364   (eval "$ac_link") 2>&5
 3365   ac_status=$?
 3366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3367   test $ac_status = 0; }; then :
 3368   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3369 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3370 # work properly (i.e., refer to `conftest.exe'), while it won't with
 3371 # `rm'.
 3372 for ac_file in conftest.exe conftest conftest.*; do
 3373   test -f "$ac_file" || continue
 3374   case $ac_file in
 3375     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3376     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3377       break;;
 3378     * ) break;;
 3379   esac
 3380 done
 3381 else
 3382   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3384 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3385 See \`config.log' for more details" "$LINENO" 5; }
 3386 fi
 3387 rm -f conftest conftest$ac_cv_exeext
 3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3389 $as_echo "$ac_cv_exeext" >&6; }
 3390 
 3391 rm -f conftest.$ac_ext
 3392 EXEEXT=$ac_cv_exeext
 3393 ac_exeext=$EXEEXT
 3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3395 /* end confdefs.h.  */
 3396 #include <stdio.h>
 3397 int
 3398 main ()
 3399 {
 3400 FILE *f = fopen ("conftest.out", "w");
 3401  return ferror (f) || fclose (f) != 0;
 3402 
 3403   ;
 3404   return 0;
 3405 }
 3406 _ACEOF
 3407 ac_clean_files="$ac_clean_files conftest.out"
 3408 # Check that the compiler produces executables we can run.  If not, either
 3409 # the compiler is broken, or we cross compile.
 3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3411 $as_echo_n "checking whether we are cross compiling... " >&6; }
 3412 if test "$cross_compiling" != yes; then
 3413   { { ac_try="$ac_link"
 3414 case "(($ac_try" in
 3415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3416   *) ac_try_echo=$ac_try;;
 3417 esac
 3418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3419 $as_echo "$ac_try_echo"; } >&5
 3420   (eval "$ac_link") 2>&5
 3421   ac_status=$?
 3422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3423   test $ac_status = 0; }
 3424   if { ac_try='./conftest$ac_cv_exeext'
 3425   { { case "(($ac_try" in
 3426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3427   *) ac_try_echo=$ac_try;;
 3428 esac
 3429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3430 $as_echo "$ac_try_echo"; } >&5
 3431   (eval "$ac_try") 2>&5
 3432   ac_status=$?
 3433   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3434   test $ac_status = 0; }; }; then
 3435     cross_compiling=no
 3436   else
 3437     if test "$cross_compiling" = maybe; then
 3438     cross_compiling=yes
 3439     else
 3440     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3442 as_fn_error $? "cannot run C compiled programs.
 3443 If you meant to cross compile, use \`--host'.
 3444 See \`config.log' for more details" "$LINENO" 5; }
 3445     fi
 3446   fi
 3447 fi
 3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3449 $as_echo "$cross_compiling" >&6; }
 3450 
 3451 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3452 ac_clean_files=$ac_clean_files_save
 3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3454 $as_echo_n "checking for suffix of object files... " >&6; }
 3455 if ${ac_cv_objext+:} false; then :
 3456   $as_echo_n "(cached) " >&6
 3457 else
 3458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3459 /* end confdefs.h.  */
 3460 
 3461 int
 3462 main ()
 3463 {
 3464 
 3465   ;
 3466   return 0;
 3467 }
 3468 _ACEOF
 3469 rm -f conftest.o conftest.obj
 3470 if { { ac_try="$ac_compile"
 3471 case "(($ac_try" in
 3472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3473   *) ac_try_echo=$ac_try;;
 3474 esac
 3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3476 $as_echo "$ac_try_echo"; } >&5
 3477   (eval "$ac_compile") 2>&5
 3478   ac_status=$?
 3479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3480   test $ac_status = 0; }; then :
 3481   for ac_file in conftest.o conftest.obj conftest.*; do
 3482   test -f "$ac_file" || continue;
 3483   case $ac_file in
 3484     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3485     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3486        break;;
 3487   esac
 3488 done
 3489 else
 3490   $as_echo "$as_me: failed program was:" >&5
 3491 sed 's/^/| /' conftest.$ac_ext >&5
 3492 
 3493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3495 as_fn_error $? "cannot compute suffix of object files: cannot compile
 3496 See \`config.log' for more details" "$LINENO" 5; }
 3497 fi
 3498 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3499 fi
 3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3501 $as_echo "$ac_cv_objext" >&6; }
 3502 OBJEXT=$ac_cv_objext
 3503 ac_objext=$OBJEXT
 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3505 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3506 if ${ac_cv_c_compiler_gnu+:} false; then :
 3507   $as_echo_n "(cached) " >&6
 3508 else
 3509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3510 /* end confdefs.h.  */
 3511 
 3512 int
 3513 main ()
 3514 {
 3515 #ifndef __GNUC__
 3516        choke me
 3517 #endif
 3518 
 3519   ;
 3520   return 0;
 3521 }
 3522 _ACEOF
 3523 if ac_fn_c_try_compile "$LINENO"; then :
 3524   ac_compiler_gnu=yes
 3525 else
 3526   ac_compiler_gnu=no
 3527 fi
 3528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3529 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3530 
 3531 fi
 3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3533 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3534 if test $ac_compiler_gnu = yes; then
 3535   GCC=yes
 3536 else
 3537   GCC=
 3538 fi
 3539 ac_test_CFLAGS=${CFLAGS+set}
 3540 ac_save_CFLAGS=$CFLAGS
 3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3542 $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3543 if ${ac_cv_prog_cc_g+:} false; then :
 3544   $as_echo_n "(cached) " >&6
 3545 else
 3546   ac_save_c_werror_flag=$ac_c_werror_flag
 3547    ac_c_werror_flag=yes
 3548    ac_cv_prog_cc_g=no
 3549    CFLAGS="-g"
 3550    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3551 /* end confdefs.h.  */
 3552 
 3553 int
 3554 main ()
 3555 {
 3556 
 3557   ;
 3558   return 0;
 3559 }
 3560 _ACEOF
 3561 if ac_fn_c_try_compile "$LINENO"; then :
 3562   ac_cv_prog_cc_g=yes
 3563 else
 3564   CFLAGS=""
 3565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3566 /* end confdefs.h.  */
 3567 
 3568 int
 3569 main ()
 3570 {
 3571 
 3572   ;
 3573   return 0;
 3574 }
 3575 _ACEOF
 3576 if ac_fn_c_try_compile "$LINENO"; then :
 3577 
 3578 else
 3579   ac_c_werror_flag=$ac_save_c_werror_flag
 3580      CFLAGS="-g"
 3581      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3582 /* end confdefs.h.  */
 3583 
 3584 int
 3585 main ()
 3586 {
 3587 
 3588   ;
 3589   return 0;
 3590 }
 3591 _ACEOF
 3592 if ac_fn_c_try_compile "$LINENO"; then :
 3593   ac_cv_prog_cc_g=yes
 3594 fi
 3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3596 fi
 3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3598 fi
 3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3600    ac_c_werror_flag=$ac_save_c_werror_flag
 3601 fi
 3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3603 $as_echo "$ac_cv_prog_cc_g" >&6; }
 3604 if test "$ac_test_CFLAGS" = set; then
 3605   CFLAGS=$ac_save_CFLAGS
 3606 elif test $ac_cv_prog_cc_g = yes; then
 3607   if test "$GCC" = yes; then
 3608     CFLAGS="-g -O2"
 3609   else
 3610     CFLAGS="-g"
 3611   fi
 3612 else
 3613   if test "$GCC" = yes; then
 3614     CFLAGS="-O2"
 3615   else
 3616     CFLAGS=
 3617   fi
 3618 fi
 3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3620 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3621 if ${ac_cv_prog_cc_c89+:} false; then :
 3622   $as_echo_n "(cached) " >&6
 3623 else
 3624   ac_cv_prog_cc_c89=no
 3625 ac_save_CC=$CC
 3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3627 /* end confdefs.h.  */
 3628 #include <stdarg.h>
 3629 #include <stdio.h>
 3630 struct stat;
 3631 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3632 struct buf { int x; };
 3633 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3634 static char *e (p, i)
 3635      char **p;
 3636      int i;
 3637 {
 3638   return p[i];
 3639 }
 3640 static char *f (char * (*g) (char **, int), char **p, ...)
 3641 {
 3642   char *s;
 3643   va_list v;
 3644   va_start (v,p);
 3645   s = g (p, va_arg (v,int));
 3646   va_end (v);
 3647   return s;
 3648 }
 3649 
 3650 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3651    function prototypes and stuff, but not '\xHH' hex character constants.
 3652    These don't provoke an error unfortunately, instead are silently treated
 3653    as 'x'.  The following induces an error, until -std is added to get
 3654    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3655    array size at least.  It's necessary to write '\x00'==0 to get something
 3656    that's true only with -std.  */
 3657 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3658 
 3659 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3660    inside strings and character constants.  */
 3661 #define FOO(x) 'x'
 3662 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3663 
 3664 int test (int i, double x);
 3665 struct s1 {int (*f) (int a);};
 3666 struct s2 {int (*f) (double a);};
 3667 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3668 int argc;
 3669 char **argv;
 3670 int
 3671 main ()
 3672 {
 3673 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3674   ;
 3675   return 0;
 3676 }
 3677 _ACEOF
 3678 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3679     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3680 do
 3681   CC="$ac_save_CC $ac_arg"
 3682   if ac_fn_c_try_compile "$LINENO"; then :
 3683   ac_cv_prog_cc_c89=$ac_arg
 3684 fi
 3685 rm -f core conftest.err conftest.$ac_objext
 3686   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3687 done
 3688 rm -f conftest.$ac_ext
 3689 CC=$ac_save_CC
 3690 
 3691 fi
 3692 # AC_CACHE_VAL
 3693 case "x$ac_cv_prog_cc_c89" in
 3694   x)
 3695     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3696 $as_echo "none needed" >&6; } ;;
 3697   xno)
 3698     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3699 $as_echo "unsupported" >&6; } ;;
 3700   *)
 3701     CC="$CC $ac_cv_prog_cc_c89"
 3702     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3703 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3704 esac
 3705 if test "x$ac_cv_prog_cc_c89" != xno; then :
 3706 
 3707 fi
 3708 
 3709 ac_ext=c
 3710 ac_cpp='$CPP $CPPFLAGS'
 3711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3714 
 3715 ac_ext=c
 3716 ac_cpp='$CPP $CPPFLAGS'
 3717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 3721 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 3722 if ${am_cv_prog_cc_c_o+:} false; then :
 3723   $as_echo_n "(cached) " >&6
 3724 else
 3725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3726 /* end confdefs.h.  */
 3727 
 3728 int
 3729 main ()
 3730 {
 3731 
 3732   ;
 3733   return 0;
 3734 }
 3735 _ACEOF
 3736   # Make sure it works both with $CC and with simple cc.
 3737   # Following AC_PROG_CC_C_O, we do the test twice because some
 3738   # compilers refuse to overwrite an existing .o file with -o,
 3739   # though they will create one.
 3740   am_cv_prog_cc_c_o=yes
 3741   for am_i in 1 2; do
 3742     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 3743    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 3744    ac_status=$?
 3745    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3746    (exit $ac_status); } \
 3747          && test -f conftest2.$ac_objext; then
 3748       : OK
 3749     else
 3750       am_cv_prog_cc_c_o=no
 3751       break
 3752     fi
 3753   done
 3754   rm -f core conftest*
 3755   unset am_i
 3756 fi
 3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 3758 $as_echo "$am_cv_prog_cc_c_o" >&6; }
 3759 if test "$am_cv_prog_cc_c_o" != yes; then
 3760    # Losing compiler, so override with the script.
 3761    # FIXME: It is wrong to rewrite CC.
 3762    # But if we don't then we get into trouble of one sort or another.
 3763    # A longer-term fix would be to have automake use am__CC in this case,
 3764    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 3765    CC="$am_aux_dir/compile $CC"
 3766 fi
 3767 ac_ext=c
 3768 ac_cpp='$CPP $CPPFLAGS'
 3769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3772 
 3773 DEPDIR="${am__leading_dot}deps"
 3774 
 3775 ac_config_commands="$ac_config_commands depfiles"
 3776 
 3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
 3778 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
 3779 cat > confinc.mk << 'END'
 3780 am__doit:
 3781     @echo this is the am__doit target >confinc.out
 3782 .PHONY: am__doit
 3783 END
 3784 am__include="#"
 3785 am__quote=
 3786 # BSD make does it like this.
 3787 echo '.include "confinc.mk" # ignored' > confmf.BSD
 3788 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
 3789 echo 'include confinc.mk # ignored' > confmf.GNU
 3790 _am_result=no
 3791 for s in GNU BSD; do
 3792   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
 3793    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
 3794    ac_status=$?
 3795    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3796    (exit $ac_status); }
 3797   case $?:`cat confinc.out 2>/dev/null` in #(
 3798   '0:this is the am__doit target') :
 3799     case $s in #(
 3800   BSD) :
 3801     am__include='.include' am__quote='"' ;; #(
 3802   *) :
 3803     am__include='include' am__quote='' ;;
 3804 esac ;; #(
 3805   *) :
 3806      ;;
 3807 esac
 3808   if test "$am__include" != "#"; then
 3809     _am_result="yes ($s style)"
 3810     break
 3811   fi
 3812 done
 3813 rm -f confinc.* confmf.*
 3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
 3815 $as_echo "${_am_result}" >&6; }
 3816 
 3817 # Check whether --enable-dependency-tracking was given.
 3818 if test "${enable_dependency_tracking+set}" = set; then :
 3819   enableval=$enable_dependency_tracking;
 3820 fi
 3821 
 3822 if test "x$enable_dependency_tracking" != xno; then
 3823   am_depcomp="$ac_aux_dir/depcomp"
 3824   AMDEPBACKSLASH='\'
 3825   am__nodep='_no'
 3826 fi
 3827  if test "x$enable_dependency_tracking" != xno; then
 3828   AMDEP_TRUE=
 3829   AMDEP_FALSE='#'
 3830 else
 3831   AMDEP_TRUE='#'
 3832   AMDEP_FALSE=
 3833 fi
 3834 
 3835 
 3836 
 3837 depcc="$CC"   am_compiler_list=
 3838 
 3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3840 $as_echo_n "checking dependency style of $depcc... " >&6; }
 3841 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 3842   $as_echo_n "(cached) " >&6
 3843 else
 3844   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3845   # We make a subdir and do the tests there.  Otherwise we can end up
 3846   # making bogus files that we don't know about and never remove.  For
 3847   # instance it was reported that on HP-UX the gcc test will end up
 3848   # making a dummy file named 'D' -- because '-MD' means "put the output
 3849   # in D".
 3850   rm -rf conftest.dir
 3851   mkdir conftest.dir
 3852   # Copy depcomp to subdir because otherwise we won't find it if we're
 3853   # using a relative directory.
 3854   cp "$am_depcomp" conftest.dir
 3855   cd conftest.dir
 3856   # We will build objects and dependencies in a subdirectory because
 3857   # it helps to detect inapplicable dependency modes.  For instance
 3858   # both Tru64's cc and ICC support -MD to output dependencies as a
 3859   # side effect of compilation, but ICC will put the dependencies in
 3860   # the current directory while Tru64 will put them in the object
 3861   # directory.
 3862   mkdir sub
 3863 
 3864   am_cv_CC_dependencies_compiler_type=none
 3865   if test "$am_compiler_list" = ""; then
 3866      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3867   fi
 3868   am__universal=false
 3869   case " $depcc " in #(
 3870      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 3871      esac
 3872 
 3873   for depmode in $am_compiler_list; do
 3874     # Setup a source with many dependencies, because some compilers
 3875     # like to wrap large dependency lists on column 80 (with \), and
 3876     # we should not choose a depcomp mode which is confused by this.
 3877     #
 3878     # We need to recreate these files for each test, as the compiler may
 3879     # overwrite some of them when testing with obscure command lines.
 3880     # This happens at least with the AIX C compiler.
 3881     : > sub/conftest.c
 3882     for i in 1 2 3 4 5 6; do
 3883       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3884       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 3885       # Solaris 10 /bin/sh.
 3886       echo '/* dummy */' > sub/conftst$i.h
 3887     done
 3888     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3889 
 3890     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 3891     # mode.  It turns out that the SunPro C++ compiler does not properly
 3892     # handle '-M -o', and we need to detect this.  Also, some Intel
 3893     # versions had trouble with output in subdirs.
 3894     am__obj=sub/conftest.${OBJEXT-o}
 3895     am__minus_obj="-o $am__obj"
 3896     case $depmode in
 3897     gcc)
 3898       # This depmode causes a compiler race in universal mode.
 3899       test "$am__universal" = false || continue
 3900       ;;
 3901     nosideeffect)
 3902       # After this tag, mechanisms are not by side-effect, so they'll
 3903       # only be used when explicitly requested.
 3904       if test "x$enable_dependency_tracking" = xyes; then
 3905     continue
 3906       else
 3907     break
 3908       fi
 3909       ;;
 3910     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 3911       # This compiler won't grok '-c -o', but also, the minuso test has
 3912       # not run yet.  These depmodes are late enough in the game, and
 3913       # so weak that their functioning should not be impacted.
 3914       am__obj=conftest.${OBJEXT-o}
 3915       am__minus_obj=
 3916       ;;
 3917     none) break ;;
 3918     esac
 3919     if depmode=$depmode \
 3920        source=sub/conftest.c object=$am__obj \
 3921        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3922        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 3923          >/dev/null 2>conftest.err &&
 3924        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 3925        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3926        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 3927        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3928       # icc doesn't choke on unknown options, it will just issue warnings
 3929       # or remarks (even with -Werror).  So we grep stderr for any message
 3930       # that says an option was ignored or not supported.
 3931       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3932       #   icc: Command line warning: ignoring option '-M'; no argument required
 3933       # The diagnosis changed in icc 8.0:
 3934       #   icc: Command line remark: option '-MP' not supported
 3935       if (grep 'ignoring option' conftest.err ||
 3936           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3937         am_cv_CC_dependencies_compiler_type=$depmode
 3938         break
 3939       fi
 3940     fi
 3941   done
 3942 
 3943   cd ..
 3944   rm -rf conftest.dir
 3945 else
 3946   am_cv_CC_dependencies_compiler_type=none
 3947 fi
 3948 
 3949 fi
 3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 3951 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 3952 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3953 
 3954  if
 3955   test "x$enable_dependency_tracking" != xno \
 3956   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3957   am__fastdepCC_TRUE=
 3958   am__fastdepCC_FALSE='#'
 3959 else
 3960   am__fastdepCC_TRUE='#'
 3961   am__fastdepCC_FALSE=
 3962 fi
 3963 
 3964 
 3965 
 3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3967 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3968 set x ${MAKE-make}
 3969 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3970 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 3971   $as_echo_n "(cached) " >&6
 3972 else
 3973   cat >conftest.make <<\_ACEOF
 3974 SHELL = /bin/sh
 3975 all:
 3976     @echo '@@@%%%=$(MAKE)=@@@%%%'
 3977 _ACEOF
 3978 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3979 case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3980   *@@@%%%=?*=@@@%%%*)
 3981     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3982   *)
 3983     eval ac_cv_prog_make_${ac_make}_set=no;;
 3984 esac
 3985 rm -f conftest.make
 3986 fi
 3987 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3989 $as_echo "yes" >&6; }
 3990   SET_MAKE=
 3991 else
 3992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3993 $as_echo "no" >&6; }
 3994   SET_MAKE="MAKE=${MAKE-make}"
 3995 fi
 3996 
 3997 for ac_prog in gawk mawk nawk awk
 3998 do
 3999   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4000 set dummy $ac_prog; ac_word=$2
 4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4002 $as_echo_n "checking for $ac_word... " >&6; }
 4003 if ${ac_cv_prog_AWK+:} false; then :
 4004   $as_echo_n "(cached) " >&6
 4005 else
 4006   if test -n "$AWK"; then
 4007   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 4008 else
 4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4010 for as_dir in $PATH
 4011 do
 4012   IFS=$as_save_IFS
 4013   test -z "$as_dir" && as_dir=.
 4014     for ac_exec_ext in '' $ac_executable_extensions; do
 4015   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4016     ac_cv_prog_AWK="$ac_prog"
 4017     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4018     break 2
 4019   fi
 4020 done
 4021   done
 4022 IFS=$as_save_IFS
 4023 
 4024 fi
 4025 fi
 4026 AWK=$ac_cv_prog_AWK
 4027 if test -n "$AWK"; then
 4028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 4029 $as_echo "$AWK" >&6; }
 4030 else
 4031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4032 $as_echo "no" >&6; }
 4033 fi
 4034 
 4035 
 4036   test -n "$AWK" && break
 4037 done
 4038 
 4039 
 4040 
 4041 
 4042 ac_ext=c
 4043 ac_cpp='$CPP $CPPFLAGS'
 4044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 4048 $as_echo_n "checking how to run the C preprocessor... " >&6; }
 4049 # On Suns, sometimes $CPP names a directory.
 4050 if test -n "$CPP" && test -d "$CPP"; then
 4051   CPP=
 4052 fi
 4053 if test -z "$CPP"; then
 4054   if ${ac_cv_prog_CPP+:} false; then :
 4055   $as_echo_n "(cached) " >&6
 4056 else
 4057       # Double quotes because CPP needs to be expanded
 4058     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 4059     do
 4060       ac_preproc_ok=false
 4061 for ac_c_preproc_warn_flag in '' yes
 4062 do
 4063   # Use a header file that comes with gcc, so configuring glibc
 4064   # with a fresh cross-compiler works.
 4065   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4066   # <limits.h> exists even on freestanding compilers.
 4067   # On the NeXT, cc -E runs the code through the compiler's parser,
 4068   # not just through cpp. "Syntax error" is here to catch this case.
 4069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4070 /* end confdefs.h.  */
 4071 #ifdef __STDC__
 4072 # include <limits.h>
 4073 #else
 4074 # include <assert.h>
 4075 #endif
 4076              Syntax error
 4077 _ACEOF
 4078 if ac_fn_c_try_cpp "$LINENO"; then :
 4079 
 4080 else
 4081   # Broken: fails on valid input.
 4082 continue
 4083 fi
 4084 rm -f conftest.err conftest.i conftest.$ac_ext
 4085 
 4086   # OK, works on sane cases.  Now check whether nonexistent headers
 4087   # can be detected and how.
 4088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4089 /* end confdefs.h.  */
 4090 #include <ac_nonexistent.h>
 4091 _ACEOF
 4092 if ac_fn_c_try_cpp "$LINENO"; then :
 4093   # Broken: success on invalid input.
 4094 continue
 4095 else
 4096   # Passes both tests.
 4097 ac_preproc_ok=:
 4098 break
 4099 fi
 4100 rm -f conftest.err conftest.i conftest.$ac_ext
 4101 
 4102 done
 4103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4104 rm -f conftest.i conftest.err conftest.$ac_ext
 4105 if $ac_preproc_ok; then :
 4106   break
 4107 fi
 4108 
 4109     done
 4110     ac_cv_prog_CPP=$CPP
 4111 
 4112 fi
 4113   CPP=$ac_cv_prog_CPP
 4114 else
 4115   ac_cv_prog_CPP=$CPP
 4116 fi
 4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 4118 $as_echo "$CPP" >&6; }
 4119 ac_preproc_ok=false
 4120 for ac_c_preproc_warn_flag in '' yes
 4121 do
 4122   # Use a header file that comes with gcc, so configuring glibc
 4123   # with a fresh cross-compiler works.
 4124   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4125   # <limits.h> exists even on freestanding compilers.
 4126   # On the NeXT, cc -E runs the code through the compiler's parser,
 4127   # not just through cpp. "Syntax error" is here to catch this case.
 4128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4129 /* end confdefs.h.  */
 4130 #ifdef __STDC__
 4131 # include <limits.h>
 4132 #else
 4133 # include <assert.h>
 4134 #endif
 4135              Syntax error
 4136 _ACEOF
 4137 if ac_fn_c_try_cpp "$LINENO"; then :
 4138 
 4139 else
 4140   # Broken: fails on valid input.
 4141 continue
 4142 fi
 4143 rm -f conftest.err conftest.i conftest.$ac_ext
 4144 
 4145   # OK, works on sane cases.  Now check whether nonexistent headers
 4146   # can be detected and how.
 4147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4148 /* end confdefs.h.  */
 4149 #include <ac_nonexistent.h>
 4150 _ACEOF
 4151 if ac_fn_c_try_cpp "$LINENO"; then :
 4152   # Broken: success on invalid input.
 4153 continue
 4154 else
 4155   # Passes both tests.
 4156 ac_preproc_ok=:
 4157 break
 4158 fi
 4159 rm -f conftest.err conftest.i conftest.$ac_ext
 4160 
 4161 done
 4162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4163 rm -f conftest.i conftest.err conftest.$ac_ext
 4164 if $ac_preproc_ok; then :
 4165 
 4166 else
 4167   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4169 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 4170 See \`config.log' for more details" "$LINENO" 5; }
 4171 fi
 4172 
 4173 ac_ext=c
 4174 ac_cpp='$CPP $CPPFLAGS'
 4175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4178 
 4179 
 4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 4181 $as_echo_n "checking for X... " >&6; }
 4182 
 4183 
 4184 # Check whether --with-x was given.
 4185 if test "${with_x+set}" = set; then :
 4186   withval=$with_x;
 4187 fi
 4188 
 4189 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 4190 if test "x$with_x" = xno; then
 4191   # The user explicitly disabled X.
 4192   have_x=disabled
 4193 else
 4194   case $x_includes,$x_libraries in #(
 4195     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 4196     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
 4197   $as_echo_n "(cached) " >&6
 4198 else
 4199   # One or both of the vars are not set, and there is no cached value.
 4200 ac_x_includes=no ac_x_libraries=no
 4201 rm -f -r conftest.dir
 4202 if mkdir conftest.dir; then
 4203   cd conftest.dir
 4204   cat >Imakefile <<'_ACEOF'
 4205 incroot:
 4206     @echo incroot='${INCROOT}'
 4207 usrlibdir:
 4208     @echo usrlibdir='${USRLIBDIR}'
 4209 libdir:
 4210     @echo libdir='${LIBDIR}'
 4211 _ACEOF
 4212   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 4213     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 4214     for ac_var in incroot usrlibdir libdir; do
 4215       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 4216     done
 4217     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 4218     for ac_extension in a so sl dylib la dll; do
 4219       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 4220      test -f "$ac_im_libdir/libX11.$ac_extension"; then
 4221     ac_im_usrlibdir=$ac_im_libdir; break
 4222       fi
 4223     done
 4224     # Screen out bogus values from the imake configuration.  They are
 4225     # bogus both because they are the default anyway, and because
 4226     # using them would break gcc on systems where it needs fixed includes.
 4227     case $ac_im_incroot in
 4228     /usr/include) ac_x_includes= ;;
 4229     *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 4230     esac
 4231     case $ac_im_usrlibdir in
 4232     /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 4233     *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 4234     esac
 4235   fi
 4236   cd ..
 4237   rm -f -r conftest.dir
 4238 fi
 4239 
 4240 # Standard set of common directories for X headers.
 4241 # Check X11 before X11Rn because it is often a symlink to the current release.
 4242 ac_x_header_dirs='
 4243 /usr/X11/include
 4244 /usr/X11R7/include
 4245 /usr/X11R6/include
 4246 /usr/X11R5/include
 4247 /usr/X11R4/include
 4248 
 4249 /usr/include/X11
 4250 /usr/include/X11R7
 4251 /usr/include/X11R6
 4252 /usr/include/X11R5
 4253 /usr/include/X11R4
 4254 
 4255 /usr/local/X11/include
 4256 /usr/local/X11R7/include
 4257 /usr/local/X11R6/include
 4258 /usr/local/X11R5/include
 4259 /usr/local/X11R4/include
 4260 
 4261 /usr/local/include/X11
 4262 /usr/local/include/X11R7
 4263 /usr/local/include/X11R6
 4264 /usr/local/include/X11R5
 4265 /usr/local/include/X11R4
 4266 
 4267 /usr/X386/include
 4268 /usr/x386/include
 4269 /usr/XFree86/include/X11
 4270 
 4271 /usr/include
 4272 /usr/local/include
 4273 /usr/unsupported/include
 4274 /usr/athena/include
 4275 /usr/local/x11r5/include
 4276 /usr/lpp/Xamples/include
 4277 
 4278 /usr/openwin/include
 4279 /usr/openwin/share/include'
 4280 
 4281 if test "$ac_x_includes" = no; then
 4282   # Guess where to find include files, by looking for Xlib.h.
 4283   # First, try using that file with no special directory specified.
 4284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4285 /* end confdefs.h.  */
 4286 #include <X11/Xlib.h>
 4287 _ACEOF
 4288 if ac_fn_c_try_cpp "$LINENO"; then :
 4289   # We can compile using X headers with no special include directory.
 4290 ac_x_includes=
 4291 else
 4292   for ac_dir in $ac_x_header_dirs; do
 4293   if test -r "$ac_dir/X11/Xlib.h"; then
 4294     ac_x_includes=$ac_dir
 4295     break
 4296   fi
 4297 done
 4298 fi
 4299 rm -f conftest.err conftest.i conftest.$ac_ext
 4300 fi # $ac_x_includes = no
 4301 
 4302 if test "$ac_x_libraries" = no; then
 4303   # Check for the libraries.
 4304   # See if we find them without any special options.
 4305   # Don't add to $LIBS permanently.
 4306   ac_save_LIBS=$LIBS
 4307   LIBS="-lX11 $LIBS"
 4308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4309 /* end confdefs.h.  */
 4310 #include <X11/Xlib.h>
 4311 int
 4312 main ()
 4313 {
 4314 XrmInitialize ()
 4315   ;
 4316   return 0;
 4317 }
 4318 _ACEOF
 4319 if ac_fn_c_try_link "$LINENO"; then :
 4320   LIBS=$ac_save_LIBS
 4321 # We can link X programs with no special library path.
 4322 ac_x_libraries=
 4323 else
 4324   LIBS=$ac_save_LIBS
 4325 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 4326 do
 4327   # Don't even attempt the hair of trying to link an X program!
 4328   for ac_extension in a so sl dylib la dll; do
 4329     if test -r "$ac_dir/libX11.$ac_extension"; then
 4330       ac_x_libraries=$ac_dir
 4331       break 2
 4332     fi
 4333   done
 4334 done
 4335 fi
 4336 rm -f core conftest.err conftest.$ac_objext \
 4337     conftest$ac_exeext conftest.$ac_ext
 4338 fi # $ac_x_libraries = no
 4339 
 4340 case $ac_x_includes,$ac_x_libraries in #(
 4341   no,* | *,no | *\'*)
 4342     # Didn't find X, or a directory has "'" in its name.
 4343     ac_cv_have_x="have_x=no";; #(
 4344   *)
 4345     # Record where we found X for the cache.
 4346     ac_cv_have_x="have_x=yes\
 4347     ac_x_includes='$ac_x_includes'\
 4348     ac_x_libraries='$ac_x_libraries'"
 4349 esac
 4350 fi
 4351 ;; #(
 4352     *) have_x=yes;;
 4353   esac
 4354   eval "$ac_cv_have_x"
 4355 fi # $with_x != no
 4356 
 4357 if test "$have_x" != yes; then
 4358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 4359 $as_echo "$have_x" >&6; }
 4360   no_x=yes
 4361 else
 4362   # If each of the values was on the command line, it overrides each guess.
 4363   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 4364   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 4365   # Update the cache value to reflect the command line values.
 4366   ac_cv_have_x="have_x=yes\
 4367     ac_x_includes='$x_includes'\
 4368     ac_x_libraries='$x_libraries'"
 4369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 4370 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 4371 fi
 4372 
 4373 if test "$no_x" = yes; then
 4374   # Not all programs may use this symbol, but it does not hurt to define it.
 4375 
 4376 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 4377 
 4378   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 4379 else
 4380   if test -n "$x_includes"; then
 4381     X_CFLAGS="$X_CFLAGS -I$x_includes"
 4382   fi
 4383 
 4384   # It would also be nice to do this for all -L options, not just this one.
 4385   if test -n "$x_libraries"; then
 4386     X_LIBS="$X_LIBS -L$x_libraries"
 4387     # For Solaris; some versions of Sun CC require a space after -R and
 4388     # others require no space.  Words are not sufficient . . . .
 4389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 4390 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
 4391     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 4392     ac_xsave_c_werror_flag=$ac_c_werror_flag
 4393     ac_c_werror_flag=yes
 4394     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4395 /* end confdefs.h.  */
 4396 
 4397 int
 4398 main ()
 4399 {
 4400 
 4401   ;
 4402   return 0;
 4403 }
 4404 _ACEOF
 4405 if ac_fn_c_try_link "$LINENO"; then :
 4406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4407 $as_echo "no" >&6; }
 4408        X_LIBS="$X_LIBS -R$x_libraries"
 4409 else
 4410   LIBS="$ac_xsave_LIBS -R $x_libraries"
 4411        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4412 /* end confdefs.h.  */
 4413 
 4414 int
 4415 main ()
 4416 {
 4417 
 4418   ;
 4419   return 0;
 4420 }
 4421 _ACEOF
 4422 if ac_fn_c_try_link "$LINENO"; then :
 4423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4424 $as_echo "yes" >&6; }
 4425       X_LIBS="$X_LIBS -R $x_libraries"
 4426 else
 4427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 4428 $as_echo "neither works" >&6; }
 4429 fi
 4430 rm -f core conftest.err conftest.$ac_objext \
 4431     conftest$ac_exeext conftest.$ac_ext
 4432 fi
 4433 rm -f core conftest.err conftest.$ac_objext \
 4434     conftest$ac_exeext conftest.$ac_ext
 4435     ac_c_werror_flag=$ac_xsave_c_werror_flag
 4436     LIBS=$ac_xsave_LIBS
 4437   fi
 4438 
 4439   # Check for system-dependent libraries X programs must link with.
 4440   # Do this before checking for the system-independent R6 libraries
 4441   # (-lICE), since we may need -lsocket or whatever for X linking.
 4442 
 4443   if test "$ISC" = yes; then
 4444     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 4445   else
 4446     # Martyn Johnson says this is needed for Ultrix, if the X
 4447     # libraries were built with DECnet support.  And Karl Berry says
 4448     # the Alpha needs dnet_stub (dnet does not exist).
 4449     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 4450     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4451 /* end confdefs.h.  */
 4452 
 4453 /* Override any GCC internal prototype to avoid an error.
 4454    Use char because int might match the return type of a GCC
 4455    builtin and then its argument prototype would still apply.  */
 4456 #ifdef __cplusplus
 4457 extern "C"
 4458 #endif
 4459 char XOpenDisplay ();
 4460 int
 4461 main ()
 4462 {
 4463 return XOpenDisplay ();
 4464   ;
 4465   return 0;
 4466 }
 4467 _ACEOF
 4468 if ac_fn_c_try_link "$LINENO"; then :
 4469 
 4470 else
 4471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 4472 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 4473 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
 4474   $as_echo_n "(cached) " >&6
 4475 else
 4476   ac_check_lib_save_LIBS=$LIBS
 4477 LIBS="-ldnet  $LIBS"
 4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4479 /* end confdefs.h.  */
 4480 
 4481 /* Override any GCC internal prototype to avoid an error.
 4482    Use char because int might match the return type of a GCC
 4483    builtin and then its argument prototype would still apply.  */
 4484 #ifdef __cplusplus
 4485 extern "C"
 4486 #endif
 4487 char dnet_ntoa ();
 4488 int
 4489 main ()
 4490 {
 4491 return dnet_ntoa ();
 4492   ;
 4493   return 0;
 4494 }
 4495 _ACEOF
 4496 if ac_fn_c_try_link "$LINENO"; then :
 4497   ac_cv_lib_dnet_dnet_ntoa=yes
 4498 else
 4499   ac_cv_lib_dnet_dnet_ntoa=no
 4500 fi
 4501 rm -f core conftest.err conftest.$ac_objext \
 4502     conftest$ac_exeext conftest.$ac_ext
 4503 LIBS=$ac_check_lib_save_LIBS
 4504 fi
 4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 4506 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 4507 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
 4508   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 4509 fi
 4510 
 4511     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 4512       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 4513 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 4514 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
 4515   $as_echo_n "(cached) " >&6
 4516 else
 4517   ac_check_lib_save_LIBS=$LIBS
 4518 LIBS="-ldnet_stub  $LIBS"
 4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4520 /* end confdefs.h.  */
 4521 
 4522 /* Override any GCC internal prototype to avoid an error.
 4523    Use char because int might match the return type of a GCC
 4524    builtin and then its argument prototype would still apply.  */
 4525 #ifdef __cplusplus
 4526 extern "C"
 4527 #endif
 4528 char dnet_ntoa ();
 4529 int
 4530 main ()
 4531 {
 4532 return dnet_ntoa ();
 4533   ;
 4534   return 0;
 4535 }
 4536 _ACEOF
 4537 if ac_fn_c_try_link "$LINENO"; then :
 4538   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 4539 else
 4540   ac_cv_lib_dnet_stub_dnet_ntoa=no
 4541 fi
 4542 rm -f core conftest.err conftest.$ac_objext \
 4543     conftest$ac_exeext conftest.$ac_ext
 4544 LIBS=$ac_check_lib_save_LIBS
 4545 fi
 4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 4547 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 4548 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
 4549   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 4550 fi
 4551 
 4552     fi
 4553 fi
 4554 rm -f core conftest.err conftest.$ac_objext \
 4555     conftest$ac_exeext conftest.$ac_ext
 4556     LIBS="$ac_xsave_LIBS"
 4557 
 4558     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 4559     # to get the SysV transport functions.
 4560     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 4561     # needs -lnsl.
 4562     # The nsl library prevents programs from opening the X display
 4563     # on Irix 5.2, according to T.E. Dickey.
 4564     # The functions gethostbyname, getservbyname, and inet_addr are
 4565     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 4566     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 4567 if test "x$ac_cv_func_gethostbyname" = xyes; then :
 4568 
 4569 fi
 4570 
 4571     if test $ac_cv_func_gethostbyname = no; then
 4572       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 4573 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 4574 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
 4575   $as_echo_n "(cached) " >&6
 4576 else
 4577   ac_check_lib_save_LIBS=$LIBS
 4578 LIBS="-lnsl  $LIBS"
 4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4580 /* end confdefs.h.  */
 4581 
 4582 /* Override any GCC internal prototype to avoid an error.
 4583    Use char because int might match the return type of a GCC
 4584    builtin and then its argument prototype would still apply.  */
 4585 #ifdef __cplusplus
 4586 extern "C"
 4587 #endif
 4588 char gethostbyname ();
 4589 int
 4590 main ()
 4591 {
 4592 return gethostbyname ();
 4593   ;
 4594   return 0;
 4595 }
 4596 _ACEOF
 4597 if ac_fn_c_try_link "$LINENO"; then :
 4598   ac_cv_lib_nsl_gethostbyname=yes
 4599 else
 4600   ac_cv_lib_nsl_gethostbyname=no
 4601 fi
 4602 rm -f core conftest.err conftest.$ac_objext \
 4603     conftest$ac_exeext conftest.$ac_ext
 4604 LIBS=$ac_check_lib_save_LIBS
 4605 fi
 4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 4607 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 4608 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
 4609   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 4610 fi
 4611 
 4612       if test $ac_cv_lib_nsl_gethostbyname = no; then
 4613     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 4614 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 4615 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
 4616   $as_echo_n "(cached) " >&6
 4617 else
 4618   ac_check_lib_save_LIBS=$LIBS
 4619 LIBS="-lbsd  $LIBS"
 4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4621 /* end confdefs.h.  */
 4622 
 4623 /* Override any GCC internal prototype to avoid an error.
 4624    Use char because int might match the return type of a GCC
 4625    builtin and then its argument prototype would still apply.  */
 4626 #ifdef __cplusplus
 4627 extern "C"
 4628 #endif
 4629 char gethostbyname ();
 4630 int
 4631 main ()
 4632 {
 4633 return gethostbyname ();
 4634   ;
 4635   return 0;
 4636 }
 4637 _ACEOF
 4638 if ac_fn_c_try_link "$LINENO"; then :
 4639   ac_cv_lib_bsd_gethostbyname=yes
 4640 else
 4641   ac_cv_lib_bsd_gethostbyname=no
 4642 fi
 4643 rm -f core conftest.err conftest.$ac_objext \
 4644     conftest$ac_exeext conftest.$ac_ext
 4645 LIBS=$ac_check_lib_save_LIBS
 4646 fi
 4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 4648 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 4649 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
 4650   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 4651 fi
 4652 
 4653       fi
 4654     fi
 4655 
 4656     # lieder@skyler.mavd.honeywell.com says without -lsocket,
 4657     # socket/setsockopt and other routines are undefined under SCO ODT
 4658     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 4659     # on later versions), says Simon Leinen: it contains gethostby*
 4660     # variants that don't use the name server (or something).  -lsocket
 4661     # must be given before -lnsl if both are needed.  We assume that
 4662     # if connect needs -lnsl, so does gethostbyname.
 4663     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 4664 if test "x$ac_cv_func_connect" = xyes; then :
 4665 
 4666 fi
 4667 
 4668     if test $ac_cv_func_connect = no; then
 4669       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 4670 $as_echo_n "checking for connect in -lsocket... " >&6; }
 4671 if ${ac_cv_lib_socket_connect+:} false; then :
 4672   $as_echo_n "(cached) " >&6
 4673 else
 4674   ac_check_lib_save_LIBS=$LIBS
 4675 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4677 /* end confdefs.h.  */
 4678 
 4679 /* Override any GCC internal prototype to avoid an error.
 4680    Use char because int might match the return type of a GCC
 4681    builtin and then its argument prototype would still apply.  */
 4682 #ifdef __cplusplus
 4683 extern "C"
 4684 #endif
 4685 char connect ();
 4686 int
 4687 main ()
 4688 {
 4689 return connect ();
 4690   ;
 4691   return 0;
 4692 }
 4693 _ACEOF
 4694 if ac_fn_c_try_link "$LINENO"; then :
 4695   ac_cv_lib_socket_connect=yes
 4696 else
 4697   ac_cv_lib_socket_connect=no
 4698 fi
 4699 rm -f core conftest.err conftest.$ac_objext \
 4700     conftest$ac_exeext conftest.$ac_ext
 4701 LIBS=$ac_check_lib_save_LIBS
 4702 fi
 4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 4704 $as_echo "$ac_cv_lib_socket_connect" >&6; }
 4705 if test "x$ac_cv_lib_socket_connect" = xyes; then :
 4706   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 4707 fi
 4708 
 4709     fi
 4710 
 4711     # Guillermo Gomez says -lposix is necessary on A/UX.
 4712     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 4713 if test "x$ac_cv_func_remove" = xyes; then :
 4714 
 4715 fi
 4716 
 4717     if test $ac_cv_func_remove = no; then
 4718       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 4719 $as_echo_n "checking for remove in -lposix... " >&6; }
 4720 if ${ac_cv_lib_posix_remove+:} false; then :
 4721   $as_echo_n "(cached) " >&6
 4722 else
 4723   ac_check_lib_save_LIBS=$LIBS
 4724 LIBS="-lposix  $LIBS"
 4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4726 /* end confdefs.h.  */
 4727 
 4728 /* Override any GCC internal prototype to avoid an error.
 4729    Use char because int might match the return type of a GCC
 4730    builtin and then its argument prototype would still apply.  */
 4731 #ifdef __cplusplus
 4732 extern "C"
 4733 #endif
 4734 char remove ();
 4735 int
 4736 main ()
 4737 {
 4738 return remove ();
 4739   ;
 4740   return 0;
 4741 }
 4742 _ACEOF
 4743 if ac_fn_c_try_link "$LINENO"; then :
 4744   ac_cv_lib_posix_remove=yes
 4745 else
 4746   ac_cv_lib_posix_remove=no
 4747 fi
 4748 rm -f core conftest.err conftest.$ac_objext \
 4749     conftest$ac_exeext conftest.$ac_ext
 4750 LIBS=$ac_check_lib_save_LIBS
 4751 fi
 4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 4753 $as_echo "$ac_cv_lib_posix_remove" >&6; }
 4754 if test "x$ac_cv_lib_posix_remove" = xyes; then :
 4755   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 4756 fi
 4757 
 4758     fi
 4759 
 4760     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 4761     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 4762 if test "x$ac_cv_func_shmat" = xyes; then :
 4763 
 4764 fi
 4765 
 4766     if test $ac_cv_func_shmat = no; then
 4767       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 4768 $as_echo_n "checking for shmat in -lipc... " >&6; }
 4769 if ${ac_cv_lib_ipc_shmat+:} false; then :
 4770   $as_echo_n "(cached) " >&6
 4771 else
 4772   ac_check_lib_save_LIBS=$LIBS
 4773 LIBS="-lipc  $LIBS"
 4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4775 /* end confdefs.h.  */
 4776 
 4777 /* Override any GCC internal prototype to avoid an error.
 4778    Use char because int might match the return type of a GCC
 4779    builtin and then its argument prototype would still apply.  */
 4780 #ifdef __cplusplus
 4781 extern "C"
 4782 #endif
 4783 char shmat ();
 4784 int
 4785 main ()
 4786 {
 4787 return shmat ();
 4788   ;
 4789   return 0;
 4790 }
 4791 _ACEOF
 4792 if ac_fn_c_try_link "$LINENO"; then :
 4793   ac_cv_lib_ipc_shmat=yes
 4794 else
 4795   ac_cv_lib_ipc_shmat=no
 4796 fi
 4797 rm -f core conftest.err conftest.$ac_objext \
 4798     conftest$ac_exeext conftest.$ac_ext
 4799 LIBS=$ac_check_lib_save_LIBS
 4800 fi
 4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 4802 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 4803 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
 4804   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 4805 fi
 4806 
 4807     fi
 4808   fi
 4809 
 4810   # Check for libraries that X11R6 Xt/Xaw programs need.
 4811   ac_save_LDFLAGS=$LDFLAGS
 4812   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 4813   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 4814   # check for ICE first), but we must link in the order -lSM -lICE or
 4815   # we get undefined symbols.  So assume we have SM if we have ICE.
 4816   # These have to be linked with before -lX11, unlike the other
 4817   # libraries we check for below, so use a different variable.
 4818   # John Interrante, Karl Berry
 4819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 4820 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 4821 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
 4822   $as_echo_n "(cached) " >&6
 4823 else
 4824   ac_check_lib_save_LIBS=$LIBS
 4825 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 4826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4827 /* end confdefs.h.  */
 4828 
 4829 /* Override any GCC internal prototype to avoid an error.
 4830    Use char because int might match the return type of a GCC
 4831    builtin and then its argument prototype would still apply.  */
 4832 #ifdef __cplusplus
 4833 extern "C"
 4834 #endif
 4835 char IceConnectionNumber ();
 4836 int
 4837 main ()
 4838 {
 4839 return IceConnectionNumber ();
 4840   ;
 4841   return 0;
 4842 }
 4843 _ACEOF
 4844 if ac_fn_c_try_link "$LINENO"; then :
 4845   ac_cv_lib_ICE_IceConnectionNumber=yes
 4846 else
 4847   ac_cv_lib_ICE_IceConnectionNumber=no
 4848 fi
 4849 rm -f core conftest.err conftest.$ac_objext \
 4850     conftest$ac_exeext conftest.$ac_ext
 4851 LIBS=$ac_check_lib_save_LIBS
 4852 fi
 4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 4854 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 4855 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
 4856   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 4857 fi
 4858 
 4859   LDFLAGS=$ac_save_LDFLAGS
 4860 
 4861 fi
 4862 
 4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 4864 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 4865 if ${ac_cv_path_GREP+:} false; then :
 4866   $as_echo_n "(cached) " >&6
 4867 else
 4868   if test -z "$GREP"; then
 4869   ac_path_GREP_found=false
 4870   # Loop through the user's path and test for each of PROGNAME-LIST
 4871   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4872 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4873 do
 4874   IFS=$as_save_IFS
 4875   test -z "$as_dir" && as_dir=.
 4876     for ac_prog in grep ggrep; do
 4877     for ac_exec_ext in '' $ac_executable_extensions; do
 4878       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 4879       as_fn_executable_p "$ac_path_GREP" || continue
 4880 # Check for GNU ac_path_GREP and select it if it is found.
 4881   # Check for GNU $ac_path_GREP
 4882 case `"$ac_path_GREP" --version 2>&1` in
 4883 *GNU*)
 4884   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 4885 *)
 4886   ac_count=0
 4887   $as_echo_n 0123456789 >"conftest.in"
 4888   while :
 4889   do
 4890     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4891     mv "conftest.tmp" "conftest.in"
 4892     cp "conftest.in" "conftest.nl"
 4893     $as_echo 'GREP' >> "conftest.nl"
 4894     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4895     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4896     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4897     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 4898       # Best one so far, save it but keep looking for a better one
 4899       ac_cv_path_GREP="$ac_path_GREP"
 4900       ac_path_GREP_max=$ac_count
 4901     fi
 4902     # 10*(2^10) chars as input seems more than enough
 4903     test $ac_count -gt 10 && break
 4904   done
 4905   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4906 esac
 4907 
 4908       $ac_path_GREP_found && break 3
 4909     done
 4910   done
 4911   done
 4912 IFS=$as_save_IFS
 4913   if test -z "$ac_cv_path_GREP"; then
 4914     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4915   fi
 4916 else
 4917   ac_cv_path_GREP=$GREP
 4918 fi
 4919 
 4920 fi
 4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 4922 $as_echo "$ac_cv_path_GREP" >&6; }
 4923  GREP="$ac_cv_path_GREP"
 4924 
 4925 
 4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 4927 $as_echo_n "checking for egrep... " >&6; }
 4928 if ${ac_cv_path_EGREP+:} false; then :
 4929   $as_echo_n "(cached) " >&6
 4930 else
 4931   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 4932    then ac_cv_path_EGREP="$GREP -E"
 4933    else
 4934      if test -z "$EGREP"; then
 4935   ac_path_EGREP_found=false
 4936   # Loop through the user's path and test for each of PROGNAME-LIST
 4937   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4938 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4939 do
 4940   IFS=$as_save_IFS
 4941   test -z "$as_dir" && as_dir=.
 4942     for ac_prog in egrep; do
 4943     for ac_exec_ext in '' $ac_executable_extensions; do
 4944       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 4945       as_fn_executable_p "$ac_path_EGREP" || continue
 4946 # Check for GNU ac_path_EGREP and select it if it is found.
 4947   # Check for GNU $ac_path_EGREP
 4948 case `"$ac_path_EGREP" --version 2>&1` in
 4949 *GNU*)
 4950   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 4951 *)
 4952   ac_count=0
 4953   $as_echo_n 0123456789 >"conftest.in"
 4954   while :
 4955   do
 4956     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4957     mv "conftest.tmp" "conftest.in"
 4958     cp "conftest.in" "conftest.nl"
 4959     $as_echo 'EGREP' >> "conftest.nl"
 4960     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4961     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4962     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4963     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 4964       # Best one so far, save it but keep looking for a better one
 4965       ac_cv_path_EGREP="$ac_path_EGREP"
 4966       ac_path_EGREP_max=$ac_count
 4967     fi
 4968     # 10*(2^10) chars as input seems more than enough
 4969     test $ac_count -gt 10 && break
 4970   done
 4971   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4972 esac
 4973 
 4974       $ac_path_EGREP_found && break 3
 4975     done
 4976   done
 4977   done
 4978 IFS=$as_save_IFS
 4979   if test -z "$ac_cv_path_EGREP"; then
 4980     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4981   fi
 4982 else
 4983   ac_cv_path_EGREP=$EGREP
 4984 fi
 4985 
 4986    fi
 4987 fi
 4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 4989 $as_echo "$ac_cv_path_EGREP" >&6; }
 4990  EGREP="$ac_cv_path_EGREP"
 4991 
 4992 
 4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 4994 $as_echo_n "checking for ANSI C header files... " >&6; }
 4995 if ${ac_cv_header_stdc+:} false; then :
 4996   $as_echo_n "(cached) " >&6
 4997 else
 4998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4999 /* end confdefs.h.  */
 5000 #include <stdlib.h>
 5001 #include <stdarg.h>
 5002 #include <string.h>
 5003 #include <float.h>
 5004 
 5005 int
 5006 main ()
 5007 {
 5008 
 5009   ;
 5010   return 0;
 5011 }
 5012 _ACEOF
 5013 if ac_fn_c_try_compile "$LINENO"; then :
 5014   ac_cv_header_stdc=yes
 5015 else
 5016   ac_cv_header_stdc=no
 5017 fi
 5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5019 
 5020 if test $ac_cv_header_stdc = yes; then
 5021   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 5022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5023 /* end confdefs.h.  */
 5024 #include <string.h>
 5025 
 5026 _ACEOF
 5027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5028   $EGREP "memchr" >/dev/null 2>&1; then :
 5029 
 5030 else
 5031   ac_cv_header_stdc=no
 5032 fi
 5033 rm -f conftest*
 5034 
 5035 fi
 5036 
 5037 if test $ac_cv_header_stdc = yes; then
 5038   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 5039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5040 /* end confdefs.h.  */
 5041 #include <stdlib.h>
 5042 
 5043 _ACEOF
 5044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5045   $EGREP "free" >/dev/null 2>&1; then :
 5046 
 5047 else
 5048   ac_cv_header_stdc=no
 5049 fi
 5050 rm -f conftest*
 5051 
 5052 fi
 5053 
 5054 if test $ac_cv_header_stdc = yes; then
 5055   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 5056   if test "$cross_compiling" = yes; then :
 5057   :
 5058 else
 5059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5060 /* end confdefs.h.  */
 5061 #include <ctype.h>
 5062 #include <stdlib.h>
 5063 #if ((' ' & 0x0FF) == 0x020)
 5064 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 5065 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 5066 #else
 5067 # define ISLOWER(c) \
 5068            (('a' <= (c) && (c) <= 'i') \
 5069              || ('j' <= (c) && (c) <= 'r') \
 5070              || ('s' <= (c) && (c) <= 'z'))
 5071 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 5072 #endif
 5073 
 5074 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 5075 int
 5076 main ()
 5077 {
 5078   int i;
 5079   for (i = 0; i < 256; i++)
 5080     if (XOR (islower (i), ISLOWER (i))
 5081     || toupper (i) != TOUPPER (i))
 5082       return 2;
 5083   return 0;
 5084 }
 5085 _ACEOF
 5086 if ac_fn_c_try_run "$LINENO"; then :
 5087 
 5088 else
 5089   ac_cv_header_stdc=no
 5090 fi
 5091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 5092   conftest.$ac_objext conftest.beam conftest.$ac_ext
 5093 fi
 5094 
 5095 fi
 5096 fi
 5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 5098 $as_echo "$ac_cv_header_stdc" >&6; }
 5099 if test $ac_cv_header_stdc = yes; then
 5100 
 5101 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 5102 
 5103 fi
 5104 
 5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 5106 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 5107 if ${ac_cv_header_sys_wait_h+:} false; then :
 5108   $as_echo_n "(cached) " >&6
 5109 else
 5110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5111 /* end confdefs.h.  */
 5112 #include <sys/types.h>
 5113 #include <sys/wait.h>
 5114 #ifndef WEXITSTATUS
 5115 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 5116 #endif
 5117 #ifndef WIFEXITED
 5118 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 5119 #endif
 5120 
 5121 int
 5122 main ()
 5123 {
 5124   int s;
 5125   wait (&s);
 5126   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 5127   ;
 5128   return 0;
 5129 }
 5130 _ACEOF
 5131 if ac_fn_c_try_compile "$LINENO"; then :
 5132   ac_cv_header_sys_wait_h=yes
 5133 else
 5134   ac_cv_header_sys_wait_h=no
 5135 fi
 5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5137 fi
 5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 5139 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
 5140 if test $ac_cv_header_sys_wait_h = yes; then
 5141 
 5142 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
 5143 
 5144 fi
 5145 
 5146 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 5147 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 5148           inttypes.h stdint.h unistd.h
 5149 do :
 5150   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5151 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 5152 "
 5153 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 5154   cat >>confdefs.h <<_ACEOF
 5155 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5156 _ACEOF
 5157 
 5158 fi
 5159 
 5160 done
 5161 
 5162 
 5163 for ac_header in fcntl.h stdlib.h string.h unistd.h
 5164 do :
 5165   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5166 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 5167 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 5168   cat >>confdefs.h <<_ACEOF
 5169 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5170 _ACEOF
 5171 
 5172 fi
 5173 
 5174 done
 5175 
 5176 
 5177 LIBS_saved="$LIBS"
 5178 LIBS=
 5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateWindow in -lX11" >&5
 5180 $as_echo_n "checking for XCreateWindow in -lX11... " >&6; }
 5181 if ${ac_cv_lib_X11_XCreateWindow+:} false; then :
 5182   $as_echo_n "(cached) " >&6
 5183 else
 5184   ac_check_lib_save_LIBS=$LIBS
 5185 LIBS="-lX11 $LIBS_saved $X_LIBS $LIBS"
 5186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5187 /* end confdefs.h.  */
 5188 
 5189 /* Override any GCC internal prototype to avoid an error.
 5190    Use char because int might match the return type of a GCC
 5191    builtin and then its argument prototype would still apply.  */
 5192 #ifdef __cplusplus
 5193 extern "C"
 5194 #endif
 5195 char XCreateWindow ();
 5196 int
 5197 main ()
 5198 {
 5199 return XCreateWindow ();
 5200   ;
 5201   return 0;
 5202 }
 5203 _ACEOF
 5204 if ac_fn_c_try_link "$LINENO"; then :
 5205   ac_cv_lib_X11_XCreateWindow=yes
 5206 else
 5207   ac_cv_lib_X11_XCreateWindow=no
 5208 fi
 5209 rm -f core conftest.err conftest.$ac_objext \
 5210     conftest$ac_exeext conftest.$ac_ext
 5211 LIBS=$ac_check_lib_save_LIBS
 5212 fi
 5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateWindow" >&5
 5214 $as_echo "$ac_cv_lib_X11_XCreateWindow" >&6; }
 5215 if test "x$ac_cv_lib_X11_XCreateWindow" = xyes; then :
 5216   cat >>confdefs.h <<_ACEOF
 5217 #define HAVE_LIBX11 1
 5218 _ACEOF
 5219 
 5220   LIBS="-lX11 $LIBS"
 5221 
 5222 else
 5223 
 5224     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xbindkeys depends on the X11 libraries!" >&5
 5225 $as_echo "$as_me: WARNING: Xbindkeys depends on the X11 libraries!" >&2;}
 5226 
 5227 fi
 5228 
 5229 X_LIBS="$X_LIBS $LIBS"
 5230 LIBS="$LIBS_saved"
 5231 
 5232 
 5233 use_fork=yes
 5234 
 5235 # Check whether --enable-fork was given.
 5236 if test "${enable_fork+set}" = set; then :
 5237   enableval=$enable_fork; use_fork="${enableval}"
 5238 fi
 5239 
 5240 
 5241 FORK_FLAG=""
 5242 if test "$use_fork" = yes; then
 5243    FORK_FLAG="-DFORK_FLAG=1"
 5244 fi
 5245 
 5246 
 5247 
 5248 
 5249 use_tk=yes
 5250 
 5251 # Check whether --enable-tk was given.
 5252 if test "${enable_tk+set}" = set; then :
 5253   enableval=$enable_tk; use_tk="${enableval}"
 5254 fi
 5255 
 5256 
 5257  if test x$use_tk = xyes; then
 5258   TK_TRUE=
 5259   TK_FALSE='#'
 5260 else
 5261   TK_TRUE='#'
 5262   TK_FALSE=
 5263 fi
 5264 
 5265 
 5266 
 5267 use_guile=yes
 5268 
 5269 # Check whether --enable-guile was given.
 5270 if test "${enable_guile+set}" = set; then :
 5271   enableval=$enable_guile; use_guile="${enableval}"
 5272 fi
 5273 
 5274 
 5275 GUILE_FLAG=""
 5276 
 5277 if test "$use_guile" = yes; then
 5278 
 5279 
 5280 
 5281 
 5282 
 5283 
 5284 
 5285 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 5286     if test -n "$ac_tool_prefix"; then
 5287   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 5288 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5290 $as_echo_n "checking for $ac_word... " >&6; }
 5291 if ${ac_cv_path_PKG_CONFIG+:} false; then :
 5292   $as_echo_n "(cached) " >&6
 5293 else
 5294   case $PKG_CONFIG in
 5295   [\\/]* | ?:[\\/]*)
 5296   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 5297   ;;
 5298   *)
 5299   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5300 for as_dir in $PATH
 5301 do
 5302   IFS=$as_save_IFS
 5303   test -z "$as_dir" && as_dir=.
 5304     for ac_exec_ext in '' $ac_executable_extensions; do
 5305   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5306     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 5307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5308     break 2
 5309   fi
 5310 done
 5311   done
 5312 IFS=$as_save_IFS
 5313 
 5314   ;;
 5315 esac
 5316 fi
 5317 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 5318 if test -n "$PKG_CONFIG"; then
 5319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 5320 $as_echo "$PKG_CONFIG" >&6; }
 5321 else
 5322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5323 $as_echo "no" >&6; }
 5324 fi
 5325 
 5326 
 5327 fi
 5328 if test -z "$ac_cv_path_PKG_CONFIG"; then
 5329   ac_pt_PKG_CONFIG=$PKG_CONFIG
 5330   # Extract the first word of "pkg-config", so it can be a program name with args.
 5331 set dummy pkg-config; ac_word=$2
 5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5333 $as_echo_n "checking for $ac_word... " >&6; }
 5334 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 5335   $as_echo_n "(cached) " >&6
 5336 else
 5337   case $ac_pt_PKG_CONFIG in
 5338   [\\/]* | ?:[\\/]*)
 5339   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 5340   ;;
 5341   *)
 5342   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5343 for as_dir in $PATH
 5344 do
 5345   IFS=$as_save_IFS
 5346   test -z "$as_dir" && as_dir=.
 5347     for ac_exec_ext in '' $ac_executable_extensions; do
 5348   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5349     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 5350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5351     break 2
 5352   fi
 5353 done
 5354   done
 5355 IFS=$as_save_IFS
 5356 
 5357   ;;
 5358 esac
 5359 fi
 5360 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 5361 if test -n "$ac_pt_PKG_CONFIG"; then
 5362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 5363 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
 5364 else
 5365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5366 $as_echo "no" >&6; }
 5367 fi
 5368 
 5369   if test "x$ac_pt_PKG_CONFIG" = x; then
 5370     PKG_CONFIG=""
 5371   else
 5372     case $cross_compiling:$ac_tool_warned in
 5373 yes:)
 5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5376 ac_tool_warned=yes ;;
 5377 esac
 5378     PKG_CONFIG=$ac_pt_PKG_CONFIG
 5379   fi
 5380 else
 5381   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 5382 fi
 5383 
 5384 fi
 5385 if test -n "$PKG_CONFIG"; then
 5386     _pkg_min_version=0.9.0
 5387     { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 5388 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 5389     if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 5390         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5391 $as_echo "yes" >&6; }
 5392     else
 5393         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5394 $as_echo "no" >&6; }
 5395         PKG_CONFIG=""
 5396     fi
 5397 fi
 5398   _guile_versions_to_search="2.2 2.0 1.8"
 5399   if test -n "$GUILE_EFFECTIVE_VERSION"; then
 5400     _guile_tmp=""
 5401     for v in $_guile_versions_to_search; do
 5402       if test "$v" = "$GUILE_EFFECTIVE_VERSION"; then
 5403         _guile_tmp=$v
 5404       fi
 5405     done
 5406     if test -z "$_guile_tmp"; then
 5407       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5409 as_fn_error $? "searching for guile development files for versions $_guile_versions_to_search, but previously found $GUILE version $GUILE_EFFECTIVE_VERSION
 5410 See \`config.log' for more details" "$LINENO" 5; }
 5411     fi
 5412     _guile_versions_to_search=$GUILE_EFFECTIVE_VERSION
 5413   fi
 5414   GUILE_EFFECTIVE_VERSION=""
 5415   _guile_errors=""
 5416   for v in $_guile_