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