"Fossies" - the Fresh Open Source Software Archive

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