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