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