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