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