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