"Fossies" - the Fresh Open Source Software Archive

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