"Fossies" - the Fresh Open Source Software Archive

Member "citadel/autom4te.cache/output.0" (5 Jun 2021, 248510 Bytes) of package /linux/www/citadel.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 @%:@! /bin/sh
    2 @%:@ From configure.ac 100b6a90d.
    3 @%:@ Guess values for system-dependent variables and create Makefiles.
    4 @%:@ Generated by GNU Autoconf 2.69 for Citadel 931.
    5 @%:@
    6 @%:@ Report bugs to <http://uncensored.citadel.org>.
    7 @%:@ 
    8 @%:@ 
    9 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
   10 @%:@ 
   11 @%:@ 
   12 @%:@ This configure script is free software; the Free Software Foundation
   13 @%:@ gives unlimited permission to copy, distribute and modify it.
   14 ## -------------------- ##
   15 ## M4sh Initialization. ##
   16 ## -------------------- ##
   17 
   18 # Be more Bourne compatible
   19 DUALCASE=1; export DUALCASE # for MKS sh
   20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   21   emulate sh
   22   NULLCMD=:
   23   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   24   # is contrary to our usage.  Disable this feature.
   25   alias -g '${1+"$@"}'='"$@"'
   26   setopt NO_GLOB_SUBST
   27 else
   28   case `(set -o) 2>/dev/null` in @%:@(
   29   *posix*) :
   30     set -o posix ;; @%:@(
   31   *) :
   32      ;;
   33 esac
   34 fi
   35 
   36 
   37 as_nl='
   38 '
   39 export as_nl
   40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   44 # Prefer a ksh shell builtin over an external printf program on Solaris,
   45 # but without wasting forks for bash or zsh.
   46 if test -z "$BASH_VERSION$ZSH_VERSION" \
   47     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   48   as_echo='print -r --'
   49   as_echo_n='print -rn --'
   50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   51   as_echo='printf %s\n'
   52   as_echo_n='printf %s'
   53 else
   54   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   55     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   56     as_echo_n='/usr/ucb/echo -n'
   57   else
   58     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   59     as_echo_n_body='eval
   60       arg=$1;
   61       case $arg in @%:@(
   62       *"$as_nl"*)
   63 	expr "X$arg" : "X\\(.*\\)$as_nl";
   64 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   65       esac;
   66       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   67     '
   68     export as_echo_n_body
   69     as_echo_n='sh -c $as_echo_n_body as_echo'
   70   fi
   71   export as_echo_body
   72   as_echo='sh -c $as_echo_body as_echo'
   73 fi
   74 
   75 # The user is always right.
   76 if test "${PATH_SEPARATOR+set}" != set; then
   77   PATH_SEPARATOR=:
   78   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   79     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   80       PATH_SEPARATOR=';'
   81   }
   82 fi
   83 
   84 
   85 # IFS
   86 # We need space, tab and new line, in precisely that order.  Quoting is
   87 # there to prevent editors from complaining about space-tab.
   88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   89 # splitting by setting IFS to empty value.)
   90 IFS=" ""	$as_nl"
   91 
   92 # Find who we are.  Look in the path if we contain no directory separator.
   93 as_myself=
   94 case $0 in @%:@((
   95   *[\\/]* ) as_myself=$0 ;;
   96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   97 for as_dir in $PATH
   98 do
   99   IFS=$as_save_IFS
  100   test -z "$as_dir" && as_dir=.
  101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  102   done
  103 IFS=$as_save_IFS
  104 
  105      ;;
  106 esac
  107 # We did not find ourselves, most probably we were run as `sh COMMAND'
  108 # in which case we are not to be found in the path.
  109 if test "x$as_myself" = x; then
  110   as_myself=$0
  111 fi
  112 if test ! -f "$as_myself"; then
  113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  114   exit 1
  115 fi
  116 
  117 # Unset variables that we do not need and which cause bugs (e.g. in
  118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  119 # suppresses any "Segmentation fault" message there.  '((' could
  120 # trigger a bug in pdksh 5.2.14.
  121 for as_var in BASH_ENV ENV MAIL MAILPATH
  122 do eval test x\${$as_var+set} = xset \
  123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  124 done
  125 PS1='$ '
  126 PS2='> '
  127 PS4='+ '
  128 
  129 # NLS nuisances.
  130 LC_ALL=C
  131 export LC_ALL
  132 LANGUAGE=C
  133 export LANGUAGE
  134 
  135 # CDPATH.
  136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  137 
  138 # Use a proper internal environment variable to ensure we don't fall
  139   # into an infinite loop, continuously re-executing ourselves.
  140   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  141     _as_can_reexec=no; export _as_can_reexec;
  142     # We cannot yet assume a decent shell, so we have to provide a
  143 # neutralization value for shells without unset; and this also
  144 # works around shells that cannot unset nonexistent variables.
  145 # Preserve -v and -x to the replacement shell.
  146 BASH_ENV=/dev/null
  147 ENV=/dev/null
  148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  149 case $- in @%:@ ((((
  150   *v*x* | *x*v* ) as_opts=-vx ;;
  151   *v* ) as_opts=-v ;;
  152   *x* ) as_opts=-x ;;
  153   * ) as_opts= ;;
  154 esac
  155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  156 # Admittedly, this is quite paranoid, since all the known shells bail
  157 # out after a failed `exec'.
  158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  159 as_fn_exit 255
  160   fi
  161   # We don't want this to propagate to other subprocesses.
  162           { _as_can_reexec=; unset _as_can_reexec;}
  163 if test "x$CONFIG_SHELL" = x; then
  164   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  165   emulate sh
  166   NULLCMD=:
  167   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  168   # is contrary to our usage.  Disable this feature.
  169   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  170   setopt NO_GLOB_SUBST
  171 else
  172   case \`(set -o) 2>/dev/null\` in @%:@(
  173   *posix*) :
  174     set -o posix ;; @%:@(
  175   *) :
  176      ;;
  177 esac
  178 fi
  179 "
  180   as_required="as_fn_return () { (exit \$1); }
  181 as_fn_success () { as_fn_return 0; }
  182 as_fn_failure () { as_fn_return 1; }
  183 as_fn_ret_success () { return 0; }
  184 as_fn_ret_failure () { return 1; }
  185 
  186 exitcode=0
  187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  192   
  193 else
  194   exitcode=1; echo positional parameters were not saved.
  195 fi
  196 test x\$exitcode = x0 || exit 1
  197 test -x / || exit 1"
  198   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  199   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  200   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  201   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  202 test \$(( 1 + 1 )) = 2 || exit 1"
  203   if (eval "$as_required") 2>/dev/null; then :
  204   as_have_required=yes
  205 else
  206   as_have_required=no
  207 fi
  208   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  209   
  210 else
  211   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  212 as_found=false
  213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  214 do
  215   IFS=$as_save_IFS
  216   test -z "$as_dir" && as_dir=.
  217   as_found=:
  218   case $as_dir in @%:@(
  219 	 /*)
  220 	   for as_base in sh bash ksh sh5; do
  221 	     # Try only shells that exist, to save several forks.
  222 	     as_shell=$as_dir/$as_base
  223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  224 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  225   CONFIG_SHELL=$as_shell as_have_required=yes
  226 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  227   break 2
  228 fi
  229 fi
  230 	   done;;
  231        esac
  232   as_found=false
  233 done
  234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  235 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  236   CONFIG_SHELL=$SHELL as_have_required=yes
  237 fi; }
  238 IFS=$as_save_IFS
  239 
  240 
  241       if test "x$CONFIG_SHELL" != x; then :
  242   export CONFIG_SHELL
  243              # We cannot yet assume a decent shell, so we have to provide a
  244 # neutralization value for shells without unset; and this also
  245 # works around shells that cannot unset nonexistent variables.
  246 # Preserve -v and -x to the replacement shell.
  247 BASH_ENV=/dev/null
  248 ENV=/dev/null
  249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  250 case $- in @%:@ ((((
  251   *v*x* | *x*v* ) as_opts=-vx ;;
  252   *v* ) as_opts=-v ;;
  253   *x* ) as_opts=-x ;;
  254   * ) as_opts= ;;
  255 esac
  256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  257 # Admittedly, this is quite paranoid, since all the known shells bail
  258 # out after a failed `exec'.
  259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  260 exit 255
  261 fi
  262 
  263     if test x$as_have_required = xno; then :
  264   $as_echo "$0: This script requires a shell more modern than all"
  265   $as_echo "$0: the shells that I found on your system."
  266   if test x${ZSH_VERSION+set} = xset ; then
  267     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  268     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  269   else
  270     $as_echo "$0: Please tell bug-autoconf@gnu.org and
  271 $0: http://uncensored.citadel.org about your system,
  272 $0: including any error possibly output before this
  273 $0: message. Then install a modern shell, or manually run
  274 $0: the script under such a shell if you do have one."
  275   fi
  276   exit 1
  277 fi
  278 fi
  279 fi
  280 SHELL=${CONFIG_SHELL-/bin/sh}
  281 export SHELL
  282 # Unset more variables known to interfere with behavior of common tools.
  283 CLICOLOR_FORCE= GREP_OPTIONS=
  284 unset CLICOLOR_FORCE GREP_OPTIONS
  285 
  286 ## --------------------- ##
  287 ## M4sh Shell Functions. ##
  288 ## --------------------- ##
  289 @%:@ as_fn_unset VAR
  290 @%:@ ---------------
  291 @%:@ Portably unset VAR.
  292 as_fn_unset ()
  293 {
  294   { eval $1=; unset $1;}
  295 }
  296 as_unset=as_fn_unset
  297 
  298 @%:@ as_fn_set_status STATUS
  299 @%:@ -----------------------
  300 @%:@ Set @S|@? to STATUS, without forking.
  301 as_fn_set_status ()
  302 {
  303   return $1
  304 } @%:@ as_fn_set_status
  305 
  306 @%:@ as_fn_exit STATUS
  307 @%:@ -----------------
  308 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  309 as_fn_exit ()
  310 {
  311   set +e
  312   as_fn_set_status $1
  313   exit $1
  314 } @%:@ as_fn_exit
  315 
  316 @%:@ as_fn_mkdir_p
  317 @%:@ -------------
  318 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  319 as_fn_mkdir_p ()
  320 {
  321 
  322   case $as_dir in #(
  323   -*) as_dir=./$as_dir;;
  324   esac
  325   test -d "$as_dir" || eval $as_mkdir_p || {
  326     as_dirs=
  327     while :; do
  328       case $as_dir in #(
  329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  330       *) as_qdir=$as_dir;;
  331       esac
  332       as_dirs="'$as_qdir' $as_dirs"
  333       as_dir=`$as_dirname -- "$as_dir" ||
  334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  336 	 X"$as_dir" : 'X\(//\)$' \| \
  337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  338 $as_echo X"$as_dir" |
  339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  340 	    s//\1/
  341 	    q
  342 	  }
  343 	  /^X\(\/\/\)[^/].*/{
  344 	    s//\1/
  345 	    q
  346 	  }
  347 	  /^X\(\/\/\)$/{
  348 	    s//\1/
  349 	    q
  350 	  }
  351 	  /^X\(\/\).*/{
  352 	    s//\1/
  353 	    q
  354 	  }
  355 	  s/.*/./; q'`
  356       test -d "$as_dir" && break
  357     done
  358     test -z "$as_dirs" || eval "mkdir $as_dirs"
  359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  360 
  361 
  362 } @%:@ as_fn_mkdir_p
  363 
  364 @%:@ as_fn_executable_p FILE
  365 @%:@ -----------------------
  366 @%:@ Test if FILE is an executable regular file.
  367 as_fn_executable_p ()
  368 {
  369   test -f "$1" && test -x "$1"
  370 } @%:@ as_fn_executable_p
  371 @%:@ as_fn_append VAR VALUE
  372 @%:@ ----------------------
  373 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  374 @%:@ advantage of any shell optimizations that allow amortized linear growth over
  375 @%:@ repeated appends, instead of the typical quadratic growth present in naive
  376 @%:@ implementations.
  377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  378   eval 'as_fn_append ()
  379   {
  380     eval $1+=\$2
  381   }'
  382 else
  383   as_fn_append ()
  384   {
  385     eval $1=\$$1\$2
  386   }
  387 fi # as_fn_append
  388 
  389 @%:@ as_fn_arith ARG...
  390 @%:@ ------------------
  391 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  392 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  393 @%:@ must be portable across @S|@(()) and expr.
  394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  395   eval 'as_fn_arith ()
  396   {
  397     as_val=$(( $* ))
  398   }'
  399 else
  400   as_fn_arith ()
  401   {
  402     as_val=`expr "$@" || test $? -eq 1`
  403   }
  404 fi # as_fn_arith
  405 
  406 
  407 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  408 @%:@ ----------------------------------------
  409 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  410 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  411 @%:@ script with STATUS, using 1 if that was 0.
  412 as_fn_error ()
  413 {
  414   as_status=$1; test $as_status -eq 0 && as_status=1
  415   if test "$4"; then
  416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  418   fi
  419   $as_echo "$as_me: error: $2" >&2
  420   as_fn_exit $as_status
  421 } @%:@ as_fn_error
  422 
  423 if expr a : '\(a\)' >/dev/null 2>&1 &&
  424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  425   as_expr=expr
  426 else
  427   as_expr=false
  428 fi
  429 
  430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  431   as_basename=basename
  432 else
  433   as_basename=false
  434 fi
  435 
  436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  437   as_dirname=dirname
  438 else
  439   as_dirname=false
  440 fi
  441 
  442 as_me=`$as_basename -- "$0" ||
  443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  444 	 X"$0" : 'X\(//\)$' \| \
  445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  446 $as_echo X/"$0" |
  447     sed '/^.*\/\([^/][^/]*\)\/*$/{
  448 	    s//\1/
  449 	    q
  450 	  }
  451 	  /^X\/\(\/\/\)$/{
  452 	    s//\1/
  453 	    q
  454 	  }
  455 	  /^X\/\(\/\).*/{
  456 	    s//\1/
  457 	    q
  458 	  }
  459 	  s/.*/./; q'`
  460 
  461 # Avoid depending upon Character Ranges.
  462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  465 as_cr_digits='0123456789'
  466 as_cr_alnum=$as_cr_Letters$as_cr_digits
  467 
  468 
  469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  474   sed -n '
  475     p
  476     /[$]LINENO/=
  477   ' <$as_myself |
  478     sed '
  479       s/[$]LINENO.*/&-/
  480       t lineno
  481       b
  482       :lineno
  483       N
  484       :loop
  485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  486       t loop
  487       s/-\n.*//
  488     ' >$as_me.lineno &&
  489   chmod +x "$as_me.lineno" ||
  490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  491 
  492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  493   # already done that, so ensure we don't try to do so again and fall
  494   # in an infinite loop.  This has already happened in practice.
  495   _as_can_reexec=no; export _as_can_reexec
  496   # Don't try to exec as it changes $[0], causing all sort of problems
  497   # (the dirname of $[0] is not the place where we might find the
  498   # original and so on.  Autoconf is especially sensitive to this).
  499   . "./$as_me.lineno"
  500   # Exit status is that of the last command.
  501   exit
  502 }
  503 
  504 ECHO_C= ECHO_N= ECHO_T=
  505 case `echo -n x` in @%:@(((((
  506 -n*)
  507   case `echo 'xy\c'` in
  508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  509   xy)  ECHO_C='\c';;
  510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  511        ECHO_T='	';;
  512   esac;;
  513 *)
  514   ECHO_N='-n';;
  515 esac
  516 
  517 rm -f conf$$ conf$$.exe conf$$.file
  518 if test -d conf$$.dir; then
  519   rm -f conf$$.dir/conf$$.file
  520 else
  521   rm -f conf$$.dir
  522   mkdir conf$$.dir 2>/dev/null
  523 fi
  524 if (echo >conf$$.file) 2>/dev/null; then
  525   if ln -s conf$$.file conf$$ 2>/dev/null; then
  526     as_ln_s='ln -s'
  527     # ... but there are two gotchas:
  528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  530     # In both cases, we have to default to `cp -pR'.
  531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  532       as_ln_s='cp -pR'
  533   elif ln conf$$.file conf$$ 2>/dev/null; then
  534     as_ln_s=ln
  535   else
  536     as_ln_s='cp -pR'
  537   fi
  538 else
  539   as_ln_s='cp -pR'
  540 fi
  541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  542 rmdir conf$$.dir 2>/dev/null
  543 
  544 if mkdir -p . 2>/dev/null; then
  545   as_mkdir_p='mkdir -p "$as_dir"'
  546 else
  547   test -d ./-p && rmdir ./-p
  548   as_mkdir_p=false
  549 fi
  550 
  551 as_test_x='test -x'
  552 as_executable_p=as_fn_executable_p
  553 
  554 # Sed expression to map a string onto a valid CPP name.
  555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  556 
  557 # Sed expression to map a string onto a valid variable name.
  558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  559 
  560 
  561 test -n "$DJDIR" || exec 7<&0 </dev/null
  562 exec 6>&1
  563 
  564 # Name of the host.
  565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  566 # so uname gets run too.
  567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  568 
  569 #
  570 # Initializations.
  571 #
  572 ac_default_prefix=/usr/local
  573 ac_clean_files=
  574 ac_config_libobj_dir=.
  575 LIB@&t@OBJS=
  576 cross_compiling=no
  577 subdirs=
  578 MFLAGS=
  579 MAKEFLAGS=
  580 
  581 # Identity of this package.
  582 PACKAGE_NAME='Citadel'
  583 PACKAGE_TARNAME='citadel'
  584 PACKAGE_VERSION='931'
  585 PACKAGE_STRING='Citadel 931'
  586 PACKAGE_BUGREPORT='http://uncensored.citadel.org'
  587 PACKAGE_URL=''
  588 
  589 ac_unique_file="citserver.c"
  590 ac_default_prefix=/usr/local/citadel
  591 # Factoring default headers for most tests.
  592 ac_includes_default="\
  593 #include <stdio.h>
  594 #ifdef HAVE_SYS_TYPES_H
  595 # include <sys/types.h>
  596 #endif
  597 #ifdef HAVE_SYS_STAT_H
  598 # include <sys/stat.h>
  599 #endif
  600 #ifdef STDC_HEADERS
  601 # include <stdlib.h>
  602 # include <stddef.h>
  603 #else
  604 # ifdef HAVE_STDLIB_H
  605 #  include <stdlib.h>
  606 # endif
  607 #endif
  608 #ifdef HAVE_STRING_H
  609 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  610 #  include <memory.h>
  611 # endif
  612 # include <string.h>
  613 #endif
  614 #ifdef HAVE_STRINGS_H
  615 # include <strings.h>
  616 #endif
  617 #ifdef HAVE_INTTYPES_H
  618 # include <inttypes.h>
  619 #endif
  620 #ifdef HAVE_STDINT_H
  621 # include <stdint.h>
  622 #endif
  623 #ifdef HAVE_UNISTD_H
  624 # include <unistd.h>
  625 #endif"
  626 
  627 ac_subst_vars='LTLIBOBJS
  628 LIB@&t@OBJS
  629 SETUP_LIBS
  630 SERVER_LIBS
  631 SERVER_LDFLAGS
  632 DATABASE
  633 TARGETS
  634 chkpwd_LIBS
  635 RESOLV
  636 ok_msgfmt
  637 ok_msgmerge
  638 ok_xgettext
  639 ACLOCAL
  640 AUTOCONF
  641 PATCH
  642 DIFF
  643 YFLAGS
  644 YACC
  645 INSTALL_DATA
  646 INSTALL_SCRIPT
  647 INSTALL_PROGRAM
  648 DEPEND_FLAG
  649 host_os
  650 host_vendor
  651 host_cpu
  652 host
  653 build_os
  654 build_vendor
  655 build_cpu
  656 build
  657 LOCALEDIR
  658 MAKE_DOC_DIR
  659 MAKE_RUN_DIR
  660 MAKE_UTILBIN_DIR
  661 MAKE_AUTO_ETC_DIR
  662 MAKE_ETC_DIR
  663 MAKE_SPOOL_DIR
  664 MAKE_SSL_DIR
  665 MAKE_STATICDATA_DIR
  666 MAKE_HELP_DIR
  667 MAKE_DATA_DIR
  668 EGREP
  669 GREP
  670 CPP
  671 OBJEXT
  672 EXEEXT
  673 ac_ct_CC
  674 CPPFLAGS
  675 LDFLAGS
  676 CFLAGS
  677 CC
  678 target_alias
  679 host_alias
  680 build_alias
  681 LIBS
  682 ECHO_T
  683 ECHO_N
  684 ECHO_C
  685 DEFS
  686 mandir
  687 localedir
  688 libdir
  689 psdir
  690 pdfdir
  691 dvidir
  692 htmldir
  693 infodir
  694 docdir
  695 oldincludedir
  696 includedir
  697 runstatedir
  698 localstatedir
  699 sharedstatedir
  700 sysconfdir
  701 datadir
  702 datarootdir
  703 libexecdir
  704 sbindir
  705 bindir
  706 program_transform_name
  707 prefix
  708 exec_prefix
  709 PACKAGE_URL
  710 PACKAGE_BUGREPORT
  711 PACKAGE_STRING
  712 PACKAGE_VERSION
  713 PACKAGE_TARNAME
  714 PACKAGE_NAME
  715 PATH_SEPARATOR
  716 SHELL'
  717 ac_subst_files=''
  718 ac_user_opts='
  719 enable_option_checking
  720 with_datadir
  721 with_helpdir
  722 with_staticdatadir
  723 with_ssldir
  724 with_spooldir
  725 with_sysconfdir
  726 with_autosysconfdir
  727 with_utility_bindir
  728 with_rundir
  729 with_docdir
  730 with_localedir
  731 enable_iconv
  732 enable_pie
  733 with_pam
  734 with_kthread
  735 with_db
  736 with_ssl
  737 with_backtrace
  738 with_gprof
  739 '
  740       ac_precious_vars='build_alias
  741 host_alias
  742 target_alias
  743 CC
  744 CFLAGS
  745 LDFLAGS
  746 LIBS
  747 CPPFLAGS
  748 CPP
  749 YACC
  750 YFLAGS'
  751 
  752 
  753 # Initialize some variables set by options.
  754 ac_init_help=
  755 ac_init_version=false
  756 ac_unrecognized_opts=
  757 ac_unrecognized_sep=
  758 # The variables have the same names as the options, with
  759 # dashes changed to underlines.
  760 cache_file=/dev/null
  761 exec_prefix=NONE
  762 no_create=
  763 no_recursion=
  764 prefix=NONE
  765 program_prefix=NONE
  766 program_suffix=NONE
  767 program_transform_name=s,x,x,
  768 silent=
  769 site=
  770 srcdir=
  771 verbose=
  772 x_includes=NONE
  773 x_libraries=NONE
  774 
  775 # Installation directory options.
  776 # These are left unexpanded so users can "make install exec_prefix=/foo"
  777 # and all the variables that are supposed to be based on exec_prefix
  778 # by default will actually change.
  779 # Use braces instead of parens because sh, perl, etc. also accept them.
  780 # (The list follows the same order as the GNU Coding Standards.)
  781 bindir='${exec_prefix}/bin'
  782 sbindir='${exec_prefix}/sbin'
  783 libexecdir='${exec_prefix}/libexec'
  784 datarootdir='${prefix}/share'
  785 datadir='${datarootdir}'
  786 sysconfdir='${prefix}/etc'
  787 sharedstatedir='${prefix}/com'
  788 localstatedir='${prefix}/var'
  789 runstatedir='${localstatedir}/run'
  790 includedir='${prefix}/include'
  791 oldincludedir='/usr/include'
  792 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  793 infodir='${datarootdir}/info'
  794 htmldir='${docdir}'
  795 dvidir='${docdir}'
  796 pdfdir='${docdir}'
  797 psdir='${docdir}'
  798 libdir='${exec_prefix}/lib'
  799 localedir='${datarootdir}/locale'
  800 mandir='${datarootdir}/man'
  801 
  802 ac_prev=
  803 ac_dashdash=
  804 for ac_option
  805 do
  806   # If the previous option needs an argument, assign it.
  807   if test -n "$ac_prev"; then
  808     eval $ac_prev=\$ac_option
  809     ac_prev=
  810     continue
  811   fi
  812 
  813   case $ac_option in
  814   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  815   *=)   ac_optarg= ;;
  816   *)    ac_optarg=yes ;;
  817   esac
  818 
  819   # Accept the important Cygnus configure options, so we can diagnose typos.
  820 
  821   case $ac_dashdash$ac_option in
  822   --)
  823     ac_dashdash=yes ;;
  824 
  825   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  826     ac_prev=bindir ;;
  827   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  828     bindir=$ac_optarg ;;
  829 
  830   -build | --build | --buil | --bui | --bu)
  831     ac_prev=build_alias ;;
  832   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  833     build_alias=$ac_optarg ;;
  834 
  835   -cache-file | --cache-file | --cache-fil | --cache-fi \
  836   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  837     ac_prev=cache_file ;;
  838   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  839   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  840     cache_file=$ac_optarg ;;
  841 
  842   --config-cache | -C)
  843     cache_file=config.cache ;;
  844 
  845   -datadir | --datadir | --datadi | --datad)
  846     ac_prev=datadir ;;
  847   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  848     datadir=$ac_optarg ;;
  849 
  850   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  851   | --dataroo | --dataro | --datar)
  852     ac_prev=datarootdir ;;
  853   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  854   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  855     datarootdir=$ac_optarg ;;
  856 
  857   -disable-* | --disable-*)
  858     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  859     # Reject names that are not valid shell variable names.
  860     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  861       as_fn_error $? "invalid feature name: $ac_useropt"
  862     ac_useropt_orig=$ac_useropt
  863     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  864     case $ac_user_opts in
  865       *"
  866 "enable_$ac_useropt"
  867 "*) ;;
  868       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  869 	 ac_unrecognized_sep=', ';;
  870     esac
  871     eval enable_$ac_useropt=no ;;
  872 
  873   -docdir | --docdir | --docdi | --doc | --do)
  874     ac_prev=docdir ;;
  875   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  876     docdir=$ac_optarg ;;
  877 
  878   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  879     ac_prev=dvidir ;;
  880   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  881     dvidir=$ac_optarg ;;
  882 
  883   -enable-* | --enable-*)
  884     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  885     # Reject names that are not valid shell variable names.
  886     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  887       as_fn_error $? "invalid feature name: $ac_useropt"
  888     ac_useropt_orig=$ac_useropt
  889     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  890     case $ac_user_opts in
  891       *"
  892 "enable_$ac_useropt"
  893 "*) ;;
  894       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  895 	 ac_unrecognized_sep=', ';;
  896     esac
  897     eval enable_$ac_useropt=\$ac_optarg ;;
  898 
  899   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  900   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  901   | --exec | --exe | --ex)
  902     ac_prev=exec_prefix ;;
  903   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  904   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  905   | --exec=* | --exe=* | --ex=*)
  906     exec_prefix=$ac_optarg ;;
  907 
  908   -gas | --gas | --ga | --g)
  909     # Obsolete; use --with-gas.
  910     with_gas=yes ;;
  911 
  912   -help | --help | --hel | --he | -h)
  913     ac_init_help=long ;;
  914   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  915     ac_init_help=recursive ;;
  916   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  917     ac_init_help=short ;;
  918 
  919   -host | --host | --hos | --ho)
  920     ac_prev=host_alias ;;
  921   -host=* | --host=* | --hos=* | --ho=*)
  922     host_alias=$ac_optarg ;;
  923 
  924   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  925     ac_prev=htmldir ;;
  926   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  927   | --ht=*)
  928     htmldir=$ac_optarg ;;
  929 
  930   -includedir | --includedir | --includedi | --included | --include \
  931   | --includ | --inclu | --incl | --inc)
  932     ac_prev=includedir ;;
  933   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  934   | --includ=* | --inclu=* | --incl=* | --inc=*)
  935     includedir=$ac_optarg ;;
  936 
  937   -infodir | --infodir | --infodi | --infod | --info | --inf)
  938     ac_prev=infodir ;;
  939   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  940     infodir=$ac_optarg ;;
  941 
  942   -libdir | --libdir | --libdi | --libd)
  943     ac_prev=libdir ;;
  944   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  945     libdir=$ac_optarg ;;
  946 
  947   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  948   | --libexe | --libex | --libe)
  949     ac_prev=libexecdir ;;
  950   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  951   | --libexe=* | --libex=* | --libe=*)
  952     libexecdir=$ac_optarg ;;
  953 
  954   -localedir | --localedir | --localedi | --localed | --locale)
  955     ac_prev=localedir ;;
  956   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  957     localedir=$ac_optarg ;;
  958 
  959   -localstatedir | --localstatedir | --localstatedi | --localstated \
  960   | --localstate | --localstat | --localsta | --localst | --locals)
  961     ac_prev=localstatedir ;;
  962   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  963   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  964     localstatedir=$ac_optarg ;;
  965 
  966   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  967     ac_prev=mandir ;;
  968   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  969     mandir=$ac_optarg ;;
  970 
  971   -nfp | --nfp | --nf)
  972     # Obsolete; use --without-fp.
  973     with_fp=no ;;
  974 
  975   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  976   | --no-cr | --no-c | -n)
  977     no_create=yes ;;
  978 
  979   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  980   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  981     no_recursion=yes ;;
  982 
  983   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  984   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  985   | --oldin | --oldi | --old | --ol | --o)
  986     ac_prev=oldincludedir ;;
  987   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  988   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  989   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  990     oldincludedir=$ac_optarg ;;
  991 
  992   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  993     ac_prev=prefix ;;
  994   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  995     prefix=$ac_optarg ;;
  996 
  997   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  998   | --program-pre | --program-pr | --program-p)
  999     ac_prev=program_prefix ;;
 1000   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1001   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1002     program_prefix=$ac_optarg ;;
 1003 
 1004   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1005   | --program-suf | --program-su | --program-s)
 1006     ac_prev=program_suffix ;;
 1007   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1008   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1009     program_suffix=$ac_optarg ;;
 1010 
 1011   -program-transform-name | --program-transform-name \
 1012   | --program-transform-nam | --program-transform-na \
 1013   | --program-transform-n | --program-transform- \
 1014   | --program-transform | --program-transfor \
 1015   | --program-transfo | --program-transf \
 1016   | --program-trans | --program-tran \
 1017   | --progr-tra | --program-tr | --program-t)
 1018     ac_prev=program_transform_name ;;
 1019   -program-transform-name=* | --program-transform-name=* \
 1020   | --program-transform-nam=* | --program-transform-na=* \
 1021   | --program-transform-n=* | --program-transform-=* \
 1022   | --program-transform=* | --program-transfor=* \
 1023   | --program-transfo=* | --program-transf=* \
 1024   | --program-trans=* | --program-tran=* \
 1025   | --progr-tra=* | --program-tr=* | --program-t=*)
 1026     program_transform_name=$ac_optarg ;;
 1027 
 1028   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1029     ac_prev=pdfdir ;;
 1030   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1031     pdfdir=$ac_optarg ;;
 1032 
 1033   -psdir | --psdir | --psdi | --psd | --ps)
 1034     ac_prev=psdir ;;
 1035   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1036     psdir=$ac_optarg ;;
 1037 
 1038   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1039   | -silent | --silent | --silen | --sile | --sil)
 1040     silent=yes ;;
 1041 
 1042   -runstatedir | --runstatedir | --runstatedi | --runstated \
 1043   | --runstate | --runstat | --runsta | --runst | --runs \
 1044   | --run | --ru | --r)
 1045     ac_prev=runstatedir ;;
 1046   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
 1047   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
 1048   | --run=* | --ru=* | --r=*)
 1049     runstatedir=$ac_optarg ;;
 1050 
 1051   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1052     ac_prev=sbindir ;;
 1053   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1054   | --sbi=* | --sb=*)
 1055     sbindir=$ac_optarg ;;
 1056 
 1057   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1058   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1059   | --sharedst | --shareds | --shared | --share | --shar \
 1060   | --sha | --sh)
 1061     ac_prev=sharedstatedir ;;
 1062   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1063   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1064   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1065   | --sha=* | --sh=*)
 1066     sharedstatedir=$ac_optarg ;;
 1067 
 1068   -site | --site | --sit)
 1069     ac_prev=site ;;
 1070   -site=* | --site=* | --sit=*)
 1071     site=$ac_optarg ;;
 1072 
 1073   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1074     ac_prev=srcdir ;;
 1075   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1076     srcdir=$ac_optarg ;;
 1077 
 1078   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1079   | --syscon | --sysco | --sysc | --sys | --sy)
 1080     ac_prev=sysconfdir ;;
 1081   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1082   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1083     sysconfdir=$ac_optarg ;;
 1084 
 1085   -target | --target | --targe | --targ | --tar | --ta | --t)
 1086     ac_prev=target_alias ;;
 1087   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1088     target_alias=$ac_optarg ;;
 1089 
 1090   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1091     verbose=yes ;;
 1092 
 1093   -version | --version | --versio | --versi | --vers | -V)
 1094     ac_init_version=: ;;
 1095 
 1096   -with-* | --with-*)
 1097     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1098     # Reject names that are not valid shell variable names.
 1099     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1100       as_fn_error $? "invalid package name: $ac_useropt"
 1101     ac_useropt_orig=$ac_useropt
 1102     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1103     case $ac_user_opts in
 1104       *"
 1105 "with_$ac_useropt"
 1106 "*) ;;
 1107       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1108 	 ac_unrecognized_sep=', ';;
 1109     esac
 1110     eval with_$ac_useropt=\$ac_optarg ;;
 1111 
 1112   -without-* | --without-*)
 1113     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1114     # Reject names that are not valid shell variable names.
 1115     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1116       as_fn_error $? "invalid package name: $ac_useropt"
 1117     ac_useropt_orig=$ac_useropt
 1118     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1119     case $ac_user_opts in
 1120       *"
 1121 "with_$ac_useropt"
 1122 "*) ;;
 1123       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1124 	 ac_unrecognized_sep=', ';;
 1125     esac
 1126     eval with_$ac_useropt=no ;;
 1127 
 1128   --x)
 1129     # Obsolete; use --with-x.
 1130     with_x=yes ;;
 1131 
 1132   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1133   | --x-incl | --x-inc | --x-in | --x-i)
 1134     ac_prev=x_includes ;;
 1135   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1136   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1137     x_includes=$ac_optarg ;;
 1138 
 1139   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1140   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1141     ac_prev=x_libraries ;;
 1142   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1143   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1144     x_libraries=$ac_optarg ;;
 1145 
 1146   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1147 Try \`$0 --help' for more information"
 1148     ;;
 1149 
 1150   *=*)
 1151     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1152     # Reject names that are not valid shell variable names.
 1153     case $ac_envvar in #(
 1154       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1155       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1156     esac
 1157     eval $ac_envvar=\$ac_optarg
 1158     export $ac_envvar ;;
 1159 
 1160   *)
 1161     # FIXME: should be removed in autoconf 3.0.
 1162     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1163     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1164       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1165     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1166     ;;
 1167 
 1168   esac
 1169 done
 1170 
 1171 if test -n "$ac_prev"; then
 1172   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1173   as_fn_error $? "missing argument to $ac_option"
 1174 fi
 1175 
 1176 if test -n "$ac_unrecognized_opts"; then
 1177   case $enable_option_checking in
 1178     no) ;;
 1179     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1180     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1181   esac
 1182 fi
 1183 
 1184 # Check all directory arguments for consistency.
 1185 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1186 		datadir sysconfdir sharedstatedir localstatedir includedir \
 1187 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1188 		libdir localedir mandir runstatedir
 1189 do
 1190   eval ac_val=\$$ac_var
 1191   # Remove trailing slashes.
 1192   case $ac_val in
 1193     */ )
 1194       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1195       eval $ac_var=\$ac_val;;
 1196   esac
 1197   # Be sure to have absolute directory names.
 1198   case $ac_val in
 1199     [\\/$]* | ?:[\\/]* )  continue;;
 1200     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1201   esac
 1202   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1203 done
 1204 
 1205 # There might be people who depend on the old broken behavior: `$host'
 1206 # used to hold the argument of --host etc.
 1207 # FIXME: To remove some day.
 1208 build=$build_alias
 1209 host=$host_alias
 1210 target=$target_alias
 1211 
 1212 # FIXME: To remove some day.
 1213 if test "x$host_alias" != x; then
 1214   if test "x$build_alias" = x; then
 1215     cross_compiling=maybe
 1216   elif test "x$build_alias" != "x$host_alias"; then
 1217     cross_compiling=yes
 1218   fi
 1219 fi
 1220 
 1221 ac_tool_prefix=
 1222 test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1223 
 1224 test "$silent" = yes && exec 6>/dev/null
 1225 
 1226 
 1227 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1228 ac_ls_di=`ls -di .` &&
 1229 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1230   as_fn_error $? "working directory cannot be determined"
 1231 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1232   as_fn_error $? "pwd does not report name of working directory"
 1233 
 1234 
 1235 # Find the source files, if location was not specified.
 1236 if test -z "$srcdir"; then
 1237   ac_srcdir_defaulted=yes
 1238   # Try the directory containing this script, then the parent directory.
 1239   ac_confdir=`$as_dirname -- "$as_myself" ||
 1240 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1241 	 X"$as_myself" : 'X\(//\)[^/]' \| \
 1242 	 X"$as_myself" : 'X\(//\)$' \| \
 1243 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1244 $as_echo X"$as_myself" |
 1245     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1246 	    s//\1/
 1247 	    q
 1248 	  }
 1249 	  /^X\(\/\/\)[^/].*/{
 1250 	    s//\1/
 1251 	    q
 1252 	  }
 1253 	  /^X\(\/\/\)$/{
 1254 	    s//\1/
 1255 	    q
 1256 	  }
 1257 	  /^X\(\/\).*/{
 1258 	    s//\1/
 1259 	    q
 1260 	  }
 1261 	  s/.*/./; q'`
 1262   srcdir=$ac_confdir
 1263   if test ! -r "$srcdir/$ac_unique_file"; then
 1264     srcdir=..
 1265   fi
 1266 else
 1267   ac_srcdir_defaulted=no
 1268 fi
 1269 if test ! -r "$srcdir/$ac_unique_file"; then
 1270   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1271   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1272 fi
 1273 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1274 ac_abs_confdir=`(
 1275 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1276 	pwd)`
 1277 # When building in place, set srcdir=.
 1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
 1279   srcdir=.
 1280 fi
 1281 # Remove unnecessary trailing slashes from srcdir.
 1282 # Double slashes in file names in object file debugging info
 1283 # mess up M-x gdb in Emacs.
 1284 case $srcdir in
 1285 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1286 esac
 1287 for ac_var in $ac_precious_vars; do
 1288   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1289   eval ac_env_${ac_var}_value=\$${ac_var}
 1290   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1291   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1292 done
 1293 
 1294 #
 1295 # Report the --help message.
 1296 #
 1297 if test "$ac_init_help" = "long"; then
 1298   # Omit some internal or obsolete options to make the list less imposing.
 1299   # This message is too long to be a string in the A/UX 3.1 sh.
 1300   cat <<_ACEOF
 1301 \`configure' configures Citadel 931 to adapt to many kinds of systems.
 1302 
 1303 Usage: $0 [OPTION]... [VAR=VALUE]...
 1304 
 1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1306 VAR=VALUE.  See below for descriptions of some of the useful variables.
 1307 
 1308 Defaults for the options are specified in brackets.
 1309 
 1310 Configuration:
 1311   -h, --help              display this help and exit
 1312       --help=short        display options specific to this package
 1313       --help=recursive    display the short help of all the included packages
 1314   -V, --version           display version information and exit
 1315   -q, --quiet, --silent   do not print \`checking ...' messages
 1316       --cache-file=FILE   cache test results in FILE [disabled]
 1317   -C, --config-cache      alias for \`--cache-file=config.cache'
 1318   -n, --no-create         do not create output files
 1319       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1320 
 1321 Installation directories:
 1322   --prefix=PREFIX         install architecture-independent files in PREFIX
 1323                           @<:@@S|@ac_default_prefix@:>@
 1324   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1325                           @<:@PREFIX@:>@
 1326 
 1327 By default, \`make install' will install all the files in
 1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1330 for instance \`--prefix=\$HOME'.
 1331 
 1332 For better control, use the options below.
 1333 
 1334 Fine tuning of the installation directories:
 1335   --bindir=DIR            user executables [EPREFIX/bin]
 1336   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1337   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1338   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1339   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1340   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1341   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
 1342   --libdir=DIR            object code libraries [EPREFIX/lib]
 1343   --includedir=DIR        C header files [PREFIX/include]
 1344   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1345   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1346   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1347   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1348   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1349   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1350   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/citadel@:>@
 1351   --htmldir=DIR           html documentation [DOCDIR]
 1352   --dvidir=DIR            dvi documentation [DOCDIR]
 1353   --pdfdir=DIR            pdf documentation [DOCDIR]
 1354   --psdir=DIR             ps documentation [DOCDIR]
 1355 _ACEOF
 1356 
 1357   cat <<\_ACEOF
 1358 
 1359 System types:
 1360   --build=BUILD     configure for building on BUILD [guessed]
 1361   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1362 _ACEOF
 1363 fi
 1364 
 1365 if test -n "$ac_init_help"; then
 1366   case $ac_init_help in
 1367      short | recursive ) echo "Configuration of Citadel 931:";;
 1368    esac
 1369   cat <<\_ACEOF
 1370 
 1371 Optional Features:
 1372   --disable-option-checking  ignore unrecognized --enable/--with options
 1373   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1374   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1375   --disable-iconv         do not use iconv charset conversion
 1376   --enable-pie            build position-independent executables
 1377 
 1378 Optional Packages:
 1379   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1380   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1381   --with-datadir          directory to store the databases under
 1382   --with-helpdir          directory to store the helpfiles under
 1383   --with-staticdatadir    directory to store citadels system messages under
 1384   --with-ssldir           directory to store the ssl certificates under
 1385   --with-spooldir         directory to keep queues under
 1386   --with-sysconfdir       directory to store the configs under
 1387   --with-autosysconfdir	 directory to store the automaticaly maintained configs under
 1388   --with-utility-bindir   directory where to find helper binaries
 1389   --with-rundir           directory to place runtime files (UDS) to?
 1390   --with-docdir           where to install the documentation. default: /usr/local/citadel/
 1391   --with-localedir          directory to put the locale files to
 1392   --with-pam              use PAM if present (see PAM.txt before you try this)
 1393   --with-kthread          use kernel threads (on FreeBSD) (not recommended yet)
 1394   --with-db@<:@=DIR@:>@         use Berkeley DB 3.x @<:@DIR=/usr/local/BerkeleyDB.3.@<:@123@:>@@:>@
 1395   --with-ssl=PATH         Specify path to OpenSSL installation 
 1396   --with-backtrace        enable backtrace dumps in the syslog
 1397   --with-gprof            enable profiling
 1398 
 1399 Some influential environment variables:
 1400   CC          C compiler command
 1401   CFLAGS      C compiler flags
 1402   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1403               nonstandard directory <lib dir>
 1404   LIBS        libraries to pass to the linker, e.g. -l<library>
 1405   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1406               you have headers in a nonstandard directory <include dir>
 1407   CPP         C preprocessor
 1408   YACC        The `Yet Another Compiler Compiler' implementation to use.
 1409               Defaults to the first program found out of: `bison -y', `byacc',
 1410               `yacc'.
 1411   YFLAGS      The list of arguments that will be passed by default to @S|@YACC.
 1412               This script will default YFLAGS to the empty string to avoid a
 1413               default value of `-d' given by some make applications.
 1414 
 1415 Use these variables to override the choices made by `configure' or to help
 1416 it to find libraries and programs with nonstandard names/locations.
 1417 
 1418 Report bugs to <http://uncensored.citadel.org>.
 1419 _ACEOF
 1420 ac_status=$?
 1421 fi
 1422 
 1423 if test "$ac_init_help" = "recursive"; then
 1424   # If there are subdirs, report their specific --help.
 1425   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1426     test -d "$ac_dir" ||
 1427       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1428       continue
 1429     ac_builddir=.
 1430 
 1431 case "$ac_dir" in
 1432 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1433 *)
 1434   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1435   # A ".." for each directory in $ac_dir_suffix.
 1436   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1437   case $ac_top_builddir_sub in
 1438   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1439   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1440   esac ;;
 1441 esac
 1442 ac_abs_top_builddir=$ac_pwd
 1443 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1444 # for backward compatibility:
 1445 ac_top_builddir=$ac_top_build_prefix
 1446 
 1447 case $srcdir in
 1448   .)  # We are building in place.
 1449     ac_srcdir=.
 1450     ac_top_srcdir=$ac_top_builddir_sub
 1451     ac_abs_top_srcdir=$ac_pwd ;;
 1452   [\\/]* | ?:[\\/]* )  # Absolute name.
 1453     ac_srcdir=$srcdir$ac_dir_suffix;
 1454     ac_top_srcdir=$srcdir
 1455     ac_abs_top_srcdir=$srcdir ;;
 1456   *) # Relative name.
 1457     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1458     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1459     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1460 esac
 1461 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1462 
 1463     cd "$ac_dir" || { ac_status=$?; continue; }
 1464     # Check for guested configure.
 1465     if test -f "$ac_srcdir/configure.gnu"; then
 1466       echo &&
 1467       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1468     elif test -f "$ac_srcdir/configure"; then
 1469       echo &&
 1470       $SHELL "$ac_srcdir/configure" --help=recursive
 1471     else
 1472       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1473     fi || ac_status=$?
 1474     cd "$ac_pwd" || { ac_status=$?; break; }
 1475   done
 1476 fi
 1477 
 1478 test -n "$ac_init_help" && exit $ac_status
 1479 if $ac_init_version; then
 1480   cat <<\_ACEOF
 1481 Citadel configure 931
 1482 generated by GNU Autoconf 2.69
 1483 
 1484 Copyright (C) 2012 Free Software Foundation, Inc.
 1485 This configure script is free software; the Free Software Foundation
 1486 gives unlimited permission to copy, distribute and modify it.
 1487 _ACEOF
 1488   exit
 1489 fi
 1490 
 1491 ## ------------------------ ##
 1492 ## Autoconf initialization. ##
 1493 ## ------------------------ ##
 1494 
 1495 @%:@ ac_fn_c_try_compile LINENO
 1496 @%:@ --------------------------
 1497 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 1498 ac_fn_c_try_compile ()
 1499 {
 1500   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1501   rm -f conftest.$ac_objext
 1502   if { { ac_try="$ac_compile"
 1503 case "(($ac_try" in
 1504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1505   *) ac_try_echo=$ac_try;;
 1506 esac
 1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1508 $as_echo "$ac_try_echo"; } >&5
 1509   (eval "$ac_compile") 2>conftest.err
 1510   ac_status=$?
 1511   if test -s conftest.err; then
 1512     grep -v '^ *+' conftest.err >conftest.er1
 1513     cat conftest.er1 >&5
 1514     mv -f conftest.er1 conftest.err
 1515   fi
 1516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1517   test $ac_status = 0; } && {
 1518 	 test -z "$ac_c_werror_flag" ||
 1519 	 test ! -s conftest.err
 1520        } && test -s conftest.$ac_objext; 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   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1529   as_fn_set_status $ac_retval
 1530 
 1531 } @%:@ ac_fn_c_try_compile
 1532 
 1533 @%:@ ac_fn_c_try_cpp LINENO
 1534 @%:@ ----------------------
 1535 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 1536 ac_fn_c_try_cpp ()
 1537 {
 1538   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1539   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1540 case "(($ac_try" in
 1541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1542   *) ac_try_echo=$ac_try;;
 1543 esac
 1544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1545 $as_echo "$ac_try_echo"; } >&5
 1546   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1547   ac_status=$?
 1548   if test -s conftest.err; then
 1549     grep -v '^ *+' conftest.err >conftest.er1
 1550     cat conftest.er1 >&5
 1551     mv -f conftest.er1 conftest.err
 1552   fi
 1553   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1554   test $ac_status = 0; } > conftest.i && {
 1555 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1556 	 test ! -s conftest.err
 1557        }; then :
 1558   ac_retval=0
 1559 else
 1560   $as_echo "$as_me: failed program was:" >&5
 1561 sed 's/^/| /' conftest.$ac_ext >&5
 1562 
 1563     ac_retval=1
 1564 fi
 1565   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1566   as_fn_set_status $ac_retval
 1567 
 1568 } @%:@ ac_fn_c_try_cpp
 1569 
 1570 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 1571 @%:@ -------------------------------------------------------
 1572 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
 1573 @%:@ the include files in INCLUDES and setting the cache variable VAR
 1574 @%:@ accordingly.
 1575 ac_fn_c_check_header_mongrel ()
 1576 {
 1577   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1578   if eval \${$3+:} false; then :
 1579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1580 $as_echo_n "checking for $2... " >&6; }
 1581 if eval \${$3+:} false; then :
 1582   $as_echo_n "(cached) " >&6
 1583 fi
 1584 eval ac_res=\$$3
 1585 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1586 $as_echo "$ac_res" >&6; }
 1587 else
 1588   # Is the header compilable?
 1589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 1590 $as_echo_n "checking $2 usability... " >&6; }
 1591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1592 /* end confdefs.h.  */
 1593 $4
 1594 @%:@include <$2>
 1595 _ACEOF
 1596 if ac_fn_c_try_compile "$LINENO"; then :
 1597   ac_header_compiler=yes
 1598 else
 1599   ac_header_compiler=no
 1600 fi
 1601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 1603 $as_echo "$ac_header_compiler" >&6; }
 1604 
 1605 # Is the header present?
 1606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 1607 $as_echo_n "checking $2 presence... " >&6; }
 1608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1609 /* end confdefs.h.  */
 1610 @%:@include <$2>
 1611 _ACEOF
 1612 if ac_fn_c_try_cpp "$LINENO"; then :
 1613   ac_header_preproc=yes
 1614 else
 1615   ac_header_preproc=no
 1616 fi
 1617 rm -f conftest.err conftest.i conftest.$ac_ext
 1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 1619 $as_echo "$ac_header_preproc" >&6; }
 1620 
 1621 # So?  What about this header?
 1622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 1623   yes:no: )
 1624     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 1625 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 1626     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1627 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1628     ;;
 1629   no:yes:* )
 1630     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 1631 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 1632     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 1633 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 1634     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 1635 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 1636     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 1637 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 1638     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1639 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1640 ( $as_echo "## -------------------------------------------- ##
 1641 ## Report this to http://uncensored.citadel.org ##
 1642 ## -------------------------------------------- ##"
 1643      ) | sed "s/^/$as_me: WARNING:     /" >&2
 1644     ;;
 1645 esac
 1646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1647 $as_echo_n "checking for $2... " >&6; }
 1648 if eval \${$3+:} false; then :
 1649   $as_echo_n "(cached) " >&6
 1650 else
 1651   eval "$3=\$ac_header_compiler"
 1652 fi
 1653 eval ac_res=\$$3
 1654 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1655 $as_echo "$ac_res" >&6; }
 1656 fi
 1657   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1658 
 1659 } @%:@ ac_fn_c_check_header_mongrel
 1660 
 1661 @%:@ ac_fn_c_try_run LINENO
 1662 @%:@ ----------------------
 1663 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
 1664 @%:@ that executables *can* be run.
 1665 ac_fn_c_try_run ()
 1666 {
 1667   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1668   if { { ac_try="$ac_link"
 1669 case "(($ac_try" in
 1670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1671   *) ac_try_echo=$ac_try;;
 1672 esac
 1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1674 $as_echo "$ac_try_echo"; } >&5
 1675   (eval "$ac_link") 2>&5
 1676   ac_status=$?
 1677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1678   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1679   { { case "(($ac_try" in
 1680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1681   *) ac_try_echo=$ac_try;;
 1682 esac
 1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1684 $as_echo "$ac_try_echo"; } >&5
 1685   (eval "$ac_try") 2>&5
 1686   ac_status=$?
 1687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1688   test $ac_status = 0; }; }; then :
 1689   ac_retval=0
 1690 else
 1691   $as_echo "$as_me: program exited with status $ac_status" >&5
 1692        $as_echo "$as_me: failed program was:" >&5
 1693 sed 's/^/| /' conftest.$ac_ext >&5
 1694 
 1695        ac_retval=$ac_status
 1696 fi
 1697   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1698   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1699   as_fn_set_status $ac_retval
 1700 
 1701 } @%:@ ac_fn_c_try_run
 1702 
 1703 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1704 @%:@ -------------------------------------------------------
 1705 @%:@ Tests whether HEADER exists and can be compiled using the include files in
 1706 @%:@ INCLUDES, setting the cache variable VAR accordingly.
 1707 ac_fn_c_check_header_compile ()
 1708 {
 1709   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1711 $as_echo_n "checking for $2... " >&6; }
 1712 if eval \${$3+:} false; then :
 1713   $as_echo_n "(cached) " >&6
 1714 else
 1715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1716 /* end confdefs.h.  */
 1717 $4
 1718 @%:@include <$2>
 1719 _ACEOF
 1720 if ac_fn_c_try_compile "$LINENO"; then :
 1721   eval "$3=yes"
 1722 else
 1723   eval "$3=no"
 1724 fi
 1725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1726 fi
 1727 eval ac_res=\$$3
 1728 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1729 $as_echo "$ac_res" >&6; }
 1730   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1731 
 1732 } @%:@ ac_fn_c_check_header_compile
 1733 
 1734 @%:@ ac_fn_c_try_link LINENO
 1735 @%:@ -----------------------
 1736 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 1737 ac_fn_c_try_link ()
 1738 {
 1739   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1740   rm -f conftest.$ac_objext conftest$ac_exeext
 1741   if { { ac_try="$ac_link"
 1742 case "(($ac_try" in
 1743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1744   *) ac_try_echo=$ac_try;;
 1745 esac
 1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1747 $as_echo "$ac_try_echo"; } >&5
 1748   (eval "$ac_link") 2>conftest.err
 1749   ac_status=$?
 1750   if test -s conftest.err; then
 1751     grep -v '^ *+' conftest.err >conftest.er1
 1752     cat conftest.er1 >&5
 1753     mv -f conftest.er1 conftest.err
 1754   fi
 1755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1756   test $ac_status = 0; } && {
 1757 	 test -z "$ac_c_werror_flag" ||
 1758 	 test ! -s conftest.err
 1759        } && test -s conftest$ac_exeext && {
 1760 	 test "$cross_compiling" = yes ||
 1761 	 test -x conftest$ac_exeext
 1762        }; then :
 1763   ac_retval=0
 1764 else
 1765   $as_echo "$as_me: failed program was:" >&5
 1766 sed 's/^/| /' conftest.$ac_ext >&5
 1767 
 1768 	ac_retval=1
 1769 fi
 1770   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1771   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1772   # interfere with the next link command; also delete a directory that is
 1773   # left behind by Apple's compiler.  We do this before executing the actions.
 1774   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1776   as_fn_set_status $ac_retval
 1777 
 1778 } @%:@ ac_fn_c_try_link
 1779 
 1780 @%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 1781 @%:@ --------------------------------------------
 1782 @%:@ Tries to find the compile-time value of EXPR in a program that includes
 1783 @%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
 1784 @%:@ computed
 1785 ac_fn_c_compute_int ()
 1786 {
 1787   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1788   if test "$cross_compiling" = yes; then
 1789     # Depending upon the size, compute the lo and hi bounds.
 1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1791 /* end confdefs.h.  */
 1792 $4
 1793 int
 1794 main ()
 1795 {
 1796 static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
 1797 test_array @<:@0@:>@ = 0;
 1798 return test_array @<:@0@:>@;
 1799 
 1800   ;
 1801   return 0;
 1802 }
 1803 _ACEOF
 1804 if ac_fn_c_try_compile "$LINENO"; then :
 1805   ac_lo=0 ac_mid=0
 1806   while :; do
 1807     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1808 /* end confdefs.h.  */
 1809 $4
 1810 int
 1811 main ()
 1812 {
 1813 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
 1814 test_array @<:@0@:>@ = 0;
 1815 return test_array @<:@0@:>@;
 1816 
 1817   ;
 1818   return 0;
 1819 }
 1820 _ACEOF
 1821 if ac_fn_c_try_compile "$LINENO"; then :
 1822   ac_hi=$ac_mid; break
 1823 else
 1824   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 1825 			if test $ac_lo -le $ac_mid; then
 1826 			  ac_lo= ac_hi=
 1827 			  break
 1828 			fi
 1829 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 1830 fi
 1831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1832   done
 1833 else
 1834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1835 /* end confdefs.h.  */
 1836 $4
 1837 int
 1838 main ()
 1839 {
 1840 static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
 1841 test_array @<:@0@:>@ = 0;
 1842 return test_array @<:@0@:>@;
 1843 
 1844   ;
 1845   return 0;
 1846 }
 1847 _ACEOF
 1848 if ac_fn_c_try_compile "$LINENO"; then :
 1849   ac_hi=-1 ac_mid=-1
 1850   while :; do
 1851     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1852 /* end confdefs.h.  */
 1853 $4
 1854 int
 1855 main ()
 1856 {
 1857 static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
 1858 test_array @<:@0@:>@ = 0;
 1859 return test_array @<:@0@:>@;
 1860 
 1861   ;
 1862   return 0;
 1863 }
 1864 _ACEOF
 1865 if ac_fn_c_try_compile "$LINENO"; then :
 1866   ac_lo=$ac_mid; break
 1867 else
 1868   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 1869 			if test $ac_mid -le $ac_hi; then
 1870 			  ac_lo= ac_hi=
 1871 			  break
 1872 			fi
 1873 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 1874 fi
 1875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1876   done
 1877 else
 1878   ac_lo= ac_hi=
 1879 fi
 1880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1881 fi
 1882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1883 # Binary search between lo and hi bounds.
 1884 while test "x$ac_lo" != "x$ac_hi"; do
 1885   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 1886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1887 /* end confdefs.h.  */
 1888 $4
 1889 int
 1890 main ()
 1891 {
 1892 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
 1893 test_array @<:@0@:>@ = 0;
 1894 return test_array @<:@0@:>@;
 1895 
 1896   ;
 1897   return 0;
 1898 }
 1899 _ACEOF
 1900 if ac_fn_c_try_compile "$LINENO"; then :
 1901   ac_hi=$ac_mid
 1902 else
 1903   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 1904 fi
 1905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1906 done
 1907 case $ac_lo in @%:@((
 1908 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 1909 '') ac_retval=1 ;;
 1910 esac
 1911   else
 1912     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1913 /* end confdefs.h.  */
 1914 $4
 1915 static long int longval () { return $2; }
 1916 static unsigned long int ulongval () { return $2; }
 1917 @%:@include <stdio.h>
 1918 @%:@include <stdlib.h>
 1919 int
 1920 main ()
 1921 {
 1922 
 1923   FILE *f = fopen ("conftest.val", "w");
 1924   if (! f)
 1925     return 1;
 1926   if (($2) < 0)
 1927     {
 1928       long int i = longval ();
 1929       if (i != ($2))
 1930 	return 1;
 1931       fprintf (f, "%ld", i);
 1932     }
 1933   else
 1934     {
 1935       unsigned long int i = ulongval ();
 1936       if (i != ($2))
 1937 	return 1;
 1938       fprintf (f, "%lu", i);
 1939     }
 1940   /* Do not output a trailing newline, as this causes \r\n confusion
 1941      on some platforms.  */
 1942   return ferror (f) || fclose (f) != 0;
 1943 
 1944   ;
 1945   return 0;
 1946 }
 1947 _ACEOF
 1948 if ac_fn_c_try_run "$LINENO"; then :
 1949   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 1950 else
 1951   ac_retval=1
 1952 fi
 1953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 1954   conftest.$ac_objext conftest.beam conftest.$ac_ext
 1955 rm -f conftest.val
 1956 
 1957   fi
 1958   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1959   as_fn_set_status $ac_retval
 1960 
 1961 } @%:@ ac_fn_c_compute_int
 1962 
 1963 @%:@ ac_fn_c_check_func LINENO FUNC VAR
 1964 @%:@ ----------------------------------
 1965 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
 1966 ac_fn_c_check_func ()
 1967 {
 1968   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1970 $as_echo_n "checking for $2... " >&6; }
 1971 if eval \${$3+:} false; then :
 1972   $as_echo_n "(cached) " >&6
 1973 else
 1974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1975 /* end confdefs.h.  */
 1976 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1977    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1978 #define $2 innocuous_$2
 1979 
 1980 /* System header to define __stub macros and hopefully few prototypes,
 1981     which can conflict with char $2 (); below.
 1982     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1983     <limits.h> exists even on freestanding compilers.  */
 1984 
 1985 #ifdef __STDC__
 1986 # include <limits.h>
 1987 #else
 1988 # include <assert.h>
 1989 #endif
 1990 
 1991 #undef $2
 1992 
 1993 /* Override any GCC internal prototype to avoid an error.
 1994    Use char because int might match the return type of a GCC
 1995    builtin and then its argument prototype would still apply.  */
 1996 #ifdef __cplusplus
 1997 extern "C"
 1998 #endif
 1999 char $2 ();
 2000 /* The GNU C library defines this for functions which it implements
 2001     to always fail with ENOSYS.  Some functions are actually named
 2002     something starting with __ and the normal name is an alias.  */
 2003 #if defined __stub_$2 || defined __stub___$2
 2004 choke me
 2005 #endif
 2006 
 2007 int
 2008 main ()
 2009 {
 2010 return $2 ();
 2011   ;
 2012   return 0;
 2013 }
 2014 _ACEOF
 2015 if ac_fn_c_try_link "$LINENO"; then :
 2016   eval "$3=yes"
 2017 else
 2018   eval "$3=no"
 2019 fi
 2020 rm -f core conftest.err conftest.$ac_objext \
 2021     conftest$ac_exeext conftest.$ac_ext
 2022 fi
 2023 eval ac_res=\$$3
 2024 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2025 $as_echo "$ac_res" >&6; }
 2026   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2027 
 2028 } @%:@ ac_fn_c_check_func
 2029 
 2030 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 2031 @%:@ -------------------------------------------
 2032 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
 2033 @%:@ variable VAR accordingly.
 2034 ac_fn_c_check_type ()
 2035 {
 2036   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2038 $as_echo_n "checking for $2... " >&6; }
 2039 if eval \${$3+:} false; then :
 2040   $as_echo_n "(cached) " >&6
 2041 else
 2042   eval "$3=no"
 2043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2044 /* end confdefs.h.  */
 2045 $4
 2046 int
 2047 main ()
 2048 {
 2049 if (sizeof ($2))
 2050 	 return 0;
 2051   ;
 2052   return 0;
 2053 }
 2054 _ACEOF
 2055 if ac_fn_c_try_compile "$LINENO"; then :
 2056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2057 /* end confdefs.h.  */
 2058 $4
 2059 int
 2060 main ()
 2061 {
 2062 if (sizeof (($2)))
 2063 	    return 0;
 2064   ;
 2065   return 0;
 2066 }
 2067 _ACEOF
 2068 if ac_fn_c_try_compile "$LINENO"; then :
 2069   
 2070 else
 2071   eval "$3=yes"
 2072 fi
 2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2074 fi
 2075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2076 fi
 2077 eval ac_res=\$$3
 2078 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2079 $as_echo "$ac_res" >&6; }
 2080   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2081 
 2082 } @%:@ ac_fn_c_check_type
 2083 
 2084 @%:@ ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 2085 @%:@ ----------------------------------------------------
 2086 @%:@ Tries to find if the field MEMBER exists in type AGGR, after including
 2087 @%:@ INCLUDES, setting cache variable VAR accordingly.
 2088 ac_fn_c_check_member ()
 2089 {
 2090   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 2092 $as_echo_n "checking for $2.$3... " >&6; }
 2093 if eval \${$4+:} false; then :
 2094   $as_echo_n "(cached) " >&6
 2095 else
 2096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2097 /* end confdefs.h.  */
 2098 $5
 2099 int
 2100 main ()
 2101 {
 2102 static $2 ac_aggr;
 2103 if (ac_aggr.$3)
 2104 return 0;
 2105   ;
 2106   return 0;
 2107 }
 2108 _ACEOF
 2109 if ac_fn_c_try_compile "$LINENO"; then :
 2110   eval "$4=yes"
 2111 else
 2112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2113 /* end confdefs.h.  */
 2114 $5
 2115 int
 2116 main ()
 2117 {
 2118 static $2 ac_aggr;
 2119 if (sizeof ac_aggr.$3)
 2120 return 0;
 2121   ;
 2122   return 0;
 2123 }
 2124 _ACEOF
 2125 if ac_fn_c_try_compile "$LINENO"; then :
 2126   eval "$4=yes"
 2127 else
 2128   eval "$4=no"
 2129 fi
 2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2131 fi
 2132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2133 fi
 2134 eval ac_res=\$$4
 2135 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2136 $as_echo "$ac_res" >&6; }
 2137   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2138 
 2139 } @%:@ ac_fn_c_check_member
 2140 cat >config.log <<_ACEOF
 2141 This file contains any messages produced by compilers while
 2142 running configure, to aid debugging if configure makes a mistake.
 2143 
 2144 It was created by Citadel $as_me 931, which was
 2145 generated by GNU Autoconf 2.69.  Invocation command line was
 2146 
 2147   $ $0 $@
 2148 
 2149 _ACEOF
 2150 exec 5>>config.log
 2151 {
 2152 cat <<_ASUNAME
 2153 ## --------- ##
 2154 ## Platform. ##
 2155 ## --------- ##
 2156 
 2157 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2158 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2159 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2160 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2161 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2162 
 2163 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2164 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2165 
 2166 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2167 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2168 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2169 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2170 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2171 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2172 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2173 
 2174 _ASUNAME
 2175 
 2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2177 for as_dir in $PATH
 2178 do
 2179   IFS=$as_save_IFS
 2180   test -z "$as_dir" && as_dir=.
 2181     $as_echo "PATH: $as_dir"
 2182   done
 2183 IFS=$as_save_IFS
 2184 
 2185 } >&5
 2186 
 2187 cat >&5 <<_ACEOF
 2188 
 2189 
 2190 ## ----------- ##
 2191 ## Core tests. ##
 2192 ## ----------- ##
 2193 
 2194 _ACEOF
 2195 
 2196 
 2197 # Keep a trace of the command line.
 2198 # Strip out --no-create and --no-recursion so they do not pile up.
 2199 # Strip out --silent because we don't want to record it for future runs.
 2200 # Also quote any args containing shell meta-characters.
 2201 # Make two passes to allow for proper duplicate-argument suppression.
 2202 ac_configure_args=
 2203 ac_configure_args0=
 2204 ac_configure_args1=
 2205 ac_must_keep_next=false
 2206 for ac_pass in 1 2
 2207 do
 2208   for ac_arg
 2209   do
 2210     case $ac_arg in
 2211     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2212     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2213     | -silent | --silent | --silen | --sile | --sil)
 2214       continue ;;
 2215     *\'*)
 2216       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2217     esac
 2218     case $ac_pass in
 2219     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2220     2)
 2221       as_fn_append ac_configure_args1 " '$ac_arg'"
 2222       if test $ac_must_keep_next = true; then
 2223 	ac_must_keep_next=false # Got value, back to normal.
 2224       else
 2225 	case $ac_arg in
 2226 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 2227 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2228 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2229 	  | -with-* | --with-* | -without-* | --without-* | --x)
 2230 	    case "$ac_configure_args0 " in
 2231 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2232 	    esac
 2233 	    ;;
 2234 	  -* ) ac_must_keep_next=true ;;
 2235 	esac
 2236       fi
 2237       as_fn_append ac_configure_args " '$ac_arg'"
 2238       ;;
 2239     esac
 2240   done
 2241 done
 2242 { ac_configure_args0=; unset ac_configure_args0;}
 2243 { ac_configure_args1=; unset ac_configure_args1;}
 2244 
 2245 # When interrupted or exit'd, cleanup temporary files, and complete
 2246 # config.log.  We remove comments because anyway the quotes in there
 2247 # would cause problems or look ugly.
 2248 # WARNING: Use '\'' to represent an apostrophe within the trap.
 2249 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2250 trap 'exit_status=$?
 2251   # Save into config.log some information that might help in debugging.
 2252   {
 2253     echo
 2254 
 2255     $as_echo "## ---------------- ##
 2256 ## Cache variables. ##
 2257 ## ---------------- ##"
 2258     echo
 2259     # The following way of writing the cache mishandles newlines in values,
 2260 (
 2261   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2262     eval ac_val=\$$ac_var
 2263     case $ac_val in #(
 2264     *${as_nl}*)
 2265       case $ac_var in #(
 2266       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2267 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2268       esac
 2269       case $ac_var in #(
 2270       _ | IFS | as_nl) ;; #(
 2271       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2272       *) { eval $ac_var=; unset $ac_var;} ;;
 2273       esac ;;
 2274     esac
 2275   done
 2276   (set) 2>&1 |
 2277     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2278     *${as_nl}ac_space=\ *)
 2279       sed -n \
 2280 	"s/'\''/'\''\\\\'\'''\''/g;
 2281 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2282       ;; #(
 2283     *)
 2284       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2285       ;;
 2286     esac |
 2287     sort
 2288 )
 2289     echo
 2290 
 2291     $as_echo "## ----------------- ##
 2292 ## Output variables. ##
 2293 ## ----------------- ##"
 2294     echo
 2295     for ac_var in $ac_subst_vars
 2296     do
 2297       eval ac_val=\$$ac_var
 2298       case $ac_val in
 2299       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2300       esac
 2301       $as_echo "$ac_var='\''$ac_val'\''"
 2302     done | sort
 2303     echo
 2304 
 2305     if test -n "$ac_subst_files"; then
 2306       $as_echo "## ------------------- ##
 2307 ## File substitutions. ##
 2308 ## ------------------- ##"
 2309       echo
 2310       for ac_var in $ac_subst_files
 2311       do
 2312 	eval ac_val=\$$ac_var
 2313 	case $ac_val in
 2314 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2315 	esac
 2316 	$as_echo "$ac_var='\''$ac_val'\''"
 2317       done | sort
 2318       echo
 2319     fi
 2320 
 2321     if test -s confdefs.h; then
 2322       $as_echo "## ----------- ##
 2323 ## confdefs.h. ##
 2324 ## ----------- ##"
 2325       echo
 2326       cat confdefs.h
 2327       echo
 2328     fi
 2329     test "$ac_signal" != 0 &&
 2330       $as_echo "$as_me: caught signal $ac_signal"
 2331     $as_echo "$as_me: exit $exit_status"
 2332   } >&5
 2333   rm -f core *.core core.conftest.* &&
 2334     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2335     exit $exit_status
 2336 ' 0
 2337 for ac_signal in 1 2 13 15; do
 2338   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2339 done
 2340 ac_signal=0
 2341 
 2342 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2343 rm -f -r conftest* confdefs.h
 2344 
 2345 $as_echo "/* confdefs.h */" > confdefs.h
 2346 
 2347 # Predefined preprocessor variables.
 2348 
 2349 cat >>confdefs.h <<_ACEOF
 2350 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
 2351 _ACEOF
 2352 
 2353 cat >>confdefs.h <<_ACEOF
 2354 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2355 _ACEOF
 2356 
 2357 cat >>confdefs.h <<_ACEOF
 2358 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
 2359 _ACEOF
 2360 
 2361 cat >>confdefs.h <<_ACEOF
 2362 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
 2363 _ACEOF
 2364 
 2365 cat >>confdefs.h <<_ACEOF
 2366 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2367 _ACEOF
 2368 
 2369 cat >>confdefs.h <<_ACEOF
 2370 @%:@define PACKAGE_URL "$PACKAGE_URL"
 2371 _ACEOF
 2372 
 2373 
 2374 # Let the site file select an alternate cache file if it wants to.
 2375 # Prefer an explicitly selected file to automatically selected ones.
 2376 ac_site_file1=NONE
 2377 ac_site_file2=NONE
 2378 if test -n "$CONFIG_SITE"; then
 2379   # We do not want a PATH search for config.site.
 2380   case $CONFIG_SITE in @%:@((
 2381     -*)  ac_site_file1=./$CONFIG_SITE;;
 2382     */*) ac_site_file1=$CONFIG_SITE;;
 2383     *)   ac_site_file1=./$CONFIG_SITE;;
 2384   esac
 2385 elif test "x$prefix" != xNONE; then
 2386   ac_site_file1=$prefix/share/config.site
 2387   ac_site_file2=$prefix/etc/config.site
 2388 else
 2389   ac_site_file1=$ac_default_prefix/share/config.site
 2390   ac_site_file2=$ac_default_prefix/etc/config.site
 2391 fi
 2392 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2393 do
 2394   test "x$ac_site_file" = xNONE && continue
 2395   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2396     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2397 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2398     sed 's/^/| /' "$ac_site_file" >&5
 2399     . "$ac_site_file" \
 2400       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2402 as_fn_error $? "failed to load site script $ac_site_file
 2403 See \`config.log' for more details" "$LINENO" 5; }
 2404   fi
 2405 done
 2406 
 2407 if test -r "$cache_file"; then
 2408   # Some versions of bash will fail to source /dev/null (special files
 2409   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2410   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2411     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2412 $as_echo "$as_me: loading cache $cache_file" >&6;}
 2413     case $cache_file in
 2414       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2415       *)                      . "./$cache_file";;
 2416     esac
 2417   fi
 2418 else
 2419   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2420 $as_echo "$as_me: creating cache $cache_file" >&6;}
 2421   >$cache_file
 2422 fi
 2423 
 2424 # Check that the precious variables saved in the cache have kept the same
 2425 # value.
 2426 ac_cache_corrupted=false
 2427 for ac_var in $ac_precious_vars; do
 2428   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2429   eval ac_new_set=\$ac_env_${ac_var}_set
 2430   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2431   eval ac_new_val=\$ac_env_${ac_var}_value
 2432   case $ac_old_set,$ac_new_set in
 2433     set,)
 2434       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2435 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2436       ac_cache_corrupted=: ;;
 2437     ,set)
 2438       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2439 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2440       ac_cache_corrupted=: ;;
 2441     ,);;
 2442     *)
 2443       if test "x$ac_old_val" != "x$ac_new_val"; then
 2444 	# differences in whitespace do not lead to failure.
 2445 	ac_old_val_w=`echo x $ac_old_val`
 2446 	ac_new_val_w=`echo x $ac_new_val`
 2447 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2448 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2449 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2450 	  ac_cache_corrupted=:
 2451 	else
 2452 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2453 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2454 	  eval $ac_var=\$ac_old_val
 2455 	fi
 2456 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2457 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2458 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2459 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2460       fi;;
 2461   esac
 2462   # Pass precious variables to config.status.
 2463   if test "$ac_new_set" = set; then
 2464     case $ac_new_val in
 2465     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2466     *) ac_arg=$ac_var=$ac_new_val ;;
 2467     esac
 2468     case " $ac_configure_args " in
 2469       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2470       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2471     esac
 2472   fi
 2473 done
 2474 if $ac_cache_corrupted; then
 2475   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2477   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2478 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2479   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2480 fi
 2481 ## -------------------- ##
 2482 ## Main body of script. ##
 2483 ## -------------------- ##
 2484 
 2485 ac_ext=c
 2486 ac_cpp='$CPP $CPPFLAGS'
 2487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2490 
 2491 
 2492 
 2493 
 2494 
 2495 
 2496 ac_config_headers="$ac_config_headers sysdep.h"
 2497 
 2498 
 2499 
 2500 if test "$prefix" = NONE; then
 2501 	
 2502 cat >>confdefs.h <<_ACEOF
 2503 @%:@define CTDLDIR "$ac_default_prefix"
 2504 _ACEOF
 2505 
 2506 	ssl_dir="$ac_default_prefix/keys"
 2507 	localedir=$ac_default_prefix
 2508 else
 2509 	
 2510 cat >>confdefs.h <<_ACEOF
 2511 @%:@define CTDLDIR "$prefix"
 2512 _ACEOF
 2513 
 2514 	ssl_dir="$prefix/keys"
 2515 	localedir=$prefix
 2516 fi
 2517 
 2518 ac_ext=c
 2519 ac_cpp='$CPP $CPPFLAGS'
 2520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2523 if test -n "$ac_tool_prefix"; then
 2524   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2525 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2527 $as_echo_n "checking for $ac_word... " >&6; }
 2528 if ${ac_cv_prog_CC+:} false; then :
 2529   $as_echo_n "(cached) " >&6
 2530 else
 2531   if test -n "$CC"; then
 2532   ac_cv_prog_CC="$CC" # Let the user override the test.
 2533 else
 2534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2535 for as_dir in $PATH
 2536 do
 2537   IFS=$as_save_IFS
 2538   test -z "$as_dir" && as_dir=.
 2539     for ac_exec_ext in '' $ac_executable_extensions; do
 2540   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2541     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2543     break 2
 2544   fi
 2545 done
 2546   done
 2547 IFS=$as_save_IFS
 2548 
 2549 fi
 2550 fi
 2551 CC=$ac_cv_prog_CC
 2552 if test -n "$CC"; then
 2553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2554 $as_echo "$CC" >&6; }
 2555 else
 2556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2557 $as_echo "no" >&6; }
 2558 fi
 2559 
 2560 
 2561 fi
 2562 if test -z "$ac_cv_prog_CC"; then
 2563   ac_ct_CC=$CC
 2564   # Extract the first word of "gcc", so it can be a program name with args.
 2565 set dummy gcc; ac_word=$2
 2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2567 $as_echo_n "checking for $ac_word... " >&6; }
 2568 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2569   $as_echo_n "(cached) " >&6
 2570 else
 2571   if test -n "$ac_ct_CC"; then
 2572   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2573 else
 2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2575 for as_dir in $PATH
 2576 do
 2577   IFS=$as_save_IFS
 2578   test -z "$as_dir" && as_dir=.
 2579     for ac_exec_ext in '' $ac_executable_extensions; do
 2580   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2581     ac_cv_prog_ac_ct_CC="gcc"
 2582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2583     break 2
 2584   fi
 2585 done
 2586   done
 2587 IFS=$as_save_IFS
 2588 
 2589 fi
 2590 fi
 2591 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2592 if test -n "$ac_ct_CC"; then
 2593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 2594 $as_echo "$ac_ct_CC" >&6; }
 2595 else
 2596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2597 $as_echo "no" >&6; }
 2598 fi
 2599 
 2600   if test "x$ac_ct_CC" = x; then
 2601     CC=""
 2602   else
 2603     case $cross_compiling:$ac_tool_warned in
 2604 yes:)
 2605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2607 ac_tool_warned=yes ;;
 2608 esac
 2609     CC=$ac_ct_CC
 2610   fi
 2611 else
 2612   CC="$ac_cv_prog_CC"
 2613 fi
 2614 
 2615 if test -z "$CC"; then
 2616           if test -n "$ac_tool_prefix"; then
 2617     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2618 set dummy ${ac_tool_prefix}cc; ac_word=$2
 2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2620 $as_echo_n "checking for $ac_word... " >&6; }
 2621 if ${ac_cv_prog_CC+:} false; then :
 2622   $as_echo_n "(cached) " >&6
 2623 else
 2624   if test -n "$CC"; then
 2625   ac_cv_prog_CC="$CC" # Let the user override the test.
 2626 else
 2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2628 for as_dir in $PATH
 2629 do
 2630   IFS=$as_save_IFS
 2631   test -z "$as_dir" && as_dir=.
 2632     for ac_exec_ext in '' $ac_executable_extensions; do
 2633   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2634     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2636     break 2
 2637   fi
 2638 done
 2639   done
 2640 IFS=$as_save_IFS
 2641 
 2642 fi
 2643 fi
 2644 CC=$ac_cv_prog_CC
 2645 if test -n "$CC"; then
 2646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2647 $as_echo "$CC" >&6; }
 2648 else
 2649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2650 $as_echo "no" >&6; }
 2651 fi
 2652 
 2653 
 2654   fi
 2655 fi
 2656 if test -z "$CC"; then
 2657   # Extract the first word of "cc", so it can be a program name with args.
 2658 set dummy cc; ac_word=$2
 2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2660 $as_echo_n "checking for $ac_word... " >&6; }
 2661 if ${ac_cv_prog_CC+:} false; then :
 2662   $as_echo_n "(cached) " >&6
 2663 else
 2664   if test -n "$CC"; then
 2665   ac_cv_prog_CC="$CC" # Let the user override the test.
 2666 else
 2667   ac_prog_rejected=no
 2668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2669 for as_dir in $PATH
 2670 do
 2671   IFS=$as_save_IFS
 2672   test -z "$as_dir" && as_dir=.
 2673     for ac_exec_ext in '' $ac_executable_extensions; do
 2674   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2675     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2676        ac_prog_rejected=yes
 2677        continue
 2678      fi
 2679     ac_cv_prog_CC="cc"
 2680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2681     break 2
 2682   fi
 2683 done
 2684   done
 2685 IFS=$as_save_IFS
 2686 
 2687 if test $ac_prog_rejected = yes; then
 2688   # We found a bogon in the path, so make sure we never use it.
 2689   set dummy $ac_cv_prog_CC
 2690   shift
 2691   if test $@%:@ != 0; then
 2692     # We chose a different compiler from the bogus one.
 2693     # However, it has the same basename, so the bogon will be chosen
 2694     # first if we set CC to just the basename; use the full file name.
 2695     shift
 2696     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2697   fi
 2698 fi
 2699 fi
 2700 fi
 2701 CC=$ac_cv_prog_CC
 2702 if test -n "$CC"; then
 2703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2704 $as_echo "$CC" >&6; }
 2705 else
 2706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2707 $as_echo "no" >&6; }
 2708 fi
 2709 
 2710 
 2711 fi
 2712 if test -z "$CC"; then
 2713   if test -n "$ac_tool_prefix"; then
 2714   for ac_prog in cl.exe
 2715   do
 2716     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2717 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2719 $as_echo_n "checking for $ac_word... " >&6; }
 2720 if ${ac_cv_prog_CC+:} false; then :
 2721   $as_echo_n "(cached) " >&6
 2722 else
 2723   if test -n "$CC"; then
 2724   ac_cv_prog_CC="$CC" # Let the user override the test.
 2725 else
 2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2727 for as_dir in $PATH
 2728 do
 2729   IFS=$as_save_IFS
 2730   test -z "$as_dir" && as_dir=.
 2731     for ac_exec_ext in '' $ac_executable_extensions; do
 2732   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2733     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2735     break 2
 2736   fi
 2737 done
 2738   done
 2739 IFS=$as_save_IFS
 2740 
 2741 fi
 2742 fi
 2743 CC=$ac_cv_prog_CC
 2744 if test -n "$CC"; then
 2745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2746 $as_echo "$CC" >&6; }
 2747 else
 2748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2749 $as_echo "no" >&6; }
 2750 fi
 2751 
 2752 
 2753     test -n "$CC" && break
 2754   done
 2755 fi
 2756 if test -z "$CC"; then
 2757   ac_ct_CC=$CC
 2758   for ac_prog in cl.exe
 2759 do
 2760   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2761 set dummy $ac_prog; ac_word=$2
 2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2763 $as_echo_n "checking for $ac_word... " >&6; }
 2764 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2765   $as_echo_n "(cached) " >&6
 2766 else
 2767   if test -n "$ac_ct_CC"; then
 2768   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2769 else
 2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2771 for as_dir in $PATH
 2772 do
 2773   IFS=$as_save_IFS
 2774   test -z "$as_dir" && as_dir=.
 2775     for ac_exec_ext in '' $ac_executable_extensions; do
 2776   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2777     ac_cv_prog_ac_ct_CC="$ac_prog"
 2778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2779     break 2
 2780   fi
 2781 done
 2782   done
 2783 IFS=$as_save_IFS
 2784 
 2785 fi
 2786 fi
 2787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2788 if test -n "$ac_ct_CC"; then
 2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 2790 $as_echo "$ac_ct_CC" >&6; }
 2791 else
 2792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2793 $as_echo "no" >&6; }
 2794 fi
 2795 
 2796 
 2797   test -n "$ac_ct_CC" && break
 2798 done
 2799 
 2800   if test "x$ac_ct_CC" = x; then
 2801     CC=""
 2802   else
 2803     case $cross_compiling:$ac_tool_warned in
 2804 yes:)
 2805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2807 ac_tool_warned=yes ;;
 2808 esac
 2809     CC=$ac_ct_CC
 2810   fi
 2811 fi
 2812 
 2813 fi
 2814 
 2815 
 2816 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2818 as_fn_error $? "no acceptable C compiler found in \$PATH
 2819 See \`config.log' for more details" "$LINENO" 5; }
 2820 
 2821 # Provide some information about the compiler.
 2822 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 2823 set X $ac_compile
 2824 ac_compiler=$2
 2825 for ac_option in --version -v -V -qversion; do
 2826   { { ac_try="$ac_compiler $ac_option >&5"
 2827 case "(($ac_try" in
 2828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2829   *) ac_try_echo=$ac_try;;
 2830 esac
 2831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2832 $as_echo "$ac_try_echo"; } >&5
 2833   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 2834   ac_status=$?
 2835   if test -s conftest.err; then
 2836     sed '10a\
 2837 ... rest of stderr output deleted ...
 2838          10q' conftest.err >conftest.er1
 2839     cat conftest.er1 >&5
 2840   fi
 2841   rm -f conftest.er1 conftest.err
 2842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2843   test $ac_status = 0; }
 2844 done
 2845 
 2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2847 /* end confdefs.h.  */
 2848 
 2849 int
 2850 main ()
 2851 {
 2852 
 2853   ;
 2854   return 0;
 2855 }
 2856 _ACEOF
 2857 ac_clean_files_save=$ac_clean_files
 2858 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 2859 # Try to create an executable without -o first, disregard a.out.
 2860 # It will help us diagnose broken compilers, and finding out an intuition
 2861 # of exeext.
 2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 2863 $as_echo_n "checking whether the C compiler works... " >&6; }
 2864 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2865 
 2866 # The possible output files:
 2867 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 2868 
 2869 ac_rmfiles=
 2870 for ac_file in $ac_files
 2871 do
 2872   case $ac_file in
 2873     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 2874     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 2875   esac
 2876 done
 2877 rm -f $ac_rmfiles
 2878 
 2879 if { { ac_try="$ac_link_default"
 2880 case "(($ac_try" in
 2881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2882   *) ac_try_echo=$ac_try;;
 2883 esac
 2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2885 $as_echo "$ac_try_echo"; } >&5
 2886   (eval "$ac_link_default") 2>&5
 2887   ac_status=$?
 2888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2889   test $ac_status = 0; }; then :
 2890   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 2891 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 2892 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 2893 # so that the user can short-circuit this test for compilers unknown to
 2894 # Autoconf.
 2895 for ac_file in $ac_files ''
 2896 do
 2897   test -f "$ac_file" || continue
 2898   case $ac_file in
 2899     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 2900 	;;
 2901     [ab].out )
 2902 	# We found the default executable, but exeext='' is most
 2903 	# certainly right.
 2904 	break;;
 2905     *.* )
 2906 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 2907 	then :; else
 2908 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2909 	fi
 2910 	# We set ac_cv_exeext here because the later test for it is not
 2911 	# safe: cross compilers may not add the suffix if given an `-o'
 2912 	# argument, so we may need to know it at that point already.
 2913 	# Even if this section looks crufty: it has the advantage of
 2914 	# actually working.
 2915 	break;;
 2916     * )
 2917 	break;;
 2918   esac
 2919 done
 2920 test "$ac_cv_exeext" = no && ac_cv_exeext=
 2921 
 2922 else
 2923   ac_file=''
 2924 fi
 2925 if test -z "$ac_file"; then :
 2926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2927 $as_echo "no" >&6; }
 2928 $as_echo "$as_me: failed program was:" >&5
 2929 sed 's/^/| /' conftest.$ac_ext >&5
 2930 
 2931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2933 as_fn_error 77 "C compiler cannot create executables
 2934 See \`config.log' for more details" "$LINENO" 5; }
 2935 else
 2936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2937 $as_echo "yes" >&6; }
 2938 fi
 2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 2940 $as_echo_n "checking for C compiler default output file name... " >&6; }
 2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 2942 $as_echo "$ac_file" >&6; }
 2943 ac_exeext=$ac_cv_exeext
 2944 
 2945 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 2946 ac_clean_files=$ac_clean_files_save
 2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 2948 $as_echo_n "checking for suffix of executables... " >&6; }
 2949 if { { ac_try="$ac_link"
 2950 case "(($ac_try" in
 2951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2952   *) ac_try_echo=$ac_try;;
 2953 esac
 2954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2955 $as_echo "$ac_try_echo"; } >&5
 2956   (eval "$ac_link") 2>&5
 2957   ac_status=$?
 2958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2959   test $ac_status = 0; }; then :
 2960   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2961 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2962 # work properly (i.e., refer to `conftest.exe'), while it won't with
 2963 # `rm'.
 2964 for ac_file in conftest.exe conftest conftest.*; do
 2965   test -f "$ac_file" || continue
 2966   case $ac_file in
 2967     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 2968     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2969 	  break;;
 2970     * ) break;;
 2971   esac
 2972 done
 2973 else
 2974   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2976 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 2977 See \`config.log' for more details" "$LINENO" 5; }
 2978 fi
 2979 rm -f conftest conftest$ac_cv_exeext
 2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 2981 $as_echo "$ac_cv_exeext" >&6; }
 2982 
 2983 rm -f conftest.$ac_ext
 2984 EXEEXT=$ac_cv_exeext
 2985 ac_exeext=$EXEEXT
 2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2987 /* end confdefs.h.  */
 2988 @%:@include <stdio.h>
 2989 int
 2990 main ()
 2991 {
 2992 FILE *f = fopen ("conftest.out", "w");
 2993  return ferror (f) || fclose (f) != 0;
 2994 
 2995   ;
 2996   return 0;
 2997 }
 2998 _ACEOF
 2999 ac_clean_files="$ac_clean_files conftest.out"
 3000 # Check that the compiler produces executables we can run.  If not, either
 3001 # the compiler is broken, or we cross compile.
 3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3003 $as_echo_n "checking whether we are cross compiling... " >&6; }
 3004 if test "$cross_compiling" != yes; then
 3005   { { ac_try="$ac_link"
 3006 case "(($ac_try" in
 3007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3008   *) ac_try_echo=$ac_try;;
 3009 esac
 3010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3011 $as_echo "$ac_try_echo"; } >&5
 3012   (eval "$ac_link") 2>&5
 3013   ac_status=$?
 3014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3015   test $ac_status = 0; }
 3016   if { ac_try='./conftest$ac_cv_exeext'
 3017   { { case "(($ac_try" in
 3018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3019   *) ac_try_echo=$ac_try;;
 3020 esac
 3021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3022 $as_echo "$ac_try_echo"; } >&5
 3023   (eval "$ac_try") 2>&5
 3024   ac_status=$?
 3025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3026   test $ac_status = 0; }; }; then
 3027     cross_compiling=no
 3028   else
 3029     if test "$cross_compiling" = maybe; then
 3030 	cross_compiling=yes
 3031     else
 3032 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3034 as_fn_error $? "cannot run C compiled programs.
 3035 If you meant to cross compile, use \`--host'.
 3036 See \`config.log' for more details" "$LINENO" 5; }
 3037     fi
 3038   fi
 3039 fi
 3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3041 $as_echo "$cross_compiling" >&6; }
 3042 
 3043 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3044 ac_clean_files=$ac_clean_files_save
 3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3046 $as_echo_n "checking for suffix of object files... " >&6; }
 3047 if ${ac_cv_objext+:} false; then :
 3048   $as_echo_n "(cached) " >&6
 3049 else
 3050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3051 /* end confdefs.h.  */
 3052 
 3053 int
 3054 main ()
 3055 {
 3056 
 3057   ;
 3058   return 0;
 3059 }
 3060 _ACEOF
 3061 rm -f conftest.o conftest.obj
 3062 if { { ac_try="$ac_compile"
 3063 case "(($ac_try" in
 3064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3065   *) ac_try_echo=$ac_try;;
 3066 esac
 3067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3068 $as_echo "$ac_try_echo"; } >&5
 3069   (eval "$ac_compile") 2>&5
 3070   ac_status=$?
 3071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3072   test $ac_status = 0; }; then :
 3073   for ac_file in conftest.o conftest.obj conftest.*; do
 3074   test -f "$ac_file" || continue;
 3075   case $ac_file in
 3076     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3077     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3078        break;;
 3079   esac
 3080 done
 3081 else
 3082   $as_echo "$as_me: failed program was:" >&5
 3083 sed 's/^/| /' conftest.$ac_ext >&5
 3084 
 3085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3087 as_fn_error $? "cannot compute suffix of object files: cannot compile
 3088 See \`config.log' for more details" "$LINENO" 5; }
 3089 fi
 3090 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3091 fi
 3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3093 $as_echo "$ac_cv_objext" >&6; }
 3094 OBJEXT=$ac_cv_objext
 3095 ac_objext=$OBJEXT
 3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3097 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3098 if ${ac_cv_c_compiler_gnu+:} false; then :
 3099   $as_echo_n "(cached) " >&6
 3100 else
 3101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3102 /* end confdefs.h.  */
 3103 
 3104 int
 3105 main ()
 3106 {
 3107 #ifndef __GNUC__
 3108        choke me
 3109 #endif
 3110 
 3111   ;
 3112   return 0;
 3113 }
 3114 _ACEOF
 3115 if ac_fn_c_try_compile "$LINENO"; then :
 3116   ac_compiler_gnu=yes
 3117 else
 3118   ac_compiler_gnu=no
 3119 fi
 3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3121 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3122 
 3123 fi
 3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3125 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3126 if test $ac_compiler_gnu = yes; then
 3127   GCC=yes
 3128 else
 3129   GCC=
 3130 fi
 3131 ac_test_CFLAGS=${CFLAGS+set}
 3132 ac_save_CFLAGS=$CFLAGS
 3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3134 $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3135 if ${ac_cv_prog_cc_g+:} false; then :
 3136   $as_echo_n "(cached) " >&6
 3137 else
 3138   ac_save_c_werror_flag=$ac_c_werror_flag
 3139    ac_c_werror_flag=yes
 3140    ac_cv_prog_cc_g=no
 3141    CFLAGS="-g"
 3142    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3143 /* end confdefs.h.  */
 3144 
 3145 int
 3146 main ()
 3147 {
 3148 
 3149   ;
 3150   return 0;
 3151 }
 3152 _ACEOF
 3153 if ac_fn_c_try_compile "$LINENO"; then :
 3154   ac_cv_prog_cc_g=yes
 3155 else
 3156   CFLAGS=""
 3157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3158 /* end confdefs.h.  */
 3159 
 3160 int
 3161 main ()
 3162 {
 3163 
 3164   ;
 3165   return 0;
 3166 }
 3167 _ACEOF
 3168 if ac_fn_c_try_compile "$LINENO"; then :
 3169   
 3170 else
 3171   ac_c_werror_flag=$ac_save_c_werror_flag
 3172 	 CFLAGS="-g"
 3173 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3174 /* end confdefs.h.  */
 3175 
 3176 int
 3177 main ()
 3178 {
 3179 
 3180   ;
 3181   return 0;
 3182 }
 3183 _ACEOF
 3184 if ac_fn_c_try_compile "$LINENO"; then :
 3185   ac_cv_prog_cc_g=yes
 3186 fi
 3187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3188 fi
 3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3190 fi
 3191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3192    ac_c_werror_flag=$ac_save_c_werror_flag
 3193 fi
 3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3195 $as_echo "$ac_cv_prog_cc_g" >&6; }
 3196 if test "$ac_test_CFLAGS" = set; then
 3197   CFLAGS=$ac_save_CFLAGS
 3198 elif test $ac_cv_prog_cc_g = yes; then
 3199   if test "$GCC" = yes; then
 3200     CFLAGS="-g -O2"
 3201   else
 3202     CFLAGS="-g"
 3203   fi
 3204 else
 3205   if test "$GCC" = yes; then
 3206     CFLAGS="-O2"
 3207   else
 3208     CFLAGS=
 3209   fi
 3210 fi
 3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3212 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3213 if ${ac_cv_prog_cc_c89+:} false; then :
 3214   $as_echo_n "(cached) " >&6
 3215 else
 3216   ac_cv_prog_cc_c89=no
 3217 ac_save_CC=$CC
 3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3219 /* end confdefs.h.  */
 3220 #include <stdarg.h>
 3221 #include <stdio.h>
 3222 struct stat;
 3223 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3224 struct buf { int x; };
 3225 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3226 static char *e (p, i)
 3227      char **p;
 3228      int i;
 3229 {
 3230   return p[i];
 3231 }
 3232 static char *f (char * (*g) (char **, int), char **p, ...)
 3233 {
 3234   char *s;
 3235   va_list v;
 3236   va_start (v,p);
 3237   s = g (p, va_arg (v,int));
 3238   va_end (v);
 3239   return s;
 3240 }
 3241 
 3242 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3243    function prototypes and stuff, but not '\xHH' hex character constants.
 3244    These don't provoke an error unfortunately, instead are silently treated
 3245    as 'x'.  The following induces an error, until -std is added to get
 3246    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3247    array size at least.  It's necessary to write '\x00'==0 to get something
 3248    that's true only with -std.  */
 3249 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3250 
 3251 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3252    inside strings and character constants.  */
 3253 #define FOO(x) 'x'
 3254 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3255 
 3256 int test (int i, double x);
 3257 struct s1 {int (*f) (int a);};
 3258 struct s2 {int (*f) (double a);};
 3259 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3260 int argc;
 3261 char **argv;
 3262 int
 3263 main ()
 3264 {
 3265 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3266   ;
 3267   return 0;
 3268 }
 3269 _ACEOF
 3270 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3271 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3272 do
 3273   CC="$ac_save_CC $ac_arg"
 3274   if ac_fn_c_try_compile "$LINENO"; then :
 3275   ac_cv_prog_cc_c89=$ac_arg
 3276 fi
 3277 rm -f core conftest.err conftest.$ac_objext
 3278   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3279 done
 3280 rm -f conftest.$ac_ext
 3281 CC=$ac_save_CC
 3282 
 3283 fi
 3284 # AC_CACHE_VAL
 3285 case "x$ac_cv_prog_cc_c89" in
 3286   x)
 3287     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3288 $as_echo "none needed" >&6; } ;;
 3289   xno)
 3290     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3291 $as_echo "unsupported" >&6; } ;;
 3292   *)
 3293     CC="$CC $ac_cv_prog_cc_c89"
 3294     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3295 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3296 esac
 3297 if test "x$ac_cv_prog_cc_c89" != xno; then :
 3298   
 3299 fi
 3300 
 3301 ac_ext=c
 3302 ac_cpp='$CPP $CPPFLAGS'
 3303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3306 
 3307 
 3308 ac_ext=c
 3309 ac_cpp='$CPP $CPPFLAGS'
 3310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 3314 $as_echo_n "checking how to run the C preprocessor... " >&6; }
 3315 # On Suns, sometimes $CPP names a directory.
 3316 if test -n "$CPP" && test -d "$CPP"; then
 3317   CPP=
 3318 fi
 3319 if test -z "$CPP"; then
 3320   if ${ac_cv_prog_CPP+:} false; then :
 3321   $as_echo_n "(cached) " >&6
 3322 else
 3323       # Double quotes because CPP needs to be expanded
 3324     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3325     do
 3326       ac_preproc_ok=false
 3327 for ac_c_preproc_warn_flag in '' yes
 3328 do
 3329   # Use a header file that comes with gcc, so configuring glibc
 3330   # with a fresh cross-compiler works.
 3331   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3332   # <limits.h> exists even on freestanding compilers.
 3333   # On the NeXT, cc -E runs the code through the compiler's parser,
 3334   # not just through cpp. "Syntax error" is here to catch this case.
 3335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3336 /* end confdefs.h.  */
 3337 @%:@ifdef __STDC__
 3338 @%:@ include <limits.h>
 3339 @%:@else
 3340 @%:@ include <assert.h>
 3341 @%:@endif
 3342 		     Syntax error
 3343 _ACEOF
 3344 if ac_fn_c_try_cpp "$LINENO"; then :
 3345   
 3346 else
 3347   # Broken: fails on valid input.
 3348 continue
 3349 fi
 3350 rm -f conftest.err conftest.i conftest.$ac_ext
 3351 
 3352   # OK, works on sane cases.  Now check whether nonexistent headers
 3353   # can be detected and how.
 3354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3355 /* end confdefs.h.  */
 3356 @%:@include <ac_nonexistent.h>
 3357 _ACEOF
 3358 if ac_fn_c_try_cpp "$LINENO"; then :
 3359   # Broken: success on invalid input.
 3360 continue
 3361 else
 3362   # Passes both tests.
 3363 ac_preproc_ok=:
 3364 break
 3365 fi
 3366 rm -f conftest.err conftest.i conftest.$ac_ext
 3367 
 3368 done
 3369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3370 rm -f conftest.i conftest.err conftest.$ac_ext
 3371 if $ac_preproc_ok; then :
 3372   break
 3373 fi
 3374 
 3375     done
 3376     ac_cv_prog_CPP=$CPP
 3377   
 3378 fi
 3379   CPP=$ac_cv_prog_CPP
 3380 else
 3381   ac_cv_prog_CPP=$CPP
 3382 fi
 3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 3384 $as_echo "$CPP" >&6; }
 3385 ac_preproc_ok=false
 3386 for ac_c_preproc_warn_flag in '' yes
 3387 do
 3388   # Use a header file that comes with gcc, so configuring glibc
 3389   # with a fresh cross-compiler works.
 3390   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3391   # <limits.h> exists even on freestanding compilers.
 3392   # On the NeXT, cc -E runs the code through the compiler's parser,
 3393   # not just through cpp. "Syntax error" is here to catch this case.
 3394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3395 /* end confdefs.h.  */
 3396 @%:@ifdef __STDC__
 3397 @%:@ include <limits.h>
 3398 @%:@else
 3399 @%:@ include <assert.h>
 3400 @%:@endif
 3401 		     Syntax error
 3402 _ACEOF
 3403 if ac_fn_c_try_cpp "$LINENO"; then :
 3404   
 3405 else
 3406   # Broken: fails on valid input.
 3407 continue
 3408 fi
 3409 rm -f conftest.err conftest.i conftest.$ac_ext
 3410 
 3411   # OK, works on sane cases.  Now check whether nonexistent headers
 3412   # can be detected and how.
 3413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3414 /* end confdefs.h.  */
 3415 @%:@include <ac_nonexistent.h>
 3416 _ACEOF
 3417 if ac_fn_c_try_cpp "$LINENO"; then :
 3418   # Broken: success on invalid input.
 3419 continue
 3420 else
 3421   # Passes both tests.
 3422 ac_preproc_ok=:
 3423 break
 3424 fi
 3425 rm -f conftest.err conftest.i conftest.$ac_ext
 3426 
 3427 done
 3428 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3429 rm -f conftest.i conftest.err conftest.$ac_ext
 3430 if $ac_preproc_ok; then :
 3431   
 3432 else
 3433   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3435 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 3436 See \`config.log' for more details" "$LINENO" 5; }
 3437 fi
 3438 
 3439 ac_ext=c
 3440 ac_cpp='$CPP $CPPFLAGS'
 3441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3444 
 3445 
 3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 3447 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 3448 if ${ac_cv_path_GREP+:} false; then :
 3449   $as_echo_n "(cached) " >&6
 3450 else
 3451   if test -z "$GREP"; then
 3452   ac_path_GREP_found=false
 3453   # Loop through the user's path and test for each of PROGNAME-LIST
 3454   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3455 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3456 do
 3457   IFS=$as_save_IFS
 3458   test -z "$as_dir" && as_dir=.
 3459     for ac_prog in grep ggrep; do
 3460     for ac_exec_ext in '' $ac_executable_extensions; do
 3461       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 3462       as_fn_executable_p "$ac_path_GREP" || continue
 3463 # Check for GNU ac_path_GREP and select it if it is found.
 3464   # Check for GNU $ac_path_GREP
 3465 case `"$ac_path_GREP" --version 2>&1` in
 3466 *GNU*)
 3467   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 3468 *)
 3469   ac_count=0
 3470   $as_echo_n 0123456789 >"conftest.in"
 3471   while :
 3472   do
 3473     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3474     mv "conftest.tmp" "conftest.in"
 3475     cp "conftest.in" "conftest.nl"
 3476     $as_echo 'GREP' >> "conftest.nl"
 3477     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3478     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3479     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3480     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 3481       # Best one so far, save it but keep looking for a better one
 3482       ac_cv_path_GREP="$ac_path_GREP"
 3483       ac_path_GREP_max=$ac_count
 3484     fi
 3485     # 10*(2^10) chars as input seems more than enough
 3486     test $ac_count -gt 10 && break
 3487   done
 3488   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3489 esac
 3490 
 3491       $ac_path_GREP_found && break 3
 3492     done
 3493   done
 3494   done
 3495 IFS=$as_save_IFS
 3496   if test -z "$ac_cv_path_GREP"; then
 3497     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 3498   fi
 3499 else
 3500   ac_cv_path_GREP=$GREP
 3501 fi
 3502 
 3503 fi
 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 3505 $as_echo "$ac_cv_path_GREP" >&6; }
 3506  GREP="$ac_cv_path_GREP"
 3507  
 3508 
 3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 3510 $as_echo_n "checking for egrep... " >&6; }
 3511 if ${ac_cv_path_EGREP+:} false; then :
 3512   $as_echo_n "(cached) " >&6
 3513 else
 3514   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 3515    then ac_cv_path_EGREP="$GREP -E"
 3516    else
 3517      if test -z "$EGREP"; then
 3518   ac_path_EGREP_found=false
 3519   # Loop through the user's path and test for each of PROGNAME-LIST
 3520   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3521 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3522 do
 3523   IFS=$as_save_IFS
 3524   test -z "$as_dir" && as_dir=.
 3525     for ac_prog in egrep; do
 3526     for ac_exec_ext in '' $ac_executable_extensions; do
 3527       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 3528       as_fn_executable_p "$ac_path_EGREP" || continue
 3529 # Check for GNU ac_path_EGREP and select it if it is found.
 3530   # Check for GNU $ac_path_EGREP
 3531 case `"$ac_path_EGREP" --version 2>&1` in
 3532 *GNU*)
 3533   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 3534 *)
 3535   ac_count=0
 3536   $as_echo_n 0123456789 >"conftest.in"
 3537   while :
 3538   do
 3539     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3540     mv "conftest.tmp" "conftest.in"
 3541     cp "conftest.in" "conftest.nl"
 3542     $as_echo 'EGREP' >> "conftest.nl"
 3543     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3544     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3545     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3546     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 3547       # Best one so far, save it but keep looking for a better one
 3548       ac_cv_path_EGREP="$ac_path_EGREP"
 3549       ac_path_EGREP_max=$ac_count
 3550     fi
 3551     # 10*(2^10) chars as input seems more than enough
 3552     test $ac_count -gt 10 && break
 3553   done
 3554   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3555 esac
 3556 
 3557       $ac_path_EGREP_found && break 3
 3558     done
 3559   done
 3560   done
 3561 IFS=$as_save_IFS
 3562   if test -z "$ac_cv_path_EGREP"; then
 3563     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 3564   fi
 3565 else
 3566   ac_cv_path_EGREP=$EGREP
 3567 fi
 3568 
 3569    fi
 3570 fi
 3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 3572 $as_echo "$ac_cv_path_EGREP" >&6; }
 3573  EGREP="$ac_cv_path_EGREP"
 3574  
 3575 
 3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 3577 $as_echo_n "checking for ANSI C header files... " >&6; }
 3578 if ${ac_cv_header_stdc+:} false; then :
 3579   $as_echo_n "(cached) " >&6
 3580 else
 3581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3582 /* end confdefs.h.  */
 3583 #include <stdlib.h>
 3584 #include <stdarg.h>
 3585 #include <string.h>
 3586 #include <float.h>
 3587 
 3588 int
 3589 main ()
 3590 {
 3591 
 3592   ;
 3593   return 0;
 3594 }
 3595 _ACEOF
 3596 if ac_fn_c_try_compile "$LINENO"; then :
 3597   ac_cv_header_stdc=yes
 3598 else
 3599   ac_cv_header_stdc=no
 3600 fi
 3601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3602 
 3603 if test $ac_cv_header_stdc = yes; then
 3604   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 3605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3606 /* end confdefs.h.  */
 3607 #include <string.h>
 3608 
 3609 _ACEOF
 3610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3611   $EGREP "memchr" >/dev/null 2>&1; then :
 3612   
 3613 else
 3614   ac_cv_header_stdc=no
 3615 fi
 3616 rm -f conftest*
 3617 
 3618 fi
 3619 
 3620 if test $ac_cv_header_stdc = yes; then
 3621   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 3622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3623 /* end confdefs.h.  */
 3624 #include <stdlib.h>
 3625 
 3626 _ACEOF
 3627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3628   $EGREP "free" >/dev/null 2>&1; then :
 3629   
 3630 else
 3631   ac_cv_header_stdc=no
 3632 fi
 3633 rm -f conftest*
 3634 
 3635 fi
 3636 
 3637 if test $ac_cv_header_stdc = yes; then
 3638   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 3639   if test "$cross_compiling" = yes; then :
 3640   :
 3641 else
 3642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3643 /* end confdefs.h.  */
 3644 #include <ctype.h>
 3645 #include <stdlib.h>
 3646 #if ((' ' & 0x0FF) == 0x020)
 3647 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 3648 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 3649 #else
 3650 # define ISLOWER(c) \
 3651 		   (('a' <= (c) && (c) <= 'i') \
 3652 		     || ('j' <= (c) && (c) <= 'r') \
 3653 		     || ('s' <= (c) && (c) <= 'z'))
 3654 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 3655 #endif
 3656 
 3657 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 3658 int
 3659 main ()
 3660 {
 3661   int i;
 3662   for (i = 0; i < 256; i++)
 3663     if (XOR (islower (i), ISLOWER (i))
 3664 	|| toupper (i) != TOUPPER (i))
 3665       return 2;
 3666   return 0;
 3667 }
 3668 _ACEOF
 3669 if ac_fn_c_try_run "$LINENO"; then :
 3670   
 3671 else
 3672   ac_cv_header_stdc=no
 3673 fi
 3674 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 3675   conftest.$ac_objext conftest.beam conftest.$ac_ext
 3676 fi
 3677 
 3678 fi
 3679 fi
 3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 3681 $as_echo "$ac_cv_header_stdc" >&6; }
 3682 if test $ac_cv_header_stdc = yes; then
 3683   
 3684 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
 3685 
 3686 fi
 3687 
 3688 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 3689 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 3690 		  inttypes.h stdint.h unistd.h
 3691 do :
 3692   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 3693 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 3694 "
 3695 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 3696   cat >>confdefs.h <<_ACEOF
 3697 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 3698 _ACEOF
 3699  
 3700 fi
 3701 
 3702 done
 3703 
 3704 
 3705 
 3706   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
 3707 if test "x$ac_cv_header_minix_config_h" = xyes; then :
 3708   MINIX=yes
 3709 else
 3710   MINIX=
 3711 fi
 3712 
 3713 
 3714   if test "$MINIX" = yes; then
 3715     
 3716 $as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h
 3717 
 3718     
 3719 $as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h
 3720 
 3721     
 3722 $as_echo "@%:@define _MINIX 1" >>confdefs.h
 3723 
 3724   fi
 3725 
 3726   
 3727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
 3728 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
 3729 if ${ac_cv_safe_to_define___extensions__+:} false; then :
 3730   $as_echo_n "(cached) " >&6
 3731 else
 3732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3733 /* end confdefs.h.  */
 3734 
 3735 #         define __EXTENSIONS__ 1
 3736           $ac_includes_default
 3737 int
 3738 main ()
 3739 {
 3740 
 3741   ;
 3742   return 0;
 3743 }
 3744 _ACEOF
 3745 if ac_fn_c_try_compile "$LINENO"; then :
 3746   ac_cv_safe_to_define___extensions__=yes
 3747 else
 3748   ac_cv_safe_to_define___extensions__=no
 3749 fi
 3750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3751 fi
 3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
 3753 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
 3754   test $ac_cv_safe_to_define___extensions__ = yes &&
 3755     $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
 3756 
 3757   $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h
 3758 
 3759   $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h
 3760 
 3761   $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
 3762 
 3763   $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h
 3764 
 3765 
 3766 
 3767 
 3768 
 3769 
 3770 @%:@ Check whether --with-datadir was given.
 3771 if test "${with_datadir+set}" = set; then :
 3772   withval=$with_datadir;  if test "x$withval" != "xno" ; then
 3773 					      
 3774 $as_echo "@%:@define HAVE_DATA_DIR /**/" >>confdefs.h
 3775 
 3776 					      
 3777 cat >>confdefs.h <<_ACEOF
 3778 @%:@define DATA_DIR "$withval"
 3779 _ACEOF
 3780 
 3781 					      MAKE_DATA_DIR=$withval
 3782 					      
 3783 			  fi
 3784 			
 3785 
 3786 fi
 3787 
 3788 
 3789 
 3790 
 3791 @%:@ Check whether --with-helpdir was given.
 3792 if test "${with_helpdir+set}" = set; then :
 3793   withval=$with_helpdir;  if test "x$withval" != "xno" ; then
 3794 					      
 3795 $as_echo "@%:@define HAVE_HELP_DIR /**/" >>confdefs.h
 3796 
 3797 					      
 3798 cat >>confdefs.h <<_ACEOF
 3799 @%:@define HELP_DIR "$withval"
 3800 _ACEOF
 3801 
 3802 					      MAKE_HELP_DIR=$withval
 3803 					      
 3804 			  fi
 3805 			
 3806 
 3807 fi
 3808 
 3809 
 3810 
 3811 @%:@ Check whether --with-staticdatadir was given.
 3812 if test "${with_staticdatadir+set}" = set; then :
 3813   withval=$with_staticdatadir;  if test "x$withval" != "xno" ; then
 3814 						  
 3815 $as_echo "@%:@define HAVE_STATICDATA_DIR /**/" >>confdefs.h
 3816 
 3817 						  
 3818 cat >>confdefs.h <<_ACEOF
 3819 @%:@define STATICDATA_DIR "$withval"
 3820 _ACEOF
 3821 
 3822 						  MAKE_STATICDATA_DIR=$withval
 3823 						  
 3824 			  fi
 3825 			
 3826 
 3827 fi
 3828 
 3829 
 3830 
 3831 
 3832 @%:@ Check whether --with-ssldir was given.
 3833 if test "${with_ssldir+set}" = set; then :
 3834   withval=$with_ssldir;  if test "x$withval" != "xno" ; then
 3835 					      
 3836 						  ssl_dir="$withval"
 3837 			  fi
 3838 			
 3839 			
 3840 
 3841 fi
 3842 
 3843 
 3844 cat >>confdefs.h <<_ACEOF
 3845 @%:@define SSL_DIR "$ssl_dir"
 3846 _ACEOF
 3847 
 3848 
 3849 
 3850 
 3851 @%:@ Check whether --with-spooldir was given.
 3852 if test "${with_spooldir+set}" = set; then :
 3853   withval=$with_spooldir;  if test "x$withval" != "xno" ; then
 3854 						
 3855 $as_echo "@%:@define HAVE_SPOOL_DIR /**/" >>confdefs.h
 3856 
 3857 						
 3858 cat >>confdefs.h <<_ACEOF
 3859 @%:@define SPOOL_DIR "$withval"
 3860 _ACEOF
 3861 
 3862 						MAKE_SPOOL_DIR=$withval
 3863 						
 3864 			   fi
 3865 			
 3866 
 3867 fi
 3868 
 3869 
 3870 
 3871 
 3872 @%:@ Check whether --with-sysconfdir was given.
 3873 if test "${with_sysconfdir+set}" = set; then :
 3874   withval=$with_sysconfdir;  if test "x$withval" != "xno" ; then
 3875 					    
 3876 $as_echo "@%:@define HAVE_ETC_DIR /**/" >>confdefs.h
 3877 
 3878 						
 3879 cat >>confdefs.h <<_ACEOF
 3880 @%:@define ETC_DIR "$withval"
 3881 _ACEOF
 3882 
 3883 						MAKE_ETC_DIR=$withval
 3884 						
 3885 			  fi
 3886 			
 3887 
 3888 fi
 3889 
 3890 
 3891 
 3892 @%:@ Check whether --with-autosysconfdir was given.
 3893 if test "${with_autosysconfdir+set}" = set; then :
 3894   withval=$with_autosysconfdir;  if test "x$withval" != "xno" ; then
 3895 					    
 3896 $as_echo "@%:@define HAVE_AUTO_ETC_DIR /**/" >>confdefs.h
 3897 
 3898 						
 3899 cat >>confdefs.h <<_ACEOF
 3900 @%:@define AUTO_ETC_DIR "$withval"
 3901 _ACEOF
 3902 
 3903 						MAKE_AUTO_ETC_DIR=$withval
 3904 						
 3905 			  fi
 3906 			
 3907 
 3908 fi
 3909 
 3910 
 3911 
 3912 @%:@ Check whether --with-utility-bindir was given.
 3913 if test "${with_utility_bindir+set}" = set; then :
 3914   withval=$with_utility_bindir;  if test "x$withval" != "xno" ; then
 3915 					    
 3916 $as_echo "@%:@define HAVE_UTILBIN_DIR /**/" >>confdefs.h
 3917 
 3918 						
 3919 cat >>confdefs.h <<_ACEOF
 3920 @%:@define UTILBIN_DIR "$withval"
 3921 _ACEOF
 3922 
 3923 						MAKE_UTILBIN_DIR=$withval
 3924 						
 3925 			  fi
 3926 			
 3927 
 3928 fi
 3929 
 3930 
 3931 
 3932 
 3933 @%:@ Check whether --with-rundir was given.
 3934 if test "${with_rundir+set}" = set; then :
 3935   withval=$with_rundir;  if test "x$withval" != "xno" ; then
 3936 					    
 3937 $as_echo "@%:@define HAVE_RUN_DIR /**/" >>confdefs.h
 3938 
 3939 						
 3940 cat >>confdefs.h <<_ACEOF
 3941 @%:@define RUN_DIR "$withval"
 3942 _ACEOF
 3943 
 3944 						MAKE_RUN_DIR=$withval
 3945 						
 3946 			  fi
 3947 			
 3948 
 3949 fi
 3950 
 3951 
 3952 
 3953 
 3954 @%:@ Check whether --with-docdir was given.
 3955 if test "${with_docdir+set}" = set; then :
 3956   withval=$with_docdir;  if test "x$withval" != "xno" ; then
 3957 					MAKE_DOC_DIR=$withval
 3958 					
 3959 			  fi
 3960 			
 3961 
 3962 fi
 3963 
 3964 
 3965 
 3966 @%:@ Check whether --with-localedir was given.
 3967 if test "${with_localedir+set}" = set; then :
 3968   withval=$with_localedir;  if test "x$withval" != "xno" ; then
 3969 			    localedir=$withval
 3970 			  fi
 3971 			
 3972 
 3973 fi
 3974 
 3975 
 3976 cat >>confdefs.h <<_ACEOF
 3977 @%:@define LOCALEDIR "$localedir"
 3978 _ACEOF
 3979 
 3980 LOCALEDIR=$localedir
 3981 
 3982 
 3983 
 3984 
 3985 saved_CFLAGS="$CFLAGS"
 3986 CFLAGS="$CFLAGS $SERVER_LIBS"
 3987 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
 3988 if test "x$ac_cv_header_zlib_h" = xyes; then :
 3989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
 3990 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
 3991 if ${ac_cv_lib_z_zlibVersion+:} false; then :
 3992   $as_echo_n "(cached) " >&6
 3993 else
 3994   ac_check_lib_save_LIBS=$LIBS
 3995 LIBS="-lz  $LIBS"
 3996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3997 /* end confdefs.h.  */
 3998 
 3999 /* Override any GCC internal prototype to avoid an error.
 4000    Use char because int might match the return type of a GCC
 4001    builtin and then its argument prototype would still apply.  */
 4002 #ifdef __cplusplus
 4003 extern "C"
 4004 #endif
 4005 char zlibVersion ();
 4006 int
 4007 main ()
 4008 {
 4009 return zlibVersion ();
 4010   ;
 4011   return 0;
 4012 }
 4013 _ACEOF
 4014 if ac_fn_c_try_link "$LINENO"; then :
 4015   ac_cv_lib_z_zlibVersion=yes
 4016 else
 4017   ac_cv_lib_z_zlibVersion=no
 4018 fi
 4019 rm -f core conftest.err conftest.$ac_objext \
 4020     conftest$ac_exeext conftest.$ac_ext
 4021 LIBS=$ac_check_lib_save_LIBS
 4022 fi
 4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
 4024 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
 4025 if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
 4026   
 4027 			LIBS="-lz $LIBS $SERVER_LIBS"
 4028 		
 4029 else
 4030   
 4031 			as_fn_error $? "zlib was not found or is not usable.  Please install zlib." "$LINENO" 5
 4032 		
 4033 	
 4034 fi
 4035 
 4036 else
 4037   
 4038 		as_fn_error $? "zlib.h was not found or is not usable.  Please install zlib." "$LINENO" 5
 4039 	
 4040 
 4041 fi
 4042 
 4043 
 4044 CFLAGS="$saved_CFLAGS"
 4045 
 4046 @%:@ Check whether --enable-iconv was given.
 4047 if test "${enable_iconv+set}" = set; then :
 4048   enableval=$enable_iconv; ok_iconv=no
 4049 else
 4050   ok_iconv=yes
 4051 fi
 4052 
 4053 
 4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking to see if your system supports iconv" >&5
 4055 $as_echo_n "checking Checking to see if your system supports iconv... " >&6; }
 4056 if test "$cross_compiling" = yes; then :
 4057   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4059 as_fn_error $? "cannot run test program while cross compiling
 4060 See \`config.log' for more details" "$LINENO" 5; }
 4061 else
 4062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4063 /* end confdefs.h.  */
 4064 
 4065  	#include <iconv.h>
 4066  	main() {
 4067  		iconv_t ic = (iconv_t)(-1) ;
 4068  		ic = iconv_open("UTF-8", "us-ascii");
 4069  		iconv_close(ic);
 4070  		exit(0);
 4071  	}
 4072  
 4073 _ACEOF
 4074 if ac_fn_c_try_run "$LINENO"; then :
 4075   
 4076 		  ok_iconv=yes
 4077 		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4078 $as_echo "yes" >&6; }
 4079 		
 4080 else
 4081    
 4082 		  ok_iconv=no
 4083 		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4084 $as_echo "no" >&6; }
 4085 		
 4086 
 4087 fi
 4088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 4089   conftest.$ac_objext conftest.beam conftest.$ac_ext
 4090 fi
 4091 
 4092 
 4093 if test "$ok_iconv" = no; then
 4094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for an external libiconv" >&5
 4095 $as_echo_n "checking Checking for an external libiconv... " >&6; }
 4096 	OLD_LDFLAGS="$LDFLAGS"
 4097 	LDFLAGS="$LDFLAGS -liconv"
 4098 	if test "$cross_compiling" = yes; then :
 4099   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4101 as_fn_error $? "cannot run test program while cross compiling
 4102 See \`config.log' for more details" "$LINENO" 5; }
 4103 else
 4104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4105 /* end confdefs.h.  */
 4106 
 4107 			#include <iconv.h>
 4108 			main() {
 4109 				iconv_t ic = (iconv_t)(-1) ;
 4110 				ic = iconv_open("UTF-8", "us-ascii");
 4111 				iconv_close(ic);
 4112 			}
 4113 		
 4114 _ACEOF
 4115 if ac_fn_c_try_run "$LINENO"; then :
 4116   
 4117 			  ok_iconv=yes
 4118 			  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4119 $as_echo "yes" >&6; }
 4120 			
 4121 else
 4122    
 4123 			  ok_iconv=no
 4124 			  LDFLAGS="$OLD_LDFLAGS"
 4125 			  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4126 $as_echo "no" >&6; }
 4127 			
 4128 		
 4129 fi
 4130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 4131   conftest.$ac_objext conftest.beam conftest.$ac_ext
 4132 fi
 4133 
 4134 fi
 4135 
 4136 if test "$ok_iconv" != "no"; then
 4137 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Citadel will be built with character set conversion." >&5
 4138 $as_echo "Citadel will be built with character set conversion." >&6; }
 4139 	
 4140 $as_echo "@%:@define HAVE_ICONV /**/" >>confdefs.h
 4141 
 4142 else
 4143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Citadel will be built without character set conversion." >&5
 4144 $as_echo "Citadel will be built without character set conversion." >&6; }
 4145 fi
 4146 
 4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libintl_bindtextdomain in -lintl" >&5
 4148 $as_echo_n "checking for libintl_bindtextdomain in -lintl... " >&6; }
 4149 if ${ac_cv_lib_intl_libintl_bindtextdomain+:} false; then :
 4150   $as_echo_n "(cached) " >&6
 4151 else
 4152   ac_check_lib_save_LIBS=$LIBS
 4153 LIBS="-lintl  $LIBS"
 4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4155 /* end confdefs.h.  */
 4156 
 4157 /* Override any GCC internal prototype to avoid an error.
 4158    Use char because int might match the return type of a GCC
 4159    builtin and then its argument prototype would still apply.  */
 4160 #ifdef __cplusplus
 4161 extern "C"
 4162 #endif
 4163 char libintl_bindtextdomain ();
 4164 int
 4165 main ()
 4166 {
 4167 return libintl_bindtextdomain ();
 4168   ;
 4169   return 0;
 4170 }
 4171 _ACEOF
 4172 if ac_fn_c_try_link "$LINENO"; then :
 4173   ac_cv_lib_intl_libintl_bindtextdomain=yes
 4174 else
 4175   ac_cv_lib_intl_libintl_bindtextdomain=no
 4176 fi
 4177 rm -f core conftest.err conftest.$ac_objext \
 4178     conftest$ac_exeext conftest.$ac_ext
 4179 LIBS=$ac_check_lib_save_LIBS
 4180 fi
 4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_libintl_bindtextdomain" >&5
 4182 $as_echo "$ac_cv_lib_intl_libintl_bindtextdomain" >&6; }
 4183 if test "x$ac_cv_lib_intl_libintl_bindtextdomain" = xyes; then :
 4184   LDFLAGS="$LDFLAGS -lintl"
 4185 fi
 4186 
 4187 
 4188 @%:@ Check whether --enable-pie was given.
 4189 if test "${enable_pie+set}" = set; then :
 4190   enableval=$enable_pie; 
 4191 fi
 4192 
 4193 
 4194 
 4195 @%:@ Check whether --with-pam was given.
 4196 if test "${with_pam+set}" = set; then :
 4197   withval=$with_pam; 
 4198 fi
 4199 
 4200 
 4201 @%:@ Check whether --with-kthread was given.
 4202 if test "${with_kthread+set}" = set; then :
 4203   withval=$with_kthread; 
 4204 fi
 4205 
 4206 
 4207 @%:@ Check whether --with-db was given.
 4208 if test "${with_db+set}" = set; then :
 4209   withval=$with_db; 
 4210 fi
 4211 
 4212 
 4213 @%:@ Check whether --with-ssl was given.
 4214 if test "${with_ssl+set}" = set; then :
 4215   withval=$with_ssl; 
 4216 		if test "x$withval" != "xno" ; then
 4217 			tryssldir=$withval
 4218 		fi
 4219 	
 4220 
 4221 fi
 4222 
 4223 
 4224 if test "x$with_db" != xno -a "x$with_db" != xyes -a "$with_db"; then
 4225 	db_dir="$with_db"
 4226 	with_db=yes
 4227 else
 4228 	test -f /usr/local/lib/libdb.a -o -f /usr/local/lib/libdb.so \
 4229 	  && db_dir=/usr/local
 4230 fi
 4231 
 4232 ac_aux_dir=
 4233 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 4234   if test -f "$ac_dir/install-sh"; then
 4235     ac_aux_dir=$ac_dir
 4236     ac_install_sh="$ac_aux_dir/install-sh -c"
 4237     break
 4238   elif test -f "$ac_dir/install.sh"; then
 4239     ac_aux_dir=$ac_dir
 4240     ac_install_sh="$ac_aux_dir/install.sh -c"
 4241     break
 4242   elif test -f "$ac_dir/shtool"; then
 4243     ac_aux_dir=$ac_dir
 4244     ac_install_sh="$ac_aux_dir/shtool install -c"
 4245     break
 4246   fi
 4247 done
 4248 if test -z "$ac_aux_dir"; then
 4249   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 4250 fi
 4251 
 4252 # These three variables are undocumented and unsupported,
 4253 # and are intended to be withdrawn in a future Autoconf release.
 4254 # They can cause serious problems if a builder's source tree is in a directory
 4255 # whose full name contains unusual characters.
 4256 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 4257 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 4258 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 4259 
 4260 
 4261 # Make sure we can run config.sub.
 4262 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 4263   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 4264 
 4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 4266 $as_echo_n "checking build system type... " >&6; }
 4267 if ${ac_cv_build+:} false; then :
 4268   $as_echo_n "(cached) " >&6
 4269 else
 4270   ac_build_alias=$build_alias
 4271 test "x$ac_build_alias" = x &&
 4272   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 4273 test "x$ac_build_alias" = x &&
 4274   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 4275 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 4276   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 4277 
 4278 fi
 4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 4280 $as_echo "$ac_cv_build" >&6; }
 4281 case $ac_cv_build in
 4282 *-*-*) ;;
 4283 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 4284 esac
 4285 build=$ac_cv_build
 4286 ac_save_IFS=$IFS; IFS='-'
 4287 set x $ac_cv_build
 4288 shift
 4289 build_cpu=$1
 4290 build_vendor=$2
 4291 shift; shift
 4292 # Remember, the first character of IFS is used to create $*,
 4293 # except with old shells:
 4294 build_os=$*
 4295 IFS=$ac_save_IFS
 4296 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 4297 
 4298 
 4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 4300 $as_echo_n "checking host system type... " >&6; }
 4301 if ${ac_cv_host+:} false; then :
 4302   $as_echo_n "(cached) " >&6
 4303 else
 4304   if test "x$host_alias" = x; then
 4305   ac_cv_host=$ac_cv_build
 4306 else
 4307   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 4308     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 4309 fi
 4310 
 4311 fi
 4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 4313 $as_echo "$ac_cv_host" >&6; }
 4314 case $ac_cv_host in
 4315 *-*-*) ;;
 4316 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 4317 esac
 4318 host=$ac_cv_host
 4319 ac_save_IFS=$IFS; IFS='-'
 4320 set x $ac_cv_host
 4321 shift
 4322 host_cpu=$1
 4323 host_vendor=$2
 4324 shift; shift
 4325 # Remember, the first character of IFS is used to create $*,
 4326 # except with old shells:
 4327 host_os=$*
 4328 IFS=$ac_save_IFS
 4329 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 4330 
 4331 
 4332 PTHREAD_DEFS=-D_REENTRANT
 4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile with POSIX threads" >&5
 4334 $as_echo_n "checking how to compile with POSIX threads... " >&6; }
 4335 case "$host" in
 4336 				*-*-bsdi123*)
 4337 		test -z "$CC" -a -x /usr/bin/shlicc2 && CC=shlicc2
 4338 		
 4339 $as_echo "@%:@define HAVE_NONREENTRANT_NETDB /**/" >>confdefs.h
 4340 
 4341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Old BSDI" >&5
 4342 $as_echo "Old BSDI" >&6; }
 4343 	;;
 4344 	*-*-bsdi*)
 4345 		
 4346 $as_echo "@%:@define HAVE_NONREENTRANT_NETDB /**/" >>confdefs.h
 4347 
 4348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: BSD/OS" >&5
 4349 $as_echo "BSD/OS" >&6; }
 4350 	;;
 4351 				*-*-darwin*)
 4352 		
 4353 $as_echo "@%:@define HAVE_DARWIN /**/" >>confdefs.h
 4354 
 4355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Mac OS X" >&5
 4356 $as_echo "Mac OS X" >&6; }
 4357 	;;
 4358 			alpha*-dec-osf*)
 4359 		test -z "$CC" && CC=cc
 4360 		LIBS="-lpthread -lexc $LIBS"
 4361 		check_pthread=no
 4362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Tru64 or Digital UNIX" >&5
 4363 $as_echo "Tru64 or Digital UNIX" >&6; }
 4364 	;;
 4365 		*-*-freebsd*)
 4366 		if test "$with_kthread" = yes; then
 4367 			LIBS="-kthread $LIBS"
 4368 		else
 4369 			LIBS="-pthread $LIBS"
 4370 		fi
 4371 		check_pthread=no
 4372 		PTHREAD_DEFS=-D_THREAD_SAFE
 4373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: FreeBSD" >&5
 4374 $as_echo "FreeBSD" >&6; }
 4375 	;;
 4376 	*-*-openbsd*)
 4377 		LIBS="-pthread $LIBS"
 4378 		check_pthread=no
 4379 		PTHREAD_DEFS=-pthread
 4380 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenBSD" >&5
 4381 $as_echo "OpenBSD" >&6; }
 4382 	;;
 4383 	*-*-linux*)
 4384 		PTHREAD_DEFS="-D_REENTRANT -pthread"
 4385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
 4386 $as_echo "Linux" >&6; }
 4387 	;;
 4388 	*-*-solaris*)
 4389 		PTHREAD_DEFS="-D_REENTRANT -D_PTHREADS"
 4390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris" >&5
 4391 $as_echo "Solaris" >&6; }
 4392 	;;
 4393 	*-*-cygwin*)
 4394 		SERVER_LDFLAGS="-Wl,-subsystem,windows"
 4395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Cygwin" >&5
 4396 $as_echo "Cygwin" >&6; }
 4397 	;;
 4398 	*)
 4399 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: default" >&5
 4400 $as_echo "default" >&6; }
 4401 	;;
 4402 esac
 4403 
 4404 
 4405 ac_ext=c
 4406 ac_cpp='$CPP $CPPFLAGS'
 4407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4410 if test -n "$ac_tool_prefix"; then
 4411   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 4412 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4414 $as_echo_n "checking for $ac_word... " >&6; }
 4415 if ${ac_cv_prog_CC+:} false; then :
 4416   $as_echo_n "(cached) " >&6
 4417 else
 4418   if test -n "$CC"; then
 4419   ac_cv_prog_CC="$CC" # Let the user override the test.
 4420 else
 4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4422 for as_dir in $PATH
 4423 do
 4424   IFS=$as_save_IFS
 4425   test -z "$as_dir" && as_dir=.
 4426     for ac_exec_ext in '' $ac_executable_extensions; do
 4427   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4428     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 4429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4430     break 2
 4431   fi
 4432 done
 4433   done
 4434 IFS=$as_save_IFS
 4435 
 4436 fi
 4437 fi
 4438 CC=$ac_cv_prog_CC
 4439 if test -n "$CC"; then
 4440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 4441 $as_echo "$CC" >&6; }
 4442 else
 4443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4444 $as_echo "no" >&6; }
 4445 fi
 4446 
 4447 
 4448 fi
 4449 if test -z "$ac_cv_prog_CC"; then
 4450   ac_ct_CC=$CC
 4451   # Extract the first word of "gcc", so it can be a program name with args.
 4452 set dummy gcc; ac_word=$2
 4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4454 $as_echo_n "checking for $ac_word... " >&6; }
 4455 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 4456   $as_echo_n "(cached) " >&6
 4457 else
 4458   if test -n "$ac_ct_CC"; then
 4459   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 4460 else
 4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4462 for as_dir in $PATH
 4463 do
 4464   IFS=$as_save_IFS
 4465   test -z "$as_dir" && as_dir=.
 4466     for ac_exec_ext in '' $ac_executable_extensions; do
 4467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4468     ac_cv_prog_ac_ct_CC="gcc"
 4469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4470     break 2
 4471   fi
 4472 done
 4473   done
 4474 IFS=$as_save_IFS
 4475 
 4476 fi
 4477 fi
 4478 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 4479 if test -n "$ac_ct_CC"; then
 4480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 4481 $as_echo "$ac_ct_CC" >&6; }
 4482 else
 4483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4484 $as_echo "no" >&6; }
 4485 fi
 4486 
 4487   if test "x$ac_ct_CC" = x; then
 4488     CC=""
 4489   else
 4490     case $cross_compiling:$ac_tool_warned in
 4491 yes:)
 4492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4494 ac_tool_warned=yes ;;
 4495 esac
 4496     CC=$ac_ct_CC
 4497   fi
 4498 else
 4499   CC="$ac_cv_prog_CC"
 4500 fi
 4501 
 4502 if test -z "$CC"; then
 4503           if test -n "$ac_tool_prefix"; then
 4504     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 4505 set dummy ${ac_tool_prefix}cc; ac_word=$2
 4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4507 $as_echo_n "checking for $ac_word... " >&6; }
 4508 if ${ac_cv_prog_CC+:} false; then :
 4509   $as_echo_n "(cached) " >&6
 4510 else
 4511   if test -n "$CC"; then
 4512   ac_cv_prog_CC="$CC" # Let the user override the test.
 4513 else
 4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4515 for as_dir in $PATH
 4516 do
 4517   IFS=$as_save_IFS
 4518   test -z "$as_dir" && as_dir=.
 4519     for ac_exec_ext in '' $ac_executable_extensions; do
 4520   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4521     ac_cv_prog_CC="${ac_tool_prefix}cc"
 4522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4523     break 2
 4524   fi
 4525 done
 4526   done
 4527 IFS=$as_save_IFS
 4528 
 4529 fi
 4530 fi
 4531 CC=$ac_cv_prog_CC
 4532 if test -n "$CC"; then
 4533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 4534 $as_echo "$CC" >&6; }
 4535 else
 4536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4537 $as_echo "no" >&6; }
 4538 fi
 4539 
 4540 
 4541   fi
 4542 fi
 4543 if test -z "$CC"; then
 4544   # Extract the first word of "cc", so it can be a program name with args.
 4545 set dummy cc; ac_word=$2
 4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4547 $as_echo_n "checking for $ac_word... " >&6; }
 4548 if ${ac_cv_prog_CC+:} false; then :
 4549   $as_echo_n "(cached) " >&6
 4550 else
 4551   if test -n "$CC"; then
 4552   ac_cv_prog_CC="$CC" # Let the user override the test.
 4553 else
 4554   ac_prog_rejected=no
 4555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4556 for as_dir in $PATH
 4557 do
 4558   IFS=$as_save_IFS
 4559   test -z "$as_dir" && as_dir=.
 4560     for ac_exec_ext in '' $ac_executable_extensions; do
 4561   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4562     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 4563        ac_prog_rejected=yes
 4564        continue
 4565      fi
 4566     ac_cv_prog_CC="cc"
 4567     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4568     break 2
 4569   fi
 4570 done
 4571   done
 4572 IFS=$as_save_IFS
 4573 
 4574 if test $ac_prog_rejected = yes; then
 4575   # We found a bogon in the path, so make sure we never use it.
 4576   set dummy $ac_cv_prog_CC
 4577   shift
 4578   if test $@%:@ != 0; then
 4579     # We chose a different compiler from the bogus one.
 4580     # However, it has the same basename, so the bogon will be chosen
 4581     # first if we set CC to just the basename; use the full file name.
 4582     shift
 4583     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 4584   fi
 4585 fi
 4586 fi
 4587 fi
 4588 CC=$ac_cv_prog_CC
 4589 if test -n "$CC"; then
 4590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 4591 $as_echo "$CC" >&6; }
 4592 else
 4593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4594 $as_echo "no" >&6; }
 4595 fi
 4596 
 4597 
 4598 fi
 4599 if test -z "$CC"; then
 4600   if test -n "$ac_tool_prefix"; then
 4601   for ac_prog in cl.exe
 4602   do
 4603     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4606 $as_echo_n "checking for $ac_word... " >&6; }
 4607 if ${ac_cv_prog_CC+:} false; then :
 4608   $as_echo_n "(cached) " >&6
 4609 else
 4610   if test -n "$CC"; then
 4611   ac_cv_prog_CC="$CC" # Let the user override the test.
 4612 else
 4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4614 for as_dir in $PATH
 4615 do
 4616   IFS=$as_save_IFS
 4617   test -z "$as_dir" && as_dir=.
 4618     for ac_exec_ext in '' $ac_executable_extensions; do
 4619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4620     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 4621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4622     break 2
 4623   fi
 4624 done
 4625   done
 4626 IFS=$as_save_IFS
 4627 
 4628 fi
 4629 fi
 4630 CC=$ac_cv_prog_CC
 4631 if test -n "$CC"; then
 4632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 4633 $as_echo "$CC" >&6; }
 4634 else
 4635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4636 $as_echo "no" >&6; }
 4637 fi
 4638 
 4639 
 4640     test -n "$CC" && break
 4641   done
 4642 fi
 4643 if test -z "$CC"; then
 4644   ac_ct_CC=$CC
 4645   for ac_prog in cl.exe
 4646 do
 4647   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4648 set dummy $ac_prog; ac_word=$2
 4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4650 $as_echo_n "checking for $ac_word... " >&6; }
 4651 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 4652   $as_echo_n "(cached) " >&6
 4653 else
 4654   if test -n "$ac_ct_CC"; then
 4655   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 4656 else
 4657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4658 for as_dir in $PATH
 4659 do
 4660   IFS=$as_save_IFS
 4661   test -z "$as_dir" && as_dir=.
 4662     for ac_exec_ext in '' $ac_executable_extensions; do
 4663   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4664     ac_cv_prog_ac_ct_CC="$ac_prog"
 4665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4666     break 2
 4667   fi
 4668 done
 4669   done
 4670 IFS=$as_save_IFS
 4671 
 4672 fi
 4673 fi
 4674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 4675 if test -n "$ac_ct_CC"; then
 4676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 4677 $as_echo "$ac_ct_CC" >&6; }
 4678 else
 4679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4680 $as_echo "no" >&6; }
 4681 fi
 4682 
 4683 
 4684   test -n "$ac_ct_CC" && break
 4685 done
 4686 
 4687   if test "x$ac_ct_CC" = x; then
 4688     CC=""
 4689   else
 4690     case $cross_compiling:$ac_tool_warned in
 4691 yes:)
 4692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4694 ac_tool_warned=yes ;;
 4695 esac
 4696     CC=$ac_ct_CC
 4697   fi
 4698 fi
 4699 
 4700 fi
 4701 
 4702 
 4703 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4705 as_fn_error $? "no acceptable C compiler found in \$PATH
 4706 See \`config.log' for more details" "$LINENO" 5; }
 4707 
 4708 # Provide some information about the compiler.
 4709 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 4710 set X $ac_compile
 4711 ac_compiler=$2
 4712 for ac_option in --version -v -V -qversion; do
 4713   { { ac_try="$ac_compiler $ac_option >&5"
 4714 case "(($ac_try" in
 4715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4716   *) ac_try_echo=$ac_try;;
 4717 esac
 4718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4719 $as_echo "$ac_try_echo"; } >&5
 4720   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4721   ac_status=$?
 4722   if test -s conftest.err; then
 4723     sed '10a\
 4724 ... rest of stderr output deleted ...
 4725          10q' conftest.err >conftest.er1
 4726     cat conftest.er1 >&5
 4727   fi
 4728   rm -f conftest.er1 conftest.err
 4729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4730   test $ac_status = 0; }
 4731 done
 4732 
 4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 4734 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 4735 if ${ac_cv_c_compiler_gnu+:} false; then :
 4736   $as_echo_n "(cached) " >&6
 4737 else
 4738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4739 /* end confdefs.h.  */
 4740 
 4741 int
 4742 main ()
 4743 {
 4744 #ifndef __GNUC__
 4745        choke me
 4746 #endif
 4747 
 4748   ;
 4749   return 0;
 4750 }
 4751 _ACEOF
 4752 if ac_fn_c_try_compile "$LINENO"; then :
 4753   ac_compiler_gnu=yes
 4754 else
 4755   ac_compiler_gnu=no
 4756 fi
 4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4758 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 4759 
 4760 fi
 4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 4762 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 4763 if test $ac_compiler_gnu = yes; then
 4764   GCC=yes
 4765 else
 4766   GCC=
 4767 fi
 4768 ac_test_CFLAGS=${CFLAGS+set}
 4769 ac_save_CFLAGS=$CFLAGS
 4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 4771 $as_echo_n "checking whether $CC accepts -g... " >&6; }
 4772 if ${ac_cv_prog_cc_g+:} false; then :
 4773   $as_echo_n "(cached) " >&6
 4774 else
 4775   ac_save_c_werror_flag=$ac_c_werror_flag
 4776    ac_c_werror_flag=yes
 4777    ac_cv_prog_cc_g=no
 4778    CFLAGS="-g"
 4779    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4780 /* end confdefs.h.  */
 4781 
 4782 int
 4783 main ()
 4784 {
 4785 
 4786   ;
 4787   return 0;
 4788 }
 4789 _ACEOF
 4790 if ac_fn_c_try_compile "$LINENO"; then :
 4791   ac_cv_prog_cc_g=yes
 4792 else
 4793   CFLAGS=""
 4794       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4795 /* end confdefs.h.  */
 4796 
 4797 int
 4798 main ()
 4799 {
 4800 
 4801   ;
 4802   return 0;
 4803 }
 4804 _ACEOF
 4805 if ac_fn_c_try_compile "$LINENO"; then :
 4806   
 4807 else
 4808   ac_c_werror_flag=$ac_save_c_werror_flag
 4809 	 CFLAGS="-g"
 4810 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4811 /* end confdefs.h.  */
 4812 
 4813 int
 4814 main ()
 4815 {
 4816 
 4817   ;
 4818   return 0;
 4819 }
 4820 _ACEOF
 4821 if ac_fn_c_try_compile "$LINENO"; then :
 4822   ac_cv_prog_cc_g=yes
 4823 fi
 4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4825 fi
 4826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4827 fi
 4828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4829    ac_c_werror_flag=$ac_save_c_werror_flag
 4830 fi
 4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 4832 $as_echo "$ac_cv_prog_cc_g" >&6; }
 4833 if test "$ac_test_CFLAGS" = set; then
 4834   CFLAGS=$ac_save_CFLAGS
 4835 elif test $ac_cv_prog_cc_g = yes; then
 4836   if test "$GCC" = yes; then
 4837     CFLAGS="-g -O2"
 4838   else
 4839     CFLAGS="-g"
 4840   fi
 4841 else
 4842   if test "$GCC" = yes; then
 4843     CFLAGS="-O2"
 4844   else
 4845     CFLAGS=
 4846   fi
 4847 fi
 4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 4849 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 4850 if ${ac_cv_prog_cc_c89+:} false; then :
 4851   $as_echo_n "(cached) " >&6
 4852 else
 4853   ac_cv_prog_cc_c89=no
 4854 ac_save_CC=$CC
 4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4856 /* end confdefs.h.  */
 4857 #include <stdarg.h>
 4858 #include <stdio.h>
 4859 struct stat;
 4860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 4861 struct buf { int x; };
 4862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 4863 static char *e (p, i)
 4864      char **p;
 4865      int i;
 4866 {
 4867   return p[i];
 4868 }
 4869 static char *f (char * (*g) (char **, int), char **p, ...)
 4870 {
 4871   char *s;
 4872   va_list v;
 4873   va_start (v,p);
 4874   s = g (p, va_arg (v,int));
 4875   va_end (v);
 4876   return s;
 4877 }
 4878 
 4879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 4880    function prototypes and stuff, but not '\xHH' hex character constants.
 4881    These don't provoke an error unfortunately, instead are silently treated
 4882    as 'x'.  The following induces an error, until -std is added to get
 4883    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 4884    array size at least.  It's necessary to write '\x00'==0 to get something
 4885    that's true only with -std.  */
 4886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 4887 
 4888 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 4889    inside strings and character constants.  */
 4890 #define FOO(x) 'x'
 4891 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 4892 
 4893 int test (int i, double x);
 4894 struct s1 {int (*f) (int a);};
 4895 struct s2 {int (*f) (double a);};
 4896 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 4897 int argc;
 4898 char **argv;
 4899 int
 4900 main ()
 4901 {
 4902 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 4903   ;
 4904   return 0;
 4905 }
 4906 _ACEOF
 4907 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 4908 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 4909 do
 4910   CC="$ac_save_CC $ac_arg"
 4911   if ac_fn_c_try_compile "$LINENO"; then :
 4912   ac_cv_prog_cc_c89=$ac_arg
 4913 fi
 4914 rm -f core conftest.err conftest.$ac_objext
 4915   test "x$ac_cv_prog_cc_c89" != "xno" && break
 4916 done
 4917 rm -f conftest.$ac_ext
 4918 CC=$ac_save_CC
 4919 
 4920 fi
 4921 # AC_CACHE_VAL
 4922 case "x$ac_cv_prog_cc_c89" in
 4923   x)
 4924     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 4925 $as_echo "none needed" >&6; } ;;
 4926   xno)
 4927     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 4928 $as_echo "unsupported" >&6; } ;;
 4929   *)
 4930     CC="$CC $ac_cv_prog_cc_c89"
 4931     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 4932 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 4933 esac
 4934 if test "x$ac_cv_prog_cc_c89" != xno; then :
 4935   
 4936 fi
 4937 
 4938 ac_ext=c
 4939 ac_cpp='$CPP $CPPFLAGS'
 4940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4943 
 4944 
 4945 
 4946 
 4947 if test "$GCC" = yes; then
 4948 	if test "$CC" = icc; then
 4949 		CFLAGS="$CFLAGS -w1"
 4950 	else
 4951 		case "$host" in
 4952 			*-*-solaris*|alpha*-dec-osf*)
 4953 				CFLAGS="$CFLAGS -Wall -Wcast-qual -Wcast-align -Wno-char-subscripts $PTHREAD_DEFS"
 4954 			;;
 4955 			*)
 4956 			CFLAGS="$CFLAGS -Wall -Wcast-qual -Wcast-align -Wstrict-prototypes -Wno-strict-aliasing $PTHREAD_DEFS"
 4957 			;;
 4958 		esac
 4959 	fi
 4960 fi
 4961 
 4962 if test "x$enable_pie" = xyes; then
 4963 	save_CFLAGS="$CFLAGS"
 4964 	save_LDFLAGS="$LDFLAGS"
 4965 	CFLAGS="$CFLAGS -fpie"
 4966 	LDFLAGS="$LDFLAGS -pie -fpie"
 4967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -pie -fpie" >&5
 4968 $as_echo_n "checking whether compiler accepts -pie -fpie... " >&6; }
 4969 if ${ac_cv_pie_fpie+:} false; then :
 4970   $as_echo_n "(cached) " >&6
 4971 else
 4972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4973 /* end confdefs.h.  */
 4974 
 4975 int
 4976 main ()
 4977 {
 4978 
 4979   ;
 4980   return 0;
 4981 }
 4982 _ACEOF
 4983 if ac_fn_c_try_link "$LINENO"; then :
 4984   ac_cv_pie_fpie=yes
 4985 else
 4986   ac_cv_pie_fpie=no
 4987 fi
 4988 rm -f core conftest.err conftest.$ac_objext \
 4989     conftest$ac_exeext conftest.$ac_ext
 4990 fi
 4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pie_fpie" >&5
 4992 $as_echo "$ac_cv_pie_fpie" >&6; }
 4993 	if test $ac_cv_pie_fpie = no; then
 4994 		CFLAGS="$save_CFLAGS"
 4995 		LDFLAGS="$save_LDFLAGS"
 4996 	fi
 4997 fi
 4998 
 4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create dependancy checks" >&5
 5000 $as_echo_n "checking how to create dependancy checks... " >&6; }
 5001 	 if test -n "`$CC -V 2>&1 |grep Sun`"; then 
 5002 	     	DEPEND_FLAG=-xM;
 5003 	 else 
 5004 	        DEPEND_FLAG=-M
 5005          fi
 5006 
 5007 
 5008 
 5009 # Find a good install program.  We prefer a C program (faster),
 5010 # so one script is as good as another.  But avoid the broken or
 5011 # incompatible versions:
 5012 # SysV /etc/install, /usr/sbin/install
 5013 # SunOS /usr/etc/install
 5014 # IRIX /sbin/install
 5015 # AIX /bin/install
 5016 # AmigaOS /C/install, which installs bootblocks on floppy discs
 5017 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 5018 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 5019 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 5020 # OS/2's system install, which has a completely different semantic
 5021 # ./install, which can be erroneously created by make from ./install.sh.
 5022 # Reject install programs that cannot install multiple files.
 5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 5024 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 5025 if test -z "$INSTALL"; then
 5026 if ${ac_cv_path_install+:} false; then :
 5027   $as_echo_n "(cached) " >&6
 5028 else
 5029   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5030 for as_dir in $PATH
 5031 do
 5032   IFS=$as_save_IFS
 5033   test -z "$as_dir" && as_dir=.
 5034     # Account for people who put trailing slashes in PATH elements.
 5035 case $as_dir/ in @%:@((
 5036   ./ | .// | /[cC]/* | \
 5037   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 5038   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 5039   /usr/ucb/* ) ;;
 5040   *)
 5041     # OSF1 and SCO ODT 3.0 have their own names for install.
 5042     # Don't use installbsd from OSF since it installs stuff as root
 5043     # by default.
 5044     for ac_prog in ginstall scoinst install; do
 5045       for ac_exec_ext in '' $ac_executable_extensions; do
 5046 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 5047 	  if test $ac_prog = install &&
 5048 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 5049 	    # AIX install.  It has an incompatible calling convention.
 5050 	    :
 5051 	  elif test $ac_prog = install &&
 5052 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 5053 	    # program-specific install script used by HP pwplus--don't use.
 5054 	    :
 5055 	  else
 5056 	    rm -rf conftest.one conftest.two conftest.dir
 5057 	    echo one > conftest.one
 5058 	    echo two > conftest.two
 5059 	    mkdir conftest.dir
 5060 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 5061 	      test -s conftest.one && test -s conftest.two &&
 5062 	      test -s conftest.dir/conftest.one &&
 5063 	      test -s conftest.dir/conftest.two
 5064 	    then
 5065 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 5066 	      break 3
 5067 	    fi
 5068 	  fi
 5069 	fi
 5070       done
 5071     done
 5072     ;;
 5073 esac
 5074 
 5075   done
 5076 IFS=$as_save_IFS
 5077 
 5078 rm -rf conftest.one conftest.two conftest.dir
 5079 
 5080 fi
 5081   if test "${ac_cv_path_install+set}" = set; then
 5082     INSTALL=$ac_cv_path_install
 5083   else
 5084     # As a last resort, use the slow shell script.  Don't cache a
 5085     # value for INSTALL within a source directory, because that will
 5086     # break other packages using the cache if that directory is
 5087     # removed, or if the value is a relative name.
 5088     INSTALL=$ac_install_sh
 5089   fi
 5090 fi
 5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 5092 $as_echo "$INSTALL" >&6; }
 5093 
 5094 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 5095 # It thinks the first close brace ends the variable substitution.
 5096 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 5097 
 5098 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 5099 
 5100 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 5101 
 5102 for ac_prog in 'bison -y' byacc
 5103 do
 5104   # Extract the first word of "$ac_prog", so it can be a program name with args.
 5105 set dummy $ac_prog; ac_word=$2
 5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5107 $as_echo_n "checking for $ac_word... " >&6; }
 5108 if ${ac_cv_prog_YACC+:} false; then :
 5109   $as_echo_n "(cached) " >&6
 5110 else
 5111   if test -n "$YACC"; then
 5112   ac_cv_prog_YACC="$YACC" # Let the user override the test.
 5113 else
 5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5115 for as_dir in $PATH
 5116 do
 5117   IFS=$as_save_IFS
 5118   test -z "$as_dir" && as_dir=.
 5119     for ac_exec_ext in '' $ac_executable_extensions; do
 5120   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5121     ac_cv_prog_YACC="$ac_prog"
 5122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5123     break 2
 5124   fi
 5125 done
 5126   done
 5127 IFS=$as_save_IFS
 5128 
 5129 fi
 5130 fi
 5131 YACC=$ac_cv_prog_YACC
 5132 if test -n "$YACC"; then
 5133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
 5134 $as_echo "$YACC" >&6; }
 5135 else
 5136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5137 $as_echo "no" >&6; }
 5138 fi
 5139 
 5140 
 5141   test -n "$YACC" && break
 5142 done
 5143 test -n "$YACC" || YACC="yacc"
 5144 
 5145 # Extract the first word of "diff", so it can be a program name with args.
 5146 set dummy diff; ac_word=$2
 5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5148 $as_echo_n "checking for $ac_word... " >&6; }
 5149 if ${ac_cv_path_DIFF+:} false; then :
 5150   $as_echo_n "(cached) " >&6
 5151 else
 5152   case $DIFF in
 5153   [\\/]* | ?:[\\/]*)
 5154   ac_cv_path_DIFF="$DIFF" # Let the user override the test with a path.
 5155   ;;
 5156   *)
 5157   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5158 for as_dir in $PATH
 5159 do
 5160   IFS=$as_save_IFS
 5161   test -z "$as_dir" && as_dir=.
 5162     for ac_exec_ext in '' $ac_executable_extensions; do
 5163   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5164     ac_cv_path_DIFF="$as_dir/$ac_word$ac_exec_ext"
 5165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5166     break 2
 5167   fi
 5168 done
 5169   done
 5170 IFS=$as_save_IFS
 5171 
 5172   ;;
 5173 esac
 5174 fi
 5175 DIFF=$ac_cv_path_DIFF
 5176 if test -n "$DIFF"; then
 5177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DIFF" >&5
 5178 $as_echo "$DIFF" >&6; }
 5179 else
 5180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5181 $as_echo "no" >&6; }
 5182 fi
 5183 
 5184 
 5185 # Extract the first word of "patch", so it can be a program name with args.
 5186 set dummy patch; ac_word=$2
 5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5188 $as_echo_n "checking for $ac_word... " >&6; }
 5189 if ${ac_cv_path_PATCH+:} false; then :
 5190   $as_echo_n "(cached) " >&6
 5191 else
 5192   case $PATCH in
 5193   [\\/]* | ?:[\\/]*)
 5194   ac_cv_path_PATCH="$PATCH" # Let the user override the test with a path.
 5195   ;;
 5196   *)
 5197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5198 for as_dir in $PATH
 5199 do
 5200   IFS=$as_save_IFS
 5201   test -z "$as_dir" && as_dir=.
 5202     for ac_exec_ext in '' $ac_executable_extensions; do
 5203   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5204     ac_cv_path_PATCH="$as_dir/$ac_word$ac_exec_ext"
 5205     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5206     break 2
 5207   fi
 5208 done
 5209   done
 5210 IFS=$as_save_IFS
 5211 
 5212   ;;
 5213 esac
 5214 fi
 5215 PATCH=$ac_cv_path_PATCH
 5216 if test -n "$PATCH"; then
 5217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
 5218 $as_echo "$PATCH" >&6; }
 5219 else
 5220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5221 $as_echo "no" >&6; }
 5222 fi
 5223 
 5224 
 5225 missing_dir=`cd $ac_aux_dir && pwd`
 5226 # Expand $ac_aux_dir to an absolute path.
 5227 am_aux_dir=`cd "$ac_aux_dir" && pwd`
 5228 
 5229 if test x"${MISSING+set}" != xset; then
 5230   case $am_aux_dir in
 5231   *\ * | *\	*)
 5232     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 5233   *)
 5234     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 5235   esac
 5236 fi
 5237 # Use eval to expand $SHELL
 5238 if eval "$MISSING --is-lightweight"; then
 5239   am_missing_run="$MISSING "
 5240 else
 5241   am_missing_run=
 5242   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 5243 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 5244 fi
 5245 
 5246 
 5247 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 5248 
 5249 
 5250 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
 5251 
 5252 
 5253 
 5254 # The cast to long int works around a bug in the HP C Compiler
 5255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 5256 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 5257 # This bug is HP SR number 8606223364.
 5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
 5259 $as_echo_n "checking size of char... " >&6; }
 5260 if ${ac_cv_sizeof_char+:} false; then :
 5261   $as_echo_n "(cached) " >&6
 5262 else
 5263   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
 5264   
 5265 else
 5266   if test "$ac_cv_type_char" = yes; then
 5267      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5269 as_fn_error 77 "cannot compute sizeof (char)
 5270 See \`config.log' for more details" "$LINENO" 5; }
 5271    else
 5272      ac_cv_sizeof_char=0
 5273    fi
 5274 fi
 5275 
 5276 fi
 5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
 5278 $as_echo "$ac_cv_sizeof_char" >&6; }
 5279 
 5280 
 5281 
 5282 cat >>confdefs.h <<_ACEOF
 5283 @%:@define SIZEOF_CHAR $ac_cv_sizeof_char
 5284 _ACEOF
 5285 
 5286 
 5287 # The cast to long int works around a bug in the HP C Compiler
 5288 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 5289 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 5290 # This bug is HP SR number 8606223364.
 5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
 5292 $as_echo_n "checking size of short... " >&6; }
 5293 if ${ac_cv_sizeof_short+:} false; then :
 5294   $as_echo_n "(cached) " >&6
 5295 else
 5296   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
 5297   
 5298 else
 5299   if test "$ac_cv_type_short" = yes; then
 5300      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5302 as_fn_error 77 "cannot compute sizeof (short)
 5303 See \`config.log' for more details" "$LINENO" 5; }
 5304    else
 5305      ac_cv_sizeof_short=0
 5306    fi
 5307 fi
 5308 
 5309 fi
 5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
 5311 $as_echo "$ac_cv_sizeof_short" >&6; }
 5312 
 5313 
 5314 
 5315 cat >>confdefs.h <<_ACEOF
 5316 @%:@define SIZEOF_SHORT $ac_cv_sizeof_short
 5317 _ACEOF
 5318 
 5319 
 5320 # The cast to long int works around a bug in the HP C Compiler
 5321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 5322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 5323 # This bug is HP SR number 8606223364.
 5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 5325 $as_echo_n "checking size of int... " >&6; }
 5326 if ${ac_cv_sizeof_int+:} false; then :
 5327   $as_echo_n "(cached) " >&6
 5328 else
 5329   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
 5330   
 5331 else
 5332   if test "$ac_cv_type_int" = yes; then
 5333      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5335 as_fn_error 77 "cannot compute sizeof (int)
 5336 See \`config.log' for more details" "$LINENO" 5; }
 5337    else
 5338      ac_cv_sizeof_int=0
 5339    fi
 5340 fi
 5341 
 5342 fi
 5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
 5344 $as_echo "$ac_cv_sizeof_int" >&6; }
 5345 
 5346 
 5347 
 5348 cat >>confdefs.h <<_ACEOF
 5349 @%:@define SIZEOF_INT $ac_cv_sizeof_int
 5350 _ACEOF
 5351 
 5352 
 5353 # The cast to long int works around a bug in the HP C Compiler
 5354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 5355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 5356 # This bug is HP SR number 8606223364.
 5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
 5358 $as_echo_n "checking size of long... " >&6; }
 5359 if ${ac_cv_sizeof_long+:} false; then :
 5360   $as_echo_n "(cached) " >&6
 5361 else
 5362   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
 5363   
 5364 else
 5365   if test "$ac_cv_type_long" = yes; then
 5366      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5368 as_fn_error 77 "cannot compute sizeof (long)
 5369 See \`config.log' for more details" "$LINENO" 5; }
 5370    else
 5371      ac_cv_sizeof_long=0
 5372    fi
 5373 fi
 5374 
 5375 fi
 5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
 5377 $as_echo "$ac_cv_sizeof_long" >&6; }
 5378 
 5379 
 5380 
 5381 cat >>confdefs.h <<_ACEOF
 5382 @%:@define SIZEOF_LONG $ac_cv_sizeof_long
 5383 _ACEOF
 5384 
 5385 
 5386 # The cast to long int works around a bug in the HP C Compiler
 5387 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 5388 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 5389 # This bug is HP SR number 8606223364.
 5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
 5391 $as_echo_n "checking size of size_t... " >&6; }
 5392 if ${ac_cv_sizeof_size_t+:} false; then :
 5393   $as_echo_n "(cached) " >&6
 5394 else
 5395   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
 5396   
 5397 else
 5398   if test "$ac_cv_type_size_t" = yes; then
 5399      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5401 as_fn_error 77 "cannot compute sizeof (size_t)
 5402 See \`config.log' for more details" "$LINENO" 5; }
 5403    else
 5404      ac_cv_sizeof_size_t=0
 5405    fi
 5406 fi
 5407 
 5408 fi
 5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
 5410 $as_echo "$ac_cv_sizeof_size_t" >&6; }
 5411 
 5412 
 5413 
 5414 cat >>confdefs.h <<_ACEOF
 5415 @%:@define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
 5416 _ACEOF
 5417 
 5418 
 5419 # The cast to long int works around a bug in the HP C Compiler
 5420 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 5421 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 5422 # This bug is HP SR number 8606223364.
 5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of loff_t" >&5
 5424 $as_echo_n "checking size of loff_t... " >&6; }
 5425 if ${ac_cv_sizeof_loff_t+:} false; then :
 5426   $as_echo_n "(cached) " >&6
 5427 else
 5428   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (loff_t))" "ac_cv_sizeof_loff_t"        "$ac_includes_default"; then :
 5429   
 5430 else
 5431   if test "$ac_cv_type_loff_t" = yes; then
 5432      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5434 as_fn_error 77 "cannot compute sizeof (loff_t)
 5435 See \`config.log' for more details" "$LINENO" 5; }
 5436    else
 5437      ac_cv_sizeof_loff_t=0
 5438    fi
 5439 fi
 5440 
 5441 fi
 5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_loff_t" >&5
 5443 $as_echo "$ac_cv_sizeof_loff_t" >&6; }
 5444 
 5445 
 5446 
 5447 cat >>confdefs.h <<_ACEOF
 5448 @%:@define SIZEOF_LOFF_T $ac_cv_sizeof_loff_t
 5449 _ACEOF
 5450 
 5451 
 5452 
 5453 
 5454 for ac_func in crypt gethostbyname connect getpwnam_r getpwuid_r getloadavg
 5455 do :
 5456   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 5457 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 5458 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 5459   cat >>confdefs.h <<_ACEOF
 5460 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 5461 _ACEOF
 5462  
 5463 fi
 5464 done
 5465 
 5466 
 5467 for ac_func in strftime_l uselocale gettext
 5468 do :
 5469   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 5470 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 5471 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 5472   cat >>confdefs.h <<_ACEOF
 5473 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 5474 _ACEOF
 5475  
 5476 fi
 5477 done
 5478 
 5479 
 5480 if test "$ok_nls" != "no"; then
 5481 	# Extract the first word of "xgettext", so it can be a program name with args.
 5482 set dummy xgettext; ac_word=$2
 5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5484 $as_echo_n "checking for $ac_word... " >&6; }
 5485 if ${ac_cv_prog_ok_xgettext+:} false; then :
 5486   $as_echo_n "(cached) " >&6
 5487 else
 5488   if test -n "$ok_xgettext"; then
 5489   ac_cv_prog_ok_xgettext="$ok_xgettext" # Let the user override the test.
 5490 else
 5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5492 for as_dir in $PATH
 5493 do
 5494   IFS=$as_save_IFS
 5495   test -z "$as_dir" && as_dir=.
 5496     for ac_exec_ext in '' $ac_executable_extensions; do
 5497   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5498     ac_cv_prog_ok_xgettext="yes"
 5499     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5500     break 2
 5501   fi
 5502 done
 5503   done
 5504 IFS=$as_save_IFS
 5505 
 5506   test -z "$ac_cv_prog_ok_xgettext" && ac_cv_prog_ok_xgettext="no"
 5507 fi
 5508 fi
 5509 ok_xgettext=$ac_cv_prog_ok_xgettext
 5510 if test -n "$ok_xgettext"; then
 5511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ok_xgettext" >&5
 5512 $as_echo "$ok_xgettext" >&6; }
 5513 else
 5514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5515 $as_echo "no" >&6; }
 5516 fi
 5517 
 5518 
 5519 	ok_nls=$ok_xgettext
 5520 fi
 5521 
 5522 if test "$ok_nls" != "no"; then
 5523 	# Extract the first word of "msgmerge", so it can be a program name with args.
 5524 set dummy msgmerge; ac_word=$2
 5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5526 $as_echo_n "checking for $ac_word... " >&6; }
 5527 if ${ac_cv_prog_ok_msgmerge+:} false; then :
 5528   $as_echo_n "(cached) " >&6
 5529 else
 5530   if test -n "$ok_msgmerge"; then
 5531   ac_cv_prog_ok_msgmerge="$ok_msgmerge" # Let the user override the test.
 5532 else
 5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5534 for as_dir in $PATH
 5535 do
 5536   IFS=$as_save_IFS
 5537   test -z "$as_dir" && as_dir=.
 5538     for ac_exec_ext in '' $ac_executable_extensions; do
 5539   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5540     ac_cv_prog_ok_msgmerge="yes"
 5541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5542     break 2
 5543   fi
 5544 done
 5545   done
 5546 IFS=$as_save_IFS
 5547 
 5548   test -z "$ac_cv_prog_ok_msgmerge" && ac_cv_prog_ok_msgmerge="no"
 5549 fi
 5550 fi
 5551 ok_msgmerge=$ac_cv_prog_ok_msgmerge
 5552 if test -n "$ok_msgmerge"; then
 5553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ok_msgmerge" >&5
 5554 $as_echo "$ok_msgmerge" >&6; }
 5555 else
 5556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5557 $as_echo "no" >&6; }
 5558 fi
 5559 
 5560 
 5561 	ok_nls=$ok_msgmerge
 5562 fi
 5563 
 5564 if test "$ok_nls" != "no"; then
 5565 	# Extract the first word of "msgfmt", so it can be a program name with args.
 5566 set dummy msgfmt; ac_word=$2
 5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5568 $as_echo_n "checking for $ac_word... " >&6; }
 5569 if ${ac_cv_prog_ok_msgfmt+:} false; then :
 5570   $as_echo_n "(cached) " >&6
 5571 else
 5572   if test -n "$ok_msgfmt"; then
 5573   ac_cv_prog_ok_msgfmt="$ok_msgfmt" # Let the user override the test.
 5574 else
 5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5576 for as_dir in $PATH
 5577 do
 5578   IFS=$as_save_IFS
 5579   test -z "$as_dir" && as_dir=.
 5580     for ac_exec_ext in '' $ac_executable_extensions; do
 5581   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5582     ac_cv_prog_ok_msgfmt="yes"
 5583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5584     break 2
 5585   fi
 5586 done
 5587   done
 5588 IFS=$as_save_IFS
 5589 
 5590   test -z "$ac_cv_prog_ok_msgfmt" && ac_cv_prog_ok_msgfmt="no"
 5591 fi
 5592 fi
 5593 ok_msgfmt=$ac_cv_prog_ok_msgfmt
 5594 if test -n "$ok_msgfmt"; then
 5595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ok_msgfmt" >&5
 5596 $as_echo "$ok_msgfmt" >&6; }
 5597 else
 5598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5599 $as_echo "no" >&6; }
 5600 fi
 5601 
 5602 
 5603 	ok_nls=$ok_msgfmt
 5604 fi
 5605 
 5606 if test "$ok_nls" != "no"; then
 5607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: citadel will be built with national language support." >&5
 5608 $as_echo "citadel will be built with national language support." >&6; }
 5609 	
 5610 $as_echo "@%:@define ENABLE_NLS /**/" >>confdefs.h
 5611 
 5612 	PROG_SUBDIRS="$PROG_SUBDIRS po/citadel-setup"
 5613 else
 5614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: citadel will be built without national language support." >&5
 5615 $as_echo "citadel will be built without national language support." >&6; }
 5616 fi
 5617 
 5618 
 5619 @%:@ Check whether --with-backtrace was given.
 5620 if test "${with_backtrace+set}" = set; then :
 5621   withval=$with_backtrace;  if test "x$withval" != "xno" ; then
 5622 	     CFLAGS="$CFLAGS  -rdynamic "
 5623 	     LDFLAGS="$LDFLAGS  -rdynamic "
 5624 	     SERVER_LDFLAGS="$SERVER_LDFLAGS  -rdynamic "
 5625                            for ac_func in backtrace
 5626 do :
 5627   ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
 5628 if test "x$ac_cv_func_backtrace" = xyes; then :
 5629   cat >>confdefs.h <<_ACEOF
 5630 @%:@define HAVE_BACKTRACE 1
 5631 _ACEOF
 5632  
 5633 fi
 5634 done
 5635 
 5636 	  fi
 5637 	
 5638 
 5639 fi
 5640 
 5641 
 5642 
 5643 @%:@ Check whether --with-gprof was given.
 5644 if test "${with_gprof+set}" = set; then :
 5645   withval=$with_gprof;  if test "x$withval" != "xno" ; then
 5646 		     CFLAGS="$CFLAGS  -pg "
 5647 		     LDFLAGS="$LDFLAGS  -pg "
 5648 		     SERVER_LDFLAGS="$SERVER_LDFLAGS  -pg "
 5649 		  fi
 5650 		
 5651 
 5652 fi
 5653 
 5654 
 5655 if test "$ac_cv_func_gethostbyname" = no; then
 5656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 5657 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 5658 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
 5659   $as_echo_n "(cached) " >&6
 5660 else
 5661   ac_check_lib_save_LIBS=$LIBS
 5662 LIBS="-lnsl  $LIBS"
 5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5664 /* end confdefs.h.  */
 5665 
 5666 /* Override any GCC internal prototype to avoid an error.
 5667    Use char because int might match the return type of a GCC
 5668    builtin and then its argument prototype would still apply.  */
 5669 #ifdef __cplusplus
 5670 extern "C"
 5671 #endif
 5672 char gethostbyname ();
 5673 int
 5674 main ()
 5675 {
 5676 return gethostbyname ();
 5677   ;
 5678   return 0;
 5679 }
 5680 _ACEOF
 5681 if ac_fn_c_try_link "$LINENO"; then :
 5682   ac_cv_lib_nsl_gethostbyname=yes
 5683 else
 5684   ac_cv_lib_nsl_gethostbyname=no
 5685 fi
 5686 rm -f core conftest.err conftest.$ac_objext \
 5687     conftest$ac_exeext conftest.$ac_ext
 5688 LIBS=$ac_check_lib_save_LIBS
 5689 fi
 5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 5691 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 5692 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
 5693   cat >>confdefs.h <<_ACEOF
 5694 @%:@define HAVE_LIBNSL 1
 5695 _ACEOF
 5696 
 5697   LIBS="-lnsl $LIBS"
 5698 
 5699 fi
 5700 
 5701 fi
 5702 
 5703 if test "$ac_cv_func_connect" = no; then
 5704         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 5705 $as_echo_n "checking for connect in -lsocket... " >&6; }
 5706 if ${ac_cv_lib_socket_connect+:} false; then :
 5707   $as_echo_n "(cached) " >&6
 5708 else
 5709   ac_check_lib_save_LIBS=$LIBS
 5710 LIBS="-lsocket  $LIBS"
 5711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5712 /* end confdefs.h.  */
 5713 
 5714 /* Override any GCC internal prototype to avoid an error.
 5715    Use char because int might match the return type of a GCC
 5716    builtin and then its argument prototype would still apply.  */
 5717 #ifdef __cplusplus
 5718 extern "C"
 5719 #endif
 5720 char connect ();
 5721 int
 5722 main ()
 5723 {
 5724 return connect ();
 5725   ;
 5726   return 0;
 5727 }
 5728 _ACEOF
 5729 if ac_fn_c_try_link "$LINENO"; then :
 5730   ac_cv_lib_socket_connect=yes
 5731 else
 5732   ac_cv_lib_socket_connect=no
 5733 fi
 5734 rm -f core conftest.err conftest.$ac_objext \
 5735     conftest$ac_exeext conftest.$ac_ext
 5736 LIBS=$ac_check_lib_save_LIBS
 5737 fi
 5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 5739 $as_echo "$ac_cv_lib_socket_connect" >&6; }
 5740 if test "x$ac_cv_lib_socket_connect" = xyes; then :
 5741   cat >>confdefs.h <<_ACEOF
 5742 @%:@define HAVE_LIBSOCKET 1
 5743 _ACEOF
 5744 
 5745   LIBS="-lsocket $LIBS"
 5746 
 5747 fi
 5748 
 5749 fi
 5750 
 5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
 5752 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
 5753 if ${ac_cv_lib_rt_sched_yield+:} false; then :
 5754   $as_echo_n "(cached) " >&6
 5755 else
 5756   ac_check_lib_save_LIBS=$LIBS
 5757 LIBS="-lrt  $LIBS"
 5758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5759 /* end confdefs.h.  */
 5760 
 5761 /* Override any GCC internal prototype to avoid an error.
 5762    Use char because int might match the return type of a GCC
 5763    builtin and then its argument prototype would still apply.  */
 5764 #ifdef __cplusplus
 5765 extern "C"
 5766 #endif
 5767 char sched_yield ();
 5768 int
 5769 main ()
 5770 {
 5771 return sched_yield ();
 5772   ;
 5773   return 0;
 5774 }
 5775 _ACEOF
 5776 if ac_fn_c_try_link "$LINENO"; then :
 5777   ac_cv_lib_rt_sched_yield=yes
 5778 else
 5779   ac_cv_lib_rt_sched_yield=no
 5780 fi
 5781 rm -f core conftest.err conftest.$ac_objext \
 5782     conftest$ac_exeext conftest.$ac_ext
 5783 LIBS=$ac_check_lib_save_LIBS
 5784 fi
 5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
 5786 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
 5787 if test "x$ac_cv_lib_rt_sched_yield" = xyes; then :
 5788   cat >>confdefs.h <<_ACEOF
 5789 @%:@define HAVE_LIBRT 1
 5790 _ACEOF
 5791 
 5792   LIBS="-lrt $LIBS"
 5793 
 5794 fi
 5795 
 5796 
 5797 
 5798 save_LIBS=$LIBS
 5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
 5800 $as_echo_n "checking for pam_start in -lpam... " >&6; }
 5801 if ${ac_cv_lib_pam_pam_start+:} false; then :
 5802   $as_echo_n "(cached) " >&6
 5803 else
 5804   ac_check_lib_save_LIBS=$LIBS
 5805 LIBS="-lpam  $LIBS"
 5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5807 /* end confdefs.h.  */
 5808 
 5809 /* Override any GCC internal prototype to avoid an error.
 5810    Use char because int might match the return type of a GCC
 5811    builtin and then its argument prototype would still apply.  */
 5812 #ifdef __cplusplus
 5813 extern "C"
 5814 #endif
 5815 char pam_start ();
 5816 int
 5817 main ()
 5818 {
 5819 return pam_start ();
 5820   ;
 5821   return 0;
 5822 }
 5823 _ACEOF
 5824 if ac_fn_c_try_link "$LINENO"; then :
 5825   ac_cv_lib_pam_pam_start=yes
 5826 else
 5827   ac_cv_lib_pam_pam_start=no
 5828 fi
 5829 rm -f core conftest.err conftest.$ac_objext \
 5830     conftest$ac_exeext conftest.$ac_ext
 5831 LIBS=$ac_check_lib_save_LIBS
 5832 fi
 5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
 5834 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
 5835 if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
 5836   chkpwd_LIBS="-lpam $chkpwd_LIBS"
 5837 	LIBS="-lpam $LIBS"
 5838 fi
 5839 
 5840 for ac_func in pam_start
 5841 do :
 5842   ac_fn_c_check_func "$LINENO" "pam_start" "ac_cv_func_pam_start"
 5843 if test "x$ac_cv_func_pam_start" = xyes; then :
 5844   cat >>confdefs.h <<_ACEOF
 5845 @%:@define HAVE_PAM_START 1
 5846 _ACEOF
 5847  
 5848 fi
 5849 done
 5850 
 5851 test "$enable_chkpwd" != no && LIBS=$save_LIBS
 5852 	if test "$ac_cv_func_pam_start" = no -o "$with_pam" != yes; then
 5853 		save_LIBS=$LIBS
 5854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getspnam" >&5
 5855 $as_echo_n "checking for library containing getspnam... " >&6; }
 5856 if ${ac_cv_search_getspnam+:} false; then :
 5857   $as_echo_n "(cached) " >&6
 5858 else
 5859   ac_func_search_save_LIBS=$LIBS
 5860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5861 /* end confdefs.h.  */
 5862 
 5863 /* Override any GCC internal prototype to avoid an error.
 5864    Use char because int might match the return type of a GCC
 5865    builtin and then its argument prototype would still apply.  */
 5866 #ifdef __cplusplus
 5867 extern "C"
 5868 #endif
 5869 char getspnam ();
 5870 int
 5871 main ()
 5872 {
 5873 return getspnam ();
 5874   ;
 5875   return 0;
 5876 }
 5877 _ACEOF
 5878 for ac_lib in '' shadow; do
 5879   if test -z "$ac_lib"; then
 5880     ac_res="none required"
 5881   else
 5882     ac_res=-l$ac_lib
 5883     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 5884   fi
 5885   if ac_fn_c_try_link "$LINENO"; then :
 5886   ac_cv_search_getspnam=$ac_res
 5887 fi
 5888 rm -f core conftest.err conftest.$ac_objext \
 5889     conftest$ac_exeext
 5890   if ${ac_cv_search_getspnam+:} false; then :
 5891   break
 5892 fi
 5893 done
 5894 if ${ac_cv_search_getspnam+:} false; then :
 5895   
 5896 else
 5897   ac_cv_search_getspnam=no
 5898 fi
 5899 rm conftest.$ac_ext
 5900 LIBS=$ac_func_search_save_LIBS
 5901 fi
 5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getspnam" >&5
 5903 $as_echo "$ac_cv_search_getspnam" >&6; }
 5904 ac_res=$ac_cv_search_getspnam
 5905 if test "$ac_res" != no; then :
 5906   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 5907   
 5908 			if test "$ac_cv_search_getspnam" = -lshadow; then
 5909 				chkpwd_LIBS="-lshadow $chkpwd_LIBS"
 5910 			fi
 5911 fi
 5912 
 5913 		test "$enable_chkpwd" != no && LIBS=$save_LIBS
 5914 		if test "$ac_cv_func_crypt" = no; then
 5915 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
 5916 $as_echo_n "checking for crypt in -lcrypt... " >&6; }
 5917 if ${ac_cv_lib_crypt_crypt+:} false; then :
 5918   $as_echo_n "(cached) " >&6
 5919 else
 5920   ac_check_lib_save_LIBS=$LIBS
 5921 LIBS="-lcrypt  $LIBS"
 5922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5923 /* end confdefs.h.  */
 5924 
 5925 /* Override any GCC internal prototype to avoid an error.
 5926    Use char because int might match the return type of a GCC
 5927    builtin and then its argument prototype would still apply.  */
 5928 #ifdef __cplusplus
 5929 extern "C"
 5930 #endif
 5931 char crypt ();
 5932 int
 5933 main ()
 5934 {
 5935 return crypt ();
 5936   ;
 5937   return 0;
 5938 }
 5939 _ACEOF
 5940 if ac_fn_c_try_link "$LINENO"; then :
 5941   ac_cv_lib_crypt_crypt=yes
 5942 else
 5943   ac_cv_lib_crypt_crypt=no
 5944 fi
 5945 rm -f core conftest.err conftest.$ac_objext \
 5946     conftest$ac_exeext conftest.$ac_ext
 5947 LIBS=$ac_check_lib_save_LIBS
 5948 fi
 5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
 5950 $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
 5951 if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
 5952   
 5953 				chkpwd_LIBS="-lcrypt $chkpwd_LIBS"
 5954 				test "$enable_chkpwd" = no && \
 5955 					LIBS="-lcrypt $LIBS"
 5956 fi
 5957 
 5958 		fi
 5959 	fi
 5960 
 5961 for ac_func in vw_printw wcolor_set resizeterm wresize
 5962 do :
 5963   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 5964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 5965 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 5966   cat >>confdefs.h <<_ACEOF
 5967 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 5968 _ACEOF
 5969  
 5970 fi
 5971 done
 5972 
 5973 
 5974 if test "$check_pthread" != no; then
 5975 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
 5976 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
 5977 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
 5978   $as_echo_n "(cached) " >&6
 5979 else
 5980   ac_check_lib_save_LIBS=$LIBS
 5981 LIBS="-lpthread  $LIBS"
 5982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5983 /* end confdefs.h.  */
 5984 
 5985 /* Override any GCC internal prototype to avoid an error.
 5986    Use char because int might match the return type of a GCC
 5987    builtin and then its argument prototype would still apply.  */
 5988 #ifdef __cplusplus
 5989 extern "C"
 5990 #endif
 5991 char pthread_create ();
 5992 int
 5993 main ()
 5994 {
 5995 return pthread_create ();
 5996   ;
 5997   return 0;
 5998 }
 5999 _ACEOF
 6000 if ac_fn_c_try_link "$LINENO"; then :
 6001   ac_cv_lib_pthread_pthread_create=yes
 6002 else
 6003   ac_cv_lib_pthread_pthread_create=no
 6004 fi
 6005 rm -f core conftest.err conftest.$ac_objext \
 6006     conftest$ac_exeext conftest.$ac_ext
 6007 LIBS=$ac_check_lib_save_LIBS
 6008 fi
 6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
 6010 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
 6011 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
 6012   cat >>confdefs.h <<_ACEOF
 6013 @%:@define HAVE_LIBPTHREAD 1
 6014 _ACEOF
 6015 
 6016   LIBS="-lpthread $LIBS"
 6017 
 6018 fi
 6019 
 6020 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthreads" >&5
 6021 $as_echo_n "checking for pthread_create in -lpthreads... " >&6; }
 6022 if ${ac_cv_lib_pthreads_pthread_create+:} false; then :
 6023   $as_echo_n "(cached) " >&6
 6024 else
 6025   ac_check_lib_save_LIBS=$LIBS
 6026 LIBS="-lpthreads  $LIBS"
 6027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6028 /* end confdefs.h.  */
 6029 
 6030 /* Override any GCC internal prototype to avoid an error.
 6031    Use char because int might match the return type of a GCC
 6032    builtin and then its argument prototype would still apply.  */
 6033 #ifdef __cplusplus
 6034 extern "C"
 6035 #endif
 6036 char pthread_create ();
 6037 int
 6038 main ()
 6039 {
 6040 return pthread_create ();
 6041   ;
 6042   return 0;
 6043 }
 6044 _ACEOF
 6045 if ac_fn_c_try_link "$LINENO"; then :
 6046   ac_cv_lib_pthreads_pthread_create=yes
 6047 else
 6048   ac_cv_lib_pthreads_pthread_create=no
 6049 fi
 6050 rm -f core conftest.err conftest.$ac_objext \
 6051     conftest$ac_exeext conftest.$ac_ext
 6052 LIBS=$ac_check_lib_save_LIBS
 6053 fi
 6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_create" >&5
 6055 $as_echo "$ac_cv_lib_pthreads_pthread_create" >&6; }
 6056 if test "x$ac_cv_lib_pthreads_pthread_create" = xyes; then :
 6057   cat >>confdefs.h <<_ACEOF
 6058 @%:@define HAVE_LIBPTHREADS 1
 6059 _ACEOF
 6060 
 6061   LIBS="-lpthreads $LIBS"
 6062 
 6063 fi
 6064 
 6065 fi
 6066 
 6067 test -d /usr/kerberos/include && CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include"
 6068 
 6069 ac_fn_c_check_header_mongrel "$LINENO" "libical/ical.h" "ac_cv_header_libical_ical_h" "$ac_includes_default"
 6070 if test "x$ac_cv_header_libical_ical_h" = xyes; then :
 6071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icaltimezone_set_tzid_prefix in -lical" >&5
 6072 $as_echo_n "checking for icaltimezone_set_tzid_prefix in -lical... " >&6; }
 6073 if ${ac_cv_lib_ical_icaltimezone_set_tzid_prefix+:} false; then :
 6074   $as_echo_n "(cached) " >&6
 6075 else
 6076   ac_check_lib_save_LIBS=$LIBS
 6077 LIBS="-lical  $LIBS"
 6078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6079 /* end confdefs.h.  */
 6080 
 6081 /* Override any GCC internal prototype to avoid an error.
 6082    Use char because int might match the return type of a GCC
 6083    builtin and then its argument prototype would still apply.  */
 6084 #ifdef __cplusplus
 6085 extern "C"
 6086 #endif
 6087 char icaltimezone_set_tzid_prefix ();
 6088 int
 6089 main ()
 6090 {
 6091 return icaltimezone_set_tzid_prefix ();
 6092   ;
 6093   return 0;
 6094 }
 6095 _ACEOF
 6096 if ac_fn_c_try_link "$LINENO"; then :
 6097   ac_cv_lib_ical_icaltimezone_set_tzid_prefix=yes
 6098 else
 6099   ac_cv_lib_ical_icaltimezone_set_tzid_prefix=no
 6100 fi
 6101 rm -f core conftest.err conftest.$ac_objext \
 6102     conftest$ac_exeext conftest.$ac_ext
 6103 LIBS=$ac_check_lib_save_LIBS
 6104 fi
 6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ical_icaltimezone_set_tzid_prefix" >&5
 6106 $as_echo "$ac_cv_lib_ical_icaltimezone_set_tzid_prefix" >&6; }
 6107 if test "x$ac_cv_lib_ical_icaltimezone_set_tzid_prefix" = xyes; then :
 6108   
 6109 			SERVER_LIBS="-lical $SERVER_LIBS"
 6110 		
 6111 else
 6112   
 6113 			as_fn_error $? "libical was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start" "$LINENO" 5
 6114 		
 6115 	
 6116 fi
 6117 
 6118 else
 6119   
 6120 		as_fn_error $? "libical/ical.h was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start" "$LINENO" 5
 6121 	
 6122 
 6123 fi
 6124 
 6125 
 6126 
 6127 
 6128 saved_CFLAGS="$CFLAGS"
 6129 CFLAGS="$CFLAGS $SERVER_LIBS"
 6130 ac_fn_c_check_header_mongrel "$LINENO" "libcitadel.h" "ac_cv_header_libcitadel_h" "$ac_includes_default"
 6131 if test "x$ac_cv_header_libcitadel_h" = xyes; then :
 6132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcitadel_version_string in -lcitadel" >&5
 6133 $as_echo_n "checking for libcitadel_version_string in -lcitadel... " >&6; }
 6134 if ${ac_cv_lib_citadel_libcitadel_version_string+:} false; then :
 6135   $as_echo_n "(cached) " >&6
 6136 else
 6137   ac_check_lib_save_LIBS=$LIBS
 6138 LIBS="-lcitadel  $LIBS"
 6139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6140 /* end confdefs.h.  */
 6141 
 6142 /* Override any GCC internal prototype to avoid an error.
 6143    Use char because int might match the return type of a GCC
 6144    builtin and then its argument prototype would still apply.  */
 6145 #ifdef __cplusplus
 6146 extern "C"
 6147 #endif
 6148 char libcitadel_version_string ();
 6149 int
 6150 main ()
 6151 {
 6152 return libcitadel_version_string ();
 6153   ;
 6154   return 0;
 6155 }
 6156 _ACEOF
 6157 if ac_fn_c_try_link "$LINENO"; then :
 6158   ac_cv_lib_citadel_libcitadel_version_string=yes
 6159 else
 6160   ac_cv_lib_citadel_libcitadel_version_string=no
 6161 fi
 6162 rm -f core conftest.err conftest.$ac_objext \
 6163     conftest$ac_exeext conftest.$ac_ext
 6164 LIBS=$ac_check_lib_save_LIBS
 6165 fi
 6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_citadel_libcitadel_version_string" >&5
 6167 $as_echo "$ac_cv_lib_citadel_libcitadel_version_string" >&6; }
 6168 if test "x$ac_cv_lib_citadel_libcitadel_version_string" = xyes; then :
 6169   
 6170 			LIBS="-lcitadel $LIBS $SERVER_LIBS"
 6171 			chkpwd_LIBS="-lcitadel $chkpwd_LIBS"
 6172 		
 6173 else
 6174   
 6175 			as_fn_error $? "libcitadel was not found or is not usable.  Please install libcitadel." "$LINENO" 5
 6176 		
 6177 	
 6178 fi
 6179 
 6180 else
 6181   
 6182 		as_fn_error $? "libcitadel.h was not found or is not usable.  Please install libcitadel." "$LINENO" 5
 6183 	
 6184 
 6185 fi
 6186 
 6187 
 6188 CFLAGS="$saved_CFLAGS"
 6189 
 6190 
 6191 # The big search for OpenSSL
 6192 if test "$with_ssl" != "no"; then
 6193 	saved_LIBS="$LIBS"
 6194 	saved_LDFLAGS="$LDFLAGS"
 6195 	saved_CFLAGS="$CFLAGS"
 6196 	if test "x$prefix" != "xNONE"; then
 6197 		tryssldir="$tryssldir $prefix"
 6198 	fi
 6199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
 6200 $as_echo_n "checking for OpenSSL... " >&6; }
 6201 if ${ac_cv_openssldir+:} false; then :
 6202   $as_echo_n "(cached) " >&6
 6203 else
 6204   
 6205 		for ssldir in $tryssldir "" /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do
 6206 			CFLAGS="$saved_CFLAGS"
 6207 			LDFLAGS="$saved_LDFLAGS"
 6208 			LIBS="$saved_LIBS -lssl -lcrypto"
 6209 	
 6210 			# Skip directories if they don't exist
 6211 			if test ! -z "$ssldir" -a ! -d "$ssldir" ; then
 6212 				continue;
 6213 			fi
 6214 			if test ! -z "$ssldir" -a "x$ssldir" != "x/usr"; then
 6215 				# Try to use $ssldir/lib if it exists, otherwise
 6216 				# $ssldir
 6217 				if test -d "$ssldir/lib" ; then
 6218 					LDFLAGS="-L$ssldir/lib $saved_LDFLAGS"
 6219 					if test ! -z "$need_dash_r" ; then
 6220 						LDFLAGS="-R$ssldir/lib $LDFLAGS"
 6221 					fi
 6222 				else
 6223 					LDFLAGS="-L$ssldir $saved_LDFLAGS"
 6224 					if test ! -z "$need_dash_r" ; then
 6225 						LDFLAGS="-R$ssldir $LDFLAGS"
 6226 					fi
 6227 				fi
 6228 				# Try to use $ssldir/include if it exists, otherwise
 6229 				# $ssldir
 6230 				if test -d "$ssldir/include" ; then
 6231 					CFLAGS="-I$ssldir/include $saved_CFLAGS"
 6232 				else
 6233 					CFLAGS="-I$ssldir $saved_CFLAGS"
 6234 				fi
 6235 			fi
 6236 	
 6237 			# Basic test to check for compatible version and correct linking
 6238 			# *does not* test for RSA - that comes later.
 6239 			if test "$cross_compiling" = yes; then :
 6240   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 6241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 6242 as_fn_error $? "cannot run test program while cross compiling
 6243 See \`config.log' for more details" "$LINENO" 5; }
 6244 else
 6245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6246 /* end confdefs.h.  */
 6247 
 6248 	#include <string.h>
 6249 	#include <openssl/rand.h>
 6250 	int main(void)
 6251 	{
 6252 		char a[2048];
 6253 		memset(a, 0, sizeof(a));
 6254 		RAND_add(a, sizeof(a), sizeof(a));
 6255 		return(RAND_status() <= 0);
 6256 	}
 6257 				
 6258 _ACEOF
 6259 if ac_fn_c_try_run "$LINENO"; then :
 6260   
 6261 					found_crypto=1
 6262 					break;
 6263 				
 6264 fi
 6265 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 6266   conftest.$ac_objext conftest.beam conftest.$ac_ext
 6267 fi
 6268 
 6269 	
 6270 			if test ! -z "$found_crypto" ; then
 6271 				break;
 6272 			fi
 6273 		done
 6274 	
 6275 		if test -z "$ssldir" ; then
 6276 			ssldir="(system)"
 6277 		fi
 6278 	
 6279 		if test ! -z "$found_crypto" ; then
 6280 			ac_cv_openssldir=$ssldir
 6281 		else
 6282 			ac_cv_openssldir="no"
 6283 		fi
 6284 	
 6285 fi
 6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssldir" >&5
 6287 $as_echo "$ac_cv_openssldir" >&6; }
 6288 	LIBS="$saved_LIBS"
 6289 	LDFLAGS="$saved_LDFLAGS"
 6290 	CFLAGS="$saved_CFLAGS"
 6291 	
 6292 	if test "x$ac_cv_openssldir" != "xno" ; then
 6293 		
 6294 $as_echo "@%:@define HAVE_OPENSSL /**/" >>confdefs.h
 6295 
 6296 		LIBS="-lssl -lcrypto $LIBS"
 6297 				ssldir=$ac_cv_openssldir
 6298 		if test ! -z "$ssldir" -a "x$ssldir" != "x/usr" -a "x$ssldir" != "x(system)"; then
 6299 			# Try to use $ssldir/lib if it exists, otherwise
 6300 			# $ssldir
 6301 			if test -d "$ssldir/lib" ; then
 6302 				LDFLAGS="-L$ssldir/lib $saved_LDFLAGS"
 6303 				if test ! -z "$need_dash_r" ; then
 6304 					LDFLAGS="-R$ssldir/lib $LDFLAGS"
 6305 				fi
 6306 			else
 6307 				LDFLAGS="-L$ssldir $saved_LDFLAGS"
 6308 				if test ! -z "$need_dash_r" ; then
 6309 					LDFLAGS="-R$ssldir $LDFLAGS"
 6310 				fi
 6311 			fi
 6312 			# Try to use $ssldir/include if it exists, otherwise
 6313 			# $ssldir
 6314 			if test -d "$ssldir/include" ; then
 6315 				CFLAGS="-I$ssldir/include $saved_CFLAGS"
 6316 			else
 6317 				CFLAGS="-I$ssldir $saved_CFLAGS"
 6318 			fi
 6319 		fi
 6320 	fi
 6321 fi
 6322 
 6323 if test "x$with_db" != xno; then
 6324 	test "$db_dir" && LDFLAGS="$LDFLAGS -L$db_dir/lib"
 6325 
 6326 	dblib=""
 6327 
 6328 	if test "$db_dir"; then
 6329 		CPPFLAGS="$CPPFLAGS -I$db_dir/include"
 6330 	fi
 6331 
 6332 
 6333 	
 6334 for lib in db
 6335 do
 6336    as_ac_tr_db=`$as_echo "ac_cv_db_lib_${lib}" | $as_tr_sh`
 6337    bogo_saved_LIBS="$LIBS"
 6338    LIBS="$LIBS -l$lib"
 6339    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for db_create in -l${lib}" >&5
 6340 $as_echo_n "checking for db_create in -l${lib}... " >&6; }
 6341 if eval \${$as_ac_tr_db+:} false; then :
 6342   $as_echo_n "(cached) " >&6
 6343 else
 6344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6345 /* end confdefs.h.  */
 6346 #include <db.h>
 6347 int
 6348 main ()
 6349 {
 6350 int foo=db_create((void *)0, (void *) 0, 
 6351 0 )
 6352   ;
 6353   return 0;
 6354 }
 6355 _ACEOF
 6356 if ac_fn_c_try_link "$LINENO"; then :
 6357   eval "$as_ac_tr_db=yes"
 6358 else
 6359   eval "$as_ac_tr_db=no"
 6360 fi
 6361 rm -f core conftest.err conftest.$ac_objext \
 6362     conftest$ac_exeext conftest.$ac_ext
 6363       
 6364 fi
 6365 eval ac_res=\$$as_ac_tr_db
 6366 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 6367 $as_echo "$ac_res" >&6; }
 6368    if test `eval 'as_val=${'$as_ac_tr_db'};$as_echo "$as_val"'` = yes; then :
 6369   
 6370 		     DATABASE=database.c
 6371 		    
 6372 	  LIBS="$bogo_saved_LIBS"
 6373 	  SERVER_LIBS="$SERVER_LIBS -l$lib"
 6374           db=yes
 6375 else
 6376   LIBS="$bogo_saved_LIBS"
 6377           db=no
 6378 fi
 6379    test "$db" = "yes" && break
 6380 done
 6381 if test "$db" = "no"; then
 6382 as_fn_error $? "Can not locate a suitable Berkeley DB
 6383 				  library.  Use --with-db=PATH to specify
 6384 				  the path" "$LINENO" 5
 6385 fi
 6386 
 6387 
 6388 fi
 6389 
 6390 
 6391 ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
 6392 if test "x$ac_cv_header_ldap_h" = xyes; then :
 6393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
 6394 $as_echo_n "checking for ldap_initialize in -lldap... " >&6; }
 6395 if ${ac_cv_lib_ldap_ldap_initialize+:} false; then :
 6396   $as_echo_n "(cached) " >&6
 6397 else
 6398   ac_check_lib_save_LIBS=$LIBS
 6399 LIBS="-lldap  $LIBS"
 6400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6401 /* end confdefs.h.  */
 6402 
 6403 /* Override any GCC internal prototype to avoid an error.
 6404    Use char because int might match the return type of a GCC
 6405    builtin and then its argument prototype would still apply.  */
 6406 #ifdef __cplusplus
 6407 extern "C"
 6408 #endif
 6409 char ldap_initialize ();
 6410 int
 6411 main ()
 6412 {
 6413 return ldap_initialize ();
 6414   ;
 6415   return 0;
 6416 }
 6417 _ACEOF
 6418 if ac_fn_c_try_link "$LINENO"; then :
 6419   ac_cv_lib_ldap_ldap_initialize=yes
 6420 else
 6421   ac_cv_lib_ldap_ldap_initialize=no
 6422 fi
 6423 rm -f core conftest.err conftest.$ac_objext \
 6424     conftest$ac_exeext conftest.$ac_ext
 6425 LIBS=$ac_check_lib_save_LIBS
 6426 fi
 6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
 6428 $as_echo "$ac_cv_lib_ldap_ldap_initialize" >&6; }
 6429 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes; then :
 6430   
 6431 			SERVER_LIBS="-lldap $SERVER_LIBS"
 6432 		
 6433 else
 6434   
 6435 			as_fn_error $? "OpenLDAP development library was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start" "$LINENO" 5
 6436 		
 6437 	
 6438 fi
 6439 
 6440 else
 6441   
 6442 		as_fn_error $? "OpenLDAP development headers were not found and are required.  More info: http://www.citadel.org/doku.php/installation:start" "$LINENO" 5
 6443 	
 6444 
 6445 fi
 6446 
 6447 
 6448 
 6449 
 6450 ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
 6451 if test "x$ac_cv_header_expat_h" = xyes; then :
 6452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreateNS in -lexpat" >&5
 6453 $as_echo_n "checking for XML_ParserCreateNS in -lexpat... " >&6; }
 6454 if ${ac_cv_lib_expat_XML_ParserCreateNS+:} false; then :
 6455   $as_echo_n "(cached) " >&6
 6456 else
 6457   ac_check_lib_save_LIBS=$LIBS
 6458 LIBS="-lexpat  $LIBS"
 6459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6460 /* end confdefs.h.  */
 6461 
 6462 /* Override any GCC internal prototype to avoid an error.
 6463    Use char because int might match the return type of a GCC
 6464    builtin and then its argument prototype would still apply.  */
 6465 #ifdef __cplusplus
 6466 extern "C"
 6467 #endif
 6468 char XML_ParserCreateNS ();
 6469 int
 6470 main ()
 6471 {
 6472 return XML_ParserCreateNS ();
 6473   ;
 6474   return 0;
 6475 }
 6476 _ACEOF
 6477 if ac_fn_c_try_link "$LINENO"; then :
 6478   ac_cv_lib_expat_XML_ParserCreateNS=yes
 6479 else
 6480   ac_cv_lib_expat_XML_ParserCreateNS=no
 6481 fi
 6482 rm -f core conftest.err conftest.$ac_objext \
 6483     conftest$ac_exeext conftest.$ac_ext
 6484 LIBS=$ac_check_lib_save_LIBS
 6485 fi
 6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreateNS" >&5
 6487 $as_echo "$ac_cv_lib_expat_XML_ParserCreateNS" >&6; }
 6488 if test "x$ac_cv_lib_expat_XML_ParserCreateNS" = xyes; then :
 6489   
 6490 			SERVER_LIBS="-lexpat $SERVER_LIBS"
 6491 		
 6492 else
 6493   
 6494 			as_fn_error $? "The Expat XML parser was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start" "$LINENO" 5
 6495 		
 6496 	
 6497 fi
 6498 
 6499 else
 6500   
 6501 		as_fn_error $? "expat.h was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start" "$LINENO" 5
 6502 	
 6503 
 6504 fi
 6505 
 6506 
 6507 
 6508 
 6509 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
 6510 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
 6511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_version in -lcurl" >&5
 6512 $as_echo_n "checking for curl_version in -lcurl... " >&6; }
 6513 if ${ac_cv_lib_curl_curl_version+:} false; then :
 6514   $as_echo_n "(cached) " >&6
 6515 else
 6516   ac_check_lib_save_LIBS=$LIBS
 6517 LIBS="-lcurl  $LIBS"
 6518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6519 /* end confdefs.h.  */
 6520 
 6521 /* Override any GCC internal prototype to avoid an error.
 6522    Use char because int might match the return type of a GCC
 6523    builtin and then its argument prototype would still apply.  */
 6524 #ifdef __cplusplus
 6525 extern "C"
 6526 #endif
 6527 char curl_version ();
 6528 int
 6529 main ()
 6530 {
 6531 return curl_version ();
 6532   ;
 6533   return 0;
 6534 }
 6535 _ACEOF
 6536 if ac_fn_c_try_link "$LINENO"; then :
 6537   ac_cv_lib_curl_curl_version=yes
 6538 else
 6539   ac_cv_lib_curl_curl_version=no
 6540 fi
 6541 rm -f core conftest.err conftest.$ac_objext \
 6542     conftest$ac_exeext conftest.$ac_ext
 6543 LIBS=$ac_check_lib_save_LIBS
 6544 fi
 6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_version" >&5
 6546 $as_echo "$ac_cv_lib_curl_curl_version" >&6; }
 6547 if test "x$ac_cv_lib_curl_curl_version" = xyes; then :
 6548   
 6549 			SERVER_LIBS="-lcurl $SERVER_LIBS"
 6550 		
 6551 else
 6552   
 6553 			as_fn_error $? "libcurl was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start" "$LINENO" 5
 6554 		
 6555 	
 6556 fi
 6557 
 6558 else
 6559   
 6560 		as_fn_error $? "curl/curl.h was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start" "$LINENO" 5
 6561 	
 6562 
 6563 fi
 6564 
 6565 
 6566 
 6567 
 6568 ac_header_dirent=no
 6569 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 6570   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 6572 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 6573 if eval \${$as_ac_Header+:} false; then :
 6574   $as_echo_n "(cached) " >&6
 6575 else
 6576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6577 /* end confdefs.h.  */
 6578 #include <sys/types.h>
 6579 #include <$ac_hdr>
 6580 
 6581 int
 6582 main ()
 6583 {
 6584 if ((DIR *) 0)
 6585 return 0;
 6586   ;
 6587   return 0;
 6588 }
 6589 _ACEOF
 6590 if ac_fn_c_try_compile "$LINENO"; then :
 6591   eval "$as_ac_Header=yes"
 6592 else
 6593   eval "$as_ac_Header=no"
 6594 fi
 6595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6596 fi
 6597 eval ac_res=\$$as_ac_Header
 6598 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 6599 $as_echo "$ac_res" >&6; }
 6600 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 6601   cat >>confdefs.h <<_ACEOF
 6602 @%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 6603 _ACEOF
 6604 
 6605 ac_header_dirent=$ac_hdr; break
 6606 fi
 6607 
 6608 done
 6609 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 6610 if test $ac_header_dirent = dirent.h; then
 6611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 6612 $as_echo_n "checking for library containing opendir... " >&6; }
 6613 if ${ac_cv_search_opendir+:} false; then :
 6614   $as_echo_n "(cached) " >&6
 6615 else
 6616   ac_func_search_save_LIBS=$LIBS
 6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6618 /* end confdefs.h.  */
 6619 
 6620 /* Override any GCC internal prototype to avoid an error.
 6621    Use char because int might match the return type of a GCC
 6622    builtin and then its argument prototype would still apply.  */
 6623 #ifdef __cplusplus
 6624 extern "C"
 6625 #endif
 6626 char opendir ();
 6627 int
 6628 main ()
 6629 {
 6630 return opendir ();
 6631   ;
 6632   return 0;
 6633 }
 6634 _ACEOF
 6635 for ac_lib in '' dir; do
 6636   if test -z "$ac_lib"; then
 6637     ac_res="none required"
 6638   else
 6639     ac_res=-l$ac_lib
 6640     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 6641   fi
 6642   if ac_fn_c_try_link "$LINENO"; then :
 6643   ac_cv_search_opendir=$ac_res
 6644 fi
 6645 rm -f core conftest.err conftest.$ac_objext \
 6646     conftest$ac_exeext
 6647   if ${ac_cv_search_opendir+:} false; then :
 6648   break
 6649 fi
 6650 done
 6651 if ${ac_cv_search_opendir+:} false; then :
 6652   
 6653 else
 6654   ac_cv_search_opendir=no
 6655 fi
 6656 rm conftest.$ac_ext
 6657 LIBS=$ac_func_search_save_LIBS
 6658 fi
 6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 6660 $as_echo "$ac_cv_search_opendir" >&6; }
 6661 ac_res=$ac_cv_search_opendir
 6662 if test "$ac_res" != no; then :
 6663   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 6664   
 6665 fi
 6666 
 6667 else
 6668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 6669 $as_echo_n "checking for library containing opendir... " >&6; }
 6670 if ${ac_cv_search_opendir+:} false; then :
 6671   $as_echo_n "(cached) " >&6
 6672 else
 6673   ac_func_search_save_LIBS=$LIBS
 6674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6675 /* end confdefs.h.  */
 6676 
 6677 /* Override any GCC internal prototype to avoid an error.
 6678    Use char because int might match the return type of a GCC
 6679    builtin and then its argument prototype would still apply.  */
 6680 #ifdef __cplusplus
 6681 extern "C"
 6682 #endif
 6683 char opendir ();
 6684 int
 6685 main ()
 6686 {
 6687 return opendir ();
 6688   ;
 6689   return 0;
 6690 }
 6691 _ACEOF
 6692 for ac_lib in '' x; do
 6693   if test -z "$ac_lib"; then
 6694     ac_res="none required"
 6695   else
 6696     ac_res=-l$ac_lib
 6697     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 6698   fi
 6699   if ac_fn_c_try_link "$LINENO"; then :
 6700   ac_cv_search_opendir=$ac_res
 6701 fi
 6702 rm -f core conftest.err conftest.$ac_objext \
 6703     conftest$ac_exeext
 6704   if ${ac_cv_search_opendir+:} false; then :
 6705   break
 6706 fi
 6707 done
 6708 if ${ac_cv_search_opendir+:} false; then :
 6709   
 6710 else
 6711   ac_cv_search_opendir=no
 6712 fi
 6713 rm conftest.$ac_ext
 6714 LIBS=$ac_func_search_save_LIBS
 6715 fi
 6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 6717 $as_echo "$ac_cv_search_opendir" >&6; }
 6718 ac_res=$ac_cv_search_opendir
 6719 if test "$ac_res" != no; then :
 6720   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 6721   
 6722 fi
 6723 
 6724 fi
 6725 
 6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 6727 $as_echo_n "checking for ANSI C header files... " >&6; }
 6728 if ${ac_cv_header_stdc+:} false; then :
 6729   $as_echo_n "(cached) " >&6
 6730 else
 6731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6732 /* end confdefs.h.  */
 6733 #include <stdlib.h>
 6734 #include <stdarg.h>
 6735 #include <string.h>
 6736 #include <float.h>
 6737 
 6738 int
 6739 main ()
 6740 {
 6741 
 6742   ;
 6743   return 0;
 6744 }
 6745 _ACEOF
 6746 if ac_fn_c_try_compile "$LINENO"; then :
 6747   ac_cv_header_stdc=yes
 6748 else
 6749   ac_cv_header_stdc=no
 6750 fi
 6751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6752 
 6753 if test $ac_cv_header_stdc = yes; then
 6754   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 6755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6756 /* end confdefs.h.  */
 6757 #include <string.h>
 6758 
 6759 _ACEOF
 6760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 6761   $EGREP "memchr" >/dev/null 2>&1; then :
 6762   
 6763 else
 6764   ac_cv_header_stdc=no
 6765 fi
 6766 rm -f conftest*
 6767 
 6768 fi
 6769 
 6770 if test $ac_cv_header_stdc = yes; then
 6771   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 6772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6773 /* end confdefs.h.  */
 6774 #include <stdlib.h>
 6775 
 6776 _ACEOF
 6777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 6778   $EGREP "free" >/dev/null 2>&1; then :
 6779   
 6780 else
 6781   ac_cv_header_stdc=no
 6782 fi
 6783 rm -f conftest*
 6784 
 6785 fi
 6786 
 6787 if test $ac_cv_header_stdc = yes; then
 6788   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 6789   if test "$cross_compiling" = yes; then :
 6790   :
 6791 else
 6792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6793 /* end confdefs.h.  */
 6794 #include <ctype.h>
 6795 #include <stdlib.h>
 6796 #if ((' ' & 0x0FF) == 0x020)
 6797 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 6798 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 6799 #else
 6800 # define ISLOWER(c) \
 6801 		   (('a' <= (c) && (c) <= 'i') \
 6802 		     || ('j' <= (c) && (c) <= 'r') \
 6803 		     || ('s' <= (c) && (c) <= 'z'))
 6804 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 6805 #endif
 6806 
 6807 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 6808 int
 6809 main ()
 6810 {
 6811   int i;
 6812   for (i = 0; i < 256; i++)
 6813     if (XOR (islower (i), ISLOWER (i))
 6814 	|| toupper (i) != TOUPPER (i))
 6815       return 2;
 6816   return 0;
 6817 }
 6818 _ACEOF
 6819 if ac_fn_c_try_run "$LINENO"; then :
 6820   
 6821 else
 6822   ac_cv_header_stdc=no
 6823 fi
 6824 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 6825   conftest.$ac_objext conftest.beam conftest.$ac_ext
 6826 fi
 6827 
 6828 fi
 6829 fi
 6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 6831 $as_echo "$ac_cv_header_stdc" >&6; }
 6832 if test $ac_cv_header_stdc = yes; then
 6833   
 6834 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
 6835 
 6836 fi
 6837 
 6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 6839 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 6840 if ${ac_cv_header_sys_wait_h+:} false; then :
 6841   $as_echo_n "(cached) " >&6
 6842 else
 6843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6844 /* end confdefs.h.  */
 6845 #include <sys/types.h>
 6846 #include <sys/wait.h>
 6847 #ifndef WEXITSTATUS
 6848 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 6849 #endif
 6850 #ifndef WIFEXITED
 6851 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 6852 #endif
 6853 
 6854 int
 6855 main ()
 6856 {
 6857   int s;
 6858   wait (&s);
 6859   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 6860   ;
 6861   return 0;
 6862 }
 6863 _ACEOF
 6864 if ac_fn_c_try_compile "$LINENO"; then :
 6865   ac_cv_header_sys_wait_h=yes
 6866 else
 6867   ac_cv_header_sys_wait_h=no
 6868 fi
 6869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6870 fi
 6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 6872 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
 6873 if test $ac_cv_header_sys_wait_h = yes; then
 6874   
 6875 $as_echo "@%:@define HAVE_SYS_WAIT_H 1" >>confdefs.h
 6876 
 6877 fi
 6878 
 6879 
 6880 for ac_header in dl.h fcntl.h limits.h malloc.h termios.h sys/ioctl.h sys/select.h sys/stat.h sys/time.h sys/prctl.h syslog.h unistd.h utmp.h utmpx.h paths.h db.h pthread.h netinet/in.h arpa/nameser.h arpa/nameser_compat.h syscall.h sys/syscall.h
 6881 do :
 6882   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 6883 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 6884 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 6885   cat >>confdefs.h <<_ACEOF
 6886 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 6887 _ACEOF
 6888  
 6889 fi
 6890 
 6891 done
 6892 
 6893 
 6894 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#ifdef HAVE_SYS_TYPES_H
 6895 #include <sys/types.h>
 6896 #endif
 6897 #ifdef HAVE_NETINET_IN_H
 6898 #include <netinet/in.h>
 6899 #endif
 6900 #ifdef HAVE_ARPA_NAMESER_H
 6901 #include <arpa/nameser.h>
 6902 #endif
 6903 "
 6904 if test "x$ac_cv_header_resolv_h" = xyes; then :
 6905   
 6906 $as_echo "@%:@define HAVE_RESOLV_H /**/" >>confdefs.h
 6907 
 6908 fi
 6909 
 6910 
 6911 
 6912 
 6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 6914 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 6915 if ${ac_cv_c_const+:} false; then :
 6916   $as_echo_n "(cached) " >&6
 6917 else
 6918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6919 /* end confdefs.h.  */
 6920 
 6921 int
 6922 main ()
 6923 {
 6924 
 6925 #ifndef __cplusplus
 6926   /* Ultrix mips cc rejects this sort of thing.  */
 6927   typedef int charset[2];
 6928   const charset cs = { 0, 0 };
 6929   /* SunOS 4.1.1 cc rejects this.  */
 6930   char const *const *pcpcc;
 6931   char **ppc;
 6932   /* NEC SVR4.0.2 mips cc rejects this.  */
 6933   struct point {int x, y;};
 6934   static struct point const zero = {0,0};
 6935   /* AIX XL C 1.02.0.0 rejects this.
 6936      It does not let you subtract one const X* pointer from another in
 6937      an arm of an if-expression whose if-part is not a constant
 6938      expression */
 6939   const char *g = "string";
 6940   pcpcc = &g + (g ? g-g : 0);
 6941   /* HPUX 7.0 cc rejects these. */
 6942   ++pcpcc;
 6943   ppc = (char**) pcpcc;
 6944   pcpcc = (char const *const *) ppc;
 6945   { /* SCO 3.2v4 cc rejects this sort of thing.  */
 6946     char tx;
 6947     char *t = &tx;
 6948     char const *s = 0 ? (char *) 0 : (char const *) 0;
 6949 
 6950     *t++ = 0;
 6951     if (s) return 0;
 6952   }
 6953   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 6954     int x[] = {25, 17};
 6955     const int *foo = &x[0];
 6956     ++foo;
 6957   }
 6958   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 6959     typedef const int *iptr;
 6960     iptr p = 0;
 6961     ++p;
 6962   }
 6963   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
 6964        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 6965     struct s { int j; const int *ap[3]; } bx;
 6966     struct s *b = &bx; b->j = 5;
 6967   }
 6968   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 6969     const int foo = 10;
 6970     if (!foo) return 0;
 6971   }
 6972   return !cs[0] && !zero.x;
 6973 #endif
 6974 
 6975   ;
 6976   return 0;
 6977 }
 6978 _ACEOF
 6979 if ac_fn_c_try_compile "$LINENO"; then :
 6980   ac_cv_c_const=yes
 6981 else
 6982   ac_cv_c_const=no
 6983 fi
 6984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6985 fi
 6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 6987 $as_echo "$ac_cv_c_const" >&6; }
 6988 if test $ac_cv_c_const = no; then
 6989   
 6990 $as_echo "@%:@define const /**/" >>confdefs.h
 6991 
 6992 fi
 6993 
 6994 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 6995 if test "x$ac_cv_type_pid_t" = xyes; then :
 6996   
 6997 else
 6998   
 6999 cat >>confdefs.h <<_ACEOF
 7000 @%:@define pid_t int
 7001 _ACEOF
 7002 
 7003 fi
 7004 
 7005 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 7006 if test "x$ac_cv_type_size_t" = xyes; then :
 7007   
 7008 else
 7009   
 7010 cat >>confdefs.h <<_ACEOF
 7011 @%:@define size_t unsigned int
 7012 _ACEOF
 7013 
 7014 fi
 7015 
 7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 7017 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 7018 if ${ac_cv_header_time+:} false; then :
 7019   $as_echo_n "(cached) " >&6
 7020 else
 7021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7022 /* end confdefs.h.  */
 7023 #include <sys/types.h>
 7024 #include <sys/time.h>
 7025 #include <time.h>
 7026 
 7027 int
 7028 main ()
 7029 {
 7030 if ((struct tm *) 0)
 7031 return 0;
 7032   ;
 7033   return 0;
 7034 }
 7035 _ACEOF
 7036 if ac_fn_c_try_compile "$LINENO"; then :
 7037   ac_cv_header_time=yes
 7038 else
 7039   ac_cv_header_time=no
 7040 fi
 7041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7042 fi
 7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 7044 $as_echo "$ac_cv_header_time" >&6; }
 7045 if test $ac_cv_header_time = yes; then
 7046   
 7047 $as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
 7048 
 7049 fi
 7050 
 7051 
 7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 7053 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 7054 if ${ac_cv_struct_tm+:} false; then :
 7055   $as_echo_n "(cached) " >&6
 7056 else
 7057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7058 /* end confdefs.h.  */
 7059 #include <sys/types.h>
 7060 #include <time.h>
 7061 
 7062 int
 7063 main ()
 7064 {
 7065 struct tm tm;
 7066 				     int *p = &tm.tm_sec;
 7067 				     return !p;
 7068   ;
 7069   return 0;
 7070 }
 7071 _ACEOF
 7072 if ac_fn_c_try_compile "$LINENO"; then :
 7073   ac_cv_struct_tm=time.h
 7074 else
 7075   ac_cv_struct_tm=sys/time.h
 7076 fi
 7077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7078 fi
 7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 7080 $as_echo "$ac_cv_struct_tm" >&6; }
 7081 if test $ac_cv_struct_tm = sys/time.h; then
 7082   
 7083 $as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
 7084 
 7085 fi
 7086 
 7087 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <sys/types.h>
 7088 #include <$ac_cv_struct_tm>
 7089 
 7090 "
 7091 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
 7092   
 7093 cat >>confdefs.h <<_ACEOF
 7094 @%:@define HAVE_STRUCT_TM_TM_GMTOFF 1
 7095 _ACEOF
 7096 
 7097 
 7098 fi
 7099 
 7100 if test "$ac_cv_member_struct_tm_tm_gmtoff" != yes; then
 7101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone" >&5
 7102 $as_echo_n "checking for timezone... " >&6; }
 7103 if ${ac_cv_var_timezone+:} false; then :
 7104   $as_echo_n "(cached) " >&6
 7105 else
 7106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7107 /* end confdefs.h.  */
 7108 #include <time.h>
 7109 int
 7110 main ()
 7111 {
 7112 printf("%ld", (long)timezone);
 7113   ;
 7114   return 0;
 7115 }
 7116 _ACEOF
 7117 if ac_fn_c_try_link "$LINENO"; then :
 7118   ac_cv_var_timezone=yes
 7119 else
 7120   ac_cv_var_timezone=no
 7121 fi
 7122 rm -f core conftest.err conftest.$ac_objext \
 7123     conftest$ac_exeext conftest.$ac_ext
 7124 fi
 7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_timezone" >&5
 7126 $as_echo "$ac_cv_var_timezone" >&6; }
 7127   if test $ac_cv_var_timezone = yes; then
 7128     
 7129 $as_echo "@%:@define HAVE_TIMEZONE 1" >>confdefs.h
 7130 
 7131   fi
 7132 fi
 7133 
 7134 
 7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_type in struct utmp" >&5
 7136 $as_echo_n "checking for ut_type in struct utmp... " >&6; }
 7137 if ${ac_cv_struct_ut_type+:} false; then :
 7138   $as_echo_n "(cached) " >&6
 7139 else
 7140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7141 /* end confdefs.h.  */
 7142 #include <sys/types.h>
 7143 #include <utmp.h>
 7144 int
 7145 main ()
 7146 {
 7147 struct utmp ut; ut.ut_type;
 7148   ;
 7149   return 0;
 7150 }
 7151 _ACEOF
 7152 if ac_fn_c_try_compile "$LINENO"; then :
 7153   ac_cv_struct_ut_type=yes
 7154 else
 7155   ac_cv_struct_ut_type=no
 7156 fi
 7157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7158 fi
 7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_ut_type" >&5
 7160 $as_echo "$ac_cv_struct_ut_type" >&6; }
 7161 if test $ac_cv_struct_ut_type = yes; then
 7162 	
 7163 $as_echo "@%:@define HAVE_UT_TYPE /**/" >>confdefs.h
 7164 
 7165 fi
 7166 
 7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for call semantics from getpwuid_r" >&5
 7168 $as_echo_n "checking for call semantics from getpwuid_r... " >&6; }
 7169 if ${ac_cv_call_getpwuid_r+:} false; then :
 7170   $as_echo_n "(cached) " >&6
 7171 else
 7172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7173 /* end confdefs.h.  */
 7174 #include <sys/types.h>
 7175 #include <pwd.h>
 7176 int
 7177 main ()
 7178 {
 7179 
 7180 				struct passwd pw, *pwp;
 7181 				char pwbuf[64];
 7182 				uid_t uid;
 7183 
 7184 				getpwuid_r(uid, &pw, pwbuf, sizeof(pwbuf), &pwp);
 7185 			
 7186   ;
 7187   return 0;
 7188 }
 7189 _ACEOF
 7190 if ac_fn_c_try_compile "$LINENO"; then :
 7191   ac_cv_call_getpwuid_r=yes
 7192 else
 7193   ac_cv_call_getpwuid_r=no
 7194 fi
 7195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7196 	
 7197 fi
 7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_call_getpwuid_r" >&5
 7199 $as_echo "$ac_cv_call_getpwuid_r" >&6; }
 7200 
 7201 if test $ac_cv_call_getpwuid_r = no; then
 7202 	
 7203 $as_echo "@%:@define SOLARIS_GETPWUID /**/" >>confdefs.h
 7204 
 7205 	
 7206 $as_echo "@%:@define F_UID_T \"%ld\"" >>confdefs.h
 7207 
 7208 	
 7209 $as_echo "@%:@define F_PID_T \"%ld\"" >>confdefs.h
 7210 
 7211 	
 7212 $as_echo "@%:@define F_XPID_T \"%lx\"" >>confdefs.h
 7213 
 7214 else
 7215 	
 7216 $as_echo "@%:@define F_UID_T \"%d\"" >>confdefs.h
 7217 
 7218 	
 7219 $as_echo "@%:@define F_PID_T \"%d\"" >>confdefs.h
 7220 
 7221 	
 7222 $as_echo "@%:@define F_XPID_T \"%x\"" >>confdefs.h
 7223 
 7224 fi
 7225 
 7226 
 7227 
 7228 case "`uname -a`" in 
 7229  OpenBSD*)
 7230 	echo "we don't need to check for resolv on openbsd"  
 7231 	;;
 7232  FreeBSD*)
 7233 	echo "we don't need to check for resolv on freeBSD"  
 7234 	;;
 7235  *)
 7236 	test -f /usr/local/lib/libresolv.a && LDFLAGS="$LDFLAGS -L/usr/local/lib"
 7237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv" >&5
 7238 $as_echo_n "checking for res_query in -lresolv... " >&6; }
 7239 if ${ac_cv_lib_resolv_res_query+:} false; then :
 7240   $as_echo_n "(cached) " >&6
 7241 else
 7242   ac_check_lib_save_LIBS=$LIBS
 7243 LIBS="-lresolv  $LIBS"
 7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7245 /* end confdefs.h.  */
 7246 
 7247 /* Override any GCC internal prototype to avoid an error.
 7248    Use char because int might match the return type of a GCC
 7249    builtin and then its argument prototype would still apply.  */
 7250 #ifdef __cplusplus
 7251 extern "C"
 7252 #endif
 7253 char res_query ();
 7254 int
 7255 main ()
 7256 {
 7257 return res_query ();
 7258   ;
 7259   return 0;
 7260 }
 7261 _ACEOF
 7262 if ac_fn_c_try_link "$LINENO"; then :
 7263   ac_cv_lib_resolv_res_query=yes
 7264 else
 7265   ac_cv_lib_resolv_res_query=no
 7266 fi
 7267 rm -f core conftest.err conftest.$ac_objext \
 7268     conftest$ac_exeext conftest.$ac_ext
 7269 LIBS=$ac_check_lib_save_LIBS
 7270 fi
 7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_query" >&5
 7272 $as_echo "$ac_cv_lib_resolv_res_query" >&6; }
 7273 if test "x$ac_cv_lib_resolv_res_query" = xyes; then :
 7274   RESOLV="$RESOLV -lresolv"
 7275 else
 7276   			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv (with resolv.h if present)" >&5
 7277 $as_echo_n "checking for res_query in -lresolv (with resolv.h if present)... " >&6; }
 7278  			saved_libs="$LIBS"
 7279  			LIBS="-lresolv $LIBS"
 7280  			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7281 /* end confdefs.h.  */
 7282 
 7283  				#ifdef HAVE_RESOLV_H
 7284  				#include <resolv.h>
 7285  				#endif
 7286 int
 7287 main ()
 7288 {
 7289 res_query(0,0,0,0,0)
 7290   ;
 7291   return 0;
 7292 }
 7293 _ACEOF
 7294 if ac_fn_c_try_link "$LINENO"; then :
 7295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7296 $as_echo "yes" >&6; }
 7297  						have_res_query=yes
 7298 else
 7299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7300 $as_echo "no" >&6; }
 7301 					as_fn_error $? "libresolv was not found.  Citadel requires the resolver library." "$LINENO" 5
 7302  				
 7303 fi
 7304 rm -f core conftest.err conftest.$ac_objext \
 7305     conftest$ac_exeext conftest.$ac_ext
 7306          
 7307 	
 7308 fi
 7309 
 7310 	;;
 7311 esac
 7312 
 7313 
 7314 
 7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_host in struct utmp" >&5
 7316 $as_echo_n "checking for ut_host in struct utmp... " >&6; }
 7317 if ${ac_cv_struct_ut_host+:} false; then :
 7318   $as_echo_n "(cached) " >&6
 7319 else
 7320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7321 /* end confdefs.h.  */
 7322 #include <sys/types.h>
 7323 #include <utmp.h>
 7324 int
 7325 main ()
 7326 {
 7327 struct utmp ut; ut.ut_host;
 7328   ;
 7329   return 0;
 7330 }
 7331 _ACEOF
 7332 if ac_fn_c_try_compile "$LINENO"; then :
 7333   ac_cv_struct_ut_host=yes
 7334 else
 7335   ac_cv_struct_ut_host=no
 7336 fi
 7337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7338 fi
 7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_ut_host" >&5
 7340 $as_echo "$ac_cv_struct_ut_host" >&6; }
 7341 if test $ac_cv_struct_ut_host = yes; then
 7342 	
 7343 $as_echo "@%:@define HAVE_UT_HOST /**/" >>confdefs.h
 7344 
 7345 fi
 7346 
 7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
 7348 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
 7349 if ${ac_cv_func_getpgrp_void+:} false; then :
 7350   $as_echo_n "(cached) " >&6
 7351 else
 7352   # Use it with a single arg.
 7353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7354 /* end confdefs.h.  */
 7355 $ac_includes_default
 7356 int
 7357 main ()
 7358 {
 7359 getpgrp (0);
 7360   ;
 7361   return 0;
 7362 }
 7363 _ACEOF
 7364 if ac_fn_c_try_compile "$LINENO"; then :
 7365   ac_cv_func_getpgrp_void=no
 7366 else
 7367   ac_cv_func_getpgrp_void=yes
 7368 fi
 7369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7370 
 7371 fi
 7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5
 7373 $as_echo "$ac_cv_func_getpgrp_void" >&6; }
 7374 if test $ac_cv_func_getpgrp_void = yes; then
 7375   
 7376 $as_echo "@%:@define GETPGRP_VOID 1" >>confdefs.h
 7377 
 7378 fi
 7379 
 7380 if test $ac_cv_c_compiler_gnu = yes; then
 7381     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
 7382 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
 7383 if ${ac_cv_prog_gcc_traditional+:} false; then :
 7384   $as_echo_n "(cached) " >&6
 7385 else
 7386     ac_pattern="Autoconf.*'x'"
 7387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7388 /* end confdefs.h.  */
 7389 #include <sgtty.h>
 7390 Autoconf TIOCGETP
 7391 _ACEOF
 7392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7393   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
 7394   ac_cv_prog_gcc_traditional=yes
 7395 else
 7396   ac_cv_prog_gcc_traditional=no
 7397 fi
 7398 rm -f conftest*
 7399 
 7400 
 7401   if test $ac_cv_prog_gcc_traditional = no; then
 7402     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7403 /* end confdefs.h.  */
 7404 #include <termio.h>
 7405 Autoconf TCGETA
 7406 _ACEOF
 7407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7408   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
 7409   ac_cv_prog_gcc_traditional=yes
 7410 fi
 7411 rm -f conftest*
 7412 
 7413   fi
 7414 fi
 7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
 7416 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
 7417   if test $ac_cv_prog_gcc_traditional = yes; then
 7418     CC="$CC -traditional"
 7419   fi
 7420 fi
 7421 
 7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 7423 $as_echo_n "checking return type of signal handlers... " >&6; }
 7424 if ${ac_cv_type_signal+:} false; then :
 7425   $as_echo_n "(cached) " >&6
 7426 else
 7427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7428 /* end confdefs.h.  */
 7429 #include <sys/types.h>
 7430 #include <signal.h>
 7431 
 7432 int
 7433 main ()
 7434 {
 7435 return *(signal (0, 0)) (0) == 1;
 7436   ;
 7437   return 0;
 7438 }
 7439 _ACEOF
 7440 if ac_fn_c_try_compile "$LINENO"; then :
 7441   ac_cv_type_signal=int
 7442 else
 7443   ac_cv_type_signal=void
 7444 fi
 7445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7446 fi
 7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 7448 $as_echo "$ac_cv_type_signal" >&6; }
 7449 
 7450 cat >>confdefs.h <<_ACEOF
 7451 @%:@define RETSIGTYPE $ac_cv_type_signal
 7452 _ACEOF
 7453 
 7454 
 7455 for ac_func in vprintf
 7456 do :
 7457   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 7458 if test "x$ac_cv_func_vprintf" = xyes; then :
 7459   cat >>confdefs.h <<_ACEOF
 7460 @%:@define HAVE_VPRINTF 1
 7461 _ACEOF
 7462  
 7463 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 7464 if test "x$ac_cv_func__doprnt" = xyes; then :
 7465   
 7466 $as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
 7467 
 7468 fi
 7469 
 7470 fi
 7471 done
 7472 
 7473 
 7474 for ac_func in getspnam getutxline mkdir mkfifo mktime rmdir select socket strerror strcasecmp strncasecmp
 7475 do :
 7476   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 7477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 7478 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 7479   cat >>confdefs.h <<_ACEOF
 7480 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 7481 _ACEOF
 7482  
 7483 fi
 7484 done
 7485 
 7486 
 7487 
 7488 
 7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cancel" >&5
 7490 $as_echo_n "checking for pthread_cancel... " >&6; }
 7491 if ${ac_cv_func_pthread_cancel+:} false; then :
 7492   $as_echo_n "(cached) " >&6
 7493 else
 7494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7495 /* end confdefs.h.  */
 7496 #include <pthread.h>
 7497 int
 7498 main ()
 7499 {
 7500 	pthread_t thread;
 7501 
 7502 	/* The GNU C library defines this for functions which it implements
 7503 	   to always fail with ENOSYS.  Some functions are actually named
 7504 	   something starting with __ and the normal name is an alias.  */
 7505 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
 7506 	choke me
 7507 #else
 7508 	pthread_cancel(thread);
 7509 #endif
 7510   ;
 7511   return 0;
 7512 }
 7513 _ACEOF
 7514 if ac_fn_c_try_link "$LINENO"; then :
 7515   ac_cv_func_pthread_cancel=yes
 7516 else
 7517   ac_cv_func_pthread_cancel=no
 7518 fi
 7519 rm -f core conftest.err conftest.$ac_objext \
 7520     conftest$ac_exeext conftest.$ac_ext
 7521 fi
 7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_pthread_cancel" >&5
 7523 $as_echo "$ac_cv_func_pthread_cancel" >&6; }
 7524 if test "$ac_cv_func_pthread_cancel" = yes; then
 7525 	
 7526 $as_echo "@%:@define HAVE_PTHREAD_CANCEL /**/" >>confdefs.h
 7527 
 7528 fi
 7529 
 7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create" >&5
 7531 $as_echo_n "checking for pthread_create... " >&6; }
 7532 if ${ac_cv_func_pthread_create+:} false; then :
 7533   $as_echo_n "(cached) " >&6
 7534 else
 7535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7536 /* end confdefs.h.  */
 7537 #include <pthread.h>
 7538 int
 7539 main ()
 7540 {
 7541 	/* The GNU C library defines this for functions which it implements
 7542 	   to always fail with ENOSYS.  Some functions are actually named
 7543 	   something starting with __ and the normal name is an alias.  */
 7544 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
 7545 	choke me
 7546 #else
 7547 	pthread_create(NULL, NULL, NULL, NULL);
 7548 #endif
 7549   ;
 7550   return 0;
 7551 }
 7552 _ACEOF
 7553 if ac_fn_c_try_link "$LINENO"; then :
 7554   ac_cv_func_pthread_create=yes
 7555 else
 7556   ac_cv_func_pthread_create=no
 7557 fi
 7558 rm -f core conftest.err conftest.$ac_objext \
 7559     conftest$ac_exeext conftest.$ac_ext
 7560 fi
 7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_pthread_create" >&5
 7562 $as_echo "$ac_cv_func_pthread_create" >&6; }
 7563 if test "$ac_cv_func_pthread_create" = yes; then
 7564 	test "$DATABASE" && TARGETS="server utils"
 7565 fi
 7566 
 7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the weather" >&5
 7568 $as_echo_n "checking the weather... " >&6; }
 7569 if ${ac_cv_weather+:} false; then :
 7570   $as_echo_n "(cached) " >&6
 7571 else
 7572   
 7573 	sleep 1
 7574 	echo $ECHO_N "opening your window... $ECHO_C" >&6
 7575 	sleep 2
 7576 	month=`date | cut -f 2 -d ' '`
 7577 	case $month in
 7578 	Dec | Jan | Feb)
 7579 		ac_cv_weather="it's cold!"
 7580 		;;
 7581 	Mar | Apr)
 7582 		ac_cv_weather="it's wet!"
 7583 		;;
 7584 	Jul | Aug)
 7585 		ac_cv_weather="it's hot!"
 7586 		;;
 7587 	Oct | Nov)
 7588 		ac_cv_weather="it's cool"
 7589 		;;
 7590 	May | Jun | Sep | *)
 7591 		ac_cv_weather="it's fine"
 7592 		;;
 7593 	esac
 7594 	
 7595 fi
 7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_weather" >&5
 7597 $as_echo "$ac_cv_weather" >&6; }
 7598 
 7599 
 7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking under the bed" >&5
 7601 $as_echo_n "checking under the bed... " >&6; }
 7602 if ${ac_cv_under_the_bed+:} false; then :
 7603   $as_echo_n "(cached) " >&6
 7604 else
 7605   
 7606 	number=`date | cut -c 19`
 7607 	case $number in
 7608 	7)
 7609 		ac_cv_under_the_bed="lunatics and monsters found"
 7610 		;;
 7611 	*)
 7612 		ac_cv_under_the_bed="dust bunnies found"
 7613 		;;
 7614 	esac
 7615 	
 7616 fi
 7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_under_the_bed" >&5
 7618 $as_echo "$ac_cv_under_the_bed" >&6; }
 7619 
 7620 
 7621 
 7622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ucred" >&5
 7623 $as_echo_n "checking for struct ucred... " >&6; }
 7624 	if ${mpd_cv_have_struct_ucred+:} false; then :
 7625   $as_echo_n "(cached) " >&6
 7626 else
 7627   
 7628 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7629 /* end confdefs.h.  */
 7630 #include <sys/socket.h>
 7631 int
 7632 main ()
 7633 {
 7634 struct ucred cred;
 7635   ;
 7636   return 0;
 7637 }
 7638 _ACEOF
 7639 if ac_fn_c_try_compile "$LINENO"; then :
 7640   mpd_cv_have_struct_ucred=yes
 7641 else
 7642   mpd_cv_have_struct_ucred=no
 7643 fi
 7644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7645 		if test x$mpd_cv_have_struct_ucred = xno; then
 7646 			# glibc 2.8 forces _GNU_SOURCE on us
 7647 			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7648 /* end confdefs.h.  */
 7649 #define _GNU_SOURCE
 7650 				 #include <sys/socket.h>
 7651 int
 7652 main ()
 7653 {
 7654 struct ucred cred;
 7655   ;
 7656   return 0;
 7657 }
 7658 _ACEOF
 7659 if ac_fn_c_try_compile "$LINENO"; then :
 7660   mpd_cv_have_struct_ucred=yes
 7661 else
 7662   mpd_cv_have_struct_ucred=no
 7663 fi
 7664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7665 			if test x$mpd_cv_have_struct_ucred = xyes; then
 7666 				# :(
 7667 				MPD_CFLAGS="$MPD_CFLAGS -D_GNU_SOURCE"
 7668 			fi
 7669 		fi
 7670 		
 7671 fi
 7672 
 7673 
 7674 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpd_cv_have_struct_ucred" >&5
 7675 $as_echo "$mpd_cv_have_struct_ucred" >&6; }
 7676 	if test x$mpd_cv_have_struct_ucred = xyes; then
 7677 		
 7678 $as_echo "@%:@define HAVE_STRUCT_UCRED 1" >>confdefs.h
 7679 
 7680 	fi
 7681 
 7682 
 7683 
 7684 
 7685 
 7686 
 7687 
 7688 
 7689 
 7690 
 7691 
 7692 ac_config_files="$ac_config_files Makefile"
 7693 
 7694 ac_config_files="$ac_config_files po/citadel-setup/Makefile"
 7695 
 7696 cat >confcache <<\_ACEOF
 7697 # This file is a shell script that caches the results of configure
 7698 # tests run on this system so they can be shared between configure
 7699 # scripts and configure runs, see configure's option --config-cache.
 7700 # It is not useful on other systems.  If it contains results you don't
 7701 # want to keep, you may remove or edit it.
 7702 #
 7703 # config.status only pays attention to the cache file if you give it
 7704 # the --recheck option to rerun configure.
 7705 #
 7706 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 7707 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 7708 # following values.
 7709 
 7710 _ACEOF
 7711 
 7712 # The following way of writing the cache mishandles newlines in values,
 7713 # but we know of no workaround that is simple, portable, and efficient.
 7714 # So, we kill variables containing newlines.
 7715 # Ultrix sh set writes to stderr and can't be redirected directly,
 7716 # and sets the high bit in the cache file unless we assign to the vars.
 7717 (
 7718   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 7719     eval ac_val=\$$ac_var
 7720     case $ac_val in #(
 7721     *${as_nl}*)
 7722       case $ac_var in #(
 7723       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 7724 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 7725       esac
 7726       case $ac_var in #(
 7727       _ | IFS | as_nl) ;; #(
 7728       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 7729       *) { eval $ac_var=; unset $ac_var;} ;;
 7730       esac ;;
 7731     esac
 7732   done
 7733 
 7734   (set) 2>&1 |
 7735     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 7736     *${as_nl}ac_space=\ *)
 7737       # `set' does not quote correctly, so add quotes: double-quote
 7738       # substitution turns \\\\ into \\, and sed turns \\ into \.
 7739       sed -n \
 7740 	"s/'/'\\\\''/g;
 7741 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 7742       ;; #(
 7743     *)
 7744       # `set' quotes correctly as required by POSIX, so do not add quotes.
 7745       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 7746       ;;
 7747     esac |
 7748     sort
 7749 ) |
 7750   sed '
 7751      /^ac_cv_env_/b end
 7752      t clear
 7753      :clear
 7754      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 7755      t end
 7756      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 7757      :end' >>confcache
 7758 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 7759   if test -w "$cache_file"; then
 7760     if test "x$cache_file" != "x/dev/null"; then
 7761       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 7762 $as_echo "$as_me: updating cache $cache_file" >&6;}
 7763       if test ! -f "$cache_file" || test -h "$cache_file"; then
 7764 	cat confcache >"$cache_file"
 7765       else
 7766         case $cache_file in #(
 7767         */* | ?:*)
 7768 	  mv -f confcache "$cache_file"$$ &&
 7769 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
 7770         *)
 7771 	  mv -f confcache "$cache_file" ;;
 7772 	esac
 7773       fi
 7774     fi
 7775   else
 7776     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 7777 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 7778   fi
 7779 fi
 7780 rm -f confcache
 7781 
 7782 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 7783 # Let make expand exec_prefix.
 7784 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 7785 
 7786 DEFS=-DHAVE_CONFIG_H
 7787 
 7788 ac_libobjs=
 7789 ac_ltlibobjs=
 7790 U=
 7791 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
 7792   # 1. Remove the extension, and $U if already installed.
 7793   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 7794   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 7795   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 7796   #    will be set to the directory where LIBOBJS objects are built.
 7797   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 7798   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 7799 done
 7800 LIB@&t@OBJS=$ac_libobjs
 7801 
 7802 LTLIBOBJS=$ac_ltlibobjs
 7803 
 7804 
 7805 
 7806 : "${CONFIG_STATUS=./config.status}"
 7807 ac_write_fail=0
 7808 ac_clean_files_save=$ac_clean_files
 7809 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 7810 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 7811 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 7812 as_write_fail=0
 7813 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 7814 #! $SHELL
 7815 # Generated by $as_me.
 7816 # Run this file to recreate the current configuration.
 7817 # Compiler output produced by configure, useful for debugging
 7818 # configure, is in config.log if it exists.
 7819 
 7820 debug=false
 7821 ac_cs_recheck=false
 7822 ac_cs_silent=false
 7823 
 7824 SHELL=\${CONFIG_SHELL-$SHELL}
 7825 export SHELL
 7826 _ASEOF
 7827 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 7828 ## -------------------- ##
 7829 ## M4sh Initialization. ##
 7830 ## -------------------- ##
 7831 
 7832 # Be more Bourne compatible
 7833 DUALCASE=1; export DUALCASE # for MKS sh
 7834 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 7835   emulate sh
 7836   NULLCMD=:
 7837   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 7838   # is contrary to our usage.  Disable this feature.
 7839   alias -g '${1+"$@"}'='"$@"'
 7840   setopt NO_GLOB_SUBST
 7841 else
 7842   case `(set -o) 2>/dev/null` in @%:@(
 7843   *posix*) :
 7844     set -o posix ;; @%:@(
 7845   *) :
 7846      ;;
 7847 esac
 7848 fi
 7849 
 7850 
 7851 as_nl='
 7852 '
 7853 export as_nl
 7854 # Printing a long string crashes Solaris 7 /usr/bin/printf.
 7855 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 7856 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 7857 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 7858 # Prefer a ksh shell builtin over an external printf program on Solaris,
 7859 # but without wasting forks for bash or zsh.
 7860 if test -z "$BASH_VERSION$ZSH_VERSION" \
 7861     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 7862   as_echo='print -r --'
 7863   as_echo_n='print -rn --'
 7864 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 7865   as_echo='printf %s\n'
 7866   as_echo_n='printf %s'
 7867 else
 7868   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 7869     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 7870     as_echo_n='/usr/ucb/echo -n'
 7871   else
 7872     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 7873     as_echo_n_body='eval
 7874       arg=$1;
 7875       case $arg in @%:@(
 7876       *"$as_nl"*)
 7877 	expr "X$arg" : "X\\(.*\\)$as_nl";
 7878 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 7879       esac;
 7880       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 7881     '
 7882     export as_echo_n_body
 7883     as_echo_n='sh -c $as_echo_n_body as_echo'
 7884   fi
 7885   export as_echo_body
 7886   as_echo='sh -c $as_echo_body as_echo'
 7887 fi
 7888 
 7889 # The user is always right.
 7890 if test "${PATH_SEPARATOR+set}" != set; then
 7891   PATH_SEPARATOR=:
 7892   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 7893     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 7894       PATH_SEPARATOR=';'
 7895   }
 7896 fi
 7897 
 7898 
 7899 # IFS
 7900 # We need space, tab and new line, in precisely that order.  Quoting is
 7901 # there to prevent editors from complaining about space-tab.
 7902 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 7903 # splitting by setting IFS to empty value.)
 7904 IFS=" ""	$as_nl"
 7905 
 7906 # Find who we are.  Look in the path if we contain no directory separator.
 7907 as_myself=
 7908 case $0 in @%:@((
 7909   *[\\/]* ) as_myself=$0 ;;
 7910   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7911 for as_dir in $PATH
 7912 do
 7913   IFS=$as_save_IFS
 7914   test -z "$as_dir" && as_dir=.
 7915     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 7916   done
 7917 IFS=$as_save_IFS
 7918 
 7919      ;;
 7920 esac
 7921 # We did not find ourselves, most probably we were run as `sh COMMAND'
 7922 # in which case we are not to be found in the path.
 7923 if test "x$as_myself" = x; then
 7924   as_myself=$0
 7925 fi
 7926 if test ! -f "$as_myself"; then
 7927   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 7928   exit 1
 7929 fi
 7930 
 7931 # Unset variables that we do not need and which cause bugs (e.g. in
 7932 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 7933 # suppresses any "Segmentation fault" message there.  '((' could
 7934 # trigger a bug in pdksh 5.2.14.
 7935 for as_var in BASH_ENV ENV MAIL MAILPATH
 7936 do eval test x\${$as_var+set} = xset \
 7937   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 7938 done
 7939 PS1='$ '
 7940 PS2='> '
 7941 PS4='+ '
 7942 
 7943 # NLS nuisances.
 7944 LC_ALL=C
 7945 export LC_ALL
 7946 LANGUAGE=C
 7947 export LANGUAGE
 7948 
 7949 # CDPATH.
 7950 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 7951 
 7952 
 7953 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
 7954 @%:@ ----------------------------------------
 7955 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 7956 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 7957 @%:@ script with STATUS, using 1 if that was 0.
 7958 as_fn_error ()
 7959 {
 7960   as_status=$1; test $as_status -eq 0 && as_status=1
 7961   if test "$4"; then
 7962     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 7963     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 7964   fi
 7965   $as_echo "$as_me: error: $2" >&2
 7966   as_fn_exit $as_status
 7967 } @%:@ as_fn_error
 7968 
 7969 
 7970 @%:@ as_fn_set_status STATUS
 7971 @%:@ -----------------------
 7972 @%:@ Set @S|@? to STATUS, without forking.
 7973 as_fn_set_status ()
 7974 {
 7975   return $1
 7976 } @%:@ as_fn_set_status
 7977 
 7978 @%:@ as_fn_exit STATUS
 7979 @%:@ -----------------
 7980 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 7981 as_fn_exit ()
 7982 {
 7983   set +e
 7984   as_fn_set_status $1
 7985   exit $1
 7986 } @%:@ as_fn_exit
 7987 
 7988 @%:@ as_fn_unset VAR
 7989 @%:@ ---------------
 7990 @%:@ Portably unset VAR.
 7991 as_fn_unset ()
 7992 {
 7993   { eval $1=; unset $1;}
 7994 }
 7995 as_unset=as_fn_unset
 7996 @%:@ as_fn_append VAR VALUE
 7997 @%:@ ----------------------
 7998 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 7999 @%:@ advantage of any shell optimizations that allow amortized linear growth over
 8000 @%:@ repeated appends, instead of the typical quadratic growth present in naive
 8001 @%:@ implementations.
 8002 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 8003   eval 'as_fn_append ()
 8004   {
 8005     eval $1+=\$2
 8006   }'
 8007 else
 8008   as_fn_append ()
 8009   {
 8010     eval $1=\$$1\$2
 8011   }
 8012 fi # as_fn_append
 8013 
 8014 @%:@ as_fn_arith ARG...
 8015 @%:@ ------------------
 8016 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 8017 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 8018 @%:@ must be portable across @S|@(()) and expr.
 8019 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 8020   eval 'as_fn_arith ()
 8021   {
 8022     as_val=$(( $* ))
 8023   }'
 8024 else
 8025   as_fn_arith ()
 8026   {
 8027     as_val=`expr "$@" || test $? -eq 1`
 8028   }
 8029 fi # as_fn_arith
 8030 
 8031 
 8032 if expr a : '\(a\)' >/dev/null 2>&1 &&
 8033    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 8034   as_expr=expr
 8035 else
 8036   as_expr=false
 8037 fi
 8038 
 8039 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 8040   as_basename=basename
 8041 else
 8042   as_basename=false
 8043 fi
 8044 
 8045 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 8046   as_dirname=dirname
 8047 else
 8048   as_dirname=false
 8049 fi
 8050 
 8051 as_me=`$as_basename -- "$0" ||
 8052 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 8053 	 X"$0" : 'X\(//\)$' \| \
 8054 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 8055 $as_echo X/"$0" |
 8056     sed '/^.*\/\([^/][^/]*\)\/*$/{
 8057 	    s//\1/
 8058 	    q
 8059 	  }
 8060 	  /^X\/\(\/\/\)$/{
 8061 	    s//\1/
 8062 	    q
 8063 	  }
 8064 	  /^X\/\(\/\).*/{
 8065 	    s//\1/
 8066 	    q
 8067 	  }
 8068 	  s/.*/./; q'`
 8069 
 8070 # Avoid depending upon Character Ranges.
 8071 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 8072 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 8073 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 8074 as_cr_digits='0123456789'
 8075 as_cr_alnum=$as_cr_Letters$as_cr_digits
 8076 
 8077 ECHO_C= ECHO_N= ECHO_T=
 8078 case `echo -n x` in @%:@(((((
 8079 -n*)
 8080   case `echo 'xy\c'` in
 8081   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 8082   xy)  ECHO_C='\c';;
 8083   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 8084        ECHO_T='	';;
 8085   esac;;
 8086 *)
 8087   ECHO_N='-n';;
 8088 esac
 8089 
 8090 rm -f conf$$ conf$$.exe conf$$.file
 8091 if test -d conf$$.dir; then
 8092   rm -f conf$$.dir/conf$$.file
 8093 else
 8094   rm -f conf$$.dir
 8095   mkdir conf$$.dir 2>/dev/null
 8096 fi
 8097 if (echo >conf$$.file) 2>/dev/null; then
 8098   if ln -s conf$$.file conf$$ 2>/dev/null; then
 8099     as_ln_s='ln -s'
 8100     # ... but there are two gotchas:
 8101     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 8102     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 8103     # In both cases, we have to default to `cp -pR'.
 8104     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 8105       as_ln_s='cp -pR'
 8106   elif ln conf$$.file conf$$ 2>/dev/null; then
 8107     as_ln_s=ln
 8108   else
 8109     as_ln_s='cp -pR'
 8110   fi
 8111 else
 8112   as_ln_s='cp -pR'
 8113 fi
 8114 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 8115 rmdir conf$$.dir 2>/dev/null
 8116 
 8117 
 8118 @%:@ as_fn_mkdir_p
 8119 @%:@ -------------
 8120 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
 8121 as_fn_mkdir_p ()
 8122 {
 8123 
 8124   case $as_dir in #(
 8125   -*) as_dir=./$as_dir;;
 8126   esac
 8127   test -d "$as_dir" || eval $as_mkdir_p || {
 8128     as_dirs=
 8129     while :; do
 8130       case $as_dir in #(
 8131       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 8132       *) as_qdir=$as_dir;;
 8133       esac
 8134       as_dirs="'$as_qdir' $as_dirs"
 8135       as_dir=`$as_dirname -- "$as_dir" ||
 8136 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 8137 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 8138 	 X"$as_dir" : 'X\(//\)$' \| \
 8139 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 8140 $as_echo X"$as_dir" |
 8141     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 8142 	    s//\1/
 8143 	    q
 8144 	  }
 8145 	  /^X\(\/\/\)[^/].*/{
 8146 	    s//\1/
 8147 	    q
 8148 	  }
 8149 	  /^X\(\/\/\)$/{
 8150 	    s//\1/
 8151 	    q
 8152 	  }
 8153 	  /^X\(\/\).*/{
 8154 	    s//\1/
 8155 	    q
 8156 	  }
 8157 	  s/.*/./; q'`
 8158       test -d "$as_dir" && break
 8159     done
 8160     test -z "$as_dirs" || eval "mkdir $as_dirs"
 8161   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 8162 
 8163 
 8164 } @%:@ as_fn_mkdir_p
 8165 if mkdir -p . 2>/dev/null; then
 8166   as_mkdir_p='mkdir -p "$as_dir"'
 8167 else
 8168   test -d ./-p && rmdir ./-p
 8169   as_mkdir_p=false
 8170 fi
 8171 
 8172 
 8173 @%:@ as_fn_executable_p FILE
 8174 @%:@ -----------------------
 8175 @%:@ Test if FILE is an executable regular file.
 8176 as_fn_executable_p ()
 8177 {
 8178   test -f "$1" && test -x "$1"
 8179 } @%:@ as_fn_executable_p
 8180 as_test_x='test -x'
 8181 as_executable_p=as_fn_executable_p
 8182 
 8183 # Sed expression to map a string onto a valid CPP name.
 8184 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 8185 
 8186 # Sed expression to map a string onto a valid variable name.
 8187 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 8188 
 8189 
 8190 exec 6>&1
 8191 ## ----------------------------------- ##
 8192 ## Main body of $CONFIG_STATUS script. ##
 8193 ## ----------------------------------- ##
 8194 _ASEOF
 8195 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 8196 
 8197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 8198 # Save the log message, to keep $0 and so on meaningful, and to
 8199 # report actual input values of CONFIG_FILES etc. instead of their
 8200 # values after options handling.
 8201 ac_log="
 8202 This file was extended by Citadel $as_me 931, which was
 8203 generated by GNU Autoconf 2.69.  Invocation command line was
 8204 
 8205   CONFIG_FILES    = $CONFIG_FILES
 8206   CONFIG_HEADERS  = $CONFIG_HEADERS
 8207   CONFIG_LINKS    = $CONFIG_LINKS
 8208   CONFIG_COMMANDS = $CONFIG_COMMANDS
 8209   $ $0 $@
 8210 
 8211 on `(hostname || uname -n) 2>/dev/null | sed 1q`
 8212 "
 8213 
 8214 _ACEOF
 8215 
 8216 case $ac_config_files in *"
 8217 "*) set x $ac_config_files; shift; ac_config_files=$*;;
 8218 esac
 8219 
 8220 case $ac_config_headers in *"
 8221 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 8222 esac
 8223 
 8224 
 8225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 8226 # Files that config.status was made for.
 8227 config_files="$ac_config_files"
 8228 config_headers="$ac_config_headers"
 8229 
 8230 _ACEOF
 8231 
 8232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 8233 ac_cs_usage="\
 8234 \`$as_me' instantiates files and other configuration actions
 8235 from templates according to the current configuration.  Unless the files
 8236 and actions are specified as TAGs, all are instantiated by default.
 8237 
 8238 Usage: $0 [OPTION]... [TAG]...
 8239 
 8240   -h, --help       print this help, then exit
 8241   -V, --version    print version number and configuration settings, then exit
 8242       --config     print configuration, then exit
 8243   -q, --quiet, --silent
 8244                    do not print progress messages
 8245   -d, --debug      don't remove temporary files
 8246       --recheck    update $as_me by reconfiguring in the same conditions
 8247       --file=FILE[:TEMPLATE] 
 8248                    instantiate the configuration file FILE
 8249       --header=FILE[:TEMPLATE] 
 8250                    instantiate the configuration header FILE
 8251 
 8252 Configuration files:
 8253 $config_files
 8254 
 8255 Configuration headers:
 8256 $config_headers
 8257 
 8258 Report bugs to <http://uncensored.citadel.org>."
 8259 
 8260 _ACEOF
 8261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 8262 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 8263 ac_cs_version="\\
 8264 Citadel config.status 931
 8265 configured by $0, generated by GNU Autoconf 2.69,
 8266   with options \\"\$ac_cs_config\\"
 8267 
 8268 Copyright (C) 2012 Free Software Foundation, Inc.
 8269 This config.status script is free software; the Free Software Foundation
 8270 gives unlimited permission to copy, distribute and modify it."
 8271 
 8272 ac_pwd='$ac_pwd'
 8273 srcdir='$srcdir'
 8274 INSTALL='$INSTALL'
 8275 test -n "\$AWK" || AWK=awk
 8276 _ACEOF
 8277 
 8278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 8279 # The default lists apply if the user does not specify any file.
 8280 ac_need_defaults=:
 8281 while test $# != 0
 8282 do
 8283   case $1 in
 8284   --*=?*)
 8285     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 8286     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 8287     ac_shift=:
 8288     ;;
 8289   --*=)
 8290     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 8291     ac_optarg=
 8292     ac_shift=:
 8293     ;;
 8294   *)
 8295     ac_option=$1
 8296     ac_optarg=$2
 8297     ac_shift=shift
 8298     ;;
 8299   esac
 8300 
 8301   case $ac_option in
 8302   # Handling of the options.
 8303   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 8304     ac_cs_recheck=: ;;
 8305   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 8306     $as_echo "$ac_cs_version"; exit ;;
 8307   --config | --confi | --conf | --con | --co | --c )
 8308     $as_echo "$ac_cs_config"; exit ;;
 8309   --debug | --debu | --deb | --de | --d | -d )
 8310     debug=: ;;
 8311   --file | --fil | --fi | --f )
 8312     $ac_shift
 8313     case $ac_optarg in
 8314     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 8315     '') as_fn_error $? "missing file argument" ;;
 8316     esac
 8317     as_fn_append CONFIG_FILES " '$ac_optarg'"
 8318     ac_need_defaults=false;;
 8319   --header | --heade | --head | --hea )
 8320     $ac_shift
 8321     case $ac_optarg in
 8322     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 8323     esac
 8324     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 8325     ac_need_defaults=false;;
 8326   --he | --h)
 8327     # Conflict between --help and --header
 8328     as_fn_error $? "ambiguous option: \`$1'
 8329 Try \`$0 --help' for more information.";;
 8330   --help | --hel | -h )
 8331     $as_echo "$ac_cs_usage"; exit ;;
 8332   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 8333   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 8334     ac_cs_silent=: ;;
 8335 
 8336   # This is an error.
 8337   -*) as_fn_error $? "unrecognized option: \`$1'
 8338 Try \`$0 --help' for more information." ;;
 8339 
 8340   *) as_fn_append ac_config_targets " $1"
 8341      ac_need_defaults=false ;;
 8342 
 8343   esac
 8344   shift
 8345 done
 8346 
 8347 ac_configure_extra_args=
 8348 
 8349 if $ac_cs_silent; then
 8350   exec 6>/dev/null
 8351   ac_configure_extra_args="$ac_configure_extra_args --silent"
 8352 fi
 8353 
 8354 _ACEOF
 8355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 8356 if \$ac_cs_recheck; then
 8357   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 8358   shift
 8359   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 8360   CONFIG_SHELL='$SHELL'
 8361   export CONFIG_SHELL
 8362   exec "\$@"
 8363 fi
 8364 
 8365 _ACEOF
 8366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 8367 exec 5>>config.log
 8368 {
 8369   echo
 8370   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 8371 @%:@@%:@ Running $as_me. @%:@@%:@
 8372 _ASBOX
 8373   $as_echo "$ac_log"
 8374 } >&5
 8375 
 8376 _ACEOF
 8377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 8378 _ACEOF
 8379 
 8380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 8381 
 8382 # Handling of arguments.
 8383 for ac_config_target in $ac_config_targets
 8384 do
 8385   case $ac_config_target in
 8386     "sysdep.h") CONFIG_HEADERS="$CONFIG_HEADERS sysdep.h" ;;
 8387     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 8388     "po/citadel-setup/Makefile") CONFIG_FILES="$CONFIG_FILES po/citadel-setup/Makefile" ;;
 8389 
 8390   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 8391   esac
 8392 done
 8393 
 8394 
 8395 # If the user did not use the arguments to specify the items to instantiate,
 8396 # then the envvar interface is used.  Set only those that are not.
 8397 # We use the long form for the default assignment because of an extremely
 8398 # bizarre bug on SunOS 4.1.3.
 8399 if $ac_need_defaults; then
 8400   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 8401   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 8402 fi
 8403 
 8404 # Have a temporary directory for convenience.  Make it in the build tree
 8405 # simply because there is no reason against having it here, and in addition,
 8406 # creating and moving files from /tmp can sometimes cause problems.
 8407 # Hook for its removal unless debugging.
 8408 # Note that there is a small window in which the directory will not be cleaned:
 8409 # after its creation but before its name has been assigned to `$tmp'.
 8410 $debug ||
 8411 {
 8412   tmp= ac_tmp=
 8413   trap 'exit_status=$?
 8414   : "${ac_tmp:=$tmp}"
 8415   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 8416 ' 0
 8417   trap 'as_fn_exit 1' 1 2 13 15
 8418 }
 8419 # Create a (secure) tmp directory for tmp files.
 8420 
 8421 {
 8422   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 8423   test -d "$tmp"
 8424 }  ||
 8425 {
 8426   tmp=./conf$$-$RANDOM
 8427   (umask 077 && mkdir "$tmp")
 8428 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 8429 ac_tmp=$tmp
 8430 
 8431 # Set up the scripts for CONFIG_FILES section.
 8432 # No need to generate them if there are no CONFIG_FILES.
 8433 # This happens for instance with `./config.status config.h'.
 8434 if test -n "$CONFIG_FILES"; then
 8435 
 8436 
 8437 ac_cr=`echo X | tr X '\015'`
 8438 # On cygwin, bash can eat \r inside `` if the user requested igncr.
 8439 # But we know of no other shell where ac_cr would be empty at this
 8440 # point, so we can use a bashism as a fallback.
 8441 if test "x$ac_cr" = x; then
 8442   eval ac_cr=\$\'\\r\'
 8443 fi
 8444 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 8445 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 8446   ac_cs_awk_cr='\\r'
 8447 else
 8448   ac_cs_awk_cr=$ac_cr
 8449 fi
 8450 
 8451 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 8452 _ACEOF
 8453 
 8454 
 8455 {
 8456   echo "cat >conf$$subs.awk <<_ACEOF" &&
 8457   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 8458   echo "_ACEOF"
 8459 } >conf$$subs.sh ||
 8460   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 8461 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 8462 ac_delim='%!_!# '
 8463 for ac_last_try in false false false false false :; do
 8464   . ./conf$$subs.sh ||
 8465     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 8466 
 8467   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 8468   if test $ac_delim_n = $ac_delim_num; then
 8469     break
 8470   elif $ac_last_try; then
 8471     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 8472   else
 8473     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 8474   fi
 8475 done
 8476 rm -f conf$$subs.sh
 8477 
 8478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 8479 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 8480 _ACEOF
 8481 sed -n '
 8482 h
 8483 s/^/S["/; s/!.*/"]=/
 8484 p
 8485 g
 8486 s/^[^!]*!//
 8487 :repl
 8488 t repl
 8489 s/'"$ac_delim"'$//
 8490 t delim
 8491 :nl
 8492 h
 8493 s/\(.\{148\}\)..*/\1/
 8494 t more1
 8495 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 8496 p
 8497 n
 8498 b repl
 8499 :more1
 8500 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 8501 p
 8502 g
 8503 s/.\{148\}//
 8504 t nl
 8505 :delim
 8506 h
 8507 s/\(.\{148\}\)..*/\1/
 8508 t more2
 8509 s/["\\]/\\&/g; s/^/"/; s/$/"/
 8510 p
 8511 b
 8512 :more2
 8513 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 8514 p
 8515 g
 8516 s/.\{148\}//
 8517 t delim
 8518 ' <conf$$subs.awk | sed '
 8519 /^[^""]/{
 8520   N
 8521   s/\n//
 8522 }
 8523 ' >>$CONFIG_STATUS || ac_write_fail=1
 8524 rm -f conf$$subs.awk
 8525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 8526 _ACAWK
 8527 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 8528   for (key in S) S_is_set[key] = 1
 8529   FS = ""
 8530 
 8531 }
 8532 {
 8533   line = $ 0
 8534   nfields = split(line, field, "@")
 8535   substed = 0
 8536   len = length(field[1])
 8537   for (i = 2; i < nfields; i++) {
 8538     key = field[i]
 8539     keylen = length(key)
 8540     if (S_is_set[key]) {
 8541       value = S[key]
 8542       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 8543       len += length(value) + length(field[++i])
 8544       substed = 1
 8545     } else
 8546       len += 1 + keylen
 8547   }
 8548 
 8549   print line
 8550 }
 8551 
 8552 _ACAWK
 8553 _ACEOF
 8554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 8555 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 8556   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 8557 else
 8558   cat
 8559 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 8560   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 8561 _ACEOF
 8562 
 8563 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 8564 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 8565 # trailing colons and then remove the whole line if VPATH becomes empty
 8566 # (actually we leave an empty line to preserve line numbers).
 8567 if test "x$srcdir" = x.; then
 8568   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
 8569 h
 8570 s///
 8571 s/^/:/
 8572 s/[	 ]*$/:/
 8573 s/:\$(srcdir):/:/g
 8574 s/:\${srcdir}:/:/g
 8575 s/:@srcdir@:/:/g
 8576 s/^:*//
 8577 s/:*$//
 8578 x
 8579 s/\(=[	 ]*\).*/\1/
 8580 G
 8581 s/\n//
 8582 s/^[^=]*=[	 ]*$//
 8583 }'
 8584 fi
 8585 
 8586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 8587 fi # test -n "$CONFIG_FILES"
 8588 
 8589 # Set up the scripts for CONFIG_HEADERS section.
 8590 # No need to generate them if there are no CONFIG_HEADERS.
 8591 # This happens for instance with `./config.status Makefile'.
 8592 if test -n "$CONFIG_HEADERS"; then
 8593 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 8594 BEGIN {
 8595 _ACEOF
 8596 
 8597 # Transform confdefs.h into an awk script `defines.awk', embedded as
 8598 # here-document in config.status, that substitutes the proper values into
 8599 # config.h.in to produce config.h.
 8600 
 8601 # Create a delimiter string that does not exist in confdefs.h, to ease
 8602 # handling of long lines.
 8603 ac_delim='%!_!# '
 8604 for ac_last_try in false false :; do
 8605   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 8606   if test -z "$ac_tt"; then
 8607     break
 8608   elif $ac_last_try; then
 8609     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 8610   else
 8611     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 8612   fi
 8613 done
 8614 
 8615 # For the awk script, D is an array of macro values keyed by name,
 8616 # likewise P contains macro parameters if any.  Preserve backslash
 8617 # newline sequences.
 8618 
 8619 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 8620 sed -n '
 8621 s/.\{148\}/&'"$ac_delim"'/g
 8622 t rset
 8623 :rset
 8624 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 8625 t def
 8626 d
 8627 :def
 8628 s/\\$//
 8629 t bsnl
 8630 s/["\\]/\\&/g
 8631 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 8632 D["\1"]=" \3"/p
 8633 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 8634 d
 8635 :bsnl
 8636 s/["\\]/\\&/g
 8637 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 8638 D["\1"]=" \3\\\\\\n"\\/p
 8639 t cont
 8640 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 8641 t cont
 8642 d
 8643 :cont
 8644 n
 8645 s/.\{148\}/&'"$ac_delim"'/g
 8646 t clear
 8647 :clear
 8648 s/\\$//
 8649 t bsnlc
 8650 s/["\\]/\\&/g; s/^/"/; s/$/"/p
 8651 d
 8652 :bsnlc
 8653 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 8654 b cont
 8655 ' <confdefs.h | sed '
 8656 s/'"$ac_delim"'/"\\\
 8657 "/g' >>$CONFIG_STATUS || ac_write_fail=1
 8658 
 8659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 8660   for (key in D) D_is_set[key] = 1
 8661   FS = ""
 8662 }
 8663 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 8664   line = \$ 0
 8665   split(line, arg, " ")
 8666   if (arg[1] == "#") {
 8667     defundef = arg[2]
 8668     mac1 = arg[3]
 8669   } else {
 8670     defundef = substr(arg[1], 2)
 8671     mac1 = arg[2]
 8672   }
 8673   split(mac1, mac2, "(") #)
 8674   macro = mac2[1]
 8675   prefix = substr(line, 1, index(line, defundef) - 1)
 8676   if (D_is_set[macro]) {
 8677     # Preserve the white space surrounding the "#".
 8678     print prefix "define", macro P[macro] D[macro]
 8679     next
 8680   } else {
 8681     # Replace #undef with comments.  This is necessary, for example,
 8682     # in the case of _POSIX_SOURCE, which is predefined and required
 8683     # on some systems where configure will not decide to define it.
 8684     if (defundef == "undef") {
 8685       print "/*", prefix defundef, macro, "*/"
 8686       next
 8687     }
 8688   }
 8689 }
 8690 { print }
 8691 _ACAWK
 8692 _ACEOF
 8693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 8694   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 8695 fi # test -n "$CONFIG_HEADERS"
 8696 
 8697 
 8698 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
 8699 shift
 8700 for ac_tag
 8701 do
 8702   case $ac_tag in
 8703   :[FHLC]) ac_mode=$ac_tag; continue;;
 8704   esac
 8705   case $ac_mode$ac_tag in
 8706   :[FHL]*:*);;
 8707   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 8708   :[FH]-) ac_tag=-:-;;
 8709   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 8710   esac
 8711   ac_save_IFS=$IFS
 8712   IFS=:
 8713   set x $ac_tag
 8714   IFS=$ac_save_IFS
 8715   shift
 8716   ac_file=$1
 8717   shift
 8718 
 8719   case $ac_mode in
 8720   :L) ac_source=$1;;
 8721   :[FH])
 8722     ac_file_inputs=
 8723     for ac_f
 8724     do
 8725       case $ac_f in
 8726       -) ac_f="$ac_tmp/stdin";;
 8727       *) # Look for the file first in the build tree, then in the source tree
 8728 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 8729 	 # because $ac_f cannot contain `:'.
 8730 	 test -f "$ac_f" ||
 8731 	   case $ac_f in
 8732 	   [\\/$]*) false;;
 8733 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 8734 	   esac ||
 8735 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 8736       esac
 8737       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 8738       as_fn_append ac_file_inputs " '$ac_f'"
 8739     done
 8740 
 8741     # Let's still pretend it is `configure' which instantiates (i.e., don't
 8742     # use $as_me), people would be surprised to read:
 8743     #    /* config.h.  Generated by config.status.  */
 8744     configure_input='Generated from '`
 8745 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 8746 	`' by configure.'
 8747     if test x"$ac_file" != x-; then
 8748       configure_input="$ac_file.  $configure_input"
 8749       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 8750 $as_echo "$as_me: creating $ac_file" >&6;}
 8751     fi
 8752     # Neutralize special characters interpreted by sed in replacement strings.
 8753     case $configure_input in #(
 8754     *\&* | *\|* | *\\* )
 8755        ac_sed_conf_input=`$as_echo "$configure_input" |
 8756        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 8757     *) ac_sed_conf_input=$configure_input;;
 8758     esac
 8759 
 8760     case $ac_tag in
 8761     *:-:* | *:-) cat >"$ac_tmp/stdin" \
 8762       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 8763     esac
 8764     ;;
 8765   esac
 8766 
 8767   ac_dir=`$as_dirname -- "$ac_file" ||
 8768 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 8769 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 8770 	 X"$ac_file" : 'X\(//\)$' \| \
 8771 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 8772 $as_echo X"$ac_file" |
 8773     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 8774 	    s//\1/
 8775 	    q
 8776 	  }
 8777 	  /^X\(\/\/\)[^/].*/{
 8778 	    s//\1/
 8779 	    q
 8780 	  }
 8781 	  /^X\(\/\/\)$/{
 8782 	    s//\1/
 8783 	    q
 8784 	  }
 8785 	  /^X\(\/\).*/{
 8786 	    s//\1/
 8787 	    q
 8788 	  }
 8789 	  s/.*/./; q'`
 8790   as_dir="$ac_dir"; as_fn_mkdir_p
 8791   ac_builddir=.
 8792 
 8793 case "$ac_dir" in
 8794 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 8795 *)
 8796   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 8797   # A ".." for each directory in $ac_dir_suffix.
 8798   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 8799   case $ac_top_builddir_sub in
 8800   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 8801   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 8802   esac ;;
 8803 esac
 8804 ac_abs_top_builddir=$ac_pwd
 8805 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 8806 # for backward compatibility:
 8807 ac_top_builddir=$ac_top_build_prefix
 8808 
 8809 case $srcdir in
 8810   .)  # We are building in place.
 8811     ac_srcdir=.
 8812     ac_top_srcdir=$ac_top_builddir_sub
 8813     ac_abs_top_srcdir=$ac_pwd ;;
 8814   [\\/]* | ?:[\\/]* )  # Absolute name.
 8815     ac_srcdir=$srcdir$ac_dir_suffix;
 8816     ac_top_srcdir=$srcdir
 8817     ac_abs_top_srcdir=$srcdir ;;
 8818   *) # Relative name.
 8819     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 8820     ac_top_srcdir=$ac_top_build_prefix$srcdir
 8821     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 8822 esac
 8823 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 8824 
 8825 
 8826   case $ac_mode in
 8827   :F)
 8828   #
 8829   # CONFIG_FILE
 8830   #
 8831 
 8832   case $INSTALL in
 8833   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 8834   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 8835   esac
 8836 _ACEOF
 8837 
 8838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 8839 # If the template does not know about datarootdir, expand it.
 8840 # FIXME: This hack should be removed a few years after 2.60.
 8841 ac_datarootdir_hack=; ac_datarootdir_seen=
 8842 ac_sed_dataroot='
 8843 /datarootdir/ {
 8844   p
 8845   q
 8846 }
 8847 /@datadir@/p
 8848 /@docdir@/p
 8849 /@infodir@/p
 8850 /@localedir@/p
 8851 /@mandir@/p'
 8852 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 8853 *datarootdir*) ac_datarootdir_seen=yes;;
 8854 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 8855   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 8856 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 8857 _ACEOF
 8858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 8859   ac_datarootdir_hack='
 8860   s&@datadir@&$datadir&g
 8861   s&@docdir@&$docdir&g
 8862   s&@infodir@&$infodir&g
 8863   s&@localedir@&$localedir&g
 8864   s&@mandir@&$mandir&g
 8865   s&\\\${datarootdir}&$datarootdir&g' ;;
 8866 esac
 8867 _ACEOF
 8868 
 8869 # Neutralize VPATH when `$srcdir' = `.'.
 8870 # Shell code in configure.ac might set extrasub.
 8871 # FIXME: do we really want to maintain this feature?
 8872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 8873 ac_sed_extra="$ac_vpsub
 8874 $extrasub
 8875 _ACEOF
 8876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 8877 :t
 8878 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 8879 s|@configure_input@|$ac_sed_conf_input|;t t
 8880 s&@top_builddir@&$ac_top_builddir_sub&;t t
 8881 s&@top_build_prefix@&$ac_top_build_prefix&;t t
 8882 s&@srcdir@&$ac_srcdir&;t t
 8883 s&@abs_srcdir@&$ac_abs_srcdir&;t t
 8884 s&@top_srcdir@&$ac_top_srcdir&;t t
 8885 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 8886 s&@builddir@&$ac_builddir&;t t
 8887 s&@abs_builddir@&$ac_abs_builddir&;t t
 8888 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 8889 s&@INSTALL@&$ac_INSTALL&;t t
 8890 $ac_datarootdir_hack
 8891 "
 8892 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 8893   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 8894 
 8895 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 8896   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 8897   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
 8898       "$ac_tmp/out"`; test -z "$ac_out"; } &&
 8899   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 8900 which seems to be undefined.  Please make sure it is defined" >&5
 8901 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 8902 which seems to be undefined.  Please make sure it is defined" >&2;}
 8903 
 8904   rm -f "$ac_tmp/stdin"
 8905   case $ac_file in
 8906   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 8907   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 8908   esac \
 8909   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 8910  ;;
 8911   :H)
 8912   #
 8913   # CONFIG_HEADER
 8914   #
 8915   if test x"$ac_file" != x-; then
 8916     {
 8917       $as_echo "/* $configure_input  */" \
 8918       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 8919     } >"$ac_tmp/config.h" \
 8920       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 8921     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 8922       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 8923 $as_echo "$as_me: $ac_file is unchanged" >&6;}
 8924     else
 8925       rm -f "$ac_file"
 8926       mv "$ac_tmp/config.h" "$ac_file" \
 8927 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
 8928     fi
 8929   else
 8930     $as_echo "/* $configure_input  */" \
 8931       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 8932       || as_fn_error $? "could not create -" "$LINENO" 5
 8933   fi
 8934  ;;
 8935   
 8936   
 8937   esac
 8938 
 8939 done # for ac_tag
 8940 
 8941 
 8942 as_fn_exit 0
 8943 _ACEOF
 8944 ac_clean_files=$ac_clean_files_save
 8945 
 8946 test $ac_write_fail = 0 ||
 8947   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 8948 
 8949 
 8950 # configure is writing to config.log, and then calls config.status.
 8951 # config.status does its own redirection, appending to config.log.
 8952 # Unfortunately, on DOS this fails, as config.log is still kept open
 8953 # by configure, so config.status won't be able to write to it; its
 8954 # output is simply discarded.  So we exec the FD to /dev/null,
 8955 # effectively closing config.log, so it can be properly (re)opened and
 8956 # appended to by config.status.  When coming back to configure, we
 8957 # need to make the FD available again.
 8958 if test "$no_create" != yes; then
 8959   ac_cs_success=:
 8960   ac_config_status_args=
 8961   test "$silent" = yes &&
 8962     ac_config_status_args="$ac_config_status_args --quiet"
 8963   exec 5>/dev/null
 8964   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 8965   exec 5>>config.log
 8966   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 8967   # would make configure fail if this is the last instruction.
 8968   $ac_cs_success || as_fn_exit 1
 8969 fi
 8970 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 8971   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 8972 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 8973 fi
 8974 
 8975 
 8976 if test -z "$DATABASE"; then
 8977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No database driver was found. Please install Berkeley DB." >&5
 8978 $as_echo "$as_me: WARNING: No database driver was found. Please install Berkeley DB." >&2;}
 8979 fi
 8980 
 8981 abs_srcdir="`cd $srcdir && pwd`"
 8982 abs_builddir="`pwd`"
 8983 if test "$abs_srcdir" != "$abs_builddir"; then
 8984    ln -sf $abs_srcdir/include $abs_builddir
 8985    ln -sf $abs_srcdir/Make_sources $abs_builddir
 8986    ln -sf $abs_srcdir/Make_modules $abs_builddir
 8987    for i in $abs_srcdir/*.h ; do
 8988       if test "$abs_srcdir/sysdep.h" != "$i"; then
 8989          ln -sf $i $abs_builddir
 8990       fi
 8991    done
 8992    for d in `/bin/ls $abs_srcdir/modules/`; do 
 8993 	(mkdir -p $abs_builddir/modules/$d) 
 8994    done
 8995    if test -d "$abs_srcdir/user_modules/"; then
 8996       for d in `/bin/ls $abs_srcdir/user_modules/`; do 
 8997       	(mkdir -p $abs_builddir/user_modules/$d) 
 8998    	done
 8999    fi
 9000    mkdir -p $abs_builddir/utils
 9001    mkdir -p $abs_builddir/utillib
 9002 fi
 9003 
 9004 if test -n "$srcdir"; then 
 9005    export srcdir=.
 9006 fi
 9007 
 9008 
 9009 echo ------------------------------------------------------------------------
 9010 echo 'Character set conversion support:' $ok_iconv
 9011 echo 
 9012 echo 'Note: if you are not using Linux, make sure you are using GNU make'
 9013 echo '(gmake) to compile Citadel.'
 9014 echo