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