Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for sessreg 1.0.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 exec 7<&0 </dev/null 6>&1
    577 
    578 # Name of the host.
    579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    580 # so uname gets run too.
    581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    582 
    583 #
    584 # Initializations.
    585 #
    586 ac_default_prefix=/usr/local
    587 ac_clean_files=
    588 ac_config_libobj_dir=.
    589 LIBOBJS=
    590 cross_compiling=no
    591 subdirs=
    592 MFLAGS=
    593 MAKEFLAGS=
    594 SHELL=${CONFIG_SHELL-/bin/sh}
    595 
    596 # Identity of this package.
    597 PACKAGE_NAME='sessreg'
    598 PACKAGE_TARNAME='sessreg'
    599 PACKAGE_VERSION='1.0.5'
    600 PACKAGE_STRING='sessreg 1.0.5'
    601 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    602 
    603 # Factoring default headers for most tests.
    604 ac_includes_default="\
    605 #include <stdio.h>
    606 #ifdef HAVE_SYS_TYPES_H
    607 # include <sys/types.h>
    608 #endif
    609 #ifdef HAVE_SYS_STAT_H
    610 # include <sys/stat.h>
    611 #endif
    612 #ifdef STDC_HEADERS
    613 # include <stdlib.h>
    614 # include <stddef.h>
    615 #else
    616 # ifdef HAVE_STDLIB_H
    617 #  include <stdlib.h>
    618 # endif
    619 #endif
    620 #ifdef HAVE_STRING_H
    621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    622 #  include <memory.h>
    623 # endif
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_STRINGS_H
    627 # include <strings.h>
    628 #endif
    629 #ifdef HAVE_INTTYPES_H
    630 # include <inttypes.h>
    631 #endif
    632 #ifdef HAVE_STDINT_H
    633 # include <stdint.h>
    634 #endif
    635 #ifdef HAVE_UNISTD_H
    636 # include <unistd.h>
    637 #endif"
    638 
    639 ac_subst_vars='am__EXEEXT_FALSE
    640 am__EXEEXT_TRUE
    641 LTLIBOBJS
    642 LIBOBJS
    643 LINT_FALSE
    644 LINT_TRUE
    645 LINT_FLAGS
    646 LINT
    647 SESSREG_LIBS
    648 SESSREG_CFLAGS
    649 PKG_CONFIG
    650 ADMIN_MAN_DIR
    651 DRIVER_MAN_DIR
    652 MISC_MAN_DIR
    653 FILE_MAN_DIR
    654 LIB_MAN_DIR
    655 APP_MAN_DIR
    656 ADMIN_MAN_SUFFIX
    657 DRIVER_MAN_SUFFIX
    658 MISC_MAN_SUFFIX
    659 FILE_MAN_SUFFIX
    660 LIB_MAN_SUFFIX
    661 APP_MAN_SUFFIX
    662 host_os
    663 host_vendor
    664 host_cpu
    665 host
    666 build_os
    667 build_vendor
    668 build_cpu
    669 build
    670 distcleancheck_listfiles
    671 CHANGELOG_CMD
    672 AM_BACKSLASH
    673 AM_DEFAULT_VERBOSITY
    674 CWARNFLAGS
    675 EGREP
    676 GREP
    677 CPP
    678 am__fastdepCC_FALSE
    679 am__fastdepCC_TRUE
    680 CCDEPMODE
    681 AMDEPBACKSLASH
    682 AMDEP_FALSE
    683 AMDEP_TRUE
    684 am__quote
    685 am__include
    686 DEPDIR
    687 OBJEXT
    688 EXEEXT
    689 ac_ct_CC
    690 CPPFLAGS
    691 LDFLAGS
    692 CFLAGS
    693 CC
    694 MAINT
    695 MAINTAINER_MODE_FALSE
    696 MAINTAINER_MODE_TRUE
    697 am__untar
    698 am__tar
    699 AMTAR
    700 am__leading_dot
    701 SET_MAKE
    702 AWK
    703 mkdir_p
    704 MKDIR_P
    705 INSTALL_STRIP_PROGRAM
    706 STRIP
    707 install_sh
    708 MAKEINFO
    709 AUTOHEADER
    710 AUTOMAKE
    711 AUTOCONF
    712 ACLOCAL
    713 VERSION
    714 PACKAGE
    715 CYGPATH_W
    716 am__isrc
    717 INSTALL_DATA
    718 INSTALL_SCRIPT
    719 INSTALL_PROGRAM
    720 target_alias
    721 host_alias
    722 build_alias
    723 LIBS
    724 ECHO_T
    725 ECHO_N
    726 ECHO_C
    727 DEFS
    728 mandir
    729 localedir
    730 libdir
    731 psdir
    732 pdfdir
    733 dvidir
    734 htmldir
    735 infodir
    736 docdir
    737 oldincludedir
    738 includedir
    739 localstatedir
    740 sharedstatedir
    741 sysconfdir
    742 datadir
    743 datarootdir
    744 libexecdir
    745 sbindir
    746 bindir
    747 program_transform_name
    748 prefix
    749 exec_prefix
    750 PACKAGE_BUGREPORT
    751 PACKAGE_STRING
    752 PACKAGE_VERSION
    753 PACKAGE_TARNAME
    754 PACKAGE_NAME
    755 PATH_SEPARATOR
    756 SHELL'
    757 ac_subst_files=''
    758 ac_user_opts='
    759 enable_option_checking
    760 enable_maintainer_mode
    761 enable_dependency_tracking
    762 enable_silent_rules
    763 enable_strict_compilation
    764 with_release_version
    765 enable_largefile
    766 with_lint
    767 '
    768       ac_precious_vars='build_alias
    769 host_alias
    770 target_alias
    771 CC
    772 CFLAGS
    773 LDFLAGS
    774 LIBS
    775 CPPFLAGS
    776 CPP
    777 PKG_CONFIG
    778 SESSREG_CFLAGS
    779 SESSREG_LIBS'
    780 
    781 
    782 # Initialize some variables set by options.
    783 ac_init_help=
    784 ac_init_version=false
    785 ac_unrecognized_opts=
    786 ac_unrecognized_sep=
    787 # The variables have the same names as the options, with
    788 # dashes changed to underlines.
    789 cache_file=/dev/null
    790 exec_prefix=NONE
    791 no_create=
    792 no_recursion=
    793 prefix=NONE
    794 program_prefix=NONE
    795 program_suffix=NONE
    796 program_transform_name=s,x,x,
    797 silent=
    798 site=
    799 srcdir=
    800 verbose=
    801 x_includes=NONE
    802 x_libraries=NONE
    803 
    804 # Installation directory options.
    805 # These are left unexpanded so users can "make install exec_prefix=/foo"
    806 # and all the variables that are supposed to be based on exec_prefix
    807 # by default will actually change.
    808 # Use braces instead of parens because sh, perl, etc. also accept them.
    809 # (The list follows the same order as the GNU Coding Standards.)
    810 bindir='${exec_prefix}/bin'
    811 sbindir='${exec_prefix}/sbin'
    812 libexecdir='${exec_prefix}/libexec'
    813 datarootdir='${prefix}/share'
    814 datadir='${datarootdir}'
    815 sysconfdir='${prefix}/etc'
    816 sharedstatedir='${prefix}/com'
    817 localstatedir='${prefix}/var'
    818 includedir='${prefix}/include'
    819 oldincludedir='/usr/include'
    820 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    821 infodir='${datarootdir}/info'
    822 htmldir='${docdir}'
    823 dvidir='${docdir}'
    824 pdfdir='${docdir}'
    825 psdir='${docdir}'
    826 libdir='${exec_prefix}/lib'
    827 localedir='${datarootdir}/locale'
    828 mandir='${datarootdir}/man'
    829 
    830 ac_prev=
    831 ac_dashdash=
    832 for ac_option
    833 do
    834   # If the previous option needs an argument, assign it.
    835   if test -n "$ac_prev"; then
    836     eval $ac_prev=\$ac_option
    837     ac_prev=
    838     continue
    839   fi
    840 
    841   case $ac_option in
    842   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    843   *)	ac_optarg=yes ;;
    844   esac
    845 
    846   # Accept the important Cygnus configure options, so we can diagnose typos.
    847 
    848   case $ac_dashdash$ac_option in
    849   --)
    850     ac_dashdash=yes ;;
    851 
    852   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    853     ac_prev=bindir ;;
    854   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    855     bindir=$ac_optarg ;;
    856 
    857   -build | --build | --buil | --bui | --bu)
    858     ac_prev=build_alias ;;
    859   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    860     build_alias=$ac_optarg ;;
    861 
    862   -cache-file | --cache-file | --cache-fil | --cache-fi \
    863   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    864     ac_prev=cache_file ;;
    865   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    866   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    867     cache_file=$ac_optarg ;;
    868 
    869   --config-cache | -C)
    870     cache_file=config.cache ;;
    871 
    872   -datadir | --datadir | --datadi | --datad)
    873     ac_prev=datadir ;;
    874   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    875     datadir=$ac_optarg ;;
    876 
    877   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    878   | --dataroo | --dataro | --datar)
    879     ac_prev=datarootdir ;;
    880   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    881   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    882     datarootdir=$ac_optarg ;;
    883 
    884   -disable-* | --disable-*)
    885     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    886     # Reject names that are not valid shell variable names.
    887     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    888       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    889    { (exit 1); exit 1; }; }
    890     ac_useropt_orig=$ac_useropt
    891     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    892     case $ac_user_opts in
    893       *"
    894 "enable_$ac_useropt"
    895 "*) ;;
    896       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    897 	 ac_unrecognized_sep=', ';;
    898     esac
    899     eval enable_$ac_useropt=no ;;
    900 
    901   -docdir | --docdir | --docdi | --doc | --do)
    902     ac_prev=docdir ;;
    903   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    904     docdir=$ac_optarg ;;
    905 
    906   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    907     ac_prev=dvidir ;;
    908   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    909     dvidir=$ac_optarg ;;
    910 
    911   -enable-* | --enable-*)
    912     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    913     # Reject names that are not valid shell variable names.
    914     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    915       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    916    { (exit 1); exit 1; }; }
    917     ac_useropt_orig=$ac_useropt
    918     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    919     case $ac_user_opts in
    920       *"
    921 "enable_$ac_useropt"
    922 "*) ;;
    923       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    924 	 ac_unrecognized_sep=', ';;
    925     esac
    926     eval enable_$ac_useropt=\$ac_optarg ;;
    927 
    928   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    929   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    930   | --exec | --exe | --ex)
    931     ac_prev=exec_prefix ;;
    932   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    933   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    934   | --exec=* | --exe=* | --ex=*)
    935     exec_prefix=$ac_optarg ;;
    936 
    937   -gas | --gas | --ga | --g)
    938     # Obsolete; use --with-gas.
    939     with_gas=yes ;;
    940 
    941   -help | --help | --hel | --he | -h)
    942     ac_init_help=long ;;
    943   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    944     ac_init_help=recursive ;;
    945   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    946     ac_init_help=short ;;
    947 
    948   -host | --host | --hos | --ho)
    949     ac_prev=host_alias ;;
    950   -host=* | --host=* | --hos=* | --ho=*)
    951     host_alias=$ac_optarg ;;
    952 
    953   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    954     ac_prev=htmldir ;;
    955   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    956   | --ht=*)
    957     htmldir=$ac_optarg ;;
    958 
    959   -includedir | --includedir | --includedi | --included | --include \
    960   | --includ | --inclu | --incl | --inc)
    961     ac_prev=includedir ;;
    962   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    963   | --includ=* | --inclu=* | --incl=* | --inc=*)
    964     includedir=$ac_optarg ;;
    965 
    966   -infodir | --infodir | --infodi | --infod | --info | --inf)
    967     ac_prev=infodir ;;
    968   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    969     infodir=$ac_optarg ;;
    970 
    971   -libdir | --libdir | --libdi | --libd)
    972     ac_prev=libdir ;;
    973   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    974     libdir=$ac_optarg ;;
    975 
    976   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    977   | --libexe | --libex | --libe)
    978     ac_prev=libexecdir ;;
    979   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    980   | --libexe=* | --libex=* | --libe=*)
    981     libexecdir=$ac_optarg ;;
    982 
    983   -localedir | --localedir | --localedi | --localed | --locale)
    984     ac_prev=localedir ;;
    985   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    986     localedir=$ac_optarg ;;
    987 
    988   -localstatedir | --localstatedir | --localstatedi | --localstated \
    989   | --localstate | --localstat | --localsta | --localst | --locals)
    990     ac_prev=localstatedir ;;
    991   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    992   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    993     localstatedir=$ac_optarg ;;
    994 
    995   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    996     ac_prev=mandir ;;
    997   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    998     mandir=$ac_optarg ;;
    999 
   1000   -nfp | --nfp | --nf)
   1001     # Obsolete; use --without-fp.
   1002     with_fp=no ;;
   1003 
   1004   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1005   | --no-cr | --no-c | -n)
   1006     no_create=yes ;;
   1007 
   1008   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1009   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1010     no_recursion=yes ;;
   1011 
   1012   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1013   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1014   | --oldin | --oldi | --old | --ol | --o)
   1015     ac_prev=oldincludedir ;;
   1016   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1017   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1018   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1019     oldincludedir=$ac_optarg ;;
   1020 
   1021   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1022     ac_prev=prefix ;;
   1023   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1024     prefix=$ac_optarg ;;
   1025 
   1026   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1027   | --program-pre | --program-pr | --program-p)
   1028     ac_prev=program_prefix ;;
   1029   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1030   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1031     program_prefix=$ac_optarg ;;
   1032 
   1033   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1034   | --program-suf | --program-su | --program-s)
   1035     ac_prev=program_suffix ;;
   1036   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1037   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1038     program_suffix=$ac_optarg ;;
   1039 
   1040   -program-transform-name | --program-transform-name \
   1041   | --program-transform-nam | --program-transform-na \
   1042   | --program-transform-n | --program-transform- \
   1043   | --program-transform | --program-transfor \
   1044   | --program-transfo | --program-transf \
   1045   | --program-trans | --program-tran \
   1046   | --progr-tra | --program-tr | --program-t)
   1047     ac_prev=program_transform_name ;;
   1048   -program-transform-name=* | --program-transform-name=* \
   1049   | --program-transform-nam=* | --program-transform-na=* \
   1050   | --program-transform-n=* | --program-transform-=* \
   1051   | --program-transform=* | --program-transfor=* \
   1052   | --program-transfo=* | --program-transf=* \
   1053   | --program-trans=* | --program-tran=* \
   1054   | --progr-tra=* | --program-tr=* | --program-t=*)
   1055     program_transform_name=$ac_optarg ;;
   1056 
   1057   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1058     ac_prev=pdfdir ;;
   1059   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1060     pdfdir=$ac_optarg ;;
   1061 
   1062   -psdir | --psdir | --psdi | --psd | --ps)
   1063     ac_prev=psdir ;;
   1064   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1065     psdir=$ac_optarg ;;
   1066 
   1067   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1068   | -silent | --silent | --silen | --sile | --sil)
   1069     silent=yes ;;
   1070 
   1071   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1072     ac_prev=sbindir ;;
   1073   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1074   | --sbi=* | --sb=*)
   1075     sbindir=$ac_optarg ;;
   1076 
   1077   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1078   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1079   | --sharedst | --shareds | --shared | --share | --shar \
   1080   | --sha | --sh)
   1081     ac_prev=sharedstatedir ;;
   1082   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1083   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1084   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1085   | --sha=* | --sh=*)
   1086     sharedstatedir=$ac_optarg ;;
   1087 
   1088   -site | --site | --sit)
   1089     ac_prev=site ;;
   1090   -site=* | --site=* | --sit=*)
   1091     site=$ac_optarg ;;
   1092 
   1093   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1094     ac_prev=srcdir ;;
   1095   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1096     srcdir=$ac_optarg ;;
   1097 
   1098   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1099   | --syscon | --sysco | --sysc | --sys | --sy)
   1100     ac_prev=sysconfdir ;;
   1101   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1102   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1103     sysconfdir=$ac_optarg ;;
   1104 
   1105   -target | --target | --targe | --targ | --tar | --ta | --t)
   1106     ac_prev=target_alias ;;
   1107   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1108     target_alias=$ac_optarg ;;
   1109 
   1110   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1111     verbose=yes ;;
   1112 
   1113   -version | --version | --versio | --versi | --vers | -V)
   1114     ac_init_version=: ;;
   1115 
   1116   -with-* | --with-*)
   1117     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1118     # Reject names that are not valid shell variable names.
   1119     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1120       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1121    { (exit 1); exit 1; }; }
   1122     ac_useropt_orig=$ac_useropt
   1123     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1124     case $ac_user_opts in
   1125       *"
   1126 "with_$ac_useropt"
   1127 "*) ;;
   1128       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1129 	 ac_unrecognized_sep=', ';;
   1130     esac
   1131     eval with_$ac_useropt=\$ac_optarg ;;
   1132 
   1133   -without-* | --without-*)
   1134     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1135     # Reject names that are not valid shell variable names.
   1136     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1137       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1138    { (exit 1); exit 1; }; }
   1139     ac_useropt_orig=$ac_useropt
   1140     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1141     case $ac_user_opts in
   1142       *"
   1143 "with_$ac_useropt"
   1144 "*) ;;
   1145       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1146 	 ac_unrecognized_sep=', ';;
   1147     esac
   1148     eval with_$ac_useropt=no ;;
   1149 
   1150   --x)
   1151     # Obsolete; use --with-x.
   1152     with_x=yes ;;
   1153 
   1154   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1155   | --x-incl | --x-inc | --x-in | --x-i)
   1156     ac_prev=x_includes ;;
   1157   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1158   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1159     x_includes=$ac_optarg ;;
   1160 
   1161   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1162   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1163     ac_prev=x_libraries ;;
   1164   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1165   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1166     x_libraries=$ac_optarg ;;
   1167 
   1168   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1169 Try \`$0 --help' for more information." >&2
   1170    { (exit 1); exit 1; }; }
   1171     ;;
   1172 
   1173   *=*)
   1174     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1175     # Reject names that are not valid shell variable names.
   1176     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1177       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1178    { (exit 1); exit 1; }; }
   1179     eval $ac_envvar=\$ac_optarg
   1180     export $ac_envvar ;;
   1181 
   1182   *)
   1183     # FIXME: should be removed in autoconf 3.0.
   1184     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1185     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1186       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1187     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1188     ;;
   1189 
   1190   esac
   1191 done
   1192 
   1193 if test -n "$ac_prev"; then
   1194   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1195   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1196    { (exit 1); exit 1; }; }
   1197 fi
   1198 
   1199 if test -n "$ac_unrecognized_opts"; then
   1200   case $enable_option_checking in
   1201     no) ;;
   1202     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1203    { (exit 1); exit 1; }; } ;;
   1204     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1205   esac
   1206 fi
   1207 
   1208 # Check all directory arguments for consistency.
   1209 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1210 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1211 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1212 		libdir localedir mandir
   1213 do
   1214   eval ac_val=\$$ac_var
   1215   # Remove trailing slashes.
   1216   case $ac_val in
   1217     */ )
   1218       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1219       eval $ac_var=\$ac_val;;
   1220   esac
   1221   # Be sure to have absolute directory names.
   1222   case $ac_val in
   1223     [\\/$]* | ?:[\\/]* )  continue;;
   1224     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1225   esac
   1226   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1227    { (exit 1); exit 1; }; }
   1228 done
   1229 
   1230 # There might be people who depend on the old broken behavior: `$host'
   1231 # used to hold the argument of --host etc.
   1232 # FIXME: To remove some day.
   1233 build=$build_alias
   1234 host=$host_alias
   1235 target=$target_alias
   1236 
   1237 # FIXME: To remove some day.
   1238 if test "x$host_alias" != x; then
   1239   if test "x$build_alias" = x; then
   1240     cross_compiling=maybe
   1241     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1242     If a cross compiler is detected then cross compile mode will be used." >&2
   1243   elif test "x$build_alias" != "x$host_alias"; then
   1244     cross_compiling=yes
   1245   fi
   1246 fi
   1247 
   1248 ac_tool_prefix=
   1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1250 
   1251 test "$silent" = yes && exec 6>/dev/null
   1252 
   1253 
   1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1255 ac_ls_di=`ls -di .` &&
   1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1257   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1258    { (exit 1); exit 1; }; }
   1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1260   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1261    { (exit 1); exit 1; }; }
   1262 
   1263 
   1264 # Find the source files, if location was not specified.
   1265 if test -z "$srcdir"; then
   1266   ac_srcdir_defaulted=yes
   1267   # Try the directory containing this script, then the parent directory.
   1268   ac_confdir=`$as_dirname -- "$as_myself" ||
   1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1270 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1271 	 X"$as_myself" : 'X\(//\)$' \| \
   1272 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1273 $as_echo X"$as_myself" |
   1274     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1275 	    s//\1/
   1276 	    q
   1277 	  }
   1278 	  /^X\(\/\/\)[^/].*/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\/\)$/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  /^X\(\/\).*/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  s/.*/./; q'`
   1291   srcdir=$ac_confdir
   1292   if test ! -r "$srcdir/$ac_unique_file"; then
   1293     srcdir=..
   1294   fi
   1295 else
   1296   ac_srcdir_defaulted=no
   1297 fi
   1298 if test ! -r "$srcdir/$ac_unique_file"; then
   1299   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1300   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1301    { (exit 1); exit 1; }; }
   1302 fi
   1303 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1304 ac_abs_confdir=`(
   1305 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1306    { (exit 1); exit 1; }; }
   1307 	pwd)`
   1308 # When building in place, set srcdir=.
   1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1310   srcdir=.
   1311 fi
   1312 # Remove unnecessary trailing slashes from srcdir.
   1313 # Double slashes in file names in object file debugging info
   1314 # mess up M-x gdb in Emacs.
   1315 case $srcdir in
   1316 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1317 esac
   1318 for ac_var in $ac_precious_vars; do
   1319   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1320   eval ac_env_${ac_var}_value=\$${ac_var}
   1321   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1322   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1323 done
   1324 
   1325 #
   1326 # Report the --help message.
   1327 #
   1328 if test "$ac_init_help" = "long"; then
   1329   # Omit some internal or obsolete options to make the list less imposing.
   1330   # This message is too long to be a string in the A/UX 3.1 sh.
   1331   cat <<_ACEOF
   1332 \`configure' configures sessreg 1.0.5 to adapt to many kinds of systems.
   1333 
   1334 Usage: $0 [OPTION]... [VAR=VALUE]...
   1335 
   1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1337 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1338 
   1339 Defaults for the options are specified in brackets.
   1340 
   1341 Configuration:
   1342   -h, --help              display this help and exit
   1343       --help=short        display options specific to this package
   1344       --help=recursive    display the short help of all the included packages
   1345   -V, --version           display version information and exit
   1346   -q, --quiet, --silent   do not print \`checking...' messages
   1347       --cache-file=FILE   cache test results in FILE [disabled]
   1348   -C, --config-cache      alias for \`--cache-file=config.cache'
   1349   -n, --no-create         do not create output files
   1350       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1351 
   1352 Installation directories:
   1353   --prefix=PREFIX         install architecture-independent files in PREFIX
   1354                           [$ac_default_prefix]
   1355   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1356                           [PREFIX]
   1357 
   1358 By default, \`make install' will install all the files in
   1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1361 for instance \`--prefix=\$HOME'.
   1362 
   1363 For better control, use the options below.
   1364 
   1365 Fine tuning of the installation directories:
   1366   --bindir=DIR            user executables [EPREFIX/bin]
   1367   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1368   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1369   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1370   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1371   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1372   --libdir=DIR            object code libraries [EPREFIX/lib]
   1373   --includedir=DIR        C header files [PREFIX/include]
   1374   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1375   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1376   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1377   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1378   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1379   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1380   --docdir=DIR            documentation root [DATAROOTDIR/doc/sessreg]
   1381   --htmldir=DIR           html documentation [DOCDIR]
   1382   --dvidir=DIR            dvi documentation [DOCDIR]
   1383   --pdfdir=DIR            pdf documentation [DOCDIR]
   1384   --psdir=DIR             ps documentation [DOCDIR]
   1385 _ACEOF
   1386 
   1387   cat <<\_ACEOF
   1388 
   1389 Program names:
   1390   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1391   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1392   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1393 
   1394 System types:
   1395   --build=BUILD     configure for building on BUILD [guessed]
   1396   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1397 _ACEOF
   1398 fi
   1399 
   1400 if test -n "$ac_init_help"; then
   1401   case $ac_init_help in
   1402      short | recursive ) echo "Configuration of sessreg 1.0.5:";;
   1403    esac
   1404   cat <<\_ACEOF
   1405 
   1406 Optional Features:
   1407   --disable-option-checking  ignore unrecognized --enable/--with options
   1408   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1409   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1410   --enable-maintainer-mode  enable make rules and dependencies not useful
   1411 			  (and sometimes confusing) to the casual installer
   1412   --disable-dependency-tracking  speeds up one-time build
   1413   --enable-dependency-tracking   do not reject slow dependency extractors
   1414   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1415   --disable-silent-rules         verbose build output (undo: `make V=0')
   1416   --enable-strict-compilation
   1417                           Enable all warnings from compiler and make them
   1418                           errors (default: disabled)
   1419   --disable-largefile     omit support for large files
   1420 
   1421 Optional Packages:
   1422   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1423   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1424   --with-release-version=STRING
   1425                           Use release version string in package name
   1426   --with-lint             Use a lint-style source code checker (default:
   1427                           disabled)
   1428 
   1429 Some influential environment variables:
   1430   CC          C compiler command
   1431   CFLAGS      C compiler flags
   1432   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1433               nonstandard directory <lib dir>
   1434   LIBS        libraries to pass to the linker, e.g. -l<library>
   1435   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1436               you have headers in a nonstandard directory <include dir>
   1437   CPP         C preprocessor
   1438   PKG_CONFIG  path to pkg-config utility
   1439   SESSREG_CFLAGS
   1440               C compiler flags for SESSREG, overriding pkg-config
   1441   SESSREG_LIBS
   1442               linker flags for SESSREG, overriding pkg-config
   1443 
   1444 Use these variables to override the choices made by `configure' or to help
   1445 it to find libraries and programs with nonstandard names/locations.
   1446 
   1447 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1448 _ACEOF
   1449 ac_status=$?
   1450 fi
   1451 
   1452 if test "$ac_init_help" = "recursive"; then
   1453   # If there are subdirs, report their specific --help.
   1454   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1455     test -d "$ac_dir" ||
   1456       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1457       continue
   1458     ac_builddir=.
   1459 
   1460 case "$ac_dir" in
   1461 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1462 *)
   1463   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1464   # A ".." for each directory in $ac_dir_suffix.
   1465   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1466   case $ac_top_builddir_sub in
   1467   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1468   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1469   esac ;;
   1470 esac
   1471 ac_abs_top_builddir=$ac_pwd
   1472 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1473 # for backward compatibility:
   1474 ac_top_builddir=$ac_top_build_prefix
   1475 
   1476 case $srcdir in
   1477   .)  # We are building in place.
   1478     ac_srcdir=.
   1479     ac_top_srcdir=$ac_top_builddir_sub
   1480     ac_abs_top_srcdir=$ac_pwd ;;
   1481   [\\/]* | ?:[\\/]* )  # Absolute name.
   1482     ac_srcdir=$srcdir$ac_dir_suffix;
   1483     ac_top_srcdir=$srcdir
   1484     ac_abs_top_srcdir=$srcdir ;;
   1485   *) # Relative name.
   1486     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1487     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1488     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1489 esac
   1490 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1491 
   1492     cd "$ac_dir" || { ac_status=$?; continue; }
   1493     # Check for guested configure.
   1494     if test -f "$ac_srcdir/configure.gnu"; then
   1495       echo &&
   1496       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1497     elif test -f "$ac_srcdir/configure"; then
   1498       echo &&
   1499       $SHELL "$ac_srcdir/configure" --help=recursive
   1500     else
   1501       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1502     fi || ac_status=$?
   1503     cd "$ac_pwd" || { ac_status=$?; break; }
   1504   done
   1505 fi
   1506 
   1507 test -n "$ac_init_help" && exit $ac_status
   1508 if $ac_init_version; then
   1509   cat <<\_ACEOF
   1510 sessreg configure 1.0.5
   1511 generated by GNU Autoconf 2.63
   1512 
   1513 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1514 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1515 This configure script is free software; the Free Software Foundation
   1516 gives unlimited permission to copy, distribute and modify it.
   1517 _ACEOF
   1518   exit
   1519 fi
   1520 cat >config.log <<_ACEOF
   1521 This file contains any messages produced by compilers while
   1522 running configure, to aid debugging if configure makes a mistake.
   1523 
   1524 It was created by sessreg $as_me 1.0.5, which was
   1525 generated by GNU Autoconf 2.63.  Invocation command line was
   1526 
   1527   $ $0 $@
   1528 
   1529 _ACEOF
   1530 exec 5>>config.log
   1531 {
   1532 cat <<_ASUNAME
   1533 ## --------- ##
   1534 ## Platform. ##
   1535 ## --------- ##
   1536 
   1537 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1538 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1539 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1540 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1541 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1542 
   1543 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1544 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1545 
   1546 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1547 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1548 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1549 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1550 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1551 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1552 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1553 
   1554 _ASUNAME
   1555 
   1556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1557 for as_dir in $PATH
   1558 do
   1559   IFS=$as_save_IFS
   1560   test -z "$as_dir" && as_dir=.
   1561   $as_echo "PATH: $as_dir"
   1562 done
   1563 IFS=$as_save_IFS
   1564 
   1565 } >&5
   1566 
   1567 cat >&5 <<_ACEOF
   1568 
   1569 
   1570 ## ----------- ##
   1571 ## Core tests. ##
   1572 ## ----------- ##
   1573 
   1574 _ACEOF
   1575 
   1576 
   1577 # Keep a trace of the command line.
   1578 # Strip out --no-create and --no-recursion so they do not pile up.
   1579 # Strip out --silent because we don't want to record it for future runs.
   1580 # Also quote any args containing shell meta-characters.
   1581 # Make two passes to allow for proper duplicate-argument suppression.
   1582 ac_configure_args=
   1583 ac_configure_args0=
   1584 ac_configure_args1=
   1585 ac_must_keep_next=false
   1586 for ac_pass in 1 2
   1587 do
   1588   for ac_arg
   1589   do
   1590     case $ac_arg in
   1591     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1592     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1593     | -silent | --silent | --silen | --sile | --sil)
   1594       continue ;;
   1595     *\'*)
   1596       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1597     esac
   1598     case $ac_pass in
   1599     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1600     2)
   1601       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1602       if test $ac_must_keep_next = true; then
   1603 	ac_must_keep_next=false # Got value, back to normal.
   1604       else
   1605 	case $ac_arg in
   1606 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1607 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1608 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1609 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1610 	    case "$ac_configure_args0 " in
   1611 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1612 	    esac
   1613 	    ;;
   1614 	  -* ) ac_must_keep_next=true ;;
   1615 	esac
   1616       fi
   1617       ac_configure_args="$ac_configure_args '$ac_arg'"
   1618       ;;
   1619     esac
   1620   done
   1621 done
   1622 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1623 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1624 
   1625 # When interrupted or exit'd, cleanup temporary files, and complete
   1626 # config.log.  We remove comments because anyway the quotes in there
   1627 # would cause problems or look ugly.
   1628 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1629 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1630 trap 'exit_status=$?
   1631   # Save into config.log some information that might help in debugging.
   1632   {
   1633     echo
   1634 
   1635     cat <<\_ASBOX
   1636 ## ---------------- ##
   1637 ## Cache variables. ##
   1638 ## ---------------- ##
   1639 _ASBOX
   1640     echo
   1641     # The following way of writing the cache mishandles newlines in values,
   1642 (
   1643   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1644     eval ac_val=\$$ac_var
   1645     case $ac_val in #(
   1646     *${as_nl}*)
   1647       case $ac_var in #(
   1648       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1649 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1650       esac
   1651       case $ac_var in #(
   1652       _ | IFS | as_nl) ;; #(
   1653       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1654       *) $as_unset $ac_var ;;
   1655       esac ;;
   1656     esac
   1657   done
   1658   (set) 2>&1 |
   1659     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1660     *${as_nl}ac_space=\ *)
   1661       sed -n \
   1662 	"s/'\''/'\''\\\\'\'''\''/g;
   1663 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1664       ;; #(
   1665     *)
   1666       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1667       ;;
   1668     esac |
   1669     sort
   1670 )
   1671     echo
   1672 
   1673     cat <<\_ASBOX
   1674 ## ----------------- ##
   1675 ## Output variables. ##
   1676 ## ----------------- ##
   1677 _ASBOX
   1678     echo
   1679     for ac_var in $ac_subst_vars
   1680     do
   1681       eval ac_val=\$$ac_var
   1682       case $ac_val in
   1683       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1684       esac
   1685       $as_echo "$ac_var='\''$ac_val'\''"
   1686     done | sort
   1687     echo
   1688 
   1689     if test -n "$ac_subst_files"; then
   1690       cat <<\_ASBOX
   1691 ## ------------------- ##
   1692 ## File substitutions. ##
   1693 ## ------------------- ##
   1694 _ASBOX
   1695       echo
   1696       for ac_var in $ac_subst_files
   1697       do
   1698 	eval ac_val=\$$ac_var
   1699 	case $ac_val in
   1700 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1701 	esac
   1702 	$as_echo "$ac_var='\''$ac_val'\''"
   1703       done | sort
   1704       echo
   1705     fi
   1706 
   1707     if test -s confdefs.h; then
   1708       cat <<\_ASBOX
   1709 ## ----------- ##
   1710 ## confdefs.h. ##
   1711 ## ----------- ##
   1712 _ASBOX
   1713       echo
   1714       cat confdefs.h
   1715       echo
   1716     fi
   1717     test "$ac_signal" != 0 &&
   1718       $as_echo "$as_me: caught signal $ac_signal"
   1719     $as_echo "$as_me: exit $exit_status"
   1720   } >&5
   1721   rm -f core *.core core.conftest.* &&
   1722     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1723     exit $exit_status
   1724 ' 0
   1725 for ac_signal in 1 2 13 15; do
   1726   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1727 done
   1728 ac_signal=0
   1729 
   1730 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1731 rm -f -r conftest* confdefs.h
   1732 
   1733 # Predefined preprocessor variables.
   1734 
   1735 cat >>confdefs.h <<_ACEOF
   1736 #define PACKAGE_NAME "$PACKAGE_NAME"
   1737 _ACEOF
   1738 
   1739 
   1740 cat >>confdefs.h <<_ACEOF
   1741 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1742 _ACEOF
   1743 
   1744 
   1745 cat >>confdefs.h <<_ACEOF
   1746 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1747 _ACEOF
   1748 
   1749 
   1750 cat >>confdefs.h <<_ACEOF
   1751 #define PACKAGE_STRING "$PACKAGE_STRING"
   1752 _ACEOF
   1753 
   1754 
   1755 cat >>confdefs.h <<_ACEOF
   1756 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1757 _ACEOF
   1758 
   1759 
   1760 # Let the site file select an alternate cache file if it wants to.
   1761 # Prefer an explicitly selected file to automatically selected ones.
   1762 ac_site_file1=NONE
   1763 ac_site_file2=NONE
   1764 if test -n "$CONFIG_SITE"; then
   1765   ac_site_file1=$CONFIG_SITE
   1766 elif test "x$prefix" != xNONE; then
   1767   ac_site_file1=$prefix/share/config.site
   1768   ac_site_file2=$prefix/etc/config.site
   1769 else
   1770   ac_site_file1=$ac_default_prefix/share/config.site
   1771   ac_site_file2=$ac_default_prefix/etc/config.site
   1772 fi
   1773 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1774 do
   1775   test "x$ac_site_file" = xNONE && continue
   1776   if test -r "$ac_site_file"; then
   1777     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1778 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1779     sed 's/^/| /' "$ac_site_file" >&5
   1780     . "$ac_site_file"
   1781   fi
   1782 done
   1783 
   1784 if test -r "$cache_file"; then
   1785   # Some versions of bash will fail to source /dev/null (special
   1786   # files actually), so we avoid doing that.
   1787   if test -f "$cache_file"; then
   1788     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1789 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1790     case $cache_file in
   1791       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1792       *)                      . "./$cache_file";;
   1793     esac
   1794   fi
   1795 else
   1796   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1797 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1798   >$cache_file
   1799 fi
   1800 
   1801 # Check that the precious variables saved in the cache have kept the same
   1802 # value.
   1803 ac_cache_corrupted=false
   1804 for ac_var in $ac_precious_vars; do
   1805   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1806   eval ac_new_set=\$ac_env_${ac_var}_set
   1807   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1808   eval ac_new_val=\$ac_env_${ac_var}_value
   1809   case $ac_old_set,$ac_new_set in
   1810     set,)
   1811       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1812 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1813       ac_cache_corrupted=: ;;
   1814     ,set)
   1815       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1816 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1817       ac_cache_corrupted=: ;;
   1818     ,);;
   1819     *)
   1820       if test "x$ac_old_val" != "x$ac_new_val"; then
   1821 	# differences in whitespace do not lead to failure.
   1822 	ac_old_val_w=`echo x $ac_old_val`
   1823 	ac_new_val_w=`echo x $ac_new_val`
   1824 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   1825 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1826 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1827 	  ac_cache_corrupted=:
   1828 	else
   1829 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   1830 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   1831 	  eval $ac_var=\$ac_old_val
   1832 	fi
   1833 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   1834 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   1835 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   1836 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   1837       fi;;
   1838   esac
   1839   # Pass precious variables to config.status.
   1840   if test "$ac_new_set" = set; then
   1841     case $ac_new_val in
   1842     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1843     *) ac_arg=$ac_var=$ac_new_val ;;
   1844     esac
   1845     case " $ac_configure_args " in
   1846       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1847       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1848     esac
   1849   fi
   1850 done
   1851 if $ac_cache_corrupted; then
   1852   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   1853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1854   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1855 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1856   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1857 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1858    { (exit 1); exit 1; }; }
   1859 fi
   1860 
   1861 
   1862 
   1863 
   1864 
   1865 
   1866 
   1867 
   1868 
   1869 
   1870 
   1871 
   1872 
   1873 
   1874 
   1875 
   1876 
   1877 
   1878 
   1879 
   1880 
   1881 
   1882 
   1883 
   1884 
   1885 ac_ext=c
   1886 ac_cpp='$CPP $CPPFLAGS'
   1887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1890 
   1891 
   1892 am__api_version='1.11'
   1893 
   1894 ac_aux_dir=
   1895 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1896   if test -f "$ac_dir/install-sh"; then
   1897     ac_aux_dir=$ac_dir
   1898     ac_install_sh="$ac_aux_dir/install-sh -c"
   1899     break
   1900   elif test -f "$ac_dir/install.sh"; then
   1901     ac_aux_dir=$ac_dir
   1902     ac_install_sh="$ac_aux_dir/install.sh -c"
   1903     break
   1904   elif test -f "$ac_dir/shtool"; then
   1905     ac_aux_dir=$ac_dir
   1906     ac_install_sh="$ac_aux_dir/shtool install -c"
   1907     break
   1908   fi
   1909 done
   1910 if test -z "$ac_aux_dir"; then
   1911   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   1912 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   1913    { (exit 1); exit 1; }; }
   1914 fi
   1915 
   1916 # These three variables are undocumented and unsupported,
   1917 # and are intended to be withdrawn in a future Autoconf release.
   1918 # They can cause serious problems if a builder's source tree is in a directory
   1919 # whose full name contains unusual characters.
   1920 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1921 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1922 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1923 
   1924 
   1925 # Find a good install program.  We prefer a C program (faster),
   1926 # so one script is as good as another.  But avoid the broken or
   1927 # incompatible versions:
   1928 # SysV /etc/install, /usr/sbin/install
   1929 # SunOS /usr/etc/install
   1930 # IRIX /sbin/install
   1931 # AIX /bin/install
   1932 # AmigaOS /C/install, which installs bootblocks on floppy discs
   1933 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1934 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1935 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1936 # OS/2's system install, which has a completely different semantic
   1937 # ./install, which can be erroneously created by make from ./install.sh.
   1938 # Reject install programs that cannot install multiple files.
   1939 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1940 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   1941 if test -z "$INSTALL"; then
   1942 if test "${ac_cv_path_install+set}" = set; then
   1943   $as_echo_n "(cached) " >&6
   1944 else
   1945   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1946 for as_dir in $PATH
   1947 do
   1948   IFS=$as_save_IFS
   1949   test -z "$as_dir" && as_dir=.
   1950   # Account for people who put trailing slashes in PATH elements.
   1951 case $as_dir/ in
   1952   ./ | .// | /cC/* | \
   1953   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   1954   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   1955   /usr/ucb/* ) ;;
   1956   *)
   1957     # OSF1 and SCO ODT 3.0 have their own names for install.
   1958     # Don't use installbsd from OSF since it installs stuff as root
   1959     # by default.
   1960     for ac_prog in ginstall scoinst install; do
   1961       for ac_exec_ext in '' $ac_executable_extensions; do
   1962 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   1963 	  if test $ac_prog = install &&
   1964 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1965 	    # AIX install.  It has an incompatible calling convention.
   1966 	    :
   1967 	  elif test $ac_prog = install &&
   1968 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1969 	    # program-specific install script used by HP pwplus--don't use.
   1970 	    :
   1971 	  else
   1972 	    rm -rf conftest.one conftest.two conftest.dir
   1973 	    echo one > conftest.one
   1974 	    echo two > conftest.two
   1975 	    mkdir conftest.dir
   1976 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   1977 	      test -s conftest.one && test -s conftest.two &&
   1978 	      test -s conftest.dir/conftest.one &&
   1979 	      test -s conftest.dir/conftest.two
   1980 	    then
   1981 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   1982 	      break 3
   1983 	    fi
   1984 	  fi
   1985 	fi
   1986       done
   1987     done
   1988     ;;
   1989 esac
   1990 
   1991 done
   1992 IFS=$as_save_IFS
   1993 
   1994 rm -rf conftest.one conftest.two conftest.dir
   1995 
   1996 fi
   1997   if test "${ac_cv_path_install+set}" = set; then
   1998     INSTALL=$ac_cv_path_install
   1999   else
   2000     # As a last resort, use the slow shell script.  Don't cache a
   2001     # value for INSTALL within a source directory, because that will
   2002     # break other packages using the cache if that directory is
   2003     # removed, or if the value is a relative name.
   2004     INSTALL=$ac_install_sh
   2005   fi
   2006 fi
   2007 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2008 $as_echo "$INSTALL" >&6; }
   2009 
   2010 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2011 # It thinks the first close brace ends the variable substitution.
   2012 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2013 
   2014 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2015 
   2016 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2017 
   2018 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2019 $as_echo_n "checking whether build environment is sane... " >&6; }
   2020 # Just in case
   2021 sleep 1
   2022 echo timestamp > conftest.file
   2023 # Reject unsafe characters in $srcdir or the absolute working directory
   2024 # name.  Accept space and tab only in the latter.
   2025 am_lf='
   2026 '
   2027 case `pwd` in
   2028   *[\\\"\#\$\&\'\`$am_lf]*)
   2029     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2030 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2031    { (exit 1); exit 1; }; };;
   2032 esac
   2033 case $srcdir in
   2034   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2035     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2036 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2037    { (exit 1); exit 1; }; };;
   2038 esac
   2039 
   2040 # Do `set' in a subshell so we don't clobber the current shell's
   2041 # arguments.  Must try -L first in case configure is actually a
   2042 # symlink; some systems play weird games with the mod time of symlinks
   2043 # (eg FreeBSD returns the mod time of the symlink's containing
   2044 # directory).
   2045 if (
   2046    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2047    if test "$*" = "X"; then
   2048       # -L didn't work.
   2049       set X `ls -t "$srcdir/configure" conftest.file`
   2050    fi
   2051    rm -f conftest.file
   2052    if test "$*" != "X $srcdir/configure conftest.file" \
   2053       && test "$*" != "X conftest.file $srcdir/configure"; then
   2054 
   2055       # If neither matched, then we have a broken ls.  This can happen
   2056       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2057       # broken ls alias from the environment.  This has actually
   2058       # happened.  Such a system could not be considered "sane".
   2059       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2060 alias in your environment" >&5
   2061 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2062 alias in your environment" >&2;}
   2063    { (exit 1); exit 1; }; }
   2064    fi
   2065 
   2066    test "$2" = conftest.file
   2067    )
   2068 then
   2069    # Ok.
   2070    :
   2071 else
   2072    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2073 Check your system clock" >&5
   2074 $as_echo "$as_me: error: newly created file is older than distributed files!
   2075 Check your system clock" >&2;}
   2076    { (exit 1); exit 1; }; }
   2077 fi
   2078 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2079 $as_echo "yes" >&6; }
   2080 test "$program_prefix" != NONE &&
   2081   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2082 # Use a double $ so make ignores it.
   2083 test "$program_suffix" != NONE &&
   2084   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2085 # Double any \ or $.
   2086 # By default was `s,x,x', remove it if useless.
   2087 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2088 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2089 
   2090 # expand $ac_aux_dir to an absolute path
   2091 am_aux_dir=`cd $ac_aux_dir && pwd`
   2092 
   2093 if test x"${MISSING+set}" != xset; then
   2094   case $am_aux_dir in
   2095   *\ * | *\	*)
   2096     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2097   *)
   2098     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2099   esac
   2100 fi
   2101 # Use eval to expand $SHELL
   2102 if eval "$MISSING --run true"; then
   2103   am_missing_run="$MISSING --run "
   2104 else
   2105   am_missing_run=
   2106   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2107 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2108 fi
   2109 
   2110 if test x"${install_sh}" != xset; then
   2111   case $am_aux_dir in
   2112   *\ * | *\	*)
   2113     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2114   *)
   2115     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2116   esac
   2117 fi
   2118 
   2119 # Installed binaries are usually stripped using `strip' when the user
   2120 # run `make install-strip'.  However `strip' might not be the right
   2121 # tool to use in cross-compilation environments, therefore Automake
   2122 # will honor the `STRIP' environment variable to overrule this program.
   2123 if test "$cross_compiling" != no; then
   2124   if test -n "$ac_tool_prefix"; then
   2125   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2126 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2127 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2128 $as_echo_n "checking for $ac_word... " >&6; }
   2129 if test "${ac_cv_prog_STRIP+set}" = set; then
   2130   $as_echo_n "(cached) " >&6
   2131 else
   2132   if test -n "$STRIP"; then
   2133   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2134 else
   2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2136 for as_dir in $PATH
   2137 do
   2138   IFS=$as_save_IFS
   2139   test -z "$as_dir" && as_dir=.
   2140   for ac_exec_ext in '' $ac_executable_extensions; do
   2141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2142     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2143     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2144     break 2
   2145   fi
   2146 done
   2147 done
   2148 IFS=$as_save_IFS
   2149 
   2150 fi
   2151 fi
   2152 STRIP=$ac_cv_prog_STRIP
   2153 if test -n "$STRIP"; then
   2154   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2155 $as_echo "$STRIP" >&6; }
   2156 else
   2157   { $as_echo "$as_me:$LINENO: result: no" >&5
   2158 $as_echo "no" >&6; }
   2159 fi
   2160 
   2161 
   2162 fi
   2163 if test -z "$ac_cv_prog_STRIP"; then
   2164   ac_ct_STRIP=$STRIP
   2165   # Extract the first word of "strip", so it can be a program name with args.
   2166 set dummy strip; ac_word=$2
   2167 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2168 $as_echo_n "checking for $ac_word... " >&6; }
   2169 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2170   $as_echo_n "(cached) " >&6
   2171 else
   2172   if test -n "$ac_ct_STRIP"; then
   2173   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2174 else
   2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2176 for as_dir in $PATH
   2177 do
   2178   IFS=$as_save_IFS
   2179   test -z "$as_dir" && as_dir=.
   2180   for ac_exec_ext in '' $ac_executable_extensions; do
   2181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2182     ac_cv_prog_ac_ct_STRIP="strip"
   2183     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2184     break 2
   2185   fi
   2186 done
   2187 done
   2188 IFS=$as_save_IFS
   2189 
   2190 fi
   2191 fi
   2192 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2193 if test -n "$ac_ct_STRIP"; then
   2194   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2195 $as_echo "$ac_ct_STRIP" >&6; }
   2196 else
   2197   { $as_echo "$as_me:$LINENO: result: no" >&5
   2198 $as_echo "no" >&6; }
   2199 fi
   2200 
   2201   if test "x$ac_ct_STRIP" = x; then
   2202     STRIP=":"
   2203   else
   2204     case $cross_compiling:$ac_tool_warned in
   2205 yes:)
   2206 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2208 ac_tool_warned=yes ;;
   2209 esac
   2210     STRIP=$ac_ct_STRIP
   2211   fi
   2212 else
   2213   STRIP="$ac_cv_prog_STRIP"
   2214 fi
   2215 
   2216 fi
   2217 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2218 
   2219 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2220 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2221 if test -z "$MKDIR_P"; then
   2222   if test "${ac_cv_path_mkdir+set}" = set; then
   2223   $as_echo_n "(cached) " >&6
   2224 else
   2225   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2226 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2227 do
   2228   IFS=$as_save_IFS
   2229   test -z "$as_dir" && as_dir=.
   2230   for ac_prog in mkdir gmkdir; do
   2231 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2232 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2233 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2234 	     'mkdir (GNU coreutils) '* | \
   2235 	     'mkdir (coreutils) '* | \
   2236 	     'mkdir (fileutils) '4.1*)
   2237 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2238 	       break 3;;
   2239 	   esac
   2240 	 done
   2241        done
   2242 done
   2243 IFS=$as_save_IFS
   2244 
   2245 fi
   2246 
   2247   if test "${ac_cv_path_mkdir+set}" = set; then
   2248     MKDIR_P="$ac_cv_path_mkdir -p"
   2249   else
   2250     # As a last resort, use the slow shell script.  Don't cache a
   2251     # value for MKDIR_P within a source directory, because that will
   2252     # break other packages using the cache if that directory is
   2253     # removed, or if the value is a relative name.
   2254     test -d ./--version && rmdir ./--version
   2255     MKDIR_P="$ac_install_sh -d"
   2256   fi
   2257 fi
   2258 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2259 $as_echo "$MKDIR_P" >&6; }
   2260 
   2261 mkdir_p="$MKDIR_P"
   2262 case $mkdir_p in
   2263   [\\/$]* | ?:[\\/]*) ;;
   2264   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2265 esac
   2266 
   2267 for ac_prog in gawk mawk nawk awk
   2268 do
   2269   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2270 set dummy $ac_prog; ac_word=$2
   2271 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2272 $as_echo_n "checking for $ac_word... " >&6; }
   2273 if test "${ac_cv_prog_AWK+set}" = set; then
   2274   $as_echo_n "(cached) " >&6
   2275 else
   2276   if test -n "$AWK"; then
   2277   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2278 else
   2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2280 for as_dir in $PATH
   2281 do
   2282   IFS=$as_save_IFS
   2283   test -z "$as_dir" && as_dir=.
   2284   for ac_exec_ext in '' $ac_executable_extensions; do
   2285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2286     ac_cv_prog_AWK="$ac_prog"
   2287     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2288     break 2
   2289   fi
   2290 done
   2291 done
   2292 IFS=$as_save_IFS
   2293 
   2294 fi
   2295 fi
   2296 AWK=$ac_cv_prog_AWK
   2297 if test -n "$AWK"; then
   2298   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2299 $as_echo "$AWK" >&6; }
   2300 else
   2301   { $as_echo "$as_me:$LINENO: result: no" >&5
   2302 $as_echo "no" >&6; }
   2303 fi
   2304 
   2305 
   2306   test -n "$AWK" && break
   2307 done
   2308 
   2309 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2310 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2311 set x ${MAKE-make}
   2312 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2313 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2314   $as_echo_n "(cached) " >&6
   2315 else
   2316   cat >conftest.make <<\_ACEOF
   2317 SHELL = /bin/sh
   2318 all:
   2319 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2320 _ACEOF
   2321 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2322 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2323   *@@@%%%=?*=@@@%%%*)
   2324     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2325   *)
   2326     eval ac_cv_prog_make_${ac_make}_set=no;;
   2327 esac
   2328 rm -f conftest.make
   2329 fi
   2330 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2331   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2332 $as_echo "yes" >&6; }
   2333   SET_MAKE=
   2334 else
   2335   { $as_echo "$as_me:$LINENO: result: no" >&5
   2336 $as_echo "no" >&6; }
   2337   SET_MAKE="MAKE=${MAKE-make}"
   2338 fi
   2339 
   2340 rm -rf .tst 2>/dev/null
   2341 mkdir .tst 2>/dev/null
   2342 if test -d .tst; then
   2343   am__leading_dot=.
   2344 else
   2345   am__leading_dot=_
   2346 fi
   2347 rmdir .tst 2>/dev/null
   2348 
   2349 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2350   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2351   # is not polluted with repeated "-I."
   2352   am__isrc=' -I$(srcdir)'
   2353   # test to see if srcdir already configured
   2354   if test -f $srcdir/config.status; then
   2355     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2356 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2357    { (exit 1); exit 1; }; }
   2358   fi
   2359 fi
   2360 
   2361 # test whether we have cygpath
   2362 if test -z "$CYGPATH_W"; then
   2363   if (cygpath --version) >/dev/null 2>/dev/null; then
   2364     CYGPATH_W='cygpath -w'
   2365   else
   2366     CYGPATH_W=echo
   2367   fi
   2368 fi
   2369 
   2370 
   2371 # Define the identity of the package.
   2372  PACKAGE='sessreg'
   2373  VERSION='1.0.5'
   2374 
   2375 
   2376 cat >>confdefs.h <<_ACEOF
   2377 #define PACKAGE "$PACKAGE"
   2378 _ACEOF
   2379 
   2380 
   2381 cat >>confdefs.h <<_ACEOF
   2382 #define VERSION "$VERSION"
   2383 _ACEOF
   2384 
   2385 # Some tools Automake needs.
   2386 
   2387 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2388 
   2389 
   2390 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2391 
   2392 
   2393 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2394 
   2395 
   2396 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2397 
   2398 
   2399 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2400 
   2401 # We need awk for the "check" target.  The system "awk" is bad on
   2402 # some platforms.
   2403 # Always define AMTAR for backward compatibility.
   2404 
   2405 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2406 
   2407 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2408 
   2409 
   2410 
   2411 
   2412 
   2413 
   2414 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2415 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2416     # Check whether --enable-maintainer-mode was given.
   2417 if test "${enable_maintainer_mode+set}" = set; then
   2418   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2419 else
   2420   USE_MAINTAINER_MODE=no
   2421 fi
   2422 
   2423   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2424 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2425    if test $USE_MAINTAINER_MODE = yes; then
   2426   MAINTAINER_MODE_TRUE=
   2427   MAINTAINER_MODE_FALSE='#'
   2428 else
   2429   MAINTAINER_MODE_TRUE='#'
   2430   MAINTAINER_MODE_FALSE=
   2431 fi
   2432 
   2433   MAINT=$MAINTAINER_MODE_TRUE
   2434 
   2435 
   2436 
   2437 ac_config_headers="$ac_config_headers config.h"
   2438 
   2439 
   2440 # Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
   2441 
   2442 
   2443 
   2444 
   2445 
   2446 
   2447 
   2448 
   2449 
   2450 
   2451 
   2452 
   2453 ac_ext=c
   2454 ac_cpp='$CPP $CPPFLAGS'
   2455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2458 if test -n "$ac_tool_prefix"; then
   2459   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2460 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2461 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2462 $as_echo_n "checking for $ac_word... " >&6; }
   2463 if test "${ac_cv_prog_CC+set}" = set; then
   2464   $as_echo_n "(cached) " >&6
   2465 else
   2466   if test -n "$CC"; then
   2467   ac_cv_prog_CC="$CC" # Let the user override the test.
   2468 else
   2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2470 for as_dir in $PATH
   2471 do
   2472   IFS=$as_save_IFS
   2473   test -z "$as_dir" && as_dir=.
   2474   for ac_exec_ext in '' $ac_executable_extensions; do
   2475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2476     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2477     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2478     break 2
   2479   fi
   2480 done
   2481 done
   2482 IFS=$as_save_IFS
   2483 
   2484 fi
   2485 fi
   2486 CC=$ac_cv_prog_CC
   2487 if test -n "$CC"; then
   2488   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2489 $as_echo "$CC" >&6; }
   2490 else
   2491   { $as_echo "$as_me:$LINENO: result: no" >&5
   2492 $as_echo "no" >&6; }
   2493 fi
   2494 
   2495 
   2496 fi
   2497 if test -z "$ac_cv_prog_CC"; then
   2498   ac_ct_CC=$CC
   2499   # Extract the first word of "gcc", so it can be a program name with args.
   2500 set dummy gcc; ac_word=$2
   2501 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2502 $as_echo_n "checking for $ac_word... " >&6; }
   2503 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2504   $as_echo_n "(cached) " >&6
   2505 else
   2506   if test -n "$ac_ct_CC"; then
   2507   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2508 else
   2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2510 for as_dir in $PATH
   2511 do
   2512   IFS=$as_save_IFS
   2513   test -z "$as_dir" && as_dir=.
   2514   for ac_exec_ext in '' $ac_executable_extensions; do
   2515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2516     ac_cv_prog_ac_ct_CC="gcc"
   2517     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2518     break 2
   2519   fi
   2520 done
   2521 done
   2522 IFS=$as_save_IFS
   2523 
   2524 fi
   2525 fi
   2526 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2527 if test -n "$ac_ct_CC"; then
   2528   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2529 $as_echo "$ac_ct_CC" >&6; }
   2530 else
   2531   { $as_echo "$as_me:$LINENO: result: no" >&5
   2532 $as_echo "no" >&6; }
   2533 fi
   2534 
   2535   if test "x$ac_ct_CC" = x; then
   2536     CC=""
   2537   else
   2538     case $cross_compiling:$ac_tool_warned in
   2539 yes:)
   2540 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2542 ac_tool_warned=yes ;;
   2543 esac
   2544     CC=$ac_ct_CC
   2545   fi
   2546 else
   2547   CC="$ac_cv_prog_CC"
   2548 fi
   2549 
   2550 if test -z "$CC"; then
   2551           if test -n "$ac_tool_prefix"; then
   2552     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2553 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2554 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2555 $as_echo_n "checking for $ac_word... " >&6; }
   2556 if test "${ac_cv_prog_CC+set}" = set; then
   2557   $as_echo_n "(cached) " >&6
   2558 else
   2559   if test -n "$CC"; then
   2560   ac_cv_prog_CC="$CC" # Let the user override the test.
   2561 else
   2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2563 for as_dir in $PATH
   2564 do
   2565   IFS=$as_save_IFS
   2566   test -z "$as_dir" && as_dir=.
   2567   for ac_exec_ext in '' $ac_executable_extensions; do
   2568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2569     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2570     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2571     break 2
   2572   fi
   2573 done
   2574 done
   2575 IFS=$as_save_IFS
   2576 
   2577 fi
   2578 fi
   2579 CC=$ac_cv_prog_CC
   2580 if test -n "$CC"; then
   2581   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2582 $as_echo "$CC" >&6; }
   2583 else
   2584   { $as_echo "$as_me:$LINENO: result: no" >&5
   2585 $as_echo "no" >&6; }
   2586 fi
   2587 
   2588 
   2589   fi
   2590 fi
   2591 if test -z "$CC"; then
   2592   # Extract the first word of "cc", so it can be a program name with args.
   2593 set dummy cc; ac_word=$2
   2594 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2595 $as_echo_n "checking for $ac_word... " >&6; }
   2596 if test "${ac_cv_prog_CC+set}" = set; then
   2597   $as_echo_n "(cached) " >&6
   2598 else
   2599   if test -n "$CC"; then
   2600   ac_cv_prog_CC="$CC" # Let the user override the test.
   2601 else
   2602   ac_prog_rejected=no
   2603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2604 for as_dir in $PATH
   2605 do
   2606   IFS=$as_save_IFS
   2607   test -z "$as_dir" && as_dir=.
   2608   for ac_exec_ext in '' $ac_executable_extensions; do
   2609   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2610     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2611        ac_prog_rejected=yes
   2612        continue
   2613      fi
   2614     ac_cv_prog_CC="cc"
   2615     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2616     break 2
   2617   fi
   2618 done
   2619 done
   2620 IFS=$as_save_IFS
   2621 
   2622 if test $ac_prog_rejected = yes; then
   2623   # We found a bogon in the path, so make sure we never use it.
   2624   set dummy $ac_cv_prog_CC
   2625   shift
   2626   if test $# != 0; then
   2627     # We chose a different compiler from the bogus one.
   2628     # However, it has the same basename, so the bogon will be chosen
   2629     # first if we set CC to just the basename; use the full file name.
   2630     shift
   2631     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2632   fi
   2633 fi
   2634 fi
   2635 fi
   2636 CC=$ac_cv_prog_CC
   2637 if test -n "$CC"; then
   2638   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2639 $as_echo "$CC" >&6; }
   2640 else
   2641   { $as_echo "$as_me:$LINENO: result: no" >&5
   2642 $as_echo "no" >&6; }
   2643 fi
   2644 
   2645 
   2646 fi
   2647 if test -z "$CC"; then
   2648   if test -n "$ac_tool_prefix"; then
   2649   for ac_prog in cl.exe
   2650   do
   2651     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2653 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2654 $as_echo_n "checking for $ac_word... " >&6; }
   2655 if test "${ac_cv_prog_CC+set}" = set; then
   2656   $as_echo_n "(cached) " >&6
   2657 else
   2658   if test -n "$CC"; then
   2659   ac_cv_prog_CC="$CC" # Let the user override the test.
   2660 else
   2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2662 for as_dir in $PATH
   2663 do
   2664   IFS=$as_save_IFS
   2665   test -z "$as_dir" && as_dir=.
   2666   for ac_exec_ext in '' $ac_executable_extensions; do
   2667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2668     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2669     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2670     break 2
   2671   fi
   2672 done
   2673 done
   2674 IFS=$as_save_IFS
   2675 
   2676 fi
   2677 fi
   2678 CC=$ac_cv_prog_CC
   2679 if test -n "$CC"; then
   2680   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2681 $as_echo "$CC" >&6; }
   2682 else
   2683   { $as_echo "$as_me:$LINENO: result: no" >&5
   2684 $as_echo "no" >&6; }
   2685 fi
   2686 
   2687 
   2688     test -n "$CC" && break
   2689   done
   2690 fi
   2691 if test -z "$CC"; then
   2692   ac_ct_CC=$CC
   2693   for ac_prog in cl.exe
   2694 do
   2695   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2696 set dummy $ac_prog; ac_word=$2
   2697 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2698 $as_echo_n "checking for $ac_word... " >&6; }
   2699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2700   $as_echo_n "(cached) " >&6
   2701 else
   2702   if test -n "$ac_ct_CC"; then
   2703   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2704 else
   2705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2706 for as_dir in $PATH
   2707 do
   2708   IFS=$as_save_IFS
   2709   test -z "$as_dir" && as_dir=.
   2710   for ac_exec_ext in '' $ac_executable_extensions; do
   2711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2712     ac_cv_prog_ac_ct_CC="$ac_prog"
   2713     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2714     break 2
   2715   fi
   2716 done
   2717 done
   2718 IFS=$as_save_IFS
   2719 
   2720 fi
   2721 fi
   2722 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2723 if test -n "$ac_ct_CC"; then
   2724   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2725 $as_echo "$ac_ct_CC" >&6; }
   2726 else
   2727   { $as_echo "$as_me:$LINENO: result: no" >&5
   2728 $as_echo "no" >&6; }
   2729 fi
   2730 
   2731 
   2732   test -n "$ac_ct_CC" && break
   2733 done
   2734 
   2735   if test "x$ac_ct_CC" = x; then
   2736     CC=""
   2737   else
   2738     case $cross_compiling:$ac_tool_warned in
   2739 yes:)
   2740 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2742 ac_tool_warned=yes ;;
   2743 esac
   2744     CC=$ac_ct_CC
   2745   fi
   2746 fi
   2747 
   2748 fi
   2749 
   2750 
   2751 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2753 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2754 See \`config.log' for more details." >&5
   2755 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2756 See \`config.log' for more details." >&2;}
   2757    { (exit 1); exit 1; }; }; }
   2758 
   2759 # Provide some information about the compiler.
   2760 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2761 set X $ac_compile
   2762 ac_compiler=$2
   2763 { (ac_try="$ac_compiler --version >&5"
   2764 case "(($ac_try" in
   2765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2766   *) ac_try_echo=$ac_try;;
   2767 esac
   2768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2769 $as_echo "$ac_try_echo") >&5
   2770   (eval "$ac_compiler --version >&5") 2>&5
   2771   ac_status=$?
   2772   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2773   (exit $ac_status); }
   2774 { (ac_try="$ac_compiler -v >&5"
   2775 case "(($ac_try" in
   2776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2777   *) ac_try_echo=$ac_try;;
   2778 esac
   2779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2780 $as_echo "$ac_try_echo") >&5
   2781   (eval "$ac_compiler -v >&5") 2>&5
   2782   ac_status=$?
   2783   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2784   (exit $ac_status); }
   2785 { (ac_try="$ac_compiler -V >&5"
   2786 case "(($ac_try" in
   2787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2788   *) ac_try_echo=$ac_try;;
   2789 esac
   2790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2791 $as_echo "$ac_try_echo") >&5
   2792   (eval "$ac_compiler -V >&5") 2>&5
   2793   ac_status=$?
   2794   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2795   (exit $ac_status); }
   2796 
   2797 cat >conftest.$ac_ext <<_ACEOF
   2798 /* confdefs.h.  */
   2799 _ACEOF
   2800 cat confdefs.h >>conftest.$ac_ext
   2801 cat >>conftest.$ac_ext <<_ACEOF
   2802 /* end confdefs.h.  */
   2803 
   2804 int
   2805 main ()
   2806 {
   2807 
   2808   ;
   2809   return 0;
   2810 }
   2811 _ACEOF
   2812 ac_clean_files_save=$ac_clean_files
   2813 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2814 # Try to create an executable without -o first, disregard a.out.
   2815 # It will help us diagnose broken compilers, and finding out an intuition
   2816 # of exeext.
   2817 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2818 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2819 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2820 
   2821 # The possible output files:
   2822 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2823 
   2824 ac_rmfiles=
   2825 for ac_file in $ac_files
   2826 do
   2827   case $ac_file in
   2828     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2829     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2830   esac
   2831 done
   2832 rm -f $ac_rmfiles
   2833 
   2834 if { (ac_try="$ac_link_default"
   2835 case "(($ac_try" in
   2836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2837   *) ac_try_echo=$ac_try;;
   2838 esac
   2839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2840 $as_echo "$ac_try_echo") >&5
   2841   (eval "$ac_link_default") 2>&5
   2842   ac_status=$?
   2843   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2844   (exit $ac_status); }; then
   2845   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2846 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2847 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2848 # so that the user can short-circuit this test for compilers unknown to
   2849 # Autoconf.
   2850 for ac_file in $ac_files ''
   2851 do
   2852   test -f "$ac_file" || continue
   2853   case $ac_file in
   2854     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2855 	;;
   2856     [ab].out )
   2857 	# We found the default executable, but exeext='' is most
   2858 	# certainly right.
   2859 	break;;
   2860     *.* )
   2861         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2862 	then :; else
   2863 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2864 	fi
   2865 	# We set ac_cv_exeext here because the later test for it is not
   2866 	# safe: cross compilers may not add the suffix if given an `-o'
   2867 	# argument, so we may need to know it at that point already.
   2868 	# Even if this section looks crufty: it has the advantage of
   2869 	# actually working.
   2870 	break;;
   2871     * )
   2872 	break;;
   2873   esac
   2874 done
   2875 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2876 
   2877 else
   2878   ac_file=''
   2879 fi
   2880 
   2881 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   2882 $as_echo "$ac_file" >&6; }
   2883 if test -z "$ac_file"; then
   2884   $as_echo "$as_me: failed program was:" >&5
   2885 sed 's/^/| /' conftest.$ac_ext >&5
   2886 
   2887 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2889 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   2890 See \`config.log' for more details." >&5
   2891 $as_echo "$as_me: error: C compiler cannot create executables
   2892 See \`config.log' for more details." >&2;}
   2893    { (exit 77); exit 77; }; }; }
   2894 fi
   2895 
   2896 ac_exeext=$ac_cv_exeext
   2897 
   2898 # Check that the compiler produces executables we can run.  If not, either
   2899 # the compiler is broken, or we cross compile.
   2900 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2901 $as_echo_n "checking whether the C compiler works... " >&6; }
   2902 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2903 # If not cross compiling, check that we can run a simple program.
   2904 if test "$cross_compiling" != yes; then
   2905   if { ac_try='./$ac_file'
   2906   { (case "(($ac_try" in
   2907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2908   *) ac_try_echo=$ac_try;;
   2909 esac
   2910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2911 $as_echo "$ac_try_echo") >&5
   2912   (eval "$ac_try") 2>&5
   2913   ac_status=$?
   2914   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2915   (exit $ac_status); }; }; then
   2916     cross_compiling=no
   2917   else
   2918     if test "$cross_compiling" = maybe; then
   2919 	cross_compiling=yes
   2920     else
   2921 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2923 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2924 If you meant to cross compile, use \`--host'.
   2925 See \`config.log' for more details." >&5
   2926 $as_echo "$as_me: error: cannot run C compiled programs.
   2927 If you meant to cross compile, use \`--host'.
   2928 See \`config.log' for more details." >&2;}
   2929    { (exit 1); exit 1; }; }; }
   2930     fi
   2931   fi
   2932 fi
   2933 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2934 $as_echo "yes" >&6; }
   2935 
   2936 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2937 ac_clean_files=$ac_clean_files_save
   2938 # Check that the compiler produces executables we can run.  If not, either
   2939 # the compiler is broken, or we cross compile.
   2940 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2941 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2942 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2943 $as_echo "$cross_compiling" >&6; }
   2944 
   2945 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2946 $as_echo_n "checking for suffix of executables... " >&6; }
   2947 if { (ac_try="$ac_link"
   2948 case "(($ac_try" in
   2949   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2950   *) ac_try_echo=$ac_try;;
   2951 esac
   2952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2953 $as_echo "$ac_try_echo") >&5
   2954   (eval "$ac_link") 2>&5
   2955   ac_status=$?
   2956   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2957   (exit $ac_status); }; then
   2958   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2959 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2960 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2961 # `rm'.
   2962 for ac_file in conftest.exe conftest conftest.*; do
   2963   test -f "$ac_file" || continue
   2964   case $ac_file in
   2965     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2966     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2967 	  break;;
   2968     * ) break;;
   2969   esac
   2970 done
   2971 else
   2972   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2974 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2975 See \`config.log' for more details." >&5
   2976 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2977 See \`config.log' for more details." >&2;}
   2978    { (exit 1); exit 1; }; }; }
   2979 fi
   2980 
   2981 rm -f conftest$ac_cv_exeext
   2982 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2983 $as_echo "$ac_cv_exeext" >&6; }
   2984 
   2985 rm -f conftest.$ac_ext
   2986 EXEEXT=$ac_cv_exeext
   2987 ac_exeext=$EXEEXT
   2988 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2989 $as_echo_n "checking for suffix of object files... " >&6; }
   2990 if test "${ac_cv_objext+set}" = set; then
   2991   $as_echo_n "(cached) " >&6
   2992 else
   2993   cat >conftest.$ac_ext <<_ACEOF
   2994 /* confdefs.h.  */
   2995 _ACEOF
   2996 cat confdefs.h >>conftest.$ac_ext
   2997 cat >>conftest.$ac_ext <<_ACEOF
   2998 /* end confdefs.h.  */
   2999 
   3000 int
   3001 main ()
   3002 {
   3003 
   3004   ;
   3005   return 0;
   3006 }
   3007 _ACEOF
   3008 rm -f conftest.o conftest.obj
   3009 if { (ac_try="$ac_compile"
   3010 case "(($ac_try" in
   3011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3012   *) ac_try_echo=$ac_try;;
   3013 esac
   3014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3015 $as_echo "$ac_try_echo") >&5
   3016   (eval "$ac_compile") 2>&5
   3017   ac_status=$?
   3018   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3019   (exit $ac_status); }; then
   3020   for ac_file in conftest.o conftest.obj conftest.*; do
   3021   test -f "$ac_file" || continue;
   3022   case $ac_file in
   3023     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3024     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3025        break;;
   3026   esac
   3027 done
   3028 else
   3029   $as_echo "$as_me: failed program was:" >&5
   3030 sed 's/^/| /' conftest.$ac_ext >&5
   3031 
   3032 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3034 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3035 See \`config.log' for more details." >&5
   3036 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3037 See \`config.log' for more details." >&2;}
   3038    { (exit 1); exit 1; }; }; }
   3039 fi
   3040 
   3041 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3042 fi
   3043 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3044 $as_echo "$ac_cv_objext" >&6; }
   3045 OBJEXT=$ac_cv_objext
   3046 ac_objext=$OBJEXT
   3047 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3048 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3049 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3050   $as_echo_n "(cached) " >&6
   3051 else
   3052   cat >conftest.$ac_ext <<_ACEOF
   3053 /* confdefs.h.  */
   3054 _ACEOF
   3055 cat confdefs.h >>conftest.$ac_ext
   3056 cat >>conftest.$ac_ext <<_ACEOF
   3057 /* end confdefs.h.  */
   3058 
   3059 int
   3060 main ()
   3061 {
   3062 #ifndef __GNUC__
   3063        choke me
   3064 #endif
   3065 
   3066   ;
   3067   return 0;
   3068 }
   3069 _ACEOF
   3070 rm -f conftest.$ac_objext
   3071 if { (ac_try="$ac_compile"
   3072 case "(($ac_try" in
   3073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3074   *) ac_try_echo=$ac_try;;
   3075 esac
   3076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3077 $as_echo "$ac_try_echo") >&5
   3078   (eval "$ac_compile") 2>conftest.er1
   3079   ac_status=$?
   3080   grep -v '^ *+' conftest.er1 >conftest.err
   3081   rm -f conftest.er1
   3082   cat conftest.err >&5
   3083   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3084   (exit $ac_status); } && {
   3085 	 test -z "$ac_c_werror_flag" ||
   3086 	 test ! -s conftest.err
   3087        } && test -s conftest.$ac_objext; then
   3088   ac_compiler_gnu=yes
   3089 else
   3090   $as_echo "$as_me: failed program was:" >&5
   3091 sed 's/^/| /' conftest.$ac_ext >&5
   3092 
   3093 	ac_compiler_gnu=no
   3094 fi
   3095 
   3096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3097 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3098 
   3099 fi
   3100 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3101 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3102 if test $ac_compiler_gnu = yes; then
   3103   GCC=yes
   3104 else
   3105   GCC=
   3106 fi
   3107 ac_test_CFLAGS=${CFLAGS+set}
   3108 ac_save_CFLAGS=$CFLAGS
   3109 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3110 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3111 if test "${ac_cv_prog_cc_g+set}" = set; then
   3112   $as_echo_n "(cached) " >&6
   3113 else
   3114   ac_save_c_werror_flag=$ac_c_werror_flag
   3115    ac_c_werror_flag=yes
   3116    ac_cv_prog_cc_g=no
   3117    CFLAGS="-g"
   3118    cat >conftest.$ac_ext <<_ACEOF
   3119 /* confdefs.h.  */
   3120 _ACEOF
   3121 cat confdefs.h >>conftest.$ac_ext
   3122 cat >>conftest.$ac_ext <<_ACEOF
   3123 /* end confdefs.h.  */
   3124 
   3125 int
   3126 main ()
   3127 {
   3128 
   3129   ;
   3130   return 0;
   3131 }
   3132 _ACEOF
   3133 rm -f conftest.$ac_objext
   3134 if { (ac_try="$ac_compile"
   3135 case "(($ac_try" in
   3136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3137   *) ac_try_echo=$ac_try;;
   3138 esac
   3139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3140 $as_echo "$ac_try_echo") >&5
   3141   (eval "$ac_compile") 2>conftest.er1
   3142   ac_status=$?
   3143   grep -v '^ *+' conftest.er1 >conftest.err
   3144   rm -f conftest.er1
   3145   cat conftest.err >&5
   3146   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3147   (exit $ac_status); } && {
   3148 	 test -z "$ac_c_werror_flag" ||
   3149 	 test ! -s conftest.err
   3150        } && test -s conftest.$ac_objext; then
   3151   ac_cv_prog_cc_g=yes
   3152 else
   3153   $as_echo "$as_me: failed program was:" >&5
   3154 sed 's/^/| /' conftest.$ac_ext >&5
   3155 
   3156 	CFLAGS=""
   3157       cat >conftest.$ac_ext <<_ACEOF
   3158 /* confdefs.h.  */
   3159 _ACEOF
   3160 cat confdefs.h >>conftest.$ac_ext
   3161 cat >>conftest.$ac_ext <<_ACEOF
   3162 /* end confdefs.h.  */
   3163 
   3164 int
   3165 main ()
   3166 {
   3167 
   3168   ;
   3169   return 0;
   3170 }
   3171 _ACEOF
   3172 rm -f conftest.$ac_objext
   3173 if { (ac_try="$ac_compile"
   3174 case "(($ac_try" in
   3175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3176   *) ac_try_echo=$ac_try;;
   3177 esac
   3178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3179 $as_echo "$ac_try_echo") >&5
   3180   (eval "$ac_compile") 2>conftest.er1
   3181   ac_status=$?
   3182   grep -v '^ *+' conftest.er1 >conftest.err
   3183   rm -f conftest.er1
   3184   cat conftest.err >&5
   3185   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3186   (exit $ac_status); } && {
   3187 	 test -z "$ac_c_werror_flag" ||
   3188 	 test ! -s conftest.err
   3189        } && test -s conftest.$ac_objext; then
   3190   :
   3191 else
   3192   $as_echo "$as_me: failed program was:" >&5
   3193 sed 's/^/| /' conftest.$ac_ext >&5
   3194 
   3195 	ac_c_werror_flag=$ac_save_c_werror_flag
   3196 	 CFLAGS="-g"
   3197 	 cat >conftest.$ac_ext <<_ACEOF
   3198 /* confdefs.h.  */
   3199 _ACEOF
   3200 cat confdefs.h >>conftest.$ac_ext
   3201 cat >>conftest.$ac_ext <<_ACEOF
   3202 /* end confdefs.h.  */
   3203 
   3204 int
   3205 main ()
   3206 {
   3207 
   3208   ;
   3209   return 0;
   3210 }
   3211 _ACEOF
   3212 rm -f conftest.$ac_objext
   3213 if { (ac_try="$ac_compile"
   3214 case "(($ac_try" in
   3215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3216   *) ac_try_echo=$ac_try;;
   3217 esac
   3218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3219 $as_echo "$ac_try_echo") >&5
   3220   (eval "$ac_compile") 2>conftest.er1
   3221   ac_status=$?
   3222   grep -v '^ *+' conftest.er1 >conftest.err
   3223   rm -f conftest.er1
   3224   cat conftest.err >&5
   3225   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3226   (exit $ac_status); } && {
   3227 	 test -z "$ac_c_werror_flag" ||
   3228 	 test ! -s conftest.err
   3229        } && test -s conftest.$ac_objext; then
   3230   ac_cv_prog_cc_g=yes
   3231 else
   3232   $as_echo "$as_me: failed program was:" >&5
   3233 sed 's/^/| /' conftest.$ac_ext >&5
   3234 
   3235 
   3236 fi
   3237 
   3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3239 fi
   3240 
   3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3242 fi
   3243 
   3244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3245    ac_c_werror_flag=$ac_save_c_werror_flag
   3246 fi
   3247 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3248 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3249 if test "$ac_test_CFLAGS" = set; then
   3250   CFLAGS=$ac_save_CFLAGS
   3251 elif test $ac_cv_prog_cc_g = yes; then
   3252   if test "$GCC" = yes; then
   3253     CFLAGS="-g -O2"
   3254   else
   3255     CFLAGS="-g"
   3256   fi
   3257 else
   3258   if test "$GCC" = yes; then
   3259     CFLAGS="-O2"
   3260   else
   3261     CFLAGS=
   3262   fi
   3263 fi
   3264 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3265 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3266 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3267   $as_echo_n "(cached) " >&6
   3268 else
   3269   ac_cv_prog_cc_c89=no
   3270 ac_save_CC=$CC
   3271 cat >conftest.$ac_ext <<_ACEOF
   3272 /* confdefs.h.  */
   3273 _ACEOF
   3274 cat confdefs.h >>conftest.$ac_ext
   3275 cat >>conftest.$ac_ext <<_ACEOF
   3276 /* end confdefs.h.  */
   3277 #include <stdarg.h>
   3278 #include <stdio.h>
   3279 #include <sys/types.h>
   3280 #include <sys/stat.h>
   3281 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3282 struct buf { int x; };
   3283 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3284 static char *e (p, i)
   3285      char **p;
   3286      int i;
   3287 {
   3288   return p[i];
   3289 }
   3290 static char *f (char * (*g) (char **, int), char **p, ...)
   3291 {
   3292   char *s;
   3293   va_list v;
   3294   va_start (v,p);
   3295   s = g (p, va_arg (v,int));
   3296   va_end (v);
   3297   return s;
   3298 }
   3299 
   3300 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3301    function prototypes and stuff, but not '\xHH' hex character constants.
   3302    These don't provoke an error unfortunately, instead are silently treated
   3303    as 'x'.  The following induces an error, until -std is added to get
   3304    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3305    array size at least.  It's necessary to write '\x00'==0 to get something
   3306    that's true only with -std.  */
   3307 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3308 
   3309 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3310    inside strings and character constants.  */
   3311 #define FOO(x) 'x'
   3312 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3313 
   3314 int test (int i, double x);
   3315 struct s1 {int (*f) (int a);};
   3316 struct s2 {int (*f) (double a);};
   3317 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3318 int argc;
   3319 char **argv;
   3320 int
   3321 main ()
   3322 {
   3323 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3324   ;
   3325   return 0;
   3326 }
   3327 _ACEOF
   3328 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3329 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3330 do
   3331   CC="$ac_save_CC $ac_arg"
   3332   rm -f conftest.$ac_objext
   3333 if { (ac_try="$ac_compile"
   3334 case "(($ac_try" in
   3335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3336   *) ac_try_echo=$ac_try;;
   3337 esac
   3338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3339 $as_echo "$ac_try_echo") >&5
   3340   (eval "$ac_compile") 2>conftest.er1
   3341   ac_status=$?
   3342   grep -v '^ *+' conftest.er1 >conftest.err
   3343   rm -f conftest.er1
   3344   cat conftest.err >&5
   3345   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3346   (exit $ac_status); } && {
   3347 	 test -z "$ac_c_werror_flag" ||
   3348 	 test ! -s conftest.err
   3349        } && test -s conftest.$ac_objext; then
   3350   ac_cv_prog_cc_c89=$ac_arg
   3351 else
   3352   $as_echo "$as_me: failed program was:" >&5
   3353 sed 's/^/| /' conftest.$ac_ext >&5
   3354 
   3355 
   3356 fi
   3357 
   3358 rm -f core conftest.err conftest.$ac_objext
   3359   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3360 done
   3361 rm -f conftest.$ac_ext
   3362 CC=$ac_save_CC
   3363 
   3364 fi
   3365 # AC_CACHE_VAL
   3366 case "x$ac_cv_prog_cc_c89" in
   3367   x)
   3368     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3369 $as_echo "none needed" >&6; } ;;
   3370   xno)
   3371     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3372 $as_echo "unsupported" >&6; } ;;
   3373   *)
   3374     CC="$CC $ac_cv_prog_cc_c89"
   3375     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3376 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3377 esac
   3378 
   3379 
   3380 ac_ext=c
   3381 ac_cpp='$CPP $CPPFLAGS'
   3382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3385 DEPDIR="${am__leading_dot}deps"
   3386 
   3387 ac_config_commands="$ac_config_commands depfiles"
   3388 
   3389 
   3390 am_make=${MAKE-make}
   3391 cat > confinc << 'END'
   3392 am__doit:
   3393 	@echo this is the am__doit target
   3394 .PHONY: am__doit
   3395 END
   3396 # If we don't find an include directive, just comment out the code.
   3397 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3398 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3399 am__include="#"
   3400 am__quote=
   3401 _am_result=none
   3402 # First try GNU make style include.
   3403 echo "include confinc" > confmf
   3404 # Ignore all kinds of additional output from `make'.
   3405 case `$am_make -s -f confmf 2> /dev/null` in #(
   3406 *the\ am__doit\ target*)
   3407   am__include=include
   3408   am__quote=
   3409   _am_result=GNU
   3410   ;;
   3411 esac
   3412 # Now try BSD make style include.
   3413 if test "$am__include" = "#"; then
   3414    echo '.include "confinc"' > confmf
   3415    case `$am_make -s -f confmf 2> /dev/null` in #(
   3416    *the\ am__doit\ target*)
   3417      am__include=.include
   3418      am__quote="\""
   3419      _am_result=BSD
   3420      ;;
   3421    esac
   3422 fi
   3423 
   3424 
   3425 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3426 $as_echo "$_am_result" >&6; }
   3427 rm -f confinc confmf
   3428 
   3429 # Check whether --enable-dependency-tracking was given.
   3430 if test "${enable_dependency_tracking+set}" = set; then
   3431   enableval=$enable_dependency_tracking;
   3432 fi
   3433 
   3434 if test "x$enable_dependency_tracking" != xno; then
   3435   am_depcomp="$ac_aux_dir/depcomp"
   3436   AMDEPBACKSLASH='\'
   3437 fi
   3438  if test "x$enable_dependency_tracking" != xno; then
   3439   AMDEP_TRUE=
   3440   AMDEP_FALSE='#'
   3441 else
   3442   AMDEP_TRUE='#'
   3443   AMDEP_FALSE=
   3444 fi
   3445 
   3446 
   3447 
   3448 depcc="$CC"   am_compiler_list=
   3449 
   3450 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3451 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3452 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3453   $as_echo_n "(cached) " >&6
   3454 else
   3455   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3456   # We make a subdir and do the tests there.  Otherwise we can end up
   3457   # making bogus files that we don't know about and never remove.  For
   3458   # instance it was reported that on HP-UX the gcc test will end up
   3459   # making a dummy file named `D' -- because `-MD' means `put the output
   3460   # in D'.
   3461   mkdir conftest.dir
   3462   # Copy depcomp to subdir because otherwise we won't find it if we're
   3463   # using a relative directory.
   3464   cp "$am_depcomp" conftest.dir
   3465   cd conftest.dir
   3466   # We will build objects and dependencies in a subdirectory because
   3467   # it helps to detect inapplicable dependency modes.  For instance
   3468   # both Tru64's cc and ICC support -MD to output dependencies as a
   3469   # side effect of compilation, but ICC will put the dependencies in
   3470   # the current directory while Tru64 will put them in the object
   3471   # directory.
   3472   mkdir sub
   3473 
   3474   am_cv_CC_dependencies_compiler_type=none
   3475   if test "$am_compiler_list" = ""; then
   3476      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3477   fi
   3478   am__universal=false
   3479   case " $depcc " in #(
   3480      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3481      esac
   3482 
   3483   for depmode in $am_compiler_list; do
   3484     # Setup a source with many dependencies, because some compilers
   3485     # like to wrap large dependency lists on column 80 (with \), and
   3486     # we should not choose a depcomp mode which is confused by this.
   3487     #
   3488     # We need to recreate these files for each test, as the compiler may
   3489     # overwrite some of them when testing with obscure command lines.
   3490     # This happens at least with the AIX C compiler.
   3491     : > sub/conftest.c
   3492     for i in 1 2 3 4 5 6; do
   3493       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3494       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3495       # Solaris 8's {/usr,}/bin/sh.
   3496       touch sub/conftst$i.h
   3497     done
   3498     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3499 
   3500     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3501     # mode.  It turns out that the SunPro C++ compiler does not properly
   3502     # handle `-M -o', and we need to detect this.  Also, some Intel
   3503     # versions had trouble with output in subdirs
   3504     am__obj=sub/conftest.${OBJEXT-o}
   3505     am__minus_obj="-o $am__obj"
   3506     case $depmode in
   3507     gcc)
   3508       # This depmode causes a compiler race in universal mode.
   3509       test "$am__universal" = false || continue
   3510       ;;
   3511     nosideeffect)
   3512       # after this tag, mechanisms are not by side-effect, so they'll
   3513       # only be used when explicitly requested
   3514       if test "x$enable_dependency_tracking" = xyes; then
   3515 	continue
   3516       else
   3517 	break
   3518       fi
   3519       ;;
   3520     msvisualcpp | msvcmsys)
   3521       # This compiler won't grok `-c -o', but also, the minuso test has
   3522       # not run yet.  These depmodes are late enough in the game, and
   3523       # so weak that their functioning should not be impacted.
   3524       am__obj=conftest.${OBJEXT-o}
   3525       am__minus_obj=
   3526       ;;
   3527     none) break ;;
   3528     esac
   3529     if depmode=$depmode \
   3530        source=sub/conftest.c object=$am__obj \
   3531        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3532        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3533          >/dev/null 2>conftest.err &&
   3534        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3535        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3536        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3537        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3538       # icc doesn't choke on unknown options, it will just issue warnings
   3539       # or remarks (even with -Werror).  So we grep stderr for any message
   3540       # that says an option was ignored or not supported.
   3541       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3542       #   icc: Command line warning: ignoring option '-M'; no argument required
   3543       # The diagnosis changed in icc 8.0:
   3544       #   icc: Command line remark: option '-MP' not supported
   3545       if (grep 'ignoring option' conftest.err ||
   3546           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3547         am_cv_CC_dependencies_compiler_type=$depmode
   3548         break
   3549       fi
   3550     fi
   3551   done
   3552 
   3553   cd ..
   3554   rm -rf conftest.dir
   3555 else
   3556   am_cv_CC_dependencies_compiler_type=none
   3557 fi
   3558 
   3559 fi
   3560 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3561 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3562 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3563 
   3564  if
   3565   test "x$enable_dependency_tracking" != xno \
   3566   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3567   am__fastdepCC_TRUE=
   3568   am__fastdepCC_FALSE='#'
   3569 else
   3570   am__fastdepCC_TRUE='#'
   3571   am__fastdepCC_FALSE=
   3572 fi
   3573 
   3574 
   3575 # Find a good install program.  We prefer a C program (faster),
   3576 # so one script is as good as another.  But avoid the broken or
   3577 # incompatible versions:
   3578 # SysV /etc/install, /usr/sbin/install
   3579 # SunOS /usr/etc/install
   3580 # IRIX /sbin/install
   3581 # AIX /bin/install
   3582 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3583 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3584 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3585 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3586 # OS/2's system install, which has a completely different semantic
   3587 # ./install, which can be erroneously created by make from ./install.sh.
   3588 # Reject install programs that cannot install multiple files.
   3589 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   3590 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3591 if test -z "$INSTALL"; then
   3592 if test "${ac_cv_path_install+set}" = set; then
   3593   $as_echo_n "(cached) " >&6
   3594 else
   3595   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3596 for as_dir in $PATH
   3597 do
   3598   IFS=$as_save_IFS
   3599   test -z "$as_dir" && as_dir=.
   3600   # Account for people who put trailing slashes in PATH elements.
   3601 case $as_dir/ in
   3602   ./ | .// | /cC/* | \
   3603   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3604   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   3605   /usr/ucb/* ) ;;
   3606   *)
   3607     # OSF1 and SCO ODT 3.0 have their own names for install.
   3608     # Don't use installbsd from OSF since it installs stuff as root
   3609     # by default.
   3610     for ac_prog in ginstall scoinst install; do
   3611       for ac_exec_ext in '' $ac_executable_extensions; do
   3612 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3613 	  if test $ac_prog = install &&
   3614 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3615 	    # AIX install.  It has an incompatible calling convention.
   3616 	    :
   3617 	  elif test $ac_prog = install &&
   3618 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3619 	    # program-specific install script used by HP pwplus--don't use.
   3620 	    :
   3621 	  else
   3622 	    rm -rf conftest.one conftest.two conftest.dir
   3623 	    echo one > conftest.one
   3624 	    echo two > conftest.two
   3625 	    mkdir conftest.dir
   3626 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3627 	      test -s conftest.one && test -s conftest.two &&
   3628 	      test -s conftest.dir/conftest.one &&
   3629 	      test -s conftest.dir/conftest.two
   3630 	    then
   3631 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3632 	      break 3
   3633 	    fi
   3634 	  fi
   3635 	fi
   3636       done
   3637     done
   3638     ;;
   3639 esac
   3640 
   3641 done
   3642 IFS=$as_save_IFS
   3643 
   3644 rm -rf conftest.one conftest.two conftest.dir
   3645 
   3646 fi
   3647   if test "${ac_cv_path_install+set}" = set; then
   3648     INSTALL=$ac_cv_path_install
   3649   else
   3650     # As a last resort, use the slow shell script.  Don't cache a
   3651     # value for INSTALL within a source directory, because that will
   3652     # break other packages using the cache if that directory is
   3653     # removed, or if the value is a relative name.
   3654     INSTALL=$ac_install_sh
   3655   fi
   3656 fi
   3657 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   3658 $as_echo "$INSTALL" >&6; }
   3659 
   3660 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3661 # It thinks the first close brace ends the variable substitution.
   3662 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3663 
   3664 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3665 
   3666 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3667 
   3668 
   3669 
   3670 ac_ext=c
   3671 ac_cpp='$CPP $CPPFLAGS'
   3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3675 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3676 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3677 # On Suns, sometimes $CPP names a directory.
   3678 if test -n "$CPP" && test -d "$CPP"; then
   3679   CPP=
   3680 fi
   3681 if test -z "$CPP"; then
   3682   if test "${ac_cv_prog_CPP+set}" = set; then
   3683   $as_echo_n "(cached) " >&6
   3684 else
   3685       # Double quotes because CPP needs to be expanded
   3686     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3687     do
   3688       ac_preproc_ok=false
   3689 for ac_c_preproc_warn_flag in '' yes
   3690 do
   3691   # Use a header file that comes with gcc, so configuring glibc
   3692   # with a fresh cross-compiler works.
   3693   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3694   # <limits.h> exists even on freestanding compilers.
   3695   # On the NeXT, cc -E runs the code through the compiler's parser,
   3696   # not just through cpp. "Syntax error" is here to catch this case.
   3697   cat >conftest.$ac_ext <<_ACEOF
   3698 /* confdefs.h.  */
   3699 _ACEOF
   3700 cat confdefs.h >>conftest.$ac_ext
   3701 cat >>conftest.$ac_ext <<_ACEOF
   3702 /* end confdefs.h.  */
   3703 #ifdef __STDC__
   3704 # include <limits.h>
   3705 #else
   3706 # include <assert.h>
   3707 #endif
   3708 		     Syntax error
   3709 _ACEOF
   3710 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3711 case "(($ac_try" in
   3712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3713   *) ac_try_echo=$ac_try;;
   3714 esac
   3715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3716 $as_echo "$ac_try_echo") >&5
   3717   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3718   ac_status=$?
   3719   grep -v '^ *+' conftest.er1 >conftest.err
   3720   rm -f conftest.er1
   3721   cat conftest.err >&5
   3722   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3723   (exit $ac_status); } >/dev/null && {
   3724 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3725 	 test ! -s conftest.err
   3726        }; then
   3727   :
   3728 else
   3729   $as_echo "$as_me: failed program was:" >&5
   3730 sed 's/^/| /' conftest.$ac_ext >&5
   3731 
   3732   # Broken: fails on valid input.
   3733 continue
   3734 fi
   3735 
   3736 rm -f conftest.err conftest.$ac_ext
   3737 
   3738   # OK, works on sane cases.  Now check whether nonexistent headers
   3739   # can be detected and how.
   3740   cat >conftest.$ac_ext <<_ACEOF
   3741 /* confdefs.h.  */
   3742 _ACEOF
   3743 cat confdefs.h >>conftest.$ac_ext
   3744 cat >>conftest.$ac_ext <<_ACEOF
   3745 /* end confdefs.h.  */
   3746 #include <ac_nonexistent.h>
   3747 _ACEOF
   3748 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3749 case "(($ac_try" in
   3750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3751   *) ac_try_echo=$ac_try;;
   3752 esac
   3753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3754 $as_echo "$ac_try_echo") >&5
   3755   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3756   ac_status=$?
   3757   grep -v '^ *+' conftest.er1 >conftest.err
   3758   rm -f conftest.er1
   3759   cat conftest.err >&5
   3760   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3761   (exit $ac_status); } >/dev/null && {
   3762 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3763 	 test ! -s conftest.err
   3764        }; then
   3765   # Broken: success on invalid input.
   3766 continue
   3767 else
   3768   $as_echo "$as_me: failed program was:" >&5
   3769 sed 's/^/| /' conftest.$ac_ext >&5
   3770 
   3771   # Passes both tests.
   3772 ac_preproc_ok=:
   3773 break
   3774 fi
   3775 
   3776 rm -f conftest.err conftest.$ac_ext
   3777 
   3778 done
   3779 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3780 rm -f conftest.err conftest.$ac_ext
   3781 if $ac_preproc_ok; then
   3782   break
   3783 fi
   3784 
   3785     done
   3786     ac_cv_prog_CPP=$CPP
   3787 
   3788 fi
   3789   CPP=$ac_cv_prog_CPP
   3790 else
   3791   ac_cv_prog_CPP=$CPP
   3792 fi
   3793 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   3794 $as_echo "$CPP" >&6; }
   3795 ac_preproc_ok=false
   3796 for ac_c_preproc_warn_flag in '' yes
   3797 do
   3798   # Use a header file that comes with gcc, so configuring glibc
   3799   # with a fresh cross-compiler works.
   3800   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3801   # <limits.h> exists even on freestanding compilers.
   3802   # On the NeXT, cc -E runs the code through the compiler's parser,
   3803   # not just through cpp. "Syntax error" is here to catch this case.
   3804   cat >conftest.$ac_ext <<_ACEOF
   3805 /* confdefs.h.  */
   3806 _ACEOF
   3807 cat confdefs.h >>conftest.$ac_ext
   3808 cat >>conftest.$ac_ext <<_ACEOF
   3809 /* end confdefs.h.  */
   3810 #ifdef __STDC__
   3811 # include <limits.h>
   3812 #else
   3813 # include <assert.h>
   3814 #endif
   3815 		     Syntax error
   3816 _ACEOF
   3817 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3818 case "(($ac_try" in
   3819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3820   *) ac_try_echo=$ac_try;;
   3821 esac
   3822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3823 $as_echo "$ac_try_echo") >&5
   3824   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3825   ac_status=$?
   3826   grep -v '^ *+' conftest.er1 >conftest.err
   3827   rm -f conftest.er1
   3828   cat conftest.err >&5
   3829   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3830   (exit $ac_status); } >/dev/null && {
   3831 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3832 	 test ! -s conftest.err
   3833        }; then
   3834   :
   3835 else
   3836   $as_echo "$as_me: failed program was:" >&5
   3837 sed 's/^/| /' conftest.$ac_ext >&5
   3838 
   3839   # Broken: fails on valid input.
   3840 continue
   3841 fi
   3842 
   3843 rm -f conftest.err conftest.$ac_ext
   3844 
   3845   # OK, works on sane cases.  Now check whether nonexistent headers
   3846   # can be detected and how.
   3847   cat >conftest.$ac_ext <<_ACEOF
   3848 /* confdefs.h.  */
   3849 _ACEOF
   3850 cat confdefs.h >>conftest.$ac_ext
   3851 cat >>conftest.$ac_ext <<_ACEOF
   3852 /* end confdefs.h.  */
   3853 #include <ac_nonexistent.h>
   3854 _ACEOF
   3855 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3856 case "(($ac_try" in
   3857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3858   *) ac_try_echo=$ac_try;;
   3859 esac
   3860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3861 $as_echo "$ac_try_echo") >&5
   3862   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3863   ac_status=$?
   3864   grep -v '^ *+' conftest.er1 >conftest.err
   3865   rm -f conftest.er1
   3866   cat conftest.err >&5
   3867   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3868   (exit $ac_status); } >/dev/null && {
   3869 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3870 	 test ! -s conftest.err
   3871        }; then
   3872   # Broken: success on invalid input.
   3873 continue
   3874 else
   3875   $as_echo "$as_me: failed program was:" >&5
   3876 sed 's/^/| /' conftest.$ac_ext >&5
   3877 
   3878   # Passes both tests.
   3879 ac_preproc_ok=:
   3880 break
   3881 fi
   3882 
   3883 rm -f conftest.err conftest.$ac_ext
   3884 
   3885 done
   3886 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3887 rm -f conftest.err conftest.$ac_ext
   3888 if $ac_preproc_ok; then
   3889   :
   3890 else
   3891   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3893 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   3894 See \`config.log' for more details." >&5
   3895 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   3896 See \`config.log' for more details." >&2;}
   3897    { (exit 1); exit 1; }; }; }
   3898 fi
   3899 
   3900 ac_ext=c
   3901 ac_cpp='$CPP $CPPFLAGS'
   3902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3905 
   3906 
   3907 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3908 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3909 if test "${ac_cv_path_GREP+set}" = set; then
   3910   $as_echo_n "(cached) " >&6
   3911 else
   3912   if test -z "$GREP"; then
   3913   ac_path_GREP_found=false
   3914   # Loop through the user's path and test for each of PROGNAME-LIST
   3915   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3916 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3917 do
   3918   IFS=$as_save_IFS
   3919   test -z "$as_dir" && as_dir=.
   3920   for ac_prog in grep ggrep; do
   3921     for ac_exec_ext in '' $ac_executable_extensions; do
   3922       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3923       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3924 # Check for GNU ac_path_GREP and select it if it is found.
   3925   # Check for GNU $ac_path_GREP
   3926 case `"$ac_path_GREP" --version 2>&1` in
   3927 *GNU*)
   3928   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3929 *)
   3930   ac_count=0
   3931   $as_echo_n 0123456789 >"conftest.in"
   3932   while :
   3933   do
   3934     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3935     mv "conftest.tmp" "conftest.in"
   3936     cp "conftest.in" "conftest.nl"
   3937     $as_echo 'GREP' >> "conftest.nl"
   3938     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3939     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3940     ac_count=`expr $ac_count + 1`
   3941     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3942       # Best one so far, save it but keep looking for a better one
   3943       ac_cv_path_GREP="$ac_path_GREP"
   3944       ac_path_GREP_max=$ac_count
   3945     fi
   3946     # 10*(2^10) chars as input seems more than enough
   3947     test $ac_count -gt 10 && break
   3948   done
   3949   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3950 esac
   3951 
   3952       $ac_path_GREP_found && break 3
   3953     done
   3954   done
   3955 done
   3956 IFS=$as_save_IFS
   3957   if test -z "$ac_cv_path_GREP"; then
   3958     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3959 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3960    { (exit 1); exit 1; }; }
   3961   fi
   3962 else
   3963   ac_cv_path_GREP=$GREP
   3964 fi
   3965 
   3966 fi
   3967 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3968 $as_echo "$ac_cv_path_GREP" >&6; }
   3969  GREP="$ac_cv_path_GREP"
   3970 
   3971 
   3972 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   3973 $as_echo_n "checking for egrep... " >&6; }
   3974 if test "${ac_cv_path_EGREP+set}" = set; then
   3975   $as_echo_n "(cached) " >&6
   3976 else
   3977   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3978    then ac_cv_path_EGREP="$GREP -E"
   3979    else
   3980      if test -z "$EGREP"; then
   3981   ac_path_EGREP_found=false
   3982   # Loop through the user's path and test for each of PROGNAME-LIST
   3983   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3984 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3985 do
   3986   IFS=$as_save_IFS
   3987   test -z "$as_dir" && as_dir=.
   3988   for ac_prog in egrep; do
   3989     for ac_exec_ext in '' $ac_executable_extensions; do
   3990       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3991       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3992 # Check for GNU ac_path_EGREP and select it if it is found.
   3993   # Check for GNU $ac_path_EGREP
   3994 case `"$ac_path_EGREP" --version 2>&1` in
   3995 *GNU*)
   3996   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3997 *)
   3998   ac_count=0
   3999   $as_echo_n 0123456789 >"conftest.in"
   4000   while :
   4001   do
   4002     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4003     mv "conftest.tmp" "conftest.in"
   4004     cp "conftest.in" "conftest.nl"
   4005     $as_echo 'EGREP' >> "conftest.nl"
   4006     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4007     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4008     ac_count=`expr $ac_count + 1`
   4009     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4010       # Best one so far, save it but keep looking for a better one
   4011       ac_cv_path_EGREP="$ac_path_EGREP"
   4012       ac_path_EGREP_max=$ac_count
   4013     fi
   4014     # 10*(2^10) chars as input seems more than enough
   4015     test $ac_count -gt 10 && break
   4016   done
   4017   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4018 esac
   4019 
   4020       $ac_path_EGREP_found && break 3
   4021     done
   4022   done
   4023 done
   4024 IFS=$as_save_IFS
   4025   if test -z "$ac_cv_path_EGREP"; then
   4026     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4027 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4028    { (exit 1); exit 1; }; }
   4029   fi
   4030 else
   4031   ac_cv_path_EGREP=$EGREP
   4032 fi
   4033 
   4034    fi
   4035 fi
   4036 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4037 $as_echo "$ac_cv_path_EGREP" >&6; }
   4038  EGREP="$ac_cv_path_EGREP"
   4039 
   4040 
   4041 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4042 $as_echo_n "checking for ANSI C header files... " >&6; }
   4043 if test "${ac_cv_header_stdc+set}" = set; then
   4044   $as_echo_n "(cached) " >&6
   4045 else
   4046   cat >conftest.$ac_ext <<_ACEOF
   4047 /* confdefs.h.  */
   4048 _ACEOF
   4049 cat confdefs.h >>conftest.$ac_ext
   4050 cat >>conftest.$ac_ext <<_ACEOF
   4051 /* end confdefs.h.  */
   4052 #include <stdlib.h>
   4053 #include <stdarg.h>
   4054 #include <string.h>
   4055 #include <float.h>
   4056 
   4057 int
   4058 main ()
   4059 {
   4060 
   4061   ;
   4062   return 0;
   4063 }
   4064 _ACEOF
   4065 rm -f conftest.$ac_objext
   4066 if { (ac_try="$ac_compile"
   4067 case "(($ac_try" in
   4068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4069   *) ac_try_echo=$ac_try;;
   4070 esac
   4071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4072 $as_echo "$ac_try_echo") >&5
   4073   (eval "$ac_compile") 2>conftest.er1
   4074   ac_status=$?
   4075   grep -v '^ *+' conftest.er1 >conftest.err
   4076   rm -f conftest.er1
   4077   cat conftest.err >&5
   4078   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4079   (exit $ac_status); } && {
   4080 	 test -z "$ac_c_werror_flag" ||
   4081 	 test ! -s conftest.err
   4082        } && test -s conftest.$ac_objext; then
   4083   ac_cv_header_stdc=yes
   4084 else
   4085   $as_echo "$as_me: failed program was:" >&5
   4086 sed 's/^/| /' conftest.$ac_ext >&5
   4087 
   4088 	ac_cv_header_stdc=no
   4089 fi
   4090 
   4091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4092 
   4093 if test $ac_cv_header_stdc = yes; then
   4094   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4095   cat >conftest.$ac_ext <<_ACEOF
   4096 /* confdefs.h.  */
   4097 _ACEOF
   4098 cat confdefs.h >>conftest.$ac_ext
   4099 cat >>conftest.$ac_ext <<_ACEOF
   4100 /* end confdefs.h.  */
   4101 #include <string.h>
   4102 
   4103 _ACEOF
   4104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4105   $EGREP "memchr" >/dev/null 2>&1; then
   4106   :
   4107 else
   4108   ac_cv_header_stdc=no
   4109 fi
   4110 rm -f conftest*
   4111 
   4112 fi
   4113 
   4114 if test $ac_cv_header_stdc = yes; then
   4115   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4116   cat >conftest.$ac_ext <<_ACEOF
   4117 /* confdefs.h.  */
   4118 _ACEOF
   4119 cat confdefs.h >>conftest.$ac_ext
   4120 cat >>conftest.$ac_ext <<_ACEOF
   4121 /* end confdefs.h.  */
   4122 #include <stdlib.h>
   4123 
   4124 _ACEOF
   4125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4126   $EGREP "free" >/dev/null 2>&1; then
   4127   :
   4128 else
   4129   ac_cv_header_stdc=no
   4130 fi
   4131 rm -f conftest*
   4132 
   4133 fi
   4134 
   4135 if test $ac_cv_header_stdc = yes; then
   4136   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4137   if test "$cross_compiling" = yes; then
   4138   :
   4139 else
   4140   cat >conftest.$ac_ext <<_ACEOF
   4141 /* confdefs.h.  */
   4142 _ACEOF
   4143 cat confdefs.h >>conftest.$ac_ext
   4144 cat >>conftest.$ac_ext <<_ACEOF
   4145 /* end confdefs.h.  */
   4146 #include <ctype.h>
   4147 #include <stdlib.h>
   4148 #if ((' ' & 0x0FF) == 0x020)
   4149 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4150 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4151 #else
   4152 # define ISLOWER(c) \
   4153 		   (('a' <= (c) && (c) <= 'i') \
   4154 		     || ('j' <= (c) && (c) <= 'r') \
   4155 		     || ('s' <= (c) && (c) <= 'z'))
   4156 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4157 #endif
   4158 
   4159 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4160 int
   4161 main ()
   4162 {
   4163   int i;
   4164   for (i = 0; i < 256; i++)
   4165     if (XOR (islower (i), ISLOWER (i))
   4166 	|| toupper (i) != TOUPPER (i))
   4167       return 2;
   4168   return 0;
   4169 }
   4170 _ACEOF
   4171 rm -f conftest$ac_exeext
   4172 if { (ac_try="$ac_link"
   4173 case "(($ac_try" in
   4174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4175   *) ac_try_echo=$ac_try;;
   4176 esac
   4177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4178 $as_echo "$ac_try_echo") >&5
   4179   (eval "$ac_link") 2>&5
   4180   ac_status=$?
   4181   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4182   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4183   { (case "(($ac_try" in
   4184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4185   *) ac_try_echo=$ac_try;;
   4186 esac
   4187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4188 $as_echo "$ac_try_echo") >&5
   4189   (eval "$ac_try") 2>&5
   4190   ac_status=$?
   4191   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4192   (exit $ac_status); }; }; then
   4193   :
   4194 else
   4195   $as_echo "$as_me: program exited with status $ac_status" >&5
   4196 $as_echo "$as_me: failed program was:" >&5
   4197 sed 's/^/| /' conftest.$ac_ext >&5
   4198 
   4199 ( exit $ac_status )
   4200 ac_cv_header_stdc=no
   4201 fi
   4202 rm -rf conftest.dSYM
   4203 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4204 fi
   4205 
   4206 
   4207 fi
   4208 fi
   4209 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4210 $as_echo "$ac_cv_header_stdc" >&6; }
   4211 if test $ac_cv_header_stdc = yes; then
   4212 
   4213 cat >>confdefs.h <<\_ACEOF
   4214 #define STDC_HEADERS 1
   4215 _ACEOF
   4216 
   4217 fi
   4218 
   4219 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4220 
   4221 
   4222 
   4223 
   4224 
   4225 
   4226 
   4227 
   4228 
   4229 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4230 		  inttypes.h stdint.h unistd.h
   4231 do
   4232 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4233 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   4234 $as_echo_n "checking for $ac_header... " >&6; }
   4235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4236   $as_echo_n "(cached) " >&6
   4237 else
   4238   cat >conftest.$ac_ext <<_ACEOF
   4239 /* confdefs.h.  */
   4240 _ACEOF
   4241 cat confdefs.h >>conftest.$ac_ext
   4242 cat >>conftest.$ac_ext <<_ACEOF
   4243 /* end confdefs.h.  */
   4244 $ac_includes_default
   4245 
   4246 #include <$ac_header>
   4247 _ACEOF
   4248 rm -f conftest.$ac_objext
   4249 if { (ac_try="$ac_compile"
   4250 case "(($ac_try" in
   4251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4252   *) ac_try_echo=$ac_try;;
   4253 esac
   4254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4255 $as_echo "$ac_try_echo") >&5
   4256   (eval "$ac_compile") 2>conftest.er1
   4257   ac_status=$?
   4258   grep -v '^ *+' conftest.er1 >conftest.err
   4259   rm -f conftest.er1
   4260   cat conftest.err >&5
   4261   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4262   (exit $ac_status); } && {
   4263 	 test -z "$ac_c_werror_flag" ||
   4264 	 test ! -s conftest.err
   4265        } && test -s conftest.$ac_objext; then
   4266   eval "$as_ac_Header=yes"
   4267 else
   4268   $as_echo "$as_me: failed program was:" >&5
   4269 sed 's/^/| /' conftest.$ac_ext >&5
   4270 
   4271 	eval "$as_ac_Header=no"
   4272 fi
   4273 
   4274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4275 fi
   4276 ac_res=`eval 'as_val=${'$as_ac_Header'}
   4277 		 $as_echo "$as_val"'`
   4278 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   4279 $as_echo "$ac_res" >&6; }
   4280 as_val=`eval 'as_val=${'$as_ac_Header'}
   4281 		 $as_echo "$as_val"'`
   4282    if test "x$as_val" = x""yes; then
   4283   cat >>confdefs.h <<_ACEOF
   4284 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4285 _ACEOF
   4286 
   4287 fi
   4288 
   4289 done
   4290 
   4291 
   4292    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   4293 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4294 if test "${ac_cv_prog_cc_c99+set}" = set; then
   4295   $as_echo_n "(cached) " >&6
   4296 else
   4297   ac_cv_prog_cc_c99=no
   4298 ac_save_CC=$CC
   4299 cat >conftest.$ac_ext <<_ACEOF
   4300 /* confdefs.h.  */
   4301 _ACEOF
   4302 cat confdefs.h >>conftest.$ac_ext
   4303 cat >>conftest.$ac_ext <<_ACEOF
   4304 /* end confdefs.h.  */
   4305 #include <stdarg.h>
   4306 #include <stdbool.h>
   4307 #include <stdlib.h>
   4308 #include <wchar.h>
   4309 #include <stdio.h>
   4310 
   4311 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4312 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4313 #define showlist(...) puts (#__VA_ARGS__)
   4314 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4315 static void
   4316 test_varargs_macros (void)
   4317 {
   4318   int x = 1234;
   4319   int y = 5678;
   4320   debug ("Flag");
   4321   debug ("X = %d\n", x);
   4322   showlist (The first, second, and third items.);
   4323   report (x>y, "x is %d but y is %d", x, y);
   4324 }
   4325 
   4326 // Check long long types.
   4327 #define BIG64 18446744073709551615ull
   4328 #define BIG32 4294967295ul
   4329 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4330 #if !BIG_OK
   4331   your preprocessor is broken;
   4332 #endif
   4333 #if BIG_OK
   4334 #else
   4335   your preprocessor is broken;
   4336 #endif
   4337 static long long int bignum = -9223372036854775807LL;
   4338 static unsigned long long int ubignum = BIG64;
   4339 
   4340 struct incomplete_array
   4341 {
   4342   int datasize;
   4343   double data[];
   4344 };
   4345 
   4346 struct named_init {
   4347   int number;
   4348   const wchar_t *name;
   4349   double average;
   4350 };
   4351 
   4352 typedef const char *ccp;
   4353 
   4354 static inline int
   4355 test_restrict (ccp restrict text)
   4356 {
   4357   // See if C++-style comments work.
   4358   // Iterate through items via the restricted pointer.
   4359   // Also check for declarations in for loops.
   4360   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4361     continue;
   4362   return 0;
   4363 }
   4364 
   4365 // Check varargs and va_copy.
   4366 static void
   4367 test_varargs (const char *format, ...)
   4368 {
   4369   va_list args;
   4370   va_start (args, format);
   4371   va_list args_copy;
   4372   va_copy (args_copy, args);
   4373 
   4374   const char *str;
   4375   int number;
   4376   float fnumber;
   4377 
   4378   while (*format)
   4379     {
   4380       switch (*format++)
   4381 	{
   4382 	case 's': // string
   4383 	  str = va_arg (args_copy, const char *);
   4384 	  break;
   4385 	case 'd': // int
   4386 	  number = va_arg (args_copy, int);
   4387 	  break;
   4388 	case 'f': // float
   4389 	  fnumber = va_arg (args_copy, double);
   4390 	  break;
   4391 	default:
   4392 	  break;
   4393 	}
   4394     }
   4395   va_end (args_copy);
   4396   va_end (args);
   4397 }
   4398 
   4399 int
   4400 main ()
   4401 {
   4402 
   4403   // Check bool.
   4404   _Bool success = false;
   4405 
   4406   // Check restrict.
   4407   if (test_restrict ("String literal") == 0)
   4408     success = true;
   4409   char *restrict newvar = "Another string";
   4410 
   4411   // Check varargs.
   4412   test_varargs ("s, d' f .", "string", 65, 34.234);
   4413   test_varargs_macros ();
   4414 
   4415   // Check flexible array members.
   4416   struct incomplete_array *ia =
   4417     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4418   ia->datasize = 10;
   4419   for (int i = 0; i < ia->datasize; ++i)
   4420     ia->data[i] = i * 1.234;
   4421 
   4422   // Check named initializers.
   4423   struct named_init ni = {
   4424     .number = 34,
   4425     .name = L"Test wide string",
   4426     .average = 543.34343,
   4427   };
   4428 
   4429   ni.number = 58;
   4430 
   4431   int dynamic_array[ni.number];
   4432   dynamic_array[ni.number - 1] = 543;
   4433 
   4434   // work around unused variable warnings
   4435   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4436 	  || dynamic_array[ni.number - 1] != 543);
   4437 
   4438   ;
   4439   return 0;
   4440 }
   4441 _ACEOF
   4442 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4443 do
   4444   CC="$ac_save_CC $ac_arg"
   4445   rm -f conftest.$ac_objext
   4446 if { (ac_try="$ac_compile"
   4447 case "(($ac_try" in
   4448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4449   *) ac_try_echo=$ac_try;;
   4450 esac
   4451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4452 $as_echo "$ac_try_echo") >&5
   4453   (eval "$ac_compile") 2>conftest.er1
   4454   ac_status=$?
   4455   grep -v '^ *+' conftest.er1 >conftest.err
   4456   rm -f conftest.er1
   4457   cat conftest.err >&5
   4458   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4459   (exit $ac_status); } && {
   4460 	 test -z "$ac_c_werror_flag" ||
   4461 	 test ! -s conftest.err
   4462        } && test -s conftest.$ac_objext; then
   4463   ac_cv_prog_cc_c99=$ac_arg
   4464 else
   4465   $as_echo "$as_me: failed program was:" >&5
   4466 sed 's/^/| /' conftest.$ac_ext >&5
   4467 
   4468 
   4469 fi
   4470 
   4471 rm -f core conftest.err conftest.$ac_objext
   4472   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4473 done
   4474 rm -f conftest.$ac_ext
   4475 CC=$ac_save_CC
   4476 
   4477 fi
   4478 # AC_CACHE_VAL
   4479 case "x$ac_cv_prog_cc_c99" in
   4480   x)
   4481     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   4482 $as_echo "none needed" >&6; } ;;
   4483   xno)
   4484     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   4485 $as_echo "unsupported" >&6; } ;;
   4486   *)
   4487     CC="$CC $ac_cv_prog_cc_c99"
   4488     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   4489 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4490 esac
   4491 
   4492 
   4493 
   4494 # Make sure we can run config.sub.
   4495 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4496   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   4497 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   4498    { (exit 1); exit 1; }; }
   4499 
   4500 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   4501 $as_echo_n "checking build system type... " >&6; }
   4502 if test "${ac_cv_build+set}" = set; then
   4503   $as_echo_n "(cached) " >&6
   4504 else
   4505   ac_build_alias=$build_alias
   4506 test "x$ac_build_alias" = x &&
   4507   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4508 test "x$ac_build_alias" = x &&
   4509   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   4510 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   4511    { (exit 1); exit 1; }; }
   4512 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4513   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   4514 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   4515    { (exit 1); exit 1; }; }
   4516 
   4517 fi
   4518 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   4519 $as_echo "$ac_cv_build" >&6; }
   4520 case $ac_cv_build in
   4521 *-*-*) ;;
   4522 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   4523 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   4524    { (exit 1); exit 1; }; };;
   4525 esac
   4526 build=$ac_cv_build
   4527 ac_save_IFS=$IFS; IFS='-'
   4528 set x $ac_cv_build
   4529 shift
   4530 build_cpu=$1
   4531 build_vendor=$2
   4532 shift; shift
   4533 # Remember, the first character of IFS is used to create $*,
   4534 # except with old shells:
   4535 build_os=$*
   4536 IFS=$ac_save_IFS
   4537 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4538 
   4539 
   4540 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   4541 $as_echo_n "checking host system type... " >&6; }
   4542 if test "${ac_cv_host+set}" = set; then
   4543   $as_echo_n "(cached) " >&6
   4544 else
   4545   if test "x$host_alias" = x; then
   4546   ac_cv_host=$ac_cv_build
   4547 else
   4548   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4549     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   4550 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   4551    { (exit 1); exit 1; }; }
   4552 fi
   4553 
   4554 fi
   4555 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   4556 $as_echo "$ac_cv_host" >&6; }
   4557 case $ac_cv_host in
   4558 *-*-*) ;;
   4559 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   4560 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   4561    { (exit 1); exit 1; }; };;
   4562 esac
   4563 host=$ac_cv_host
   4564 ac_save_IFS=$IFS; IFS='-'
   4565 set x $ac_cv_host
   4566 shift
   4567 host_cpu=$1
   4568 host_vendor=$2
   4569 shift; shift
   4570 # Remember, the first character of IFS is used to create $*,
   4571 # except with old shells:
   4572 host_os=$*
   4573 IFS=$ac_save_IFS
   4574 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4575 
   4576 
   4577 
   4578 
   4579 
   4580 if  test "x$GCC" = xyes ; then
   4581     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4582 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4583 -Wbad-function-cast"
   4584     case `$CC -dumpversion` in
   4585     3.4.* | 4.*)
   4586 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4587 	;;
   4588     esac
   4589 else
   4590     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4591 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4592 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4593   $as_echo_n "(cached) " >&6
   4594 else
   4595   cat >conftest.$ac_ext <<_ACEOF
   4596 /* confdefs.h.  */
   4597 _ACEOF
   4598 cat confdefs.h >>conftest.$ac_ext
   4599 cat >>conftest.$ac_ext <<_ACEOF
   4600 /* end confdefs.h.  */
   4601 $ac_includes_default
   4602 int
   4603 main ()
   4604 {
   4605 #ifndef __SUNPRO_C
   4606   (void) __SUNPRO_C;
   4607 #endif
   4608 
   4609   ;
   4610   return 0;
   4611 }
   4612 _ACEOF
   4613 rm -f conftest.$ac_objext
   4614 if { (ac_try="$ac_compile"
   4615 case "(($ac_try" in
   4616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4617   *) ac_try_echo=$ac_try;;
   4618 esac
   4619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4620 $as_echo "$ac_try_echo") >&5
   4621   (eval "$ac_compile") 2>conftest.er1
   4622   ac_status=$?
   4623   grep -v '^ *+' conftest.er1 >conftest.err
   4624   rm -f conftest.er1
   4625   cat conftest.err >&5
   4626   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4627   (exit $ac_status); } && {
   4628 	 test -z "$ac_c_werror_flag" ||
   4629 	 test ! -s conftest.err
   4630        } && test -s conftest.$ac_objext; then
   4631   ac_cv_have_decl___SUNPRO_C=yes
   4632 else
   4633   $as_echo "$as_me: failed program was:" >&5
   4634 sed 's/^/| /' conftest.$ac_ext >&5
   4635 
   4636 	ac_cv_have_decl___SUNPRO_C=no
   4637 fi
   4638 
   4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4640 fi
   4641 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4642 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   4643 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   4644   SUNCC="yes"
   4645 else
   4646   SUNCC="no"
   4647 fi
   4648 
   4649     if test "x$SUNCC" = "xyes"; then
   4650 	CWARNFLAGS="-v"
   4651     fi
   4652 fi
   4653 
   4654 # Check whether --enable-silent-rules was given.
   4655 if test "${enable_silent_rules+set}" = set; then
   4656   enableval=$enable_silent_rules;
   4657 fi
   4658 
   4659 case $enable_silent_rules in
   4660 yes) AM_DEFAULT_VERBOSITY=0;;
   4661 no)  AM_DEFAULT_VERBOSITY=1;;
   4662 *)   AM_DEFAULT_VERBOSITY=0;;
   4663 esac
   4664 AM_BACKSLASH='\'
   4665 
   4666 
   4667 
   4668 
   4669 
   4670 
   4671 
   4672 # Check whether --enable-strict-compilation was given.
   4673 if test "${enable_strict_compilation+set}" = set; then
   4674   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4675 else
   4676   STRICT_COMPILE=no
   4677 fi
   4678 
   4679 if test "x$STRICT_COMPILE" = "xyes"; then
   4680 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4681 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4682 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4683   $as_echo_n "(cached) " >&6
   4684 else
   4685   cat >conftest.$ac_ext <<_ACEOF
   4686 /* confdefs.h.  */
   4687 _ACEOF
   4688 cat confdefs.h >>conftest.$ac_ext
   4689 cat >>conftest.$ac_ext <<_ACEOF
   4690 /* end confdefs.h.  */
   4691 $ac_includes_default
   4692 int
   4693 main ()
   4694 {
   4695 #ifndef __SUNPRO_C
   4696   (void) __SUNPRO_C;
   4697 #endif
   4698 
   4699   ;
   4700   return 0;
   4701 }
   4702 _ACEOF
   4703 rm -f conftest.$ac_objext
   4704 if { (ac_try="$ac_compile"
   4705 case "(($ac_try" in
   4706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4707   *) ac_try_echo=$ac_try;;
   4708 esac
   4709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4710 $as_echo "$ac_try_echo") >&5
   4711   (eval "$ac_compile") 2>conftest.er1
   4712   ac_status=$?
   4713   grep -v '^ *+' conftest.er1 >conftest.err
   4714   rm -f conftest.er1
   4715   cat conftest.err >&5
   4716   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4717   (exit $ac_status); } && {
   4718 	 test -z "$ac_c_werror_flag" ||
   4719 	 test ! -s conftest.err
   4720        } && test -s conftest.$ac_objext; then
   4721   ac_cv_have_decl___SUNPRO_C=yes
   4722 else
   4723   $as_echo "$as_me: failed program was:" >&5
   4724 sed 's/^/| /' conftest.$ac_ext >&5
   4725 
   4726 	ac_cv_have_decl___SUNPRO_C=no
   4727 fi
   4728 
   4729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4730 fi
   4731 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4732 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   4733 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   4734   SUNCC="yes"
   4735 else
   4736   SUNCC="no"
   4737 fi
   4738 
   4739 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   4740 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   4741 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   4742   $as_echo_n "(cached) " >&6
   4743 else
   4744   cat >conftest.$ac_ext <<_ACEOF
   4745 /* confdefs.h.  */
   4746 _ACEOF
   4747 cat confdefs.h >>conftest.$ac_ext
   4748 cat >>conftest.$ac_ext <<_ACEOF
   4749 /* end confdefs.h.  */
   4750 $ac_includes_default
   4751 int
   4752 main ()
   4753 {
   4754 #ifndef __INTEL_COMPILER
   4755   (void) __INTEL_COMPILER;
   4756 #endif
   4757 
   4758   ;
   4759   return 0;
   4760 }
   4761 _ACEOF
   4762 rm -f conftest.$ac_objext
   4763 if { (ac_try="$ac_compile"
   4764 case "(($ac_try" in
   4765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4766   *) ac_try_echo=$ac_try;;
   4767 esac
   4768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4769 $as_echo "$ac_try_echo") >&5
   4770   (eval "$ac_compile") 2>conftest.er1
   4771   ac_status=$?
   4772   grep -v '^ *+' conftest.er1 >conftest.err
   4773   rm -f conftest.er1
   4774   cat conftest.err >&5
   4775   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4776   (exit $ac_status); } && {
   4777 	 test -z "$ac_c_werror_flag" ||
   4778 	 test ! -s conftest.err
   4779        } && test -s conftest.$ac_objext; then
   4780   ac_cv_have_decl___INTEL_COMPILER=yes
   4781 else
   4782   $as_echo "$as_me: failed program was:" >&5
   4783 sed 's/^/| /' conftest.$ac_ext >&5
   4784 
   4785 	ac_cv_have_decl___INTEL_COMPILER=no
   4786 fi
   4787 
   4788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4789 fi
   4790 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   4791 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   4792 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   4793   INTELCC="yes"
   4794 else
   4795   INTELCC="no"
   4796 fi
   4797 
   4798 	if test "x$GCC" = xyes ; then
   4799 		STRICT_CFLAGS="-pedantic -Werror"
   4800 	elif test "x$SUNCC" = "xyes"; then
   4801 		STRICT_CFLAGS="-errwarn"
   4802     elif test "x$INTELCC" = "xyes"; then
   4803 		STRICT_CFLAGS="-Werror"
   4804 	fi
   4805 fi
   4806 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   4807 
   4808 
   4809 
   4810 
   4811 # Check whether --with-release-version was given.
   4812 if test "${with_release_version+set}" = set; then
   4813   withval=$with_release_version; RELEASE_VERSION="$withval"
   4814 else
   4815   RELEASE_VERSION=""
   4816 fi
   4817 
   4818 	if test "x$RELEASE_VERSION" != "x"; then
   4819 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   4820 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   4821 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   4822 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   4823 	fi
   4824 
   4825 cat >>confdefs.h <<_ACEOF
   4826 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   4827 _ACEOF
   4828 
   4829 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   4830 	if test "x$PVM" = "x"; then
   4831 		PVM="0"
   4832 	fi
   4833 
   4834 cat >>confdefs.h <<_ACEOF
   4835 #define PACKAGE_VERSION_MINOR $PVM
   4836 _ACEOF
   4837 
   4838 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   4839 	if test "x$PVP" = "x"; then
   4840 		PVP="0"
   4841 	fi
   4842 
   4843 cat >>confdefs.h <<_ACEOF
   4844 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   4845 _ACEOF
   4846 
   4847 
   4848 
   4849 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   4850 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   4851 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   4852 
   4853 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 if test x$APP_MAN_SUFFIX = x    ; then
   4860     APP_MAN_SUFFIX=1
   4861 fi
   4862 if test x$APP_MAN_DIR = x    ; then
   4863     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   4864 fi
   4865 
   4866 if test x$LIB_MAN_SUFFIX = x    ; then
   4867     LIB_MAN_SUFFIX=3
   4868 fi
   4869 if test x$LIB_MAN_DIR = x    ; then
   4870     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   4871 fi
   4872 
   4873 if test x$FILE_MAN_SUFFIX = x    ; then
   4874     case $host_os in
   4875 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   4876 	*)		FILE_MAN_SUFFIX=5  ;;
   4877     esac
   4878 fi
   4879 if test x$FILE_MAN_DIR = x    ; then
   4880     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   4881 fi
   4882 
   4883 if test x$MISC_MAN_SUFFIX = x    ; then
   4884     case $host_os in
   4885 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   4886 	*)		MISC_MAN_SUFFIX=7  ;;
   4887     esac
   4888 fi
   4889 if test x$MISC_MAN_DIR = x    ; then
   4890     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   4891 fi
   4892 
   4893 if test x$DRIVER_MAN_SUFFIX = x    ; then
   4894     case $host_os in
   4895 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   4896 	*)		DRIVER_MAN_SUFFIX=4  ;;
   4897     esac
   4898 fi
   4899 if test x$DRIVER_MAN_DIR = x    ; then
   4900     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   4901 fi
   4902 
   4903 if test x$ADMIN_MAN_SUFFIX = x    ; then
   4904     case $host_os in
   4905 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   4906 	*)		ADMIN_MAN_SUFFIX=8  ;;
   4907     esac
   4908 fi
   4909 if test x$ADMIN_MAN_DIR = x    ; then
   4910     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   4911 fi
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 
   4920 
   4921 
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 
   4932 for ac_header in lastlog.h utmpx.h sys/param.h
   4933 do
   4934 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4936   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   4937 $as_echo_n "checking for $ac_header... " >&6; }
   4938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4939   $as_echo_n "(cached) " >&6
   4940 fi
   4941 ac_res=`eval 'as_val=${'$as_ac_Header'}
   4942 		 $as_echo "$as_val"'`
   4943 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   4944 $as_echo "$ac_res" >&6; }
   4945 else
   4946   # Is the header compilable?
   4947 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   4948 $as_echo_n "checking $ac_header usability... " >&6; }
   4949 cat >conftest.$ac_ext <<_ACEOF
   4950 /* confdefs.h.  */
   4951 _ACEOF
   4952 cat confdefs.h >>conftest.$ac_ext
   4953 cat >>conftest.$ac_ext <<_ACEOF
   4954 /* end confdefs.h.  */
   4955 $ac_includes_default
   4956 #include <$ac_header>
   4957 _ACEOF
   4958 rm -f conftest.$ac_objext
   4959 if { (ac_try="$ac_compile"
   4960 case "(($ac_try" in
   4961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4962   *) ac_try_echo=$ac_try;;
   4963 esac
   4964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4965 $as_echo "$ac_try_echo") >&5
   4966   (eval "$ac_compile") 2>conftest.er1
   4967   ac_status=$?
   4968   grep -v '^ *+' conftest.er1 >conftest.err
   4969   rm -f conftest.er1
   4970   cat conftest.err >&5
   4971   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4972   (exit $ac_status); } && {
   4973 	 test -z "$ac_c_werror_flag" ||
   4974 	 test ! -s conftest.err
   4975        } && test -s conftest.$ac_objext; then
   4976   ac_header_compiler=yes
   4977 else
   4978   $as_echo "$as_me: failed program was:" >&5
   4979 sed 's/^/| /' conftest.$ac_ext >&5
   4980 
   4981 	ac_header_compiler=no
   4982 fi
   4983 
   4984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4985 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   4986 $as_echo "$ac_header_compiler" >&6; }
   4987 
   4988 # Is the header present?
   4989 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   4990 $as_echo_n "checking $ac_header presence... " >&6; }
   4991 cat >conftest.$ac_ext <<_ACEOF
   4992 /* confdefs.h.  */
   4993 _ACEOF
   4994 cat confdefs.h >>conftest.$ac_ext
   4995 cat >>conftest.$ac_ext <<_ACEOF
   4996 /* end confdefs.h.  */
   4997 #include <$ac_header>
   4998 _ACEOF
   4999 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5000 case "(($ac_try" in
   5001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5002   *) ac_try_echo=$ac_try;;
   5003 esac
   5004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5005 $as_echo "$ac_try_echo") >&5
   5006   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5007   ac_status=$?
   5008   grep -v '^ *+' conftest.er1 >conftest.err
   5009   rm -f conftest.er1
   5010   cat conftest.err >&5
   5011   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5012   (exit $ac_status); } >/dev/null && {
   5013 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5014 	 test ! -s conftest.err
   5015        }; then
   5016   ac_header_preproc=yes
   5017 else
   5018   $as_echo "$as_me: failed program was:" >&5
   5019 sed 's/^/| /' conftest.$ac_ext >&5
   5020 
   5021   ac_header_preproc=no
   5022 fi
   5023 
   5024 rm -f conftest.err conftest.$ac_ext
   5025 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5026 $as_echo "$ac_header_preproc" >&6; }
   5027 
   5028 # So?  What about this header?
   5029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5030   yes:no: )
   5031     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5032 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5033     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5034 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5035     ac_header_preproc=yes
   5036     ;;
   5037   no:yes:* )
   5038     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5039 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5040     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5041 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5042     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5043 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5044     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5045 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5046     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5047 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5048     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5049 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5050     ( cat <<\_ASBOX
   5051 ## ---------------------------------------------------------------------- ##
   5052 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5053 ## ---------------------------------------------------------------------- ##
   5054 _ASBOX
   5055      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5056     ;;
   5057 esac
   5058 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5059 $as_echo_n "checking for $ac_header... " >&6; }
   5060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5061   $as_echo_n "(cached) " >&6
   5062 else
   5063   eval "$as_ac_Header=\$ac_header_preproc"
   5064 fi
   5065 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5066 		 $as_echo "$as_val"'`
   5067 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5068 $as_echo "$ac_res" >&6; }
   5069 
   5070 fi
   5071 as_val=`eval 'as_val=${'$as_ac_Header'}
   5072 		 $as_echo "$as_val"'`
   5073    if test "x$as_val" = x""yes; then
   5074   cat >>confdefs.h <<_ACEOF
   5075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5076 _ACEOF
   5077 
   5078 fi
   5079 
   5080 done
   5081 
   5082 { $as_echo "$as_me:$LINENO: checking for struct utmpx.ut_syslen" >&5
   5083 $as_echo_n "checking for struct utmpx.ut_syslen... " >&6; }
   5084 if test "${ac_cv_member_struct_utmpx_ut_syslen+set}" = set; then
   5085   $as_echo_n "(cached) " >&6
   5086 else
   5087   cat >conftest.$ac_ext <<_ACEOF
   5088 /* confdefs.h.  */
   5089 _ACEOF
   5090 cat confdefs.h >>conftest.$ac_ext
   5091 cat >>conftest.$ac_ext <<_ACEOF
   5092 /* end confdefs.h.  */
   5093 #include <utmpx.h>
   5094 
   5095 int
   5096 main ()
   5097 {
   5098 static struct utmpx ac_aggr;
   5099 if (ac_aggr.ut_syslen)
   5100 return 0;
   5101   ;
   5102   return 0;
   5103 }
   5104 _ACEOF
   5105 rm -f conftest.$ac_objext
   5106 if { (ac_try="$ac_compile"
   5107 case "(($ac_try" in
   5108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5109   *) ac_try_echo=$ac_try;;
   5110 esac
   5111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5112 $as_echo "$ac_try_echo") >&5
   5113   (eval "$ac_compile") 2>conftest.er1
   5114   ac_status=$?
   5115   grep -v '^ *+' conftest.er1 >conftest.err
   5116   rm -f conftest.er1
   5117   cat conftest.err >&5
   5118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5119   (exit $ac_status); } && {
   5120 	 test -z "$ac_c_werror_flag" ||
   5121 	 test ! -s conftest.err
   5122        } && test -s conftest.$ac_objext; then
   5123   ac_cv_member_struct_utmpx_ut_syslen=yes
   5124 else
   5125   $as_echo "$as_me: failed program was:" >&5
   5126 sed 's/^/| /' conftest.$ac_ext >&5
   5127 
   5128 	cat >conftest.$ac_ext <<_ACEOF
   5129 /* confdefs.h.  */
   5130 _ACEOF
   5131 cat confdefs.h >>conftest.$ac_ext
   5132 cat >>conftest.$ac_ext <<_ACEOF
   5133 /* end confdefs.h.  */
   5134 #include <utmpx.h>
   5135 
   5136 int
   5137 main ()
   5138 {
   5139 static struct utmpx ac_aggr;
   5140 if (sizeof ac_aggr.ut_syslen)
   5141 return 0;
   5142   ;
   5143   return 0;
   5144 }
   5145 _ACEOF
   5146 rm -f conftest.$ac_objext
   5147 if { (ac_try="$ac_compile"
   5148 case "(($ac_try" in
   5149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5150   *) ac_try_echo=$ac_try;;
   5151 esac
   5152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5153 $as_echo "$ac_try_echo") >&5
   5154   (eval "$ac_compile") 2>conftest.er1
   5155   ac_status=$?
   5156   grep -v '^ *+' conftest.er1 >conftest.err
   5157   rm -f conftest.er1
   5158   cat conftest.err >&5
   5159   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5160   (exit $ac_status); } && {
   5161 	 test -z "$ac_c_werror_flag" ||
   5162 	 test ! -s conftest.err
   5163        } && test -s conftest.$ac_objext; then
   5164   ac_cv_member_struct_utmpx_ut_syslen=yes
   5165 else
   5166   $as_echo "$as_me: failed program was:" >&5
   5167 sed 's/^/| /' conftest.$ac_ext >&5
   5168 
   5169 	ac_cv_member_struct_utmpx_ut_syslen=no
   5170 fi
   5171 
   5172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5173 fi
   5174 
   5175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5176 fi
   5177 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_syslen" >&5
   5178 $as_echo "$ac_cv_member_struct_utmpx_ut_syslen" >&6; }
   5179 if test "x$ac_cv_member_struct_utmpx_ut_syslen" = x""yes; then
   5180   HAVE_SYSLEN=1
   5181 else
   5182   HAVE_SYSLEN=0
   5183 fi
   5184 
   5185 
   5186 cat >>confdefs.h <<_ACEOF
   5187 #define HAVE_UTMPX_UT_SYSLEN $HAVE_SYSLEN
   5188 _ACEOF
   5189 
   5190 
   5191 # Check whether --enable-largefile was given.
   5192 if test "${enable_largefile+set}" = set; then
   5193   enableval=$enable_largefile;
   5194 fi
   5195 
   5196 if test "$enable_largefile" != no; then
   5197 
   5198   { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
   5199 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   5200 if test "${ac_cv_sys_largefile_CC+set}" = set; then
   5201   $as_echo_n "(cached) " >&6
   5202 else
   5203   ac_cv_sys_largefile_CC=no
   5204      if test "$GCC" != yes; then
   5205        ac_save_CC=$CC
   5206        while :; do
   5207 	 # IRIX 6.2 and later do not support large files by default,
   5208 	 # so use the C compiler's -n32 option if that helps.
   5209 	 cat >conftest.$ac_ext <<_ACEOF
   5210 /* confdefs.h.  */
   5211 _ACEOF
   5212 cat confdefs.h >>conftest.$ac_ext
   5213 cat >>conftest.$ac_ext <<_ACEOF
   5214 /* end confdefs.h.  */
   5215 #include <sys/types.h>
   5216  /* Check that off_t can represent 2**63 - 1 correctly.
   5217     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5218     since some C++ compilers masquerading as C compilers
   5219     incorrectly reject 9223372036854775807.  */
   5220 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5221   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5222 		       && LARGE_OFF_T % 2147483647 == 1)
   5223 		      ? 1 : -1];
   5224 int
   5225 main ()
   5226 {
   5227 
   5228   ;
   5229   return 0;
   5230 }
   5231 _ACEOF
   5232 	 rm -f conftest.$ac_objext
   5233 if { (ac_try="$ac_compile"
   5234 case "(($ac_try" in
   5235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5236   *) ac_try_echo=$ac_try;;
   5237 esac
   5238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5239 $as_echo "$ac_try_echo") >&5
   5240   (eval "$ac_compile") 2>conftest.er1
   5241   ac_status=$?
   5242   grep -v '^ *+' conftest.er1 >conftest.err
   5243   rm -f conftest.er1
   5244   cat conftest.err >&5
   5245   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5246   (exit $ac_status); } && {
   5247 	 test -z "$ac_c_werror_flag" ||
   5248 	 test ! -s conftest.err
   5249        } && test -s conftest.$ac_objext; then
   5250   break
   5251 else
   5252   $as_echo "$as_me: failed program was:" >&5
   5253 sed 's/^/| /' conftest.$ac_ext >&5
   5254 
   5255 
   5256 fi
   5257 
   5258 rm -f core conftest.err conftest.$ac_objext
   5259 	 CC="$CC -n32"
   5260 	 rm -f conftest.$ac_objext
   5261 if { (ac_try="$ac_compile"
   5262 case "(($ac_try" in
   5263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5264   *) ac_try_echo=$ac_try;;
   5265 esac
   5266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5267 $as_echo "$ac_try_echo") >&5
   5268   (eval "$ac_compile") 2>conftest.er1
   5269   ac_status=$?
   5270   grep -v '^ *+' conftest.er1 >conftest.err
   5271   rm -f conftest.er1
   5272   cat conftest.err >&5
   5273   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5274   (exit $ac_status); } && {
   5275 	 test -z "$ac_c_werror_flag" ||
   5276 	 test ! -s conftest.err
   5277        } && test -s conftest.$ac_objext; then
   5278   ac_cv_sys_largefile_CC=' -n32'; break
   5279 else
   5280   $as_echo "$as_me: failed program was:" >&5
   5281 sed 's/^/| /' conftest.$ac_ext >&5
   5282 
   5283 
   5284 fi
   5285 
   5286 rm -f core conftest.err conftest.$ac_objext
   5287 	 break
   5288        done
   5289        CC=$ac_save_CC
   5290        rm -f conftest.$ac_ext
   5291     fi
   5292 fi
   5293 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
   5294 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   5295   if test "$ac_cv_sys_largefile_CC" != no; then
   5296     CC=$CC$ac_cv_sys_largefile_CC
   5297   fi
   5298 
   5299   { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   5300 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   5301 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
   5302   $as_echo_n "(cached) " >&6
   5303 else
   5304   while :; do
   5305   cat >conftest.$ac_ext <<_ACEOF
   5306 /* confdefs.h.  */
   5307 _ACEOF
   5308 cat confdefs.h >>conftest.$ac_ext
   5309 cat >>conftest.$ac_ext <<_ACEOF
   5310 /* end confdefs.h.  */
   5311 #include <sys/types.h>
   5312  /* Check that off_t can represent 2**63 - 1 correctly.
   5313     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5314     since some C++ compilers masquerading as C compilers
   5315     incorrectly reject 9223372036854775807.  */
   5316 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5317   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5318 		       && LARGE_OFF_T % 2147483647 == 1)
   5319 		      ? 1 : -1];
   5320 int
   5321 main ()
   5322 {
   5323 
   5324   ;
   5325   return 0;
   5326 }
   5327 _ACEOF
   5328 rm -f conftest.$ac_objext
   5329 if { (ac_try="$ac_compile"
   5330 case "(($ac_try" in
   5331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5332   *) ac_try_echo=$ac_try;;
   5333 esac
   5334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5335 $as_echo "$ac_try_echo") >&5
   5336   (eval "$ac_compile") 2>conftest.er1
   5337   ac_status=$?
   5338   grep -v '^ *+' conftest.er1 >conftest.err
   5339   rm -f conftest.er1
   5340   cat conftest.err >&5
   5341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5342   (exit $ac_status); } && {
   5343 	 test -z "$ac_c_werror_flag" ||
   5344 	 test ! -s conftest.err
   5345        } && test -s conftest.$ac_objext; then
   5346   ac_cv_sys_file_offset_bits=no; break
   5347 else
   5348   $as_echo "$as_me: failed program was:" >&5
   5349 sed 's/^/| /' conftest.$ac_ext >&5
   5350 
   5351 
   5352 fi
   5353 
   5354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5355   cat >conftest.$ac_ext <<_ACEOF
   5356 /* confdefs.h.  */
   5357 _ACEOF
   5358 cat confdefs.h >>conftest.$ac_ext
   5359 cat >>conftest.$ac_ext <<_ACEOF
   5360 /* end confdefs.h.  */
   5361 #define _FILE_OFFSET_BITS 64
   5362 #include <sys/types.h>
   5363  /* Check that off_t can represent 2**63 - 1 correctly.
   5364     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5365     since some C++ compilers masquerading as C compilers
   5366     incorrectly reject 9223372036854775807.  */
   5367 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5368   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5369 		       && LARGE_OFF_T % 2147483647 == 1)
   5370 		      ? 1 : -1];
   5371 int
   5372 main ()
   5373 {
   5374 
   5375   ;
   5376   return 0;
   5377 }
   5378 _ACEOF
   5379 rm -f conftest.$ac_objext
   5380 if { (ac_try="$ac_compile"
   5381 case "(($ac_try" in
   5382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5383   *) ac_try_echo=$ac_try;;
   5384 esac
   5385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5386 $as_echo "$ac_try_echo") >&5
   5387   (eval "$ac_compile") 2>conftest.er1
   5388   ac_status=$?
   5389   grep -v '^ *+' conftest.er1 >conftest.err
   5390   rm -f conftest.er1
   5391   cat conftest.err >&5
   5392   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5393   (exit $ac_status); } && {
   5394 	 test -z "$ac_c_werror_flag" ||
   5395 	 test ! -s conftest.err
   5396        } && test -s conftest.$ac_objext; then
   5397   ac_cv_sys_file_offset_bits=64; break
   5398 else
   5399   $as_echo "$as_me: failed program was:" >&5
   5400 sed 's/^/| /' conftest.$ac_ext >&5
   5401 
   5402 
   5403 fi
   5404 
   5405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5406   ac_cv_sys_file_offset_bits=unknown
   5407   break
   5408 done
   5409 fi
   5410 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
   5411 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   5412 case $ac_cv_sys_file_offset_bits in #(
   5413   no | unknown) ;;
   5414   *)
   5415 cat >>confdefs.h <<_ACEOF
   5416 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   5417 _ACEOF
   5418 ;;
   5419 esac
   5420 rm -rf conftest*
   5421   if test $ac_cv_sys_file_offset_bits = unknown; then
   5422     { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
   5423 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   5424 if test "${ac_cv_sys_large_files+set}" = set; then
   5425   $as_echo_n "(cached) " >&6
   5426 else
   5427   while :; do
   5428   cat >conftest.$ac_ext <<_ACEOF
   5429 /* confdefs.h.  */
   5430 _ACEOF
   5431 cat confdefs.h >>conftest.$ac_ext
   5432 cat >>conftest.$ac_ext <<_ACEOF
   5433 /* end confdefs.h.  */
   5434 #include <sys/types.h>
   5435  /* Check that off_t can represent 2**63 - 1 correctly.
   5436     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5437     since some C++ compilers masquerading as C compilers
   5438     incorrectly reject 9223372036854775807.  */
   5439 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5440   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5441 		       && LARGE_OFF_T % 2147483647 == 1)
   5442 		      ? 1 : -1];
   5443 int
   5444 main ()
   5445 {
   5446 
   5447   ;
   5448   return 0;
   5449 }
   5450 _ACEOF
   5451 rm -f conftest.$ac_objext
   5452 if { (ac_try="$ac_compile"
   5453 case "(($ac_try" in
   5454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5455   *) ac_try_echo=$ac_try;;
   5456 esac
   5457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5458 $as_echo "$ac_try_echo") >&5
   5459   (eval "$ac_compile") 2>conftest.er1
   5460   ac_status=$?
   5461   grep -v '^ *+' conftest.er1 >conftest.err
   5462   rm -f conftest.er1
   5463   cat conftest.err >&5
   5464   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5465   (exit $ac_status); } && {
   5466 	 test -z "$ac_c_werror_flag" ||
   5467 	 test ! -s conftest.err
   5468        } && test -s conftest.$ac_objext; then
   5469   ac_cv_sys_large_files=no; break
   5470 else
   5471   $as_echo "$as_me: failed program was:" >&5
   5472 sed 's/^/| /' conftest.$ac_ext >&5
   5473 
   5474 
   5475 fi
   5476 
   5477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5478   cat >conftest.$ac_ext <<_ACEOF
   5479 /* confdefs.h.  */
   5480 _ACEOF
   5481 cat confdefs.h >>conftest.$ac_ext
   5482 cat >>conftest.$ac_ext <<_ACEOF
   5483 /* end confdefs.h.  */
   5484 #define _LARGE_FILES 1
   5485 #include <sys/types.h>
   5486  /* Check that off_t can represent 2**63 - 1 correctly.
   5487     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5488     since some C++ compilers masquerading as C compilers
   5489     incorrectly reject 9223372036854775807.  */
   5490 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5491   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5492 		       && LARGE_OFF_T % 2147483647 == 1)
   5493 		      ? 1 : -1];
   5494 int
   5495 main ()
   5496 {
   5497 
   5498   ;
   5499   return 0;
   5500 }
   5501 _ACEOF
   5502 rm -f conftest.$ac_objext
   5503 if { (ac_try="$ac_compile"
   5504 case "(($ac_try" in
   5505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5506   *) ac_try_echo=$ac_try;;
   5507 esac
   5508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5509 $as_echo "$ac_try_echo") >&5
   5510   (eval "$ac_compile") 2>conftest.er1
   5511   ac_status=$?
   5512   grep -v '^ *+' conftest.er1 >conftest.err
   5513   rm -f conftest.er1
   5514   cat conftest.err >&5
   5515   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5516   (exit $ac_status); } && {
   5517 	 test -z "$ac_c_werror_flag" ||
   5518 	 test ! -s conftest.err
   5519        } && test -s conftest.$ac_objext; then
   5520   ac_cv_sys_large_files=1; break
   5521 else
   5522   $as_echo "$as_me: failed program was:" >&5
   5523 sed 's/^/| /' conftest.$ac_ext >&5
   5524 
   5525 
   5526 fi
   5527 
   5528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5529   ac_cv_sys_large_files=unknown
   5530   break
   5531 done
   5532 fi
   5533 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
   5534 $as_echo "$ac_cv_sys_large_files" >&6; }
   5535 case $ac_cv_sys_large_files in #(
   5536   no | unknown) ;;
   5537   *)
   5538 cat >>confdefs.h <<_ACEOF
   5539 #define _LARGE_FILES $ac_cv_sys_large_files
   5540 _ACEOF
   5541 ;;
   5542 esac
   5543 rm -rf conftest*
   5544   fi
   5545 fi
   5546 
   5547 
   5548 # Checks for pkg-config packages
   5549 
   5550 
   5551 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5552 	if test -n "$ac_tool_prefix"; then
   5553   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5554 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5555 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5556 $as_echo_n "checking for $ac_word... " >&6; }
   5557 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   5558   $as_echo_n "(cached) " >&6
   5559 else
   5560   case $PKG_CONFIG in
   5561   [\\/]* | ?:[\\/]*)
   5562   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5563   ;;
   5564   *)
   5565   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5566 for as_dir in $PATH
   5567 do
   5568   IFS=$as_save_IFS
   5569   test -z "$as_dir" && as_dir=.
   5570   for ac_exec_ext in '' $ac_executable_extensions; do
   5571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5572     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5573     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5574     break 2
   5575   fi
   5576 done
   5577 done
   5578 IFS=$as_save_IFS
   5579 
   5580   ;;
   5581 esac
   5582 fi
   5583 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5584 if test -n "$PKG_CONFIG"; then
   5585   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   5586 $as_echo "$PKG_CONFIG" >&6; }
   5587 else
   5588   { $as_echo "$as_me:$LINENO: result: no" >&5
   5589 $as_echo "no" >&6; }
   5590 fi
   5591 
   5592 
   5593 fi
   5594 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5595   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5596   # Extract the first word of "pkg-config", so it can be a program name with args.
   5597 set dummy pkg-config; ac_word=$2
   5598 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5599 $as_echo_n "checking for $ac_word... " >&6; }
   5600 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   5601   $as_echo_n "(cached) " >&6
   5602 else
   5603   case $ac_pt_PKG_CONFIG in
   5604   [\\/]* | ?:[\\/]*)
   5605   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5606   ;;
   5607   *)
   5608   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5609 for as_dir in $PATH
   5610 do
   5611   IFS=$as_save_IFS
   5612   test -z "$as_dir" && as_dir=.
   5613   for ac_exec_ext in '' $ac_executable_extensions; do
   5614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5615     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5616     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5617     break 2
   5618   fi
   5619 done
   5620 done
   5621 IFS=$as_save_IFS
   5622 
   5623   ;;
   5624 esac
   5625 fi
   5626 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5627 if test -n "$ac_pt_PKG_CONFIG"; then
   5628   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   5629 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   5630 else
   5631   { $as_echo "$as_me:$LINENO: result: no" >&5
   5632 $as_echo "no" >&6; }
   5633 fi
   5634 
   5635   if test "x$ac_pt_PKG_CONFIG" = x; then
   5636     PKG_CONFIG=""
   5637   else
   5638     case $cross_compiling:$ac_tool_warned in
   5639 yes:)
   5640 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5642 ac_tool_warned=yes ;;
   5643 esac
   5644     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5645   fi
   5646 else
   5647   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5648 fi
   5649 
   5650 fi
   5651 if test -n "$PKG_CONFIG"; then
   5652 	_pkg_min_version=0.9.0
   5653 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   5654 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5655 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5656 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   5657 $as_echo "yes" >&6; }
   5658 	else
   5659 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   5660 $as_echo "no" >&6; }
   5661 		PKG_CONFIG=""
   5662 	fi
   5663 
   5664 fi
   5665 
   5666 pkg_failed=no
   5667 { $as_echo "$as_me:$LINENO: checking for SESSREG" >&5
   5668 $as_echo_n "checking for SESSREG... " >&6; }
   5669 
   5670 if test -n "$SESSREG_CFLAGS"; then
   5671     pkg_cv_SESSREG_CFLAGS="$SESSREG_CFLAGS"
   5672  elif test -n "$PKG_CONFIG"; then
   5673     if test -n "$PKG_CONFIG" && \
   5674     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
   5675   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   5676   ac_status=$?
   5677   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5678   (exit $ac_status); }; then
   5679   pkg_cv_SESSREG_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   5680 else
   5681   pkg_failed=yes
   5682 fi
   5683  else
   5684     pkg_failed=untried
   5685 fi
   5686 if test -n "$SESSREG_LIBS"; then
   5687     pkg_cv_SESSREG_LIBS="$SESSREG_LIBS"
   5688  elif test -n "$PKG_CONFIG"; then
   5689     if test -n "$PKG_CONFIG" && \
   5690     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
   5691   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   5692   ac_status=$?
   5693   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5694   (exit $ac_status); }; then
   5695   pkg_cv_SESSREG_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   5696 else
   5697   pkg_failed=yes
   5698 fi
   5699  else
   5700     pkg_failed=untried
   5701 fi
   5702 
   5703 
   5704 
   5705 if test $pkg_failed = yes; then
   5706 
   5707 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   5708         _pkg_short_errors_supported=yes
   5709 else
   5710         _pkg_short_errors_supported=no
   5711 fi
   5712         if test $_pkg_short_errors_supported = yes; then
   5713 	        SESSREG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
   5714         else
   5715 	        SESSREG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
   5716         fi
   5717 	# Put the nasty error message in config.log where it belongs
   5718 	echo "$SESSREG_PKG_ERRORS" >&5
   5719 
   5720 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto) were not met:
   5721 
   5722 $SESSREG_PKG_ERRORS
   5723 
   5724 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   5725 installed software in a non-standard prefix.
   5726 
   5727 Alternatively, you may set the environment variables SESSREG_CFLAGS
   5728 and SESSREG_LIBS to avoid the need to call pkg-config.
   5729 See the pkg-config man page for more details.
   5730 " >&5
   5731 $as_echo "$as_me: error: Package requirements (xproto) were not met:
   5732 
   5733 $SESSREG_PKG_ERRORS
   5734 
   5735 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   5736 installed software in a non-standard prefix.
   5737 
   5738 Alternatively, you may set the environment variables SESSREG_CFLAGS
   5739 and SESSREG_LIBS to avoid the need to call pkg-config.
   5740 See the pkg-config man page for more details.
   5741 " >&2;}
   5742    { (exit 1); exit 1; }; }
   5743 elif test $pkg_failed = untried; then
   5744 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   5745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5746 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   5747 is in your PATH or set the PKG_CONFIG environment variable to the full
   5748 path to pkg-config.
   5749 
   5750 Alternatively, you may set the environment variables SESSREG_CFLAGS
   5751 and SESSREG_LIBS to avoid the need to call pkg-config.
   5752 See the pkg-config man page for more details.
   5753 
   5754 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   5755 See \`config.log' for more details." >&5
   5756 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   5757 is in your PATH or set the PKG_CONFIG environment variable to the full
   5758 path to pkg-config.
   5759 
   5760 Alternatively, you may set the environment variables SESSREG_CFLAGS
   5761 and SESSREG_LIBS to avoid the need to call pkg-config.
   5762 See the pkg-config man page for more details.
   5763 
   5764 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   5765 See \`config.log' for more details." >&2;}
   5766    { (exit 1); exit 1; }; }; }
   5767 else
   5768 	SESSREG_CFLAGS=$pkg_cv_SESSREG_CFLAGS
   5769 	SESSREG_LIBS=$pkg_cv_SESSREG_LIBS
   5770         { $as_echo "$as_me:$LINENO: result: yes" >&5
   5771 $as_echo "yes" >&6; }
   5772 	:
   5773 fi
   5774 
   5775 
   5776 # Allow checking code with lint, sparse, etc.
   5777 
   5778 
   5779 # Allow checking code with lint, sparse, etc.
   5780 
   5781 # Check whether --with-lint was given.
   5782 if test "${with_lint+set}" = set; then
   5783   withval=$with_lint; use_lint=$withval
   5784 else
   5785   use_lint=no
   5786 fi
   5787 
   5788 if test "x$use_lint" = "xyes" ; then
   5789 	LINT="lint"
   5790 else
   5791 	LINT="$use_lint"
   5792 fi
   5793 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   5794     case $LINT in
   5795 	lint|*/lint)
   5796 	    case $host_os in
   5797 		solaris*)
   5798 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   5799 			;;
   5800 	    esac
   5801 	    ;;
   5802     esac
   5803 fi
   5804 
   5805 
   5806 
   5807  if test x$LINT != xno; then
   5808   LINT_TRUE=
   5809   LINT_FALSE='#'
   5810 else
   5811   LINT_TRUE='#'
   5812   LINT_FALSE=
   5813 fi
   5814 
   5815 
   5816 
   5817 
   5818 ac_config_files="$ac_config_files Makefile"
   5819 
   5820 cat >confcache <<\_ACEOF
   5821 # This file is a shell script that caches the results of configure
   5822 # tests run on this system so they can be shared between configure
   5823 # scripts and configure runs, see configure's option --config-cache.
   5824 # It is not useful on other systems.  If it contains results you don't
   5825 # want to keep, you may remove or edit it.
   5826 #
   5827 # config.status only pays attention to the cache file if you give it
   5828 # the --recheck option to rerun configure.
   5829 #
   5830 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   5831 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   5832 # following values.
   5833 
   5834 _ACEOF
   5835 
   5836 # The following way of writing the cache mishandles newlines in values,
   5837 # but we know of no workaround that is simple, portable, and efficient.
   5838 # So, we kill variables containing newlines.
   5839 # Ultrix sh set writes to stderr and can't be redirected directly,
   5840 # and sets the high bit in the cache file unless we assign to the vars.
   5841 (
   5842   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   5843     eval ac_val=\$$ac_var
   5844     case $ac_val in #(
   5845     *${as_nl}*)
   5846       case $ac_var in #(
   5847       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   5848 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   5849       esac
   5850       case $ac_var in #(
   5851       _ | IFS | as_nl) ;; #(
   5852       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   5853       *) $as_unset $ac_var ;;
   5854       esac ;;
   5855     esac
   5856   done
   5857 
   5858   (set) 2>&1 |
   5859     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   5860     *${as_nl}ac_space=\ *)
   5861       # `set' does not quote correctly, so add quotes (double-quote
   5862       # substitution turns \\\\ into \\, and sed turns \\ into \).
   5863       sed -n \
   5864 	"s/'/'\\\\''/g;
   5865 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   5866       ;; #(
   5867     *)
   5868       # `set' quotes correctly as required by POSIX, so do not add quotes.
   5869       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   5870       ;;
   5871     esac |
   5872     sort
   5873 ) |
   5874   sed '
   5875      /^ac_cv_env_/b end
   5876      t clear
   5877      :clear
   5878      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   5879      t end
   5880      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   5881      :end' >>confcache
   5882 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   5883   if test -w "$cache_file"; then
   5884     test "x$cache_file" != "x/dev/null" &&
   5885       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   5886 $as_echo "$as_me: updating cache $cache_file" >&6;}
   5887     cat confcache >$cache_file
   5888   else
   5889     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   5890 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   5891   fi
   5892 fi
   5893 rm -f confcache
   5894 
   5895 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   5896 # Let make expand exec_prefix.
   5897 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   5898 
   5899 DEFS=-DHAVE_CONFIG_H
   5900 
   5901 ac_libobjs=
   5902 ac_ltlibobjs=
   5903 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   5904   # 1. Remove the extension, and $U if already installed.
   5905   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   5906   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   5907   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   5908   #    will be set to the directory where LIBOBJS objects are built.
   5909   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   5910   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   5911 done
   5912 LIBOBJS=$ac_libobjs
   5913 
   5914 LTLIBOBJS=$ac_ltlibobjs
   5915 
   5916 
   5917  if test -n "$EXEEXT"; then
   5918   am__EXEEXT_TRUE=
   5919   am__EXEEXT_FALSE='#'
   5920 else
   5921   am__EXEEXT_TRUE='#'
   5922   am__EXEEXT_FALSE=
   5923 fi
   5924 
   5925 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   5926   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   5927 Usually this means the macro was only invoked conditionally." >&5
   5928 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   5929 Usually this means the macro was only invoked conditionally." >&2;}
   5930    { (exit 1); exit 1; }; }
   5931 fi
   5932 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   5933   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   5934 Usually this means the macro was only invoked conditionally." >&5
   5935 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   5936 Usually this means the macro was only invoked conditionally." >&2;}
   5937    { (exit 1); exit 1; }; }
   5938 fi
   5939 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   5940   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   5941 Usually this means the macro was only invoked conditionally." >&5
   5942 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   5943 Usually this means the macro was only invoked conditionally." >&2;}
   5944    { (exit 1); exit 1; }; }
   5945 fi
   5946 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   5947   { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   5948 Usually this means the macro was only invoked conditionally." >&5
   5949 $as_echo "$as_me: error: conditional \"LINT\" was never defined.
   5950 Usually this means the macro was only invoked conditionally." >&2;}
   5951    { (exit 1); exit 1; }; }
   5952 fi
   5953 
   5954 : ${CONFIG_STATUS=./config.status}
   5955 ac_write_fail=0
   5956 ac_clean_files_save=$ac_clean_files
   5957 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   5958 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   5959 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   5960 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   5961 #! $SHELL
   5962 # Generated by $as_me.
   5963 # Run this file to recreate the current configuration.
   5964 # Compiler output produced by configure, useful for debugging
   5965 # configure, is in config.log if it exists.
   5966 
   5967 debug=false
   5968 ac_cs_recheck=false
   5969 ac_cs_silent=false
   5970 SHELL=\${CONFIG_SHELL-$SHELL}
   5971 _ACEOF
   5972 
   5973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5974 ## --------------------- ##
   5975 ## M4sh Initialization.  ##
   5976 ## --------------------- ##
   5977 
   5978 # Be more Bourne compatible
   5979 DUALCASE=1; export DUALCASE # for MKS sh
   5980 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   5981   emulate sh
   5982   NULLCMD=:
   5983   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   5984   # is contrary to our usage.  Disable this feature.
   5985   alias -g '${1+"$@"}'='"$@"'
   5986   setopt NO_GLOB_SUBST
   5987 else
   5988   case `(set -o) 2>/dev/null` in
   5989   *posix*) set -o posix ;;
   5990 esac
   5991 
   5992 fi
   5993 
   5994 
   5995 
   5996 
   5997 # PATH needs CR
   5998 # Avoid depending upon Character Ranges.
   5999 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   6000 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   6001 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   6002 as_cr_digits='0123456789'
   6003 as_cr_alnum=$as_cr_Letters$as_cr_digits
   6004 
   6005 as_nl='
   6006 '
   6007 export as_nl
   6008 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   6009 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6010 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   6011 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   6012 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   6013   as_echo='printf %s\n'
   6014   as_echo_n='printf %s'
   6015 else
   6016   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   6017     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   6018     as_echo_n='/usr/ucb/echo -n'
   6019   else
   6020     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   6021     as_echo_n_body='eval
   6022       arg=$1;
   6023       case $arg in
   6024       *"$as_nl"*)
   6025 	expr "X$arg" : "X\\(.*\\)$as_nl";
   6026 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   6027       esac;
   6028       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   6029     '
   6030     export as_echo_n_body
   6031     as_echo_n='sh -c $as_echo_n_body as_echo'
   6032   fi
   6033   export as_echo_body
   6034   as_echo='sh -c $as_echo_body as_echo'
   6035 fi
   6036 
   6037 # The user is always right.
   6038 if test "${PATH_SEPARATOR+set}" != set; then
   6039   PATH_SEPARATOR=:
   6040   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   6041     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   6042       PATH_SEPARATOR=';'
   6043   }
   6044 fi
   6045 
   6046 # Support unset when possible.
   6047 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6048   as_unset=unset
   6049 else
   6050   as_unset=false
   6051 fi
   6052 
   6053 
   6054 # IFS
   6055 # We need space, tab and new line, in precisely that order.  Quoting is
   6056 # there to prevent editors from complaining about space-tab.
   6057 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   6058 # splitting by setting IFS to empty value.)
   6059 IFS=" ""	$as_nl"
   6060 
   6061 # Find who we are.  Look in the path if we contain no directory separator.
   6062 case $0 in
   6063   *[\\/]* ) as_myself=$0 ;;
   6064   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6065 for as_dir in $PATH
   6066 do
   6067   IFS=$as_save_IFS
   6068   test -z "$as_dir" && as_dir=.
   6069   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   6070 done
   6071 IFS=$as_save_IFS
   6072 
   6073      ;;
   6074 esac
   6075 # We did not find ourselves, most probably we were run as `sh COMMAND'
   6076 # in which case we are not to be found in the path.
   6077 if test "x$as_myself" = x; then
   6078   as_myself=$0
   6079 fi
   6080 if test ! -f "$as_myself"; then
   6081   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   6082   { (exit 1); exit 1; }
   6083 fi
   6084 
   6085 # Work around bugs in pre-3.0 UWIN ksh.
   6086 for as_var in ENV MAIL MAILPATH
   6087 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   6088 done
   6089 PS1='$ '
   6090 PS2='> '
   6091 PS4='+ '
   6092 
   6093 # NLS nuisances.
   6094 LC_ALL=C
   6095 export LC_ALL
   6096 LANGUAGE=C
   6097 export LANGUAGE
   6098 
   6099 # Required to use basename.
   6100 if expr a : '\(a\)' >/dev/null 2>&1 &&
   6101    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   6102   as_expr=expr
   6103 else
   6104   as_expr=false
   6105 fi
   6106 
   6107 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   6108   as_basename=basename
   6109 else
   6110   as_basename=false
   6111 fi
   6112 
   6113 
   6114 # Name of the executable.
   6115 as_me=`$as_basename -- "$0" ||
   6116 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   6117 	 X"$0" : 'X\(//\)$' \| \
   6118 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   6119 $as_echo X/"$0" |
   6120     sed '/^.*\/\([^/][^/]*\)\/*$/{
   6121 	    s//\1/
   6122 	    q
   6123 	  }
   6124 	  /^X\/\(\/\/\)$/{
   6125 	    s//\1/
   6126 	    q
   6127 	  }
   6128 	  /^X\/\(\/\).*/{
   6129 	    s//\1/
   6130 	    q
   6131 	  }
   6132 	  s/.*/./; q'`
   6133 
   6134 # CDPATH.
   6135 $as_unset CDPATH
   6136 
   6137 
   6138 
   6139   as_lineno_1=$LINENO
   6140   as_lineno_2=$LINENO
   6141   test "x$as_lineno_1" != "x$as_lineno_2" &&
   6142   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   6143 
   6144   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   6145   # uniformly replaced by the line number.  The first 'sed' inserts a
   6146   # line-number line after each line using $LINENO; the second 'sed'
   6147   # does the real work.  The second script uses 'N' to pair each
   6148   # line-number line with the line containing $LINENO, and appends
   6149   # trailing '-' during substitution so that $LINENO is not a special
   6150   # case at line end.
   6151   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   6152   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   6153   # E. McMahon (1931-1989) for sed's syntax.  :-)
   6154   sed -n '
   6155     p
   6156     /[$]LINENO/=
   6157   ' <$as_myself |
   6158     sed '
   6159       s/[$]LINENO.*/&-/
   6160       t lineno
   6161       b
   6162       :lineno
   6163       N
   6164       :loop
   6165       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   6166       t loop
   6167       s/-\n.*//
   6168     ' >$as_me.lineno &&
   6169   chmod +x "$as_me.lineno" ||
   6170     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   6171    { (exit 1); exit 1; }; }
   6172 
   6173   # Don't try to exec as it changes $[0], causing all sort of problems
   6174   # (the dirname of $[0] is not the place where we might find the
   6175   # original and so on.  Autoconf is especially sensitive to this).
   6176   . "./$as_me.lineno"
   6177   # Exit status is that of the last command.
   6178   exit
   6179 }
   6180 
   6181 
   6182 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   6183   as_dirname=dirname
   6184 else
   6185   as_dirname=false
   6186 fi
   6187 
   6188 ECHO_C= ECHO_N= ECHO_T=
   6189 case `echo -n x` in
   6190 -n*)
   6191   case `echo 'x\c'` in
   6192   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   6193   *)   ECHO_C='\c';;
   6194   esac;;
   6195 *)
   6196   ECHO_N='-n';;
   6197 esac
   6198 if expr a : '\(a\)' >/dev/null 2>&1 &&
   6199    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   6200   as_expr=expr
   6201 else
   6202   as_expr=false
   6203 fi
   6204 
   6205 rm -f conf$$ conf$$.exe conf$$.file
   6206 if test -d conf$$.dir; then
   6207   rm -f conf$$.dir/conf$$.file
   6208 else
   6209   rm -f conf$$.dir
   6210   mkdir conf$$.dir 2>/dev/null
   6211 fi
   6212 if (echo >conf$$.file) 2>/dev/null; then
   6213   if ln -s conf$$.file conf$$ 2>/dev/null; then
   6214     as_ln_s='ln -s'
   6215     # ... but there are two gotchas:
   6216     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   6217     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   6218     # In both cases, we have to default to `cp -p'.
   6219     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   6220       as_ln_s='cp -p'
   6221   elif ln conf$$.file conf$$ 2>/dev/null; then
   6222     as_ln_s=ln
   6223   else
   6224     as_ln_s='cp -p'
   6225   fi
   6226 else
   6227   as_ln_s='cp -p'
   6228 fi
   6229 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   6230 rmdir conf$$.dir 2>/dev/null
   6231 
   6232 if mkdir -p . 2>/dev/null; then
   6233   as_mkdir_p=:
   6234 else
   6235   test -d ./-p && rmdir ./-p
   6236   as_mkdir_p=false
   6237 fi
   6238 
   6239 if test -x / >/dev/null 2>&1; then
   6240   as_test_x='test -x'
   6241 else
   6242   if ls -dL / >/dev/null 2>&1; then
   6243     as_ls_L_option=L
   6244   else
   6245     as_ls_L_option=
   6246   fi
   6247   as_test_x='
   6248     eval sh -c '\''
   6249       if test -d "$1"; then
   6250 	test -d "$1/.";
   6251       else
   6252 	case $1 in
   6253 	-*)set "./$1";;
   6254 	esac;
   6255 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   6256 	???[sx]*):;;*)false;;esac;fi
   6257     '\'' sh
   6258   '
   6259 fi
   6260 as_executable_p=$as_test_x
   6261 
   6262 # Sed expression to map a string onto a valid CPP name.
   6263 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   6264 
   6265 # Sed expression to map a string onto a valid variable name.
   6266 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   6267 
   6268 
   6269 exec 6>&1
   6270 
   6271 # Save the log message, to keep $[0] and so on meaningful, and to
   6272 # report actual input values of CONFIG_FILES etc. instead of their
   6273 # values after options handling.
   6274 ac_log="
   6275 This file was extended by sessreg $as_me 1.0.5, which was
   6276 generated by GNU Autoconf 2.63.  Invocation command line was
   6277 
   6278   CONFIG_FILES    = $CONFIG_FILES
   6279   CONFIG_HEADERS  = $CONFIG_HEADERS
   6280   CONFIG_LINKS    = $CONFIG_LINKS
   6281   CONFIG_COMMANDS = $CONFIG_COMMANDS
   6282   $ $0 $@
   6283 
   6284 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   6285 "
   6286 
   6287 _ACEOF
   6288 
   6289 case $ac_config_files in *"
   6290 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   6291 esac
   6292 
   6293 case $ac_config_headers in *"
   6294 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   6295 esac
   6296 
   6297 
   6298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6299 # Files that config.status was made for.
   6300 config_files="$ac_config_files"
   6301 config_headers="$ac_config_headers"
   6302 config_commands="$ac_config_commands"
   6303 
   6304 _ACEOF
   6305 
   6306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6307 ac_cs_usage="\
   6308 \`$as_me' instantiates files from templates according to the
   6309 current configuration.
   6310 
   6311 Usage: $0 [OPTION]... [FILE]...
   6312 
   6313   -h, --help       print this help, then exit
   6314   -V, --version    print version number and configuration settings, then exit
   6315   -q, --quiet, --silent
   6316                    do not print progress messages
   6317   -d, --debug      don't remove temporary files
   6318       --recheck    update $as_me by reconfiguring in the same conditions
   6319       --file=FILE[:TEMPLATE]
   6320                    instantiate the configuration file FILE
   6321       --header=FILE[:TEMPLATE]
   6322                    instantiate the configuration header FILE
   6323 
   6324 Configuration files:
   6325 $config_files
   6326 
   6327 Configuration headers:
   6328 $config_headers
   6329 
   6330 Configuration commands:
   6331 $config_commands
   6332 
   6333 Report bugs to <bug-autoconf (at] gnu.org>."
   6334 
   6335 _ACEOF
   6336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6337 ac_cs_version="\\
   6338 sessreg config.status 1.0.5
   6339 configured by $0, generated by GNU Autoconf 2.63,
   6340   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   6341 
   6342 Copyright (C) 2008 Free Software Foundation, Inc.
   6343 This config.status script is free software; the Free Software Foundation
   6344 gives unlimited permission to copy, distribute and modify it."
   6345 
   6346 ac_pwd='$ac_pwd'
   6347 srcdir='$srcdir'
   6348 INSTALL='$INSTALL'
   6349 MKDIR_P='$MKDIR_P'
   6350 AWK='$AWK'
   6351 test -n "\$AWK" || AWK=awk
   6352 _ACEOF
   6353 
   6354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6355 # The default lists apply if the user does not specify any file.
   6356 ac_need_defaults=:
   6357 while test $# != 0
   6358 do
   6359   case $1 in
   6360   --*=*)
   6361     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   6362     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   6363     ac_shift=:
   6364     ;;
   6365   *)
   6366     ac_option=$1
   6367     ac_optarg=$2
   6368     ac_shift=shift
   6369     ;;
   6370   esac
   6371 
   6372   case $ac_option in
   6373   # Handling of the options.
   6374   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   6375     ac_cs_recheck=: ;;
   6376   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   6377     $as_echo "$ac_cs_version"; exit ;;
   6378   --debug | --debu | --deb | --de | --d | -d )
   6379     debug=: ;;
   6380   --file | --fil | --fi | --f )
   6381     $ac_shift
   6382     case $ac_optarg in
   6383     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   6384     esac
   6385     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   6386     ac_need_defaults=false;;
   6387   --header | --heade | --head | --hea )
   6388     $ac_shift
   6389     case $ac_optarg in
   6390     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   6391     esac
   6392     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   6393     ac_need_defaults=false;;
   6394   --he | --h)
   6395     # Conflict between --help and --header
   6396     { $as_echo "$as_me: error: ambiguous option: $1
   6397 Try \`$0 --help' for more information." >&2
   6398    { (exit 1); exit 1; }; };;
   6399   --help | --hel | -h )
   6400     $as_echo "$ac_cs_usage"; exit ;;
   6401   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   6402   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   6403     ac_cs_silent=: ;;
   6404 
   6405   # This is an error.
   6406   -*) { $as_echo "$as_me: error: unrecognized option: $1
   6407 Try \`$0 --help' for more information." >&2
   6408    { (exit 1); exit 1; }; } ;;
   6409 
   6410   *) ac_config_targets="$ac_config_targets $1"
   6411      ac_need_defaults=false ;;
   6412 
   6413   esac
   6414   shift
   6415 done
   6416 
   6417 ac_configure_extra_args=
   6418 
   6419 if $ac_cs_silent; then
   6420   exec 6>/dev/null
   6421   ac_configure_extra_args="$ac_configure_extra_args --silent"
   6422 fi
   6423 
   6424 _ACEOF
   6425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6426 if \$ac_cs_recheck; then
   6427   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   6428   shift
   6429   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   6430   CONFIG_SHELL='$SHELL'
   6431   export CONFIG_SHELL
   6432   exec "\$@"
   6433 fi
   6434 
   6435 _ACEOF
   6436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6437 exec 5>>config.log
   6438 {
   6439   echo
   6440   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   6441 ## Running $as_me. ##
   6442 _ASBOX
   6443   $as_echo "$ac_log"
   6444 } >&5
   6445 
   6446 _ACEOF
   6447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6448 #
   6449 # INIT-COMMANDS
   6450 #
   6451 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   6452 
   6453 _ACEOF
   6454 
   6455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6456 
   6457 # Handling of arguments.
   6458 for ac_config_target in $ac_config_targets
   6459 do
   6460   case $ac_config_target in
   6461     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   6462     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   6463     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   6464 
   6465   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   6466 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   6467    { (exit 1); exit 1; }; };;
   6468   esac
   6469 done
   6470 
   6471 
   6472 # If the user did not use the arguments to specify the items to instantiate,
   6473 # then the envvar interface is used.  Set only those that are not.
   6474 # We use the long form for the default assignment because of an extremely
   6475 # bizarre bug on SunOS 4.1.3.
   6476 if $ac_need_defaults; then
   6477   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   6478   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   6479   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   6480 fi
   6481 
   6482 # Have a temporary directory for convenience.  Make it in the build tree
   6483 # simply because there is no reason against having it here, and in addition,
   6484 # creating and moving files from /tmp can sometimes cause problems.
   6485 # Hook for its removal unless debugging.
   6486 # Note that there is a small window in which the directory will not be cleaned:
   6487 # after its creation but before its name has been assigned to `$tmp'.
   6488 $debug ||
   6489 {
   6490   tmp=
   6491   trap 'exit_status=$?
   6492   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   6493 ' 0
   6494   trap '{ (exit 1); exit 1; }' 1 2 13 15
   6495 }
   6496 # Create a (secure) tmp directory for tmp files.
   6497 
   6498 {
   6499   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   6500   test -n "$tmp" && test -d "$tmp"
   6501 }  ||
   6502 {
   6503   tmp=./conf$$-$RANDOM
   6504   (umask 077 && mkdir "$tmp")
   6505 } ||
   6506 {
   6507    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   6508    { (exit 1); exit 1; }
   6509 }
   6510 
   6511 # Set up the scripts for CONFIG_FILES section.
   6512 # No need to generate them if there are no CONFIG_FILES.
   6513 # This happens for instance with `./config.status config.h'.
   6514 if test -n "$CONFIG_FILES"; then
   6515 
   6516 
   6517 ac_cr='
'
   6519 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   6520 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   6521   ac_cs_awk_cr='\\r'
   6522 else
   6523   ac_cs_awk_cr=$ac_cr
   6524 fi
   6525 
   6526 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   6527 _ACEOF
   6528 
   6529 
   6530 {
   6531   echo "cat >conf$$subs.awk <<_ACEOF" &&
   6532   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   6533   echo "_ACEOF"
   6534 } >conf$$subs.sh ||
   6535   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   6536 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   6537    { (exit 1); exit 1; }; }
   6538 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   6539 ac_delim='%!_!# '
   6540 for ac_last_try in false false false false false :; do
   6541   . ./conf$$subs.sh ||
   6542     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   6543 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   6544    { (exit 1); exit 1; }; }
   6545 
   6546   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   6547   if test $ac_delim_n = $ac_delim_num; then
   6548     break
   6549   elif $ac_last_try; then
   6550     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   6551 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   6552    { (exit 1); exit 1; }; }
   6553   else
   6554     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   6555   fi
   6556 done
   6557 rm -f conf$$subs.sh
   6558 
   6559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6560 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   6561 _ACEOF
   6562 sed -n '
   6563 h
   6564 s/^/S["/; s/!.*/"]=/
   6565 p
   6566 g
   6567 s/^[^!]*!//
   6568 :repl
   6569 t repl
   6570 s/'"$ac_delim"'$//
   6571 t delim
   6572 :nl
   6573 h
   6574 s/\(.\{148\}\).*/\1/
   6575 t more1
   6576 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   6577 p
   6578 n
   6579 b repl
   6580 :more1
   6581 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   6582 p
   6583 g
   6584 s/.\{148\}//
   6585 t nl
   6586 :delim
   6587 h
   6588 s/\(.\{148\}\).*/\1/
   6589 t more2
   6590 s/["\\]/\\&/g; s/^/"/; s/$/"/
   6591 p
   6592 b
   6593 :more2
   6594 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   6595 p
   6596 g
   6597 s/.\{148\}//
   6598 t delim
   6599 ' <conf$$subs.awk | sed '
   6600 /^[^""]/{
   6601   N
   6602   s/\n//
   6603 }
   6604 ' >>$CONFIG_STATUS || ac_write_fail=1
   6605 rm -f conf$$subs.awk
   6606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6607 _ACAWK
   6608 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   6609   for (key in S) S_is_set[key] = 1
   6610   FS = ""
   6611 
   6612 }
   6613 {
   6614   line = $ 0
   6615   nfields = split(line, field, "@")
   6616   substed = 0
   6617   len = length(field[1])
   6618   for (i = 2; i < nfields; i++) {
   6619     key = field[i]
   6620     keylen = length(key)
   6621     if (S_is_set[key]) {
   6622       value = S[key]
   6623       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   6624       len += length(value) + length(field[++i])
   6625       substed = 1
   6626     } else
   6627       len += 1 + keylen
   6628   }
   6629 
   6630   print line
   6631 }
   6632 
   6633 _ACAWK
   6634 _ACEOF
   6635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6636 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   6637   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   6638 else
   6639   cat
   6640 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   6641   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   6642 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   6643    { (exit 1); exit 1; }; }
   6644 _ACEOF
   6645 
   6646 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   6647 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   6648 # trailing colons and then remove the whole line if VPATH becomes empty
   6649 # (actually we leave an empty line to preserve line numbers).
   6650 if test "x$srcdir" = x.; then
   6651   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   6652 s/:*\$(srcdir):*/:/
   6653 s/:*\${srcdir}:*/:/
   6654 s/:*@srcdir@:*/:/
   6655 s/^\([^=]*=[	 ]*\):*/\1/
   6656 s/:*$//
   6657 s/^[^=]*=[	 ]*$//
   6658 }'
   6659 fi
   6660 
   6661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6662 fi # test -n "$CONFIG_FILES"
   6663 
   6664 # Set up the scripts for CONFIG_HEADERS section.
   6665 # No need to generate them if there are no CONFIG_HEADERS.
   6666 # This happens for instance with `./config.status Makefile'.
   6667 if test -n "$CONFIG_HEADERS"; then
   6668 cat >"$tmp/defines.awk" <<\_ACAWK ||
   6669 BEGIN {
   6670 _ACEOF
   6671 
   6672 # Transform confdefs.h into an awk script `defines.awk', embedded as
   6673 # here-document in config.status, that substitutes the proper values into
   6674 # config.h.in to produce config.h.
   6675 
   6676 # Create a delimiter string that does not exist in confdefs.h, to ease
   6677 # handling of long lines.
   6678 ac_delim='%!_!# '
   6679 for ac_last_try in false false :; do
   6680   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   6681   if test -z "$ac_t"; then
   6682     break
   6683   elif $ac_last_try; then
   6684     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   6685 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   6686    { (exit 1); exit 1; }; }
   6687   else
   6688     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   6689   fi
   6690 done
   6691 
   6692 # For the awk script, D is an array of macro values keyed by name,
   6693 # likewise P contains macro parameters if any.  Preserve backslash
   6694 # newline sequences.
   6695 
   6696 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   6697 sed -n '
   6698 s/.\{148\}/&'"$ac_delim"'/g
   6699 t rset
   6700 :rset
   6701 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   6702 t def
   6703 d
   6704 :def
   6705 s/\\$//
   6706 t bsnl
   6707 s/["\\]/\\&/g
   6708 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   6709 D["\1"]=" \3"/p
   6710 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   6711 d
   6712 :bsnl
   6713 s/["\\]/\\&/g
   6714 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   6715 D["\1"]=" \3\\\\\\n"\\/p
   6716 t cont
   6717 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   6718 t cont
   6719 d
   6720 :cont
   6721 n
   6722 s/.\{148\}/&'"$ac_delim"'/g
   6723 t clear
   6724 :clear
   6725 s/\\$//
   6726 t bsnlc
   6727 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   6728 d
   6729 :bsnlc
   6730 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   6731 b cont
   6732 ' <confdefs.h | sed '
   6733 s/'"$ac_delim"'/"\\\
   6734 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   6735 
   6736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6737   for (key in D) D_is_set[key] = 1
   6738   FS = ""
   6739 }
   6740 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   6741   line = \$ 0
   6742   split(line, arg, " ")
   6743   if (arg[1] == "#") {
   6744     defundef = arg[2]
   6745     mac1 = arg[3]
   6746   } else {
   6747     defundef = substr(arg[1], 2)
   6748     mac1 = arg[2]
   6749   }
   6750   split(mac1, mac2, "(") #)
   6751   macro = mac2[1]
   6752   prefix = substr(line, 1, index(line, defundef) - 1)
   6753   if (D_is_set[macro]) {
   6754     # Preserve the white space surrounding the "#".
   6755     print prefix "define", macro P[macro] D[macro]
   6756     next
   6757   } else {
   6758     # Replace #undef with comments.  This is necessary, for example,
   6759     # in the case of _POSIX_SOURCE, which is predefined and required
   6760     # on some systems where configure will not decide to define it.
   6761     if (defundef == "undef") {
   6762       print "/*", prefix defundef, macro, "*/"
   6763       next
   6764     }
   6765   }
   6766 }
   6767 { print }
   6768 _ACAWK
   6769 _ACEOF
   6770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6771   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   6772 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   6773    { (exit 1); exit 1; }; }
   6774 fi # test -n "$CONFIG_HEADERS"
   6775 
   6776 
   6777 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   6778 shift
   6779 for ac_tag
   6780 do
   6781   case $ac_tag in
   6782   :[FHLC]) ac_mode=$ac_tag; continue;;
   6783   esac
   6784   case $ac_mode$ac_tag in
   6785   :[FHL]*:*);;
   6786   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   6787 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   6788    { (exit 1); exit 1; }; };;
   6789   :[FH]-) ac_tag=-:-;;
   6790   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   6791   esac
   6792   ac_save_IFS=$IFS
   6793   IFS=:
   6794   set x $ac_tag
   6795   IFS=$ac_save_IFS
   6796   shift
   6797   ac_file=$1
   6798   shift
   6799 
   6800   case $ac_mode in
   6801   :L) ac_source=$1;;
   6802   :[FH])
   6803     ac_file_inputs=
   6804     for ac_f
   6805     do
   6806       case $ac_f in
   6807       -) ac_f="$tmp/stdin";;
   6808       *) # Look for the file first in the build tree, then in the source tree
   6809 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   6810 	 # because $ac_f cannot contain `:'.
   6811 	 test -f "$ac_f" ||
   6812 	   case $ac_f in
   6813 	   [\\/$]*) false;;
   6814 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   6815 	   esac ||
   6816 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   6817 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   6818    { (exit 1); exit 1; }; };;
   6819       esac
   6820       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   6821       ac_file_inputs="$ac_file_inputs '$ac_f'"
   6822     done
   6823 
   6824     # Let's still pretend it is `configure' which instantiates (i.e., don't
   6825     # use $as_me), people would be surprised to read:
   6826     #    /* config.h.  Generated by config.status.  */
   6827     configure_input='Generated from '`
   6828 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   6829 	`' by configure.'
   6830     if test x"$ac_file" != x-; then
   6831       configure_input="$ac_file.  $configure_input"
   6832       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   6833 $as_echo "$as_me: creating $ac_file" >&6;}
   6834     fi
   6835     # Neutralize special characters interpreted by sed in replacement strings.
   6836     case $configure_input in #(
   6837     *\&* | *\|* | *\\* )
   6838        ac_sed_conf_input=`$as_echo "$configure_input" |
   6839        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   6840     *) ac_sed_conf_input=$configure_input;;
   6841     esac
   6842 
   6843     case $ac_tag in
   6844     *:-:* | *:-) cat >"$tmp/stdin" \
   6845       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   6846 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   6847    { (exit 1); exit 1; }; } ;;
   6848     esac
   6849     ;;
   6850   esac
   6851 
   6852   ac_dir=`$as_dirname -- "$ac_file" ||
   6853 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   6854 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   6855 	 X"$ac_file" : 'X\(//\)$' \| \
   6856 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   6857 $as_echo X"$ac_file" |
   6858     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   6859 	    s//\1/
   6860 	    q
   6861 	  }
   6862 	  /^X\(\/\/\)[^/].*/{
   6863 	    s//\1/
   6864 	    q
   6865 	  }
   6866 	  /^X\(\/\/\)$/{
   6867 	    s//\1/
   6868 	    q
   6869 	  }
   6870 	  /^X\(\/\).*/{
   6871 	    s//\1/
   6872 	    q
   6873 	  }
   6874 	  s/.*/./; q'`
   6875   { as_dir="$ac_dir"
   6876   case $as_dir in #(
   6877   -*) as_dir=./$as_dir;;
   6878   esac
   6879   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   6880     as_dirs=
   6881     while :; do
   6882       case $as_dir in #(
   6883       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   6884       *) as_qdir=$as_dir;;
   6885       esac
   6886       as_dirs="'$as_qdir' $as_dirs"
   6887       as_dir=`$as_dirname -- "$as_dir" ||
   6888 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   6889 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   6890 	 X"$as_dir" : 'X\(//\)$' \| \
   6891 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   6892 $as_echo X"$as_dir" |
   6893     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   6894 	    s//\1/
   6895 	    q
   6896 	  }
   6897 	  /^X\(\/\/\)[^/].*/{
   6898 	    s//\1/
   6899 	    q
   6900 	  }
   6901 	  /^X\(\/\/\)$/{
   6902 	    s//\1/
   6903 	    q
   6904 	  }
   6905 	  /^X\(\/\).*/{
   6906 	    s//\1/
   6907 	    q
   6908 	  }
   6909 	  s/.*/./; q'`
   6910       test -d "$as_dir" && break
   6911     done
   6912     test -z "$as_dirs" || eval "mkdir $as_dirs"
   6913   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   6914 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   6915    { (exit 1); exit 1; }; }; }
   6916   ac_builddir=.
   6917 
   6918 case "$ac_dir" in
   6919 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   6920 *)
   6921   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   6922   # A ".." for each directory in $ac_dir_suffix.
   6923   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   6924   case $ac_top_builddir_sub in
   6925   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   6926   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   6927   esac ;;
   6928 esac
   6929 ac_abs_top_builddir=$ac_pwd
   6930 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   6931 # for backward compatibility:
   6932 ac_top_builddir=$ac_top_build_prefix
   6933 
   6934 case $srcdir in
   6935   .)  # We are building in place.
   6936     ac_srcdir=.
   6937     ac_top_srcdir=$ac_top_builddir_sub
   6938     ac_abs_top_srcdir=$ac_pwd ;;
   6939   [\\/]* | ?:[\\/]* )  # Absolute name.
   6940     ac_srcdir=$srcdir$ac_dir_suffix;
   6941     ac_top_srcdir=$srcdir
   6942     ac_abs_top_srcdir=$srcdir ;;
   6943   *) # Relative name.
   6944     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   6945     ac_top_srcdir=$ac_top_build_prefix$srcdir
   6946     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   6947 esac
   6948 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   6949 
   6950 
   6951   case $ac_mode in
   6952   :F)
   6953   #
   6954   # CONFIG_FILE
   6955   #
   6956 
   6957   case $INSTALL in
   6958   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   6959   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   6960   esac
   6961   ac_MKDIR_P=$MKDIR_P
   6962   case $MKDIR_P in
   6963   [\\/$]* | ?:[\\/]* ) ;;
   6964   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   6965   esac
   6966 _ACEOF
   6967 
   6968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6969 # If the template does not know about datarootdir, expand it.
   6970 # FIXME: This hack should be removed a few years after 2.60.
   6971 ac_datarootdir_hack=; ac_datarootdir_seen=
   6972 
   6973 ac_sed_dataroot='
   6974 /datarootdir/ {
   6975   p
   6976   q
   6977 }
   6978 /@datadir@/p
   6979 /@docdir@/p
   6980 /@infodir@/p
   6981 /@localedir@/p
   6982 /@mandir@/p
   6983 '
   6984 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   6985 *datarootdir*) ac_datarootdir_seen=yes;;
   6986 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   6987   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   6988 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   6989 _ACEOF
   6990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6991   ac_datarootdir_hack='
   6992   s&@datadir@&$datadir&g
   6993   s&@docdir@&$docdir&g
   6994   s&@infodir@&$infodir&g
   6995   s&@localedir@&$localedir&g
   6996   s&@mandir@&$mandir&g
   6997     s&\\\${datarootdir}&$datarootdir&g' ;;
   6998 esac
   6999 _ACEOF
   7000 
   7001 # Neutralize VPATH when `$srcdir' = `.'.
   7002 # Shell code in configure.ac might set extrasub.
   7003 # FIXME: do we really want to maintain this feature?
   7004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7005 ac_sed_extra="$ac_vpsub
   7006 $extrasub
   7007 _ACEOF
   7008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7009 :t
   7010 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   7011 s|@configure_input@|$ac_sed_conf_input|;t t
   7012 s&@top_builddir@&$ac_top_builddir_sub&;t t
   7013 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   7014 s&@srcdir@&$ac_srcdir&;t t
   7015 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   7016 s&@top_srcdir@&$ac_top_srcdir&;t t
   7017 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   7018 s&@builddir@&$ac_builddir&;t t
   7019 s&@abs_builddir@&$ac_abs_builddir&;t t
   7020 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   7021 s&@INSTALL@&$ac_INSTALL&;t t
   7022 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   7023 $ac_datarootdir_hack
   7024 "
   7025 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   7026   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   7027 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   7028    { (exit 1); exit 1; }; }
   7029 
   7030 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   7031   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   7032   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   7033   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   7034 which seems to be undefined.  Please make sure it is defined." >&5
   7035 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   7036 which seems to be undefined.  Please make sure it is defined." >&2;}
   7037 
   7038   rm -f "$tmp/stdin"
   7039   case $ac_file in
   7040   -) cat "$tmp/out" && rm -f "$tmp/out";;
   7041   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   7042   esac \
   7043   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   7044 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   7045    { (exit 1); exit 1; }; }
   7046  ;;
   7047   :H)
   7048   #
   7049   # CONFIG_HEADER
   7050   #
   7051   if test x"$ac_file" != x-; then
   7052     {
   7053       $as_echo "/* $configure_input  */" \
   7054       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   7055     } >"$tmp/config.h" \
   7056       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   7057 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   7058    { (exit 1); exit 1; }; }
   7059     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   7060       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   7061 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   7062     else
   7063       rm -f "$ac_file"
   7064       mv "$tmp/config.h" "$ac_file" \
   7065 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   7066 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   7067    { (exit 1); exit 1; }; }
   7068     fi
   7069   else
   7070     $as_echo "/* $configure_input  */" \
   7071       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   7072       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   7073 $as_echo "$as_me: error: could not create -" >&2;}
   7074    { (exit 1); exit 1; }; }
   7075   fi
   7076 # Compute "$ac_file"'s index in $config_headers.
   7077 _am_arg="$ac_file"
   7078 _am_stamp_count=1
   7079 for _am_header in $config_headers :; do
   7080   case $_am_header in
   7081     $_am_arg | $_am_arg:* )
   7082       break ;;
   7083     * )
   7084       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   7085   esac
   7086 done
   7087 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   7088 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7089 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   7090 	 X"$_am_arg" : 'X\(//\)$' \| \
   7091 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   7092 $as_echo X"$_am_arg" |
   7093     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7094 	    s//\1/
   7095 	    q
   7096 	  }
   7097 	  /^X\(\/\/\)[^/].*/{
   7098 	    s//\1/
   7099 	    q
   7100 	  }
   7101 	  /^X\(\/\/\)$/{
   7102 	    s//\1/
   7103 	    q
   7104 	  }
   7105 	  /^X\(\/\).*/{
   7106 	    s//\1/
   7107 	    q
   7108 	  }
   7109 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   7110  ;;
   7111 
   7112   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   7113 $as_echo "$as_me: executing $ac_file commands" >&6;}
   7114  ;;
   7115   esac
   7116 
   7117 
   7118   case $ac_file$ac_mode in
   7119     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   7120   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   7121   # are listed without --file.  Let's play safe and only enable the eval
   7122   # if we detect the quoting.
   7123   case $CONFIG_FILES in
   7124   *\'*) eval set x "$CONFIG_FILES" ;;
   7125   *)   set x $CONFIG_FILES ;;
   7126   esac
   7127   shift
   7128   for mf
   7129   do
   7130     # Strip MF so we end up with the name of the file.
   7131     mf=`echo "$mf" | sed -e 's/:.*$//'`
   7132     # Check whether this is an Automake generated Makefile or not.
   7133     # We used to match only the files named `Makefile.in', but
   7134     # some people rename them; so instead we look at the file content.
   7135     # Grep'ing the first line is not enough: some people post-process
   7136     # each Makefile.in and add a new line on top of each file to say so.
   7137     # Grep'ing the whole file is not good either: AIX grep has a line
   7138     # limit of 2048, but all sed's we know have understand at least 4000.
   7139     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   7140       dirpart=`$as_dirname -- "$mf" ||
   7141 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7142 	 X"$mf" : 'X\(//\)[^/]' \| \
   7143 	 X"$mf" : 'X\(//\)$' \| \
   7144 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   7145 $as_echo X"$mf" |
   7146     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7147 	    s//\1/
   7148 	    q
   7149 	  }
   7150 	  /^X\(\/\/\)[^/].*/{
   7151 	    s//\1/
   7152 	    q
   7153 	  }
   7154 	  /^X\(\/\/\)$/{
   7155 	    s//\1/
   7156 	    q
   7157 	  }
   7158 	  /^X\(\/\).*/{
   7159 	    s//\1/
   7160 	    q
   7161 	  }
   7162 	  s/.*/./; q'`
   7163     else
   7164       continue
   7165     fi
   7166     # Extract the definition of DEPDIR, am__include, and am__quote
   7167     # from the Makefile without running `make'.
   7168     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   7169     test -z "$DEPDIR" && continue
   7170     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   7171     test -z "am__include" && continue
   7172     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   7173     # When using ansi2knr, U may be empty or an underscore; expand it
   7174     U=`sed -n 's/^U = //p' < "$mf"`
   7175     # Find all dependency output files, they are included files with
   7176     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   7177     # simplest approach to changing $(DEPDIR) to its actual value in the
   7178     # expansion.
   7179     for file in `sed -n "
   7180       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   7181 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   7182       # Make sure the directory exists.
   7183       test -f "$dirpart/$file" && continue
   7184       fdir=`$as_dirname -- "$file" ||
   7185 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7186 	 X"$file" : 'X\(//\)[^/]' \| \
   7187 	 X"$file" : 'X\(//\)$' \| \
   7188 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   7189 $as_echo X"$file" |
   7190     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7191 	    s//\1/
   7192 	    q
   7193 	  }
   7194 	  /^X\(\/\/\)[^/].*/{
   7195 	    s//\1/
   7196 	    q
   7197 	  }
   7198 	  /^X\(\/\/\)$/{
   7199 	    s//\1/
   7200 	    q
   7201 	  }
   7202 	  /^X\(\/\).*/{
   7203 	    s//\1/
   7204 	    q
   7205 	  }
   7206 	  s/.*/./; q'`
   7207       { as_dir=$dirpart/$fdir
   7208   case $as_dir in #(
   7209   -*) as_dir=./$as_dir;;
   7210   esac
   7211   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   7212     as_dirs=
   7213     while :; do
   7214       case $as_dir in #(
   7215       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   7216       *) as_qdir=$as_dir;;
   7217       esac
   7218       as_dirs="'$as_qdir' $as_dirs"
   7219       as_dir=`$as_dirname -- "$as_dir" ||
   7220 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7221 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   7222 	 X"$as_dir" : 'X\(//\)$' \| \
   7223 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   7224 $as_echo X"$as_dir" |
   7225     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7226 	    s//\1/
   7227 	    q
   7228 	  }
   7229 	  /^X\(\/\/\)[^/].*/{
   7230 	    s//\1/
   7231 	    q
   7232 	  }
   7233 	  /^X\(\/\/\)$/{
   7234 	    s//\1/
   7235 	    q
   7236 	  }
   7237 	  /^X\(\/\).*/{
   7238 	    s//\1/
   7239 	    q
   7240 	  }
   7241 	  s/.*/./; q'`
   7242       test -d "$as_dir" && break
   7243     done
   7244     test -z "$as_dirs" || eval "mkdir $as_dirs"
   7245   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   7246 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   7247    { (exit 1); exit 1; }; }; }
   7248       # echo "creating $dirpart/$file"
   7249       echo '# dummy' > "$dirpart/$file"
   7250     done
   7251   done
   7252 }
   7253  ;;
   7254 
   7255   esac
   7256 done # for ac_tag
   7257 
   7258 
   7259 { (exit 0); exit 0; }
   7260 _ACEOF
   7261 chmod +x $CONFIG_STATUS
   7262 ac_clean_files=$ac_clean_files_save
   7263 
   7264 test $ac_write_fail = 0 ||
   7265   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   7266 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   7267    { (exit 1); exit 1; }; }
   7268 
   7269 
   7270 # configure is writing to config.log, and then calls config.status.
   7271 # config.status does its own redirection, appending to config.log.
   7272 # Unfortunately, on DOS this fails, as config.log is still kept open
   7273 # by configure, so config.status won't be able to write to it; its
   7274 # output is simply discarded.  So we exec the FD to /dev/null,
   7275 # effectively closing config.log, so it can be properly (re)opened and
   7276 # appended to by config.status.  When coming back to configure, we
   7277 # need to make the FD available again.
   7278 if test "$no_create" != yes; then
   7279   ac_cs_success=:
   7280   ac_config_status_args=
   7281   test "$silent" = yes &&
   7282     ac_config_status_args="$ac_config_status_args --quiet"
   7283   exec 5>/dev/null
   7284   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   7285   exec 5>>config.log
   7286   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   7287   # would make configure fail if this is the last instruction.
   7288   $ac_cs_success || { (exit 1); exit 1; }
   7289 fi
   7290 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   7291   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   7292 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   7293 fi
   7294 
   7295