Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-input-synaptics 1.7.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='xf86-input-synaptics'
    593 PACKAGE_TARNAME='xf86-input-synaptics'
    594 PACKAGE_VERSION='1.7.1'
    595 PACKAGE_STRING='xf86-input-synaptics 1.7.1'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 XTST_LIBS
    641 XTST_CFLAGS
    642 XI_LIBS
    643 XI_CFLAGS
    644 BUILD_PS2COMM_FALSE
    645 BUILD_PS2COMM_TRUE
    646 BUILD_PSMCOMM_FALSE
    647 BUILD_PSMCOMM_TRUE
    648 BUILD_EVENTCOMM_FALSE
    649 BUILD_EVENTCOMM_TRUE
    650 MTDEV_LIBS
    651 MTDEV_CFLAGS
    652 DEBUG_FALSE
    653 DEBUG_TRUE
    654 HAS_XORG_CONF_DIR_FALSE
    655 HAS_XORG_CONF_DIR_TRUE
    656 configdir
    657 inputdir
    658 sdkdir
    659 XORG_LIBS
    660 XORG_CFLAGS
    661 ENABLE_UNIT_TESTS_FALSE
    662 ENABLE_UNIT_TESTS_TRUE
    663 XORG_MALLOC_DEBUG_ENV
    664 AM_BACKSLASH
    665 AM_DEFAULT_VERBOSITY
    666 AM_DEFAULT_V
    667 AM_V
    668 MAN_SUBSTS
    669 XORG_MAN_PAGE
    670 ADMIN_MAN_DIR
    671 DRIVER_MAN_DIR
    672 MISC_MAN_DIR
    673 FILE_MAN_DIR
    674 LIB_MAN_DIR
    675 APP_MAN_DIR
    676 ADMIN_MAN_SUFFIX
    677 DRIVER_MAN_SUFFIX
    678 MISC_MAN_SUFFIX
    679 FILE_MAN_SUFFIX
    680 LIB_MAN_SUFFIX
    681 APP_MAN_SUFFIX
    682 INSTALL_CMD
    683 PKG_CONFIG_LIBDIR
    684 PKG_CONFIG_PATH
    685 PKG_CONFIG
    686 CHANGELOG_CMD
    687 STRICT_CFLAGS
    688 CWARNFLAGS
    689 BASE_CFLAGS
    690 CPP
    691 OTOOL64
    692 OTOOL
    693 LIPO
    694 NMEDIT
    695 DSYMUTIL
    696 MANIFEST_TOOL
    697 RANLIB
    698 ac_ct_AR
    699 AR
    700 DLLTOOL
    701 OBJDUMP
    702 LN_S
    703 NM
    704 ac_ct_DUMPBIN
    705 DUMPBIN
    706 LD
    707 FGREP
    708 EGREP
    709 GREP
    710 SED
    711 am__fastdepCC_FALSE
    712 am__fastdepCC_TRUE
    713 CCDEPMODE
    714 am__nodep
    715 AMDEPBACKSLASH
    716 AMDEP_FALSE
    717 AMDEP_TRUE
    718 am__quote
    719 am__include
    720 DEPDIR
    721 OBJEXT
    722 EXEEXT
    723 ac_ct_CC
    724 CPPFLAGS
    725 LDFLAGS
    726 CFLAGS
    727 CC
    728 host_os
    729 host_vendor
    730 host_cpu
    731 host
    732 build_os
    733 build_vendor
    734 build_cpu
    735 build
    736 LIBTOOL
    737 MAINT
    738 MAINTAINER_MODE_FALSE
    739 MAINTAINER_MODE_TRUE
    740 am__untar
    741 am__tar
    742 AMTAR
    743 am__leading_dot
    744 SET_MAKE
    745 AWK
    746 mkdir_p
    747 MKDIR_P
    748 INSTALL_STRIP_PROGRAM
    749 STRIP
    750 install_sh
    751 MAKEINFO
    752 AUTOHEADER
    753 AUTOMAKE
    754 AUTOCONF
    755 ACLOCAL
    756 VERSION
    757 PACKAGE
    758 CYGPATH_W
    759 am__isrc
    760 INSTALL_DATA
    761 INSTALL_SCRIPT
    762 INSTALL_PROGRAM
    763 target_alias
    764 host_alias
    765 build_alias
    766 LIBS
    767 ECHO_T
    768 ECHO_N
    769 ECHO_C
    770 DEFS
    771 mandir
    772 localedir
    773 libdir
    774 psdir
    775 pdfdir
    776 dvidir
    777 htmldir
    778 infodir
    779 docdir
    780 oldincludedir
    781 includedir
    782 localstatedir
    783 sharedstatedir
    784 sysconfdir
    785 datadir
    786 datarootdir
    787 libexecdir
    788 sbindir
    789 bindir
    790 program_transform_name
    791 prefix
    792 exec_prefix
    793 PACKAGE_URL
    794 PACKAGE_BUGREPORT
    795 PACKAGE_STRING
    796 PACKAGE_VERSION
    797 PACKAGE_TARNAME
    798 PACKAGE_NAME
    799 PATH_SEPARATOR
    800 SHELL'
    801 ac_subst_files=''
    802 ac_user_opts='
    803 enable_option_checking
    804 enable_maintainer_mode
    805 enable_static
    806 enable_shared
    807 with_pic
    808 enable_fast_install
    809 enable_dependency_tracking
    810 with_gnu_ld
    811 with_sysroot
    812 enable_libtool_lock
    813 enable_selective_werror
    814 enable_strict_compilation
    815 enable_silent_rules
    816 enable_unit_tests
    817 with_xorg_module_dir
    818 with_xorg_conf_dir
    819 enable_debug
    820 with_sdkdir
    821 '
    822       ac_precious_vars='build_alias
    823 host_alias
    824 target_alias
    825 CC
    826 CFLAGS
    827 LDFLAGS
    828 LIBS
    829 CPPFLAGS
    830 CPP
    831 PKG_CONFIG
    832 PKG_CONFIG_PATH
    833 PKG_CONFIG_LIBDIR
    834 XORG_MALLOC_DEBUG_ENV
    835 XORG_CFLAGS
    836 XORG_LIBS
    837 MTDEV_CFLAGS
    838 MTDEV_LIBS
    839 XI_CFLAGS
    840 XI_LIBS
    841 XTST_CFLAGS
    842 XTST_LIBS'
    843 
    844 
    845 # Initialize some variables set by options.
    846 ac_init_help=
    847 ac_init_version=false
    848 ac_unrecognized_opts=
    849 ac_unrecognized_sep=
    850 # The variables have the same names as the options, with
    851 # dashes changed to underlines.
    852 cache_file=/dev/null
    853 exec_prefix=NONE
    854 no_create=
    855 no_recursion=
    856 prefix=NONE
    857 program_prefix=NONE
    858 program_suffix=NONE
    859 program_transform_name=s,x,x,
    860 silent=
    861 site=
    862 srcdir=
    863 verbose=
    864 x_includes=NONE
    865 x_libraries=NONE
    866 
    867 # Installation directory options.
    868 # These are left unexpanded so users can "make install exec_prefix=/foo"
    869 # and all the variables that are supposed to be based on exec_prefix
    870 # by default will actually change.
    871 # Use braces instead of parens because sh, perl, etc. also accept them.
    872 # (The list follows the same order as the GNU Coding Standards.)
    873 bindir='${exec_prefix}/bin'
    874 sbindir='${exec_prefix}/sbin'
    875 libexecdir='${exec_prefix}/libexec'
    876 datarootdir='${prefix}/share'
    877 datadir='${datarootdir}'
    878 sysconfdir='${prefix}/etc'
    879 sharedstatedir='${prefix}/com'
    880 localstatedir='${prefix}/var'
    881 includedir='${prefix}/include'
    882 oldincludedir='/usr/include'
    883 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    884 infodir='${datarootdir}/info'
    885 htmldir='${docdir}'
    886 dvidir='${docdir}'
    887 pdfdir='${docdir}'
    888 psdir='${docdir}'
    889 libdir='${exec_prefix}/lib'
    890 localedir='${datarootdir}/locale'
    891 mandir='${datarootdir}/man'
    892 
    893 ac_prev=
    894 ac_dashdash=
    895 for ac_option
    896 do
    897   # If the previous option needs an argument, assign it.
    898   if test -n "$ac_prev"; then
    899     eval $ac_prev=\$ac_option
    900     ac_prev=
    901     continue
    902   fi
    903 
    904   case $ac_option in
    905   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    906   *=)   ac_optarg= ;;
    907   *)    ac_optarg=yes ;;
    908   esac
    909 
    910   # Accept the important Cygnus configure options, so we can diagnose typos.
    911 
    912   case $ac_dashdash$ac_option in
    913   --)
    914     ac_dashdash=yes ;;
    915 
    916   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    917     ac_prev=bindir ;;
    918   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    919     bindir=$ac_optarg ;;
    920 
    921   -build | --build | --buil | --bui | --bu)
    922     ac_prev=build_alias ;;
    923   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    924     build_alias=$ac_optarg ;;
    925 
    926   -cache-file | --cache-file | --cache-fil | --cache-fi \
    927   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    928     ac_prev=cache_file ;;
    929   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    930   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    931     cache_file=$ac_optarg ;;
    932 
    933   --config-cache | -C)
    934     cache_file=config.cache ;;
    935 
    936   -datadir | --datadir | --datadi | --datad)
    937     ac_prev=datadir ;;
    938   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    939     datadir=$ac_optarg ;;
    940 
    941   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    942   | --dataroo | --dataro | --datar)
    943     ac_prev=datarootdir ;;
    944   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    945   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    946     datarootdir=$ac_optarg ;;
    947 
    948   -disable-* | --disable-*)
    949     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    950     # Reject names that are not valid shell variable names.
    951     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    952       as_fn_error $? "invalid feature name: $ac_useropt"
    953     ac_useropt_orig=$ac_useropt
    954     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    955     case $ac_user_opts in
    956       *"
    957 "enable_$ac_useropt"
    958 "*) ;;
    959       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    960 	 ac_unrecognized_sep=', ';;
    961     esac
    962     eval enable_$ac_useropt=no ;;
    963 
    964   -docdir | --docdir | --docdi | --doc | --do)
    965     ac_prev=docdir ;;
    966   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    967     docdir=$ac_optarg ;;
    968 
    969   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    970     ac_prev=dvidir ;;
    971   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    972     dvidir=$ac_optarg ;;
    973 
    974   -enable-* | --enable-*)
    975     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    976     # Reject names that are not valid shell variable names.
    977     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    978       as_fn_error $? "invalid feature name: $ac_useropt"
    979     ac_useropt_orig=$ac_useropt
    980     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    981     case $ac_user_opts in
    982       *"
    983 "enable_$ac_useropt"
    984 "*) ;;
    985       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    986 	 ac_unrecognized_sep=', ';;
    987     esac
    988     eval enable_$ac_useropt=\$ac_optarg ;;
    989 
    990   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    991   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    992   | --exec | --exe | --ex)
    993     ac_prev=exec_prefix ;;
    994   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    995   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    996   | --exec=* | --exe=* | --ex=*)
    997     exec_prefix=$ac_optarg ;;
    998 
    999   -gas | --gas | --ga | --g)
   1000     # Obsolete; use --with-gas.
   1001     with_gas=yes ;;
   1002 
   1003   -help | --help | --hel | --he | -h)
   1004     ac_init_help=long ;;
   1005   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1006     ac_init_help=recursive ;;
   1007   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1008     ac_init_help=short ;;
   1009 
   1010   -host | --host | --hos | --ho)
   1011     ac_prev=host_alias ;;
   1012   -host=* | --host=* | --hos=* | --ho=*)
   1013     host_alias=$ac_optarg ;;
   1014 
   1015   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1016     ac_prev=htmldir ;;
   1017   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1018   | --ht=*)
   1019     htmldir=$ac_optarg ;;
   1020 
   1021   -includedir | --includedir | --includedi | --included | --include \
   1022   | --includ | --inclu | --incl | --inc)
   1023     ac_prev=includedir ;;
   1024   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1025   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1026     includedir=$ac_optarg ;;
   1027 
   1028   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1029     ac_prev=infodir ;;
   1030   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1031     infodir=$ac_optarg ;;
   1032 
   1033   -libdir | --libdir | --libdi | --libd)
   1034     ac_prev=libdir ;;
   1035   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1036     libdir=$ac_optarg ;;
   1037 
   1038   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1039   | --libexe | --libex | --libe)
   1040     ac_prev=libexecdir ;;
   1041   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1042   | --libexe=* | --libex=* | --libe=*)
   1043     libexecdir=$ac_optarg ;;
   1044 
   1045   -localedir | --localedir | --localedi | --localed | --locale)
   1046     ac_prev=localedir ;;
   1047   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1048     localedir=$ac_optarg ;;
   1049 
   1050   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1051   | --localstate | --localstat | --localsta | --localst | --locals)
   1052     ac_prev=localstatedir ;;
   1053   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1054   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1055     localstatedir=$ac_optarg ;;
   1056 
   1057   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1058     ac_prev=mandir ;;
   1059   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1060     mandir=$ac_optarg ;;
   1061 
   1062   -nfp | --nfp | --nf)
   1063     # Obsolete; use --without-fp.
   1064     with_fp=no ;;
   1065 
   1066   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1067   | --no-cr | --no-c | -n)
   1068     no_create=yes ;;
   1069 
   1070   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1071   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1072     no_recursion=yes ;;
   1073 
   1074   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1075   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1076   | --oldin | --oldi | --old | --ol | --o)
   1077     ac_prev=oldincludedir ;;
   1078   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1079   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1080   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1081     oldincludedir=$ac_optarg ;;
   1082 
   1083   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1084     ac_prev=prefix ;;
   1085   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1086     prefix=$ac_optarg ;;
   1087 
   1088   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1089   | --program-pre | --program-pr | --program-p)
   1090     ac_prev=program_prefix ;;
   1091   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1092   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1093     program_prefix=$ac_optarg ;;
   1094 
   1095   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1096   | --program-suf | --program-su | --program-s)
   1097     ac_prev=program_suffix ;;
   1098   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1099   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1100     program_suffix=$ac_optarg ;;
   1101 
   1102   -program-transform-name | --program-transform-name \
   1103   | --program-transform-nam | --program-transform-na \
   1104   | --program-transform-n | --program-transform- \
   1105   | --program-transform | --program-transfor \
   1106   | --program-transfo | --program-transf \
   1107   | --program-trans | --program-tran \
   1108   | --progr-tra | --program-tr | --program-t)
   1109     ac_prev=program_transform_name ;;
   1110   -program-transform-name=* | --program-transform-name=* \
   1111   | --program-transform-nam=* | --program-transform-na=* \
   1112   | --program-transform-n=* | --program-transform-=* \
   1113   | --program-transform=* | --program-transfor=* \
   1114   | --program-transfo=* | --program-transf=* \
   1115   | --program-trans=* | --program-tran=* \
   1116   | --progr-tra=* | --program-tr=* | --program-t=*)
   1117     program_transform_name=$ac_optarg ;;
   1118 
   1119   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1120     ac_prev=pdfdir ;;
   1121   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1122     pdfdir=$ac_optarg ;;
   1123 
   1124   -psdir | --psdir | --psdi | --psd | --ps)
   1125     ac_prev=psdir ;;
   1126   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1127     psdir=$ac_optarg ;;
   1128 
   1129   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1130   | -silent | --silent | --silen | --sile | --sil)
   1131     silent=yes ;;
   1132 
   1133   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1134     ac_prev=sbindir ;;
   1135   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1136   | --sbi=* | --sb=*)
   1137     sbindir=$ac_optarg ;;
   1138 
   1139   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1140   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1141   | --sharedst | --shareds | --shared | --share | --shar \
   1142   | --sha | --sh)
   1143     ac_prev=sharedstatedir ;;
   1144   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1145   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1146   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1147   | --sha=* | --sh=*)
   1148     sharedstatedir=$ac_optarg ;;
   1149 
   1150   -site | --site | --sit)
   1151     ac_prev=site ;;
   1152   -site=* | --site=* | --sit=*)
   1153     site=$ac_optarg ;;
   1154 
   1155   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1156     ac_prev=srcdir ;;
   1157   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1158     srcdir=$ac_optarg ;;
   1159 
   1160   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1161   | --syscon | --sysco | --sysc | --sys | --sy)
   1162     ac_prev=sysconfdir ;;
   1163   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1164   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1165     sysconfdir=$ac_optarg ;;
   1166 
   1167   -target | --target | --targe | --targ | --tar | --ta | --t)
   1168     ac_prev=target_alias ;;
   1169   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1170     target_alias=$ac_optarg ;;
   1171 
   1172   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1173     verbose=yes ;;
   1174 
   1175   -version | --version | --versio | --versi | --vers | -V)
   1176     ac_init_version=: ;;
   1177 
   1178   -with-* | --with-*)
   1179     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1180     # Reject names that are not valid shell variable names.
   1181     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1182       as_fn_error $? "invalid package name: $ac_useropt"
   1183     ac_useropt_orig=$ac_useropt
   1184     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1185     case $ac_user_opts in
   1186       *"
   1187 "with_$ac_useropt"
   1188 "*) ;;
   1189       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1190 	 ac_unrecognized_sep=', ';;
   1191     esac
   1192     eval with_$ac_useropt=\$ac_optarg ;;
   1193 
   1194   -without-* | --without-*)
   1195     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1196     # Reject names that are not valid shell variable names.
   1197     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1198       as_fn_error $? "invalid package name: $ac_useropt"
   1199     ac_useropt_orig=$ac_useropt
   1200     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1201     case $ac_user_opts in
   1202       *"
   1203 "with_$ac_useropt"
   1204 "*) ;;
   1205       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1206 	 ac_unrecognized_sep=', ';;
   1207     esac
   1208     eval with_$ac_useropt=no ;;
   1209 
   1210   --x)
   1211     # Obsolete; use --with-x.
   1212     with_x=yes ;;
   1213 
   1214   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1215   | --x-incl | --x-inc | --x-in | --x-i)
   1216     ac_prev=x_includes ;;
   1217   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1218   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1219     x_includes=$ac_optarg ;;
   1220 
   1221   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1222   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1223     ac_prev=x_libraries ;;
   1224   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1225   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1226     x_libraries=$ac_optarg ;;
   1227 
   1228   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1229 Try \`$0 --help' for more information"
   1230     ;;
   1231 
   1232   *=*)
   1233     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1234     # Reject names that are not valid shell variable names.
   1235     case $ac_envvar in #(
   1236       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1237       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1238     esac
   1239     eval $ac_envvar=\$ac_optarg
   1240     export $ac_envvar ;;
   1241 
   1242   *)
   1243     # FIXME: should be removed in autoconf 3.0.
   1244     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1245     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1246       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1247     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1248     ;;
   1249 
   1250   esac
   1251 done
   1252 
   1253 if test -n "$ac_prev"; then
   1254   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1255   as_fn_error $? "missing argument to $ac_option"
   1256 fi
   1257 
   1258 if test -n "$ac_unrecognized_opts"; then
   1259   case $enable_option_checking in
   1260     no) ;;
   1261     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1262     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1263   esac
   1264 fi
   1265 
   1266 # Check all directory arguments for consistency.
   1267 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1268 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1269 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1270 		libdir localedir mandir
   1271 do
   1272   eval ac_val=\$$ac_var
   1273   # Remove trailing slashes.
   1274   case $ac_val in
   1275     */ )
   1276       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1277       eval $ac_var=\$ac_val;;
   1278   esac
   1279   # Be sure to have absolute directory names.
   1280   case $ac_val in
   1281     [\\/$]* | ?:[\\/]* )  continue;;
   1282     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1283   esac
   1284   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1285 done
   1286 
   1287 # There might be people who depend on the old broken behavior: `$host'
   1288 # used to hold the argument of --host etc.
   1289 # FIXME: To remove some day.
   1290 build=$build_alias
   1291 host=$host_alias
   1292 target=$target_alias
   1293 
   1294 # FIXME: To remove some day.
   1295 if test "x$host_alias" != x; then
   1296   if test "x$build_alias" = x; then
   1297     cross_compiling=maybe
   1298   elif test "x$build_alias" != "x$host_alias"; then
   1299     cross_compiling=yes
   1300   fi
   1301 fi
   1302 
   1303 ac_tool_prefix=
   1304 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1305 
   1306 test "$silent" = yes && exec 6>/dev/null
   1307 
   1308 
   1309 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1310 ac_ls_di=`ls -di .` &&
   1311 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1312   as_fn_error $? "working directory cannot be determined"
   1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1314   as_fn_error $? "pwd does not report name of working directory"
   1315 
   1316 
   1317 # Find the source files, if location was not specified.
   1318 if test -z "$srcdir"; then
   1319   ac_srcdir_defaulted=yes
   1320   # Try the directory containing this script, then the parent directory.
   1321   ac_confdir=`$as_dirname -- "$as_myself" ||
   1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1323 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1324 	 X"$as_myself" : 'X\(//\)$' \| \
   1325 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1326 $as_echo X"$as_myself" |
   1327     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1328 	    s//\1/
   1329 	    q
   1330 	  }
   1331 	  /^X\(\/\/\)[^/].*/{
   1332 	    s//\1/
   1333 	    q
   1334 	  }
   1335 	  /^X\(\/\/\)$/{
   1336 	    s//\1/
   1337 	    q
   1338 	  }
   1339 	  /^X\(\/\).*/{
   1340 	    s//\1/
   1341 	    q
   1342 	  }
   1343 	  s/.*/./; q'`
   1344   srcdir=$ac_confdir
   1345   if test ! -r "$srcdir/$ac_unique_file"; then
   1346     srcdir=..
   1347   fi
   1348 else
   1349   ac_srcdir_defaulted=no
   1350 fi
   1351 if test ! -r "$srcdir/$ac_unique_file"; then
   1352   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1353   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1354 fi
   1355 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1356 ac_abs_confdir=`(
   1357 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1358 	pwd)`
   1359 # When building in place, set srcdir=.
   1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1361   srcdir=.
   1362 fi
   1363 # Remove unnecessary trailing slashes from srcdir.
   1364 # Double slashes in file names in object file debugging info
   1365 # mess up M-x gdb in Emacs.
   1366 case $srcdir in
   1367 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1368 esac
   1369 for ac_var in $ac_precious_vars; do
   1370   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1371   eval ac_env_${ac_var}_value=\$${ac_var}
   1372   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1373   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1374 done
   1375 
   1376 #
   1377 # Report the --help message.
   1378 #
   1379 if test "$ac_init_help" = "long"; then
   1380   # Omit some internal or obsolete options to make the list less imposing.
   1381   # This message is too long to be a string in the A/UX 3.1 sh.
   1382   cat <<_ACEOF
   1383 \`configure' configures xf86-input-synaptics 1.7.1 to adapt to many kinds of systems.
   1384 
   1385 Usage: $0 [OPTION]... [VAR=VALUE]...
   1386 
   1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1388 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1389 
   1390 Defaults for the options are specified in brackets.
   1391 
   1392 Configuration:
   1393   -h, --help              display this help and exit
   1394       --help=short        display options specific to this package
   1395       --help=recursive    display the short help of all the included packages
   1396   -V, --version           display version information and exit
   1397   -q, --quiet, --silent   do not print \`checking ...' messages
   1398       --cache-file=FILE   cache test results in FILE [disabled]
   1399   -C, --config-cache      alias for \`--cache-file=config.cache'
   1400   -n, --no-create         do not create output files
   1401       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1402 
   1403 Installation directories:
   1404   --prefix=PREFIX         install architecture-independent files in PREFIX
   1405                           [$ac_default_prefix]
   1406   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1407                           [PREFIX]
   1408 
   1409 By default, \`make install' will install all the files in
   1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1412 for instance \`--prefix=\$HOME'.
   1413 
   1414 For better control, use the options below.
   1415 
   1416 Fine tuning of the installation directories:
   1417   --bindir=DIR            user executables [EPREFIX/bin]
   1418   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1419   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1420   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1421   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1422   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1423   --libdir=DIR            object code libraries [EPREFIX/lib]
   1424   --includedir=DIR        C header files [PREFIX/include]
   1425   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1426   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1427   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1428   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1429   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1430   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1431   --docdir=DIR            documentation root
   1432                           [DATAROOTDIR/doc/xf86-input-synaptics]
   1433   --htmldir=DIR           html documentation [DOCDIR]
   1434   --dvidir=DIR            dvi documentation [DOCDIR]
   1435   --pdfdir=DIR            pdf documentation [DOCDIR]
   1436   --psdir=DIR             ps documentation [DOCDIR]
   1437 _ACEOF
   1438 
   1439   cat <<\_ACEOF
   1440 
   1441 Program names:
   1442   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1443   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1444   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1445 
   1446 System types:
   1447   --build=BUILD     configure for building on BUILD [guessed]
   1448   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1449 _ACEOF
   1450 fi
   1451 
   1452 if test -n "$ac_init_help"; then
   1453   case $ac_init_help in
   1454      short | recursive ) echo "Configuration of xf86-input-synaptics 1.7.1:";;
   1455    esac
   1456   cat <<\_ACEOF
   1457 
   1458 Optional Features:
   1459   --disable-option-checking  ignore unrecognized --enable/--with options
   1460   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1461   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1462   --enable-maintainer-mode
   1463                           enable make rules and dependencies not useful (and
   1464                           sometimes confusing) to the casual installer
   1465   --enable-static[=PKGS]  build static libraries [default=no]
   1466   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1467   --enable-fast-install[=PKGS]
   1468                           optimize for fast installation [default=yes]
   1469   --enable-dependency-tracking
   1470                           do not reject slow dependency extractors
   1471   --disable-dependency-tracking
   1472                           speeds up one-time build
   1473   --disable-libtool-lock  avoid locking (might break parallel builds)
   1474   --disable-selective-werror
   1475                           Turn off selective compiler errors. (default:
   1476                           enabled)
   1477   --enable-strict-compilation
   1478                           Enable all warnings from compiler and make them
   1479                           errors (default: disabled)
   1480   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1481   --disable-silent-rules  verbose build output (undo: "make V=0")
   1482   --enable-unit-tests     Enable building unit test cases (default: auto)
   1483   --enable-debug          Enable debugging (default: disabled)
   1484 
   1485 Optional Packages:
   1486   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1487   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1488   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1489                           both]
   1490   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1491   --with-sysroot=DIR Search for dependent libraries within DIR
   1492                         (or the compiler's sysroot if not specified).
   1493   --with-xorg-module-dir=DIR
   1494                           Default xorg module directory
   1495                           [[default=$libdir/xorg/modules]]
   1496   --with-xorg-conf-dir=DIR
   1497                           Default xorg.conf.d directory [[default=from
   1498                           $PKG_CONFIG xorg-server]]
   1499 
   1500 
   1501 Some influential environment variables:
   1502   CC          C compiler command
   1503   CFLAGS      C compiler flags
   1504   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1505               nonstandard directory <lib dir>
   1506   LIBS        libraries to pass to the linker, e.g. -l<library>
   1507   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1508               you have headers in a nonstandard directory <include dir>
   1509   CPP         C preprocessor
   1510   PKG_CONFIG  path to pkg-config utility
   1511   PKG_CONFIG_PATH
   1512               directories to add to pkg-config's search path
   1513   PKG_CONFIG_LIBDIR
   1514               path overriding pkg-config's built-in search path
   1515   XORG_MALLOC_DEBUG_ENV
   1516               Environment variables to enable memory checking in tests
   1517   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1518   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1519   MTDEV_CFLAGS
   1520               C compiler flags for MTDEV, overriding pkg-config
   1521   MTDEV_LIBS  linker flags for MTDEV, overriding pkg-config
   1522   XI_CFLAGS   C compiler flags for XI, overriding pkg-config
   1523   XI_LIBS     linker flags for XI, overriding pkg-config
   1524   XTST_CFLAGS C compiler flags for XTST, overriding pkg-config
   1525   XTST_LIBS   linker flags for XTST, overriding pkg-config
   1526 
   1527 Use these variables to override the choices made by `configure' or to help
   1528 it to find libraries and programs with nonstandard names/locations.
   1529 
   1530 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1531 _ACEOF
   1532 ac_status=$?
   1533 fi
   1534 
   1535 if test "$ac_init_help" = "recursive"; then
   1536   # If there are subdirs, report their specific --help.
   1537   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1538     test -d "$ac_dir" ||
   1539       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1540       continue
   1541     ac_builddir=.
   1542 
   1543 case "$ac_dir" in
   1544 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1545 *)
   1546   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1547   # A ".." for each directory in $ac_dir_suffix.
   1548   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1549   case $ac_top_builddir_sub in
   1550   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1551   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1552   esac ;;
   1553 esac
   1554 ac_abs_top_builddir=$ac_pwd
   1555 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1556 # for backward compatibility:
   1557 ac_top_builddir=$ac_top_build_prefix
   1558 
   1559 case $srcdir in
   1560   .)  # We are building in place.
   1561     ac_srcdir=.
   1562     ac_top_srcdir=$ac_top_builddir_sub
   1563     ac_abs_top_srcdir=$ac_pwd ;;
   1564   [\\/]* | ?:[\\/]* )  # Absolute name.
   1565     ac_srcdir=$srcdir$ac_dir_suffix;
   1566     ac_top_srcdir=$srcdir
   1567     ac_abs_top_srcdir=$srcdir ;;
   1568   *) # Relative name.
   1569     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1570     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1571     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1572 esac
   1573 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1574 
   1575     cd "$ac_dir" || { ac_status=$?; continue; }
   1576     # Check for guested configure.
   1577     if test -f "$ac_srcdir/configure.gnu"; then
   1578       echo &&
   1579       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1580     elif test -f "$ac_srcdir/configure"; then
   1581       echo &&
   1582       $SHELL "$ac_srcdir/configure" --help=recursive
   1583     else
   1584       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1585     fi || ac_status=$?
   1586     cd "$ac_pwd" || { ac_status=$?; break; }
   1587   done
   1588 fi
   1589 
   1590 test -n "$ac_init_help" && exit $ac_status
   1591 if $ac_init_version; then
   1592   cat <<\_ACEOF
   1593 xf86-input-synaptics configure 1.7.1
   1594 generated by GNU Autoconf 2.69
   1595 
   1596 Copyright (C) 2012 Free Software Foundation, Inc.
   1597 This configure script is free software; the Free Software Foundation
   1598 gives unlimited permission to copy, distribute and modify it.
   1599 _ACEOF
   1600   exit
   1601 fi
   1602 
   1603 ## ------------------------ ##
   1604 ## Autoconf initialization. ##
   1605 ## ------------------------ ##
   1606 
   1607 # ac_fn_c_try_compile LINENO
   1608 # --------------------------
   1609 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1610 ac_fn_c_try_compile ()
   1611 {
   1612   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1613   rm -f conftest.$ac_objext
   1614   if { { ac_try="$ac_compile"
   1615 case "(($ac_try" in
   1616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1617   *) ac_try_echo=$ac_try;;
   1618 esac
   1619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1620 $as_echo "$ac_try_echo"; } >&5
   1621   (eval "$ac_compile") 2>conftest.err
   1622   ac_status=$?
   1623   if test -s conftest.err; then
   1624     grep -v '^ *+' conftest.err >conftest.er1
   1625     cat conftest.er1 >&5
   1626     mv -f conftest.er1 conftest.err
   1627   fi
   1628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1629   test $ac_status = 0; } && {
   1630 	 test -z "$ac_c_werror_flag" ||
   1631 	 test ! -s conftest.err
   1632        } && test -s conftest.$ac_objext; then :
   1633   ac_retval=0
   1634 else
   1635   $as_echo "$as_me: failed program was:" >&5
   1636 sed 's/^/| /' conftest.$ac_ext >&5
   1637 
   1638 	ac_retval=1
   1639 fi
   1640   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1641   as_fn_set_status $ac_retval
   1642 
   1643 } # ac_fn_c_try_compile
   1644 
   1645 # ac_fn_c_try_link LINENO
   1646 # -----------------------
   1647 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1648 ac_fn_c_try_link ()
   1649 {
   1650   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1651   rm -f conftest.$ac_objext conftest$ac_exeext
   1652   if { { ac_try="$ac_link"
   1653 case "(($ac_try" in
   1654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1655   *) ac_try_echo=$ac_try;;
   1656 esac
   1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1658 $as_echo "$ac_try_echo"; } >&5
   1659   (eval "$ac_link") 2>conftest.err
   1660   ac_status=$?
   1661   if test -s conftest.err; then
   1662     grep -v '^ *+' conftest.err >conftest.er1
   1663     cat conftest.er1 >&5
   1664     mv -f conftest.er1 conftest.err
   1665   fi
   1666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1667   test $ac_status = 0; } && {
   1668 	 test -z "$ac_c_werror_flag" ||
   1669 	 test ! -s conftest.err
   1670        } && test -s conftest$ac_exeext && {
   1671 	 test "$cross_compiling" = yes ||
   1672 	 test -x conftest$ac_exeext
   1673        }; then :
   1674   ac_retval=0
   1675 else
   1676   $as_echo "$as_me: failed program was:" >&5
   1677 sed 's/^/| /' conftest.$ac_ext >&5
   1678 
   1679 	ac_retval=1
   1680 fi
   1681   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1682   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1683   # interfere with the next link command; also delete a directory that is
   1684   # left behind by Apple's compiler.  We do this before executing the actions.
   1685   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1686   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1687   as_fn_set_status $ac_retval
   1688 
   1689 } # ac_fn_c_try_link
   1690 
   1691 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1692 # -------------------------------------------------------
   1693 # Tests whether HEADER exists and can be compiled using the include files in
   1694 # INCLUDES, setting the cache variable VAR accordingly.
   1695 ac_fn_c_check_header_compile ()
   1696 {
   1697   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1699 $as_echo_n "checking for $2... " >&6; }
   1700 if eval \${$3+:} false; then :
   1701   $as_echo_n "(cached) " >&6
   1702 else
   1703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1704 /* end confdefs.h.  */
   1705 $4
   1706 #include <$2>
   1707 _ACEOF
   1708 if ac_fn_c_try_compile "$LINENO"; then :
   1709   eval "$3=yes"
   1710 else
   1711   eval "$3=no"
   1712 fi
   1713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1714 fi
   1715 eval ac_res=\$$3
   1716 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1717 $as_echo "$ac_res" >&6; }
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719 
   1720 } # ac_fn_c_check_header_compile
   1721 
   1722 # ac_fn_c_try_cpp LINENO
   1723 # ----------------------
   1724 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1725 ac_fn_c_try_cpp ()
   1726 {
   1727   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1728   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1729 case "(($ac_try" in
   1730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1731   *) ac_try_echo=$ac_try;;
   1732 esac
   1733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1734 $as_echo "$ac_try_echo"; } >&5
   1735   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1736   ac_status=$?
   1737   if test -s conftest.err; then
   1738     grep -v '^ *+' conftest.err >conftest.er1
   1739     cat conftest.er1 >&5
   1740     mv -f conftest.er1 conftest.err
   1741   fi
   1742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1743   test $ac_status = 0; } > conftest.i && {
   1744 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1745 	 test ! -s conftest.err
   1746        }; then :
   1747   ac_retval=0
   1748 else
   1749   $as_echo "$as_me: failed program was:" >&5
   1750 sed 's/^/| /' conftest.$ac_ext >&5
   1751 
   1752     ac_retval=1
   1753 fi
   1754   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1755   as_fn_set_status $ac_retval
   1756 
   1757 } # ac_fn_c_try_cpp
   1758 
   1759 # ac_fn_c_try_run LINENO
   1760 # ----------------------
   1761 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1762 # that executables *can* be run.
   1763 ac_fn_c_try_run ()
   1764 {
   1765   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1766   if { { ac_try="$ac_link"
   1767 case "(($ac_try" in
   1768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1769   *) ac_try_echo=$ac_try;;
   1770 esac
   1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1772 $as_echo "$ac_try_echo"; } >&5
   1773   (eval "$ac_link") 2>&5
   1774   ac_status=$?
   1775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1776   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1777   { { case "(($ac_try" in
   1778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1779   *) ac_try_echo=$ac_try;;
   1780 esac
   1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1782 $as_echo "$ac_try_echo"; } >&5
   1783   (eval "$ac_try") 2>&5
   1784   ac_status=$?
   1785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1786   test $ac_status = 0; }; }; then :
   1787   ac_retval=0
   1788 else
   1789   $as_echo "$as_me: program exited with status $ac_status" >&5
   1790        $as_echo "$as_me: failed program was:" >&5
   1791 sed 's/^/| /' conftest.$ac_ext >&5
   1792 
   1793        ac_retval=$ac_status
   1794 fi
   1795   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1796   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1797   as_fn_set_status $ac_retval
   1798 
   1799 } # ac_fn_c_try_run
   1800 
   1801 # ac_fn_c_check_func LINENO FUNC VAR
   1802 # ----------------------------------
   1803 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1804 ac_fn_c_check_func ()
   1805 {
   1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1808 $as_echo_n "checking for $2... " >&6; }
   1809 if eval \${$3+:} false; then :
   1810   $as_echo_n "(cached) " >&6
   1811 else
   1812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1813 /* end confdefs.h.  */
   1814 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1816 #define $2 innocuous_$2
   1817 
   1818 /* System header to define __stub macros and hopefully few prototypes,
   1819     which can conflict with char $2 (); below.
   1820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1821     <limits.h> exists even on freestanding compilers.  */
   1822 
   1823 #ifdef __STDC__
   1824 # include <limits.h>
   1825 #else
   1826 # include <assert.h>
   1827 #endif
   1828 
   1829 #undef $2
   1830 
   1831 /* Override any GCC internal prototype to avoid an error.
   1832    Use char because int might match the return type of a GCC
   1833    builtin and then its argument prototype would still apply.  */
   1834 #ifdef __cplusplus
   1835 extern "C"
   1836 #endif
   1837 char $2 ();
   1838 /* The GNU C library defines this for functions which it implements
   1839     to always fail with ENOSYS.  Some functions are actually named
   1840     something starting with __ and the normal name is an alias.  */
   1841 #if defined __stub_$2 || defined __stub___$2
   1842 choke me
   1843 #endif
   1844 
   1845 int
   1846 main ()
   1847 {
   1848 return $2 ();
   1849   ;
   1850   return 0;
   1851 }
   1852 _ACEOF
   1853 if ac_fn_c_try_link "$LINENO"; then :
   1854   eval "$3=yes"
   1855 else
   1856   eval "$3=no"
   1857 fi
   1858 rm -f core conftest.err conftest.$ac_objext \
   1859     conftest$ac_exeext conftest.$ac_ext
   1860 fi
   1861 eval ac_res=\$$3
   1862 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1863 $as_echo "$ac_res" >&6; }
   1864   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1865 
   1866 } # ac_fn_c_check_func
   1867 
   1868 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1869 # ---------------------------------------------
   1870 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1871 # accordingly.
   1872 ac_fn_c_check_decl ()
   1873 {
   1874   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1875   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1876   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1878 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1879 if eval \${$3+:} false; then :
   1880   $as_echo_n "(cached) " >&6
   1881 else
   1882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1883 /* end confdefs.h.  */
   1884 $4
   1885 int
   1886 main ()
   1887 {
   1888 #ifndef $as_decl_name
   1889 #ifdef __cplusplus
   1890   (void) $as_decl_use;
   1891 #else
   1892   (void) $as_decl_name;
   1893 #endif
   1894 #endif
   1895 
   1896   ;
   1897   return 0;
   1898 }
   1899 _ACEOF
   1900 if ac_fn_c_try_compile "$LINENO"; then :
   1901   eval "$3=yes"
   1902 else
   1903   eval "$3=no"
   1904 fi
   1905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1906 fi
   1907 eval ac_res=\$$3
   1908 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1909 $as_echo "$ac_res" >&6; }
   1910   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1911 
   1912 } # ac_fn_c_check_decl
   1913 cat >config.log <<_ACEOF
   1914 This file contains any messages produced by compilers while
   1915 running configure, to aid debugging if configure makes a mistake.
   1916 
   1917 It was created by xf86-input-synaptics $as_me 1.7.1, which was
   1918 generated by GNU Autoconf 2.69.  Invocation command line was
   1919 
   1920   $ $0 $@
   1921 
   1922 _ACEOF
   1923 exec 5>>config.log
   1924 {
   1925 cat <<_ASUNAME
   1926 ## --------- ##
   1927 ## Platform. ##
   1928 ## --------- ##
   1929 
   1930 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1931 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1932 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1933 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1934 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1935 
   1936 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1937 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1938 
   1939 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1940 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1941 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1942 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1943 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1944 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1945 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1946 
   1947 _ASUNAME
   1948 
   1949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1950 for as_dir in $PATH
   1951 do
   1952   IFS=$as_save_IFS
   1953   test -z "$as_dir" && as_dir=.
   1954     $as_echo "PATH: $as_dir"
   1955   done
   1956 IFS=$as_save_IFS
   1957 
   1958 } >&5
   1959 
   1960 cat >&5 <<_ACEOF
   1961 
   1962 
   1963 ## ----------- ##
   1964 ## Core tests. ##
   1965 ## ----------- ##
   1966 
   1967 _ACEOF
   1968 
   1969 
   1970 # Keep a trace of the command line.
   1971 # Strip out --no-create and --no-recursion so they do not pile up.
   1972 # Strip out --silent because we don't want to record it for future runs.
   1973 # Also quote any args containing shell meta-characters.
   1974 # Make two passes to allow for proper duplicate-argument suppression.
   1975 ac_configure_args=
   1976 ac_configure_args0=
   1977 ac_configure_args1=
   1978 ac_must_keep_next=false
   1979 for ac_pass in 1 2
   1980 do
   1981   for ac_arg
   1982   do
   1983     case $ac_arg in
   1984     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1985     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1986     | -silent | --silent | --silen | --sile | --sil)
   1987       continue ;;
   1988     *\'*)
   1989       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1990     esac
   1991     case $ac_pass in
   1992     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1993     2)
   1994       as_fn_append ac_configure_args1 " '$ac_arg'"
   1995       if test $ac_must_keep_next = true; then
   1996 	ac_must_keep_next=false # Got value, back to normal.
   1997       else
   1998 	case $ac_arg in
   1999 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2000 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2001 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2002 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2003 	    case "$ac_configure_args0 " in
   2004 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2005 	    esac
   2006 	    ;;
   2007 	  -* ) ac_must_keep_next=true ;;
   2008 	esac
   2009       fi
   2010       as_fn_append ac_configure_args " '$ac_arg'"
   2011       ;;
   2012     esac
   2013   done
   2014 done
   2015 { ac_configure_args0=; unset ac_configure_args0;}
   2016 { ac_configure_args1=; unset ac_configure_args1;}
   2017 
   2018 # When interrupted or exit'd, cleanup temporary files, and complete
   2019 # config.log.  We remove comments because anyway the quotes in there
   2020 # would cause problems or look ugly.
   2021 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2022 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2023 trap 'exit_status=$?
   2024   # Save into config.log some information that might help in debugging.
   2025   {
   2026     echo
   2027 
   2028     $as_echo "## ---------------- ##
   2029 ## Cache variables. ##
   2030 ## ---------------- ##"
   2031     echo
   2032     # The following way of writing the cache mishandles newlines in values,
   2033 (
   2034   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2035     eval ac_val=\$$ac_var
   2036     case $ac_val in #(
   2037     *${as_nl}*)
   2038       case $ac_var in #(
   2039       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2040 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2041       esac
   2042       case $ac_var in #(
   2043       _ | IFS | as_nl) ;; #(
   2044       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2045       *) { eval $ac_var=; unset $ac_var;} ;;
   2046       esac ;;
   2047     esac
   2048   done
   2049   (set) 2>&1 |
   2050     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2051     *${as_nl}ac_space=\ *)
   2052       sed -n \
   2053 	"s/'\''/'\''\\\\'\'''\''/g;
   2054 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2055       ;; #(
   2056     *)
   2057       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2058       ;;
   2059     esac |
   2060     sort
   2061 )
   2062     echo
   2063 
   2064     $as_echo "## ----------------- ##
   2065 ## Output variables. ##
   2066 ## ----------------- ##"
   2067     echo
   2068     for ac_var in $ac_subst_vars
   2069     do
   2070       eval ac_val=\$$ac_var
   2071       case $ac_val in
   2072       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2073       esac
   2074       $as_echo "$ac_var='\''$ac_val'\''"
   2075     done | sort
   2076     echo
   2077 
   2078     if test -n "$ac_subst_files"; then
   2079       $as_echo "## ------------------- ##
   2080 ## File substitutions. ##
   2081 ## ------------------- ##"
   2082       echo
   2083       for ac_var in $ac_subst_files
   2084       do
   2085 	eval ac_val=\$$ac_var
   2086 	case $ac_val in
   2087 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2088 	esac
   2089 	$as_echo "$ac_var='\''$ac_val'\''"
   2090       done | sort
   2091       echo
   2092     fi
   2093 
   2094     if test -s confdefs.h; then
   2095       $as_echo "## ----------- ##
   2096 ## confdefs.h. ##
   2097 ## ----------- ##"
   2098       echo
   2099       cat confdefs.h
   2100       echo
   2101     fi
   2102     test "$ac_signal" != 0 &&
   2103       $as_echo "$as_me: caught signal $ac_signal"
   2104     $as_echo "$as_me: exit $exit_status"
   2105   } >&5
   2106   rm -f core *.core core.conftest.* &&
   2107     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2108     exit $exit_status
   2109 ' 0
   2110 for ac_signal in 1 2 13 15; do
   2111   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2112 done
   2113 ac_signal=0
   2114 
   2115 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2116 rm -f -r conftest* confdefs.h
   2117 
   2118 $as_echo "/* confdefs.h */" > confdefs.h
   2119 
   2120 # Predefined preprocessor variables.
   2121 
   2122 cat >>confdefs.h <<_ACEOF
   2123 #define PACKAGE_NAME "$PACKAGE_NAME"
   2124 _ACEOF
   2125 
   2126 cat >>confdefs.h <<_ACEOF
   2127 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2128 _ACEOF
   2129 
   2130 cat >>confdefs.h <<_ACEOF
   2131 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2132 _ACEOF
   2133 
   2134 cat >>confdefs.h <<_ACEOF
   2135 #define PACKAGE_STRING "$PACKAGE_STRING"
   2136 _ACEOF
   2137 
   2138 cat >>confdefs.h <<_ACEOF
   2139 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2140 _ACEOF
   2141 
   2142 cat >>confdefs.h <<_ACEOF
   2143 #define PACKAGE_URL "$PACKAGE_URL"
   2144 _ACEOF
   2145 
   2146 
   2147 # Let the site file select an alternate cache file if it wants to.
   2148 # Prefer an explicitly selected file to automatically selected ones.
   2149 ac_site_file1=NONE
   2150 ac_site_file2=NONE
   2151 if test -n "$CONFIG_SITE"; then
   2152   # We do not want a PATH search for config.site.
   2153   case $CONFIG_SITE in #((
   2154     -*)  ac_site_file1=./$CONFIG_SITE;;
   2155     */*) ac_site_file1=$CONFIG_SITE;;
   2156     *)   ac_site_file1=./$CONFIG_SITE;;
   2157   esac
   2158 elif test "x$prefix" != xNONE; then
   2159   ac_site_file1=$prefix/share/config.site
   2160   ac_site_file2=$prefix/etc/config.site
   2161 else
   2162   ac_site_file1=$ac_default_prefix/share/config.site
   2163   ac_site_file2=$ac_default_prefix/etc/config.site
   2164 fi
   2165 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2166 do
   2167   test "x$ac_site_file" = xNONE && continue
   2168   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2169     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2170 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2171     sed 's/^/| /' "$ac_site_file" >&5
   2172     . "$ac_site_file" \
   2173       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2175 as_fn_error $? "failed to load site script $ac_site_file
   2176 See \`config.log' for more details" "$LINENO" 5; }
   2177   fi
   2178 done
   2179 
   2180 if test -r "$cache_file"; then
   2181   # Some versions of bash will fail to source /dev/null (special files
   2182   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2183   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2184     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2185 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2186     case $cache_file in
   2187       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2188       *)                      . "./$cache_file";;
   2189     esac
   2190   fi
   2191 else
   2192   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2193 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2194   >$cache_file
   2195 fi
   2196 
   2197 # Check that the precious variables saved in the cache have kept the same
   2198 # value.
   2199 ac_cache_corrupted=false
   2200 for ac_var in $ac_precious_vars; do
   2201   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2202   eval ac_new_set=\$ac_env_${ac_var}_set
   2203   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2204   eval ac_new_val=\$ac_env_${ac_var}_value
   2205   case $ac_old_set,$ac_new_set in
   2206     set,)
   2207       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2208 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2209       ac_cache_corrupted=: ;;
   2210     ,set)
   2211       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2212 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2213       ac_cache_corrupted=: ;;
   2214     ,);;
   2215     *)
   2216       if test "x$ac_old_val" != "x$ac_new_val"; then
   2217 	# differences in whitespace do not lead to failure.
   2218 	ac_old_val_w=`echo x $ac_old_val`
   2219 	ac_new_val_w=`echo x $ac_new_val`
   2220 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2221 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2222 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2223 	  ac_cache_corrupted=:
   2224 	else
   2225 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2226 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2227 	  eval $ac_var=\$ac_old_val
   2228 	fi
   2229 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2230 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2231 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2232 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2233       fi;;
   2234   esac
   2235   # Pass precious variables to config.status.
   2236   if test "$ac_new_set" = set; then
   2237     case $ac_new_val in
   2238     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2239     *) ac_arg=$ac_var=$ac_new_val ;;
   2240     esac
   2241     case " $ac_configure_args " in
   2242       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2243       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2244     esac
   2245   fi
   2246 done
   2247 if $ac_cache_corrupted; then
   2248   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2250   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2251 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2252   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2253 fi
   2254 ## -------------------- ##
   2255 ## Main body of script. ##
   2256 ## -------------------- ##
   2257 
   2258 ac_ext=c
   2259 ac_cpp='$CPP $CPPFLAGS'
   2260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2263 
   2264 
   2265 
   2266 ac_config_headers="$ac_config_headers config.h"
   2267 
   2268 ac_aux_dir=
   2269 for ac_dir in . "$srcdir"/.; do
   2270   if test -f "$ac_dir/install-sh"; then
   2271     ac_aux_dir=$ac_dir
   2272     ac_install_sh="$ac_aux_dir/install-sh -c"
   2273     break
   2274   elif test -f "$ac_dir/install.sh"; then
   2275     ac_aux_dir=$ac_dir
   2276     ac_install_sh="$ac_aux_dir/install.sh -c"
   2277     break
   2278   elif test -f "$ac_dir/shtool"; then
   2279     ac_aux_dir=$ac_dir
   2280     ac_install_sh="$ac_aux_dir/shtool install -c"
   2281     break
   2282   fi
   2283 done
   2284 if test -z "$ac_aux_dir"; then
   2285   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2286 fi
   2287 
   2288 # These three variables are undocumented and unsupported,
   2289 # and are intended to be withdrawn in a future Autoconf release.
   2290 # They can cause serious problems if a builder's source tree is in a directory
   2291 # whose full name contains unusual characters.
   2292 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2293 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2294 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2295 
   2296 
   2297 
   2298 # Initialize Automake
   2299 am__api_version='1.12'
   2300 
   2301 # Find a good install program.  We prefer a C program (faster),
   2302 # so one script is as good as another.  But avoid the broken or
   2303 # incompatible versions:
   2304 # SysV /etc/install, /usr/sbin/install
   2305 # SunOS /usr/etc/install
   2306 # IRIX /sbin/install
   2307 # AIX /bin/install
   2308 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2309 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2310 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2311 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2312 # OS/2's system install, which has a completely different semantic
   2313 # ./install, which can be erroneously created by make from ./install.sh.
   2314 # Reject install programs that cannot install multiple files.
   2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2316 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2317 if test -z "$INSTALL"; then
   2318 if ${ac_cv_path_install+:} false; then :
   2319   $as_echo_n "(cached) " >&6
   2320 else
   2321   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2322 for as_dir in $PATH
   2323 do
   2324   IFS=$as_save_IFS
   2325   test -z "$as_dir" && as_dir=.
   2326     # Account for people who put trailing slashes in PATH elements.
   2327 case $as_dir/ in #((
   2328   ./ | .// | /[cC]/* | \
   2329   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2330   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2331   /usr/ucb/* ) ;;
   2332   *)
   2333     # OSF1 and SCO ODT 3.0 have their own names for install.
   2334     # Don't use installbsd from OSF since it installs stuff as root
   2335     # by default.
   2336     for ac_prog in ginstall scoinst install; do
   2337       for ac_exec_ext in '' $ac_executable_extensions; do
   2338 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2339 	  if test $ac_prog = install &&
   2340 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2341 	    # AIX install.  It has an incompatible calling convention.
   2342 	    :
   2343 	  elif test $ac_prog = install &&
   2344 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2345 	    # program-specific install script used by HP pwplus--don't use.
   2346 	    :
   2347 	  else
   2348 	    rm -rf conftest.one conftest.two conftest.dir
   2349 	    echo one > conftest.one
   2350 	    echo two > conftest.two
   2351 	    mkdir conftest.dir
   2352 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2353 	      test -s conftest.one && test -s conftest.two &&
   2354 	      test -s conftest.dir/conftest.one &&
   2355 	      test -s conftest.dir/conftest.two
   2356 	    then
   2357 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2358 	      break 3
   2359 	    fi
   2360 	  fi
   2361 	fi
   2362       done
   2363     done
   2364     ;;
   2365 esac
   2366 
   2367   done
   2368 IFS=$as_save_IFS
   2369 
   2370 rm -rf conftest.one conftest.two conftest.dir
   2371 
   2372 fi
   2373   if test "${ac_cv_path_install+set}" = set; then
   2374     INSTALL=$ac_cv_path_install
   2375   else
   2376     # As a last resort, use the slow shell script.  Don't cache a
   2377     # value for INSTALL within a source directory, because that will
   2378     # break other packages using the cache if that directory is
   2379     # removed, or if the value is a relative name.
   2380     INSTALL=$ac_install_sh
   2381   fi
   2382 fi
   2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2384 $as_echo "$INSTALL" >&6; }
   2385 
   2386 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2387 # It thinks the first close brace ends the variable substitution.
   2388 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2389 
   2390 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2391 
   2392 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2393 
   2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2395 $as_echo_n "checking whether build environment is sane... " >&6; }
   2396 # Reject unsafe characters in $srcdir or the absolute working directory
   2397 # name.  Accept space and tab only in the latter.
   2398 am_lf='
   2399 '
   2400 case `pwd` in
   2401   *[\\\"\#\$\&\'\`$am_lf]*)
   2402     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2403 esac
   2404 case $srcdir in
   2405   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2406     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2407 esac
   2408 
   2409 # Do 'set' in a subshell so we don't clobber the current shell's
   2410 # arguments.  Must try -L first in case configure is actually a
   2411 # symlink; some systems play weird games with the mod time of symlinks
   2412 # (eg FreeBSD returns the mod time of the symlink's containing
   2413 # directory).
   2414 if (
   2415    am_has_slept=no
   2416    for am_try in 1 2; do
   2417      echo "timestamp, slept: $am_has_slept" > conftest.file
   2418      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2419      if test "$*" = "X"; then
   2420 	# -L didn't work.
   2421 	set X `ls -t "$srcdir/configure" conftest.file`
   2422      fi
   2423      if test "$*" != "X $srcdir/configure conftest.file" \
   2424 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2425 
   2426 	# If neither matched, then we have a broken ls.  This can happen
   2427 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2428 	# broken ls alias from the environment.  This has actually
   2429 	# happened.  Such a system could not be considered "sane".
   2430 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2431   alias in your environment" "$LINENO" 5
   2432      fi
   2433      if test "$2" = conftest.file || test $am_try -eq 2; then
   2434        break
   2435      fi
   2436      # Just in case.
   2437      sleep 1
   2438      am_has_slept=yes
   2439    done
   2440    test "$2" = conftest.file
   2441    )
   2442 then
   2443    # Ok.
   2444    :
   2445 else
   2446    as_fn_error $? "newly created file is older than distributed files!
   2447 Check your system clock" "$LINENO" 5
   2448 fi
   2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2450 $as_echo "yes" >&6; }
   2451 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2452 # generated files are strictly newer.
   2453 am_sleep_pid=
   2454 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2455   ( sleep 1 ) &
   2456   am_sleep_pid=$!
   2457 fi
   2458 
   2459 rm -f conftest.file
   2460 
   2461 test "$program_prefix" != NONE &&
   2462   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2463 # Use a double $ so make ignores it.
   2464 test "$program_suffix" != NONE &&
   2465   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2466 # Double any \ or $.
   2467 # By default was `s,x,x', remove it if useless.
   2468 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2469 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2470 
   2471 # expand $ac_aux_dir to an absolute path
   2472 am_aux_dir=`cd $ac_aux_dir && pwd`
   2473 
   2474 if test x"${MISSING+set}" != xset; then
   2475   case $am_aux_dir in
   2476   *\ * | *\	*)
   2477     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2478   *)
   2479     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2480   esac
   2481 fi
   2482 # Use eval to expand $SHELL
   2483 if eval "$MISSING --run true"; then
   2484   am_missing_run="$MISSING --run "
   2485 else
   2486   am_missing_run=
   2487   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2488 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2489 fi
   2490 
   2491 if test x"${install_sh}" != xset; then
   2492   case $am_aux_dir in
   2493   *\ * | *\	*)
   2494     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2495   *)
   2496     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2497   esac
   2498 fi
   2499 
   2500 # Installed binaries are usually stripped using 'strip' when the user
   2501 # run "make install-strip".  However 'strip' might not be the right
   2502 # tool to use in cross-compilation environments, therefore Automake
   2503 # will honor the 'STRIP' environment variable to overrule this program.
   2504 if test "$cross_compiling" != no; then
   2505   if test -n "$ac_tool_prefix"; then
   2506   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2507 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2509 $as_echo_n "checking for $ac_word... " >&6; }
   2510 if ${ac_cv_prog_STRIP+:} false; then :
   2511   $as_echo_n "(cached) " >&6
   2512 else
   2513   if test -n "$STRIP"; then
   2514   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2515 else
   2516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2517 for as_dir in $PATH
   2518 do
   2519   IFS=$as_save_IFS
   2520   test -z "$as_dir" && as_dir=.
   2521     for ac_exec_ext in '' $ac_executable_extensions; do
   2522   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2523     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2525     break 2
   2526   fi
   2527 done
   2528   done
   2529 IFS=$as_save_IFS
   2530 
   2531 fi
   2532 fi
   2533 STRIP=$ac_cv_prog_STRIP
   2534 if test -n "$STRIP"; then
   2535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2536 $as_echo "$STRIP" >&6; }
   2537 else
   2538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2539 $as_echo "no" >&6; }
   2540 fi
   2541 
   2542 
   2543 fi
   2544 if test -z "$ac_cv_prog_STRIP"; then
   2545   ac_ct_STRIP=$STRIP
   2546   # Extract the first word of "strip", so it can be a program name with args.
   2547 set dummy strip; ac_word=$2
   2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2549 $as_echo_n "checking for $ac_word... " >&6; }
   2550 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2551   $as_echo_n "(cached) " >&6
   2552 else
   2553   if test -n "$ac_ct_STRIP"; then
   2554   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2555 else
   2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2557 for as_dir in $PATH
   2558 do
   2559   IFS=$as_save_IFS
   2560   test -z "$as_dir" && as_dir=.
   2561     for ac_exec_ext in '' $ac_executable_extensions; do
   2562   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2563     ac_cv_prog_ac_ct_STRIP="strip"
   2564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2565     break 2
   2566   fi
   2567 done
   2568   done
   2569 IFS=$as_save_IFS
   2570 
   2571 fi
   2572 fi
   2573 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2574 if test -n "$ac_ct_STRIP"; then
   2575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2576 $as_echo "$ac_ct_STRIP" >&6; }
   2577 else
   2578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2579 $as_echo "no" >&6; }
   2580 fi
   2581 
   2582   if test "x$ac_ct_STRIP" = x; then
   2583     STRIP=":"
   2584   else
   2585     case $cross_compiling:$ac_tool_warned in
   2586 yes:)
   2587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2589 ac_tool_warned=yes ;;
   2590 esac
   2591     STRIP=$ac_ct_STRIP
   2592   fi
   2593 else
   2594   STRIP="$ac_cv_prog_STRIP"
   2595 fi
   2596 
   2597 fi
   2598 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2599 
   2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2601 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2602 if test -z "$MKDIR_P"; then
   2603   if ${ac_cv_path_mkdir+:} false; then :
   2604   $as_echo_n "(cached) " >&6
   2605 else
   2606   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2607 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2608 do
   2609   IFS=$as_save_IFS
   2610   test -z "$as_dir" && as_dir=.
   2611     for ac_prog in mkdir gmkdir; do
   2612 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2613 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2614 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2615 	     'mkdir (GNU coreutils) '* | \
   2616 	     'mkdir (coreutils) '* | \
   2617 	     'mkdir (fileutils) '4.1*)
   2618 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2619 	       break 3;;
   2620 	   esac
   2621 	 done
   2622        done
   2623   done
   2624 IFS=$as_save_IFS
   2625 
   2626 fi
   2627 
   2628   test -d ./--version && rmdir ./--version
   2629   if test "${ac_cv_path_mkdir+set}" = set; then
   2630     MKDIR_P="$ac_cv_path_mkdir -p"
   2631   else
   2632     # As a last resort, use the slow shell script.  Don't cache a
   2633     # value for MKDIR_P within a source directory, because that will
   2634     # break other packages using the cache if that directory is
   2635     # removed, or if the value is a relative name.
   2636     MKDIR_P="$ac_install_sh -d"
   2637   fi
   2638 fi
   2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2640 $as_echo "$MKDIR_P" >&6; }
   2641 
   2642 for ac_prog in gawk mawk nawk awk
   2643 do
   2644   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2645 set dummy $ac_prog; ac_word=$2
   2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2647 $as_echo_n "checking for $ac_word... " >&6; }
   2648 if ${ac_cv_prog_AWK+:} false; then :
   2649   $as_echo_n "(cached) " >&6
   2650 else
   2651   if test -n "$AWK"; then
   2652   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2653 else
   2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2655 for as_dir in $PATH
   2656 do
   2657   IFS=$as_save_IFS
   2658   test -z "$as_dir" && as_dir=.
   2659     for ac_exec_ext in '' $ac_executable_extensions; do
   2660   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2661     ac_cv_prog_AWK="$ac_prog"
   2662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2663     break 2
   2664   fi
   2665 done
   2666   done
   2667 IFS=$as_save_IFS
   2668 
   2669 fi
   2670 fi
   2671 AWK=$ac_cv_prog_AWK
   2672 if test -n "$AWK"; then
   2673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2674 $as_echo "$AWK" >&6; }
   2675 else
   2676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2677 $as_echo "no" >&6; }
   2678 fi
   2679 
   2680 
   2681   test -n "$AWK" && break
   2682 done
   2683 
   2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2685 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2686 set x ${MAKE-make}
   2687 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2688 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2689   $as_echo_n "(cached) " >&6
   2690 else
   2691   cat >conftest.make <<\_ACEOF
   2692 SHELL = /bin/sh
   2693 all:
   2694 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2695 _ACEOF
   2696 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2697 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2698   *@@@%%%=?*=@@@%%%*)
   2699     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2700   *)
   2701     eval ac_cv_prog_make_${ac_make}_set=no;;
   2702 esac
   2703 rm -f conftest.make
   2704 fi
   2705 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2707 $as_echo "yes" >&6; }
   2708   SET_MAKE=
   2709 else
   2710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2711 $as_echo "no" >&6; }
   2712   SET_MAKE="MAKE=${MAKE-make}"
   2713 fi
   2714 
   2715 rm -rf .tst 2>/dev/null
   2716 mkdir .tst 2>/dev/null
   2717 if test -d .tst; then
   2718   am__leading_dot=.
   2719 else
   2720   am__leading_dot=_
   2721 fi
   2722 rmdir .tst 2>/dev/null
   2723 
   2724 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2725   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2726   # is not polluted with repeated "-I."
   2727   am__isrc=' -I$(srcdir)'
   2728   # test to see if srcdir already configured
   2729   if test -f $srcdir/config.status; then
   2730     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2731   fi
   2732 fi
   2733 
   2734 # test whether we have cygpath
   2735 if test -z "$CYGPATH_W"; then
   2736   if (cygpath --version) >/dev/null 2>/dev/null; then
   2737     CYGPATH_W='cygpath -w'
   2738   else
   2739     CYGPATH_W=echo
   2740   fi
   2741 fi
   2742 
   2743 
   2744 # Define the identity of the package.
   2745  PACKAGE='xf86-input-synaptics'
   2746  VERSION='1.7.1'
   2747 
   2748 
   2749 cat >>confdefs.h <<_ACEOF
   2750 #define PACKAGE "$PACKAGE"
   2751 _ACEOF
   2752 
   2753 
   2754 cat >>confdefs.h <<_ACEOF
   2755 #define VERSION "$VERSION"
   2756 _ACEOF
   2757 
   2758 # Some tools Automake needs.
   2759 
   2760 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2761 
   2762 
   2763 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2764 
   2765 
   2766 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2767 
   2768 
   2769 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2770 
   2771 
   2772 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2773 
   2774 # For better backward compatibility.  To be removed once Automake 1.9.x
   2775 # dies out for good.  For more background, see:
   2776 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2777 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2778 mkdir_p='$(MKDIR_P)'
   2779 
   2780 # We need awk for the "check" target.  The system "awk" is bad on
   2781 # some platforms.
   2782 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2783 # in the wild :-(  We should find a proper way to deprecate it ...
   2784 AMTAR='$${TAR-tar}'
   2785 
   2786 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2787 
   2788 
   2789 
   2790 
   2791 
   2792 
   2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2794 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2795     # Check whether --enable-maintainer-mode was given.
   2796 if test "${enable_maintainer_mode+set}" = set; then :
   2797   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2798 else
   2799   USE_MAINTAINER_MODE=no
   2800 fi
   2801 
   2802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2803 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2804    if test $USE_MAINTAINER_MODE = yes; then
   2805   MAINTAINER_MODE_TRUE=
   2806   MAINTAINER_MODE_FALSE='#'
   2807 else
   2808   MAINTAINER_MODE_TRUE='#'
   2809   MAINTAINER_MODE_FALSE=
   2810 fi
   2811 
   2812   MAINT=$MAINTAINER_MODE_TRUE
   2813 
   2814 
   2815 
   2816 # Initialize libtool
   2817 # Check whether --enable-static was given.
   2818 if test "${enable_static+set}" = set; then :
   2819   enableval=$enable_static; p=${PACKAGE-default}
   2820     case $enableval in
   2821     yes) enable_static=yes ;;
   2822     no) enable_static=no ;;
   2823     *)
   2824      enable_static=no
   2825       # Look at the argument we got.  We use all the common list separators.
   2826       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2827       for pkg in $enableval; do
   2828 	IFS="$lt_save_ifs"
   2829 	if test "X$pkg" = "X$p"; then
   2830 	  enable_static=yes
   2831 	fi
   2832       done
   2833       IFS="$lt_save_ifs"
   2834       ;;
   2835     esac
   2836 else
   2837   enable_static=no
   2838 fi
   2839 
   2840 
   2841 
   2842 
   2843 
   2844 
   2845 
   2846 
   2847 
   2848 case `pwd` in
   2849   *\ * | *\	*)
   2850     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2851 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2852 esac
   2853 
   2854 
   2855 
   2856 macro_version='2.4.2'
   2857 macro_revision='1.3337'
   2858 
   2859 
   2860 
   2861 
   2862 
   2863 
   2864 
   2865 
   2866 
   2867 
   2868 
   2869 
   2870 
   2871 ltmain="$ac_aux_dir/ltmain.sh"
   2872 
   2873 # Make sure we can run config.sub.
   2874 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2875   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2876 
   2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2878 $as_echo_n "checking build system type... " >&6; }
   2879 if ${ac_cv_build+:} false; then :
   2880   $as_echo_n "(cached) " >&6
   2881 else
   2882   ac_build_alias=$build_alias
   2883 test "x$ac_build_alias" = x &&
   2884   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2885 test "x$ac_build_alias" = x &&
   2886   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2887 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2888   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2889 
   2890 fi
   2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2892 $as_echo "$ac_cv_build" >&6; }
   2893 case $ac_cv_build in
   2894 *-*-*) ;;
   2895 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2896 esac
   2897 build=$ac_cv_build
   2898 ac_save_IFS=$IFS; IFS='-'
   2899 set x $ac_cv_build
   2900 shift
   2901 build_cpu=$1
   2902 build_vendor=$2
   2903 shift; shift
   2904 # Remember, the first character of IFS is used to create $*,
   2905 # except with old shells:
   2906 build_os=$*
   2907 IFS=$ac_save_IFS
   2908 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2909 
   2910 
   2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2912 $as_echo_n "checking host system type... " >&6; }
   2913 if ${ac_cv_host+:} false; then :
   2914   $as_echo_n "(cached) " >&6
   2915 else
   2916   if test "x$host_alias" = x; then
   2917   ac_cv_host=$ac_cv_build
   2918 else
   2919   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2920     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2921 fi
   2922 
   2923 fi
   2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2925 $as_echo "$ac_cv_host" >&6; }
   2926 case $ac_cv_host in
   2927 *-*-*) ;;
   2928 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2929 esac
   2930 host=$ac_cv_host
   2931 ac_save_IFS=$IFS; IFS='-'
   2932 set x $ac_cv_host
   2933 shift
   2934 host_cpu=$1
   2935 host_vendor=$2
   2936 shift; shift
   2937 # Remember, the first character of IFS is used to create $*,
   2938 # except with old shells:
   2939 host_os=$*
   2940 IFS=$ac_save_IFS
   2941 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2942 
   2943 
   2944 # Backslashify metacharacters that are still active within
   2945 # double-quoted strings.
   2946 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2947 
   2948 # Same as above, but do not quote variable references.
   2949 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2950 
   2951 # Sed substitution to delay expansion of an escaped shell variable in a
   2952 # double_quote_subst'ed string.
   2953 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2954 
   2955 # Sed substitution to delay expansion of an escaped single quote.
   2956 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2957 
   2958 # Sed substitution to avoid accidental globbing in evaled expressions
   2959 no_glob_subst='s/\*/\\\*/g'
   2960 
   2961 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2962 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2963 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2964 
   2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2966 $as_echo_n "checking how to print strings... " >&6; }
   2967 # Test print first, because it will be a builtin if present.
   2968 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2969    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2970   ECHO='print -r --'
   2971 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2972   ECHO='printf %s\n'
   2973 else
   2974   # Use this function as a fallback that always works.
   2975   func_fallback_echo ()
   2976   {
   2977     eval 'cat <<_LTECHO_EOF
   2978 $1
   2979 _LTECHO_EOF'
   2980   }
   2981   ECHO='func_fallback_echo'
   2982 fi
   2983 
   2984 # func_echo_all arg...
   2985 # Invoke $ECHO with all args, space-separated.
   2986 func_echo_all ()
   2987 {
   2988     $ECHO ""
   2989 }
   2990 
   2991 case "$ECHO" in
   2992   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2993 $as_echo "printf" >&6; } ;;
   2994   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2995 $as_echo "print -r" >&6; } ;;
   2996   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2997 $as_echo "cat" >&6; } ;;
   2998 esac
   2999 
   3000 
   3001 
   3002 
   3003 
   3004 
   3005 
   3006 
   3007 
   3008 
   3009 
   3010 
   3011 
   3012 
   3013 DEPDIR="${am__leading_dot}deps"
   3014 
   3015 ac_config_commands="$ac_config_commands depfiles"
   3016 
   3017 
   3018 am_make=${MAKE-make}
   3019 cat > confinc << 'END'
   3020 am__doit:
   3021 	@echo this is the am__doit target
   3022 .PHONY: am__doit
   3023 END
   3024 # If we don't find an include directive, just comment out the code.
   3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3026 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3027 am__include="#"
   3028 am__quote=
   3029 _am_result=none
   3030 # First try GNU make style include.
   3031 echo "include confinc" > confmf
   3032 # Ignore all kinds of additional output from 'make'.
   3033 case `$am_make -s -f confmf 2> /dev/null` in #(
   3034 *the\ am__doit\ target*)
   3035   am__include=include
   3036   am__quote=
   3037   _am_result=GNU
   3038   ;;
   3039 esac
   3040 # Now try BSD make style include.
   3041 if test "$am__include" = "#"; then
   3042    echo '.include "confinc"' > confmf
   3043    case `$am_make -s -f confmf 2> /dev/null` in #(
   3044    *the\ am__doit\ target*)
   3045      am__include=.include
   3046      am__quote="\""
   3047      _am_result=BSD
   3048      ;;
   3049    esac
   3050 fi
   3051 
   3052 
   3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3054 $as_echo "$_am_result" >&6; }
   3055 rm -f confinc confmf
   3056 
   3057 # Check whether --enable-dependency-tracking was given.
   3058 if test "${enable_dependency_tracking+set}" = set; then :
   3059   enableval=$enable_dependency_tracking;
   3060 fi
   3061 
   3062 if test "x$enable_dependency_tracking" != xno; then
   3063   am_depcomp="$ac_aux_dir/depcomp"
   3064   AMDEPBACKSLASH='\'
   3065   am__nodep='_no'
   3066 fi
   3067  if test "x$enable_dependency_tracking" != xno; then
   3068   AMDEP_TRUE=
   3069   AMDEP_FALSE='#'
   3070 else
   3071   AMDEP_TRUE='#'
   3072   AMDEP_FALSE=
   3073 fi
   3074 
   3075 
   3076 ac_ext=c
   3077 ac_cpp='$CPP $CPPFLAGS'
   3078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3081 if test -n "$ac_tool_prefix"; then
   3082   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3083 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3085 $as_echo_n "checking for $ac_word... " >&6; }
   3086 if ${ac_cv_prog_CC+:} false; then :
   3087   $as_echo_n "(cached) " >&6
   3088 else
   3089   if test -n "$CC"; then
   3090   ac_cv_prog_CC="$CC" # Let the user override the test.
   3091 else
   3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3093 for as_dir in $PATH
   3094 do
   3095   IFS=$as_save_IFS
   3096   test -z "$as_dir" && as_dir=.
   3097     for ac_exec_ext in '' $ac_executable_extensions; do
   3098   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3099     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3101     break 2
   3102   fi
   3103 done
   3104   done
   3105 IFS=$as_save_IFS
   3106 
   3107 fi
   3108 fi
   3109 CC=$ac_cv_prog_CC
   3110 if test -n "$CC"; then
   3111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3112 $as_echo "$CC" >&6; }
   3113 else
   3114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3115 $as_echo "no" >&6; }
   3116 fi
   3117 
   3118 
   3119 fi
   3120 if test -z "$ac_cv_prog_CC"; then
   3121   ac_ct_CC=$CC
   3122   # Extract the first word of "gcc", so it can be a program name with args.
   3123 set dummy gcc; ac_word=$2
   3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3125 $as_echo_n "checking for $ac_word... " >&6; }
   3126 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3127   $as_echo_n "(cached) " >&6
   3128 else
   3129   if test -n "$ac_ct_CC"; then
   3130   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3131 else
   3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3133 for as_dir in $PATH
   3134 do
   3135   IFS=$as_save_IFS
   3136   test -z "$as_dir" && as_dir=.
   3137     for ac_exec_ext in '' $ac_executable_extensions; do
   3138   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3139     ac_cv_prog_ac_ct_CC="gcc"
   3140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3141     break 2
   3142   fi
   3143 done
   3144   done
   3145 IFS=$as_save_IFS
   3146 
   3147 fi
   3148 fi
   3149 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3150 if test -n "$ac_ct_CC"; then
   3151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3152 $as_echo "$ac_ct_CC" >&6; }
   3153 else
   3154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3155 $as_echo "no" >&6; }
   3156 fi
   3157 
   3158   if test "x$ac_ct_CC" = x; then
   3159     CC=""
   3160   else
   3161     case $cross_compiling:$ac_tool_warned in
   3162 yes:)
   3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3165 ac_tool_warned=yes ;;
   3166 esac
   3167     CC=$ac_ct_CC
   3168   fi
   3169 else
   3170   CC="$ac_cv_prog_CC"
   3171 fi
   3172 
   3173 if test -z "$CC"; then
   3174           if test -n "$ac_tool_prefix"; then
   3175     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3176 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3178 $as_echo_n "checking for $ac_word... " >&6; }
   3179 if ${ac_cv_prog_CC+:} false; then :
   3180   $as_echo_n "(cached) " >&6
   3181 else
   3182   if test -n "$CC"; then
   3183   ac_cv_prog_CC="$CC" # Let the user override the test.
   3184 else
   3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3186 for as_dir in $PATH
   3187 do
   3188   IFS=$as_save_IFS
   3189   test -z "$as_dir" && as_dir=.
   3190     for ac_exec_ext in '' $ac_executable_extensions; do
   3191   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3192     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3193     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3194     break 2
   3195   fi
   3196 done
   3197   done
   3198 IFS=$as_save_IFS
   3199 
   3200 fi
   3201 fi
   3202 CC=$ac_cv_prog_CC
   3203 if test -n "$CC"; then
   3204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3205 $as_echo "$CC" >&6; }
   3206 else
   3207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3208 $as_echo "no" >&6; }
   3209 fi
   3210 
   3211 
   3212   fi
   3213 fi
   3214 if test -z "$CC"; then
   3215   # Extract the first word of "cc", so it can be a program name with args.
   3216 set dummy cc; ac_word=$2
   3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3218 $as_echo_n "checking for $ac_word... " >&6; }
   3219 if ${ac_cv_prog_CC+:} false; then :
   3220   $as_echo_n "(cached) " >&6
   3221 else
   3222   if test -n "$CC"; then
   3223   ac_cv_prog_CC="$CC" # Let the user override the test.
   3224 else
   3225   ac_prog_rejected=no
   3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3227 for as_dir in $PATH
   3228 do
   3229   IFS=$as_save_IFS
   3230   test -z "$as_dir" && as_dir=.
   3231     for ac_exec_ext in '' $ac_executable_extensions; do
   3232   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3233     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3234        ac_prog_rejected=yes
   3235        continue
   3236      fi
   3237     ac_cv_prog_CC="cc"
   3238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3239     break 2
   3240   fi
   3241 done
   3242   done
   3243 IFS=$as_save_IFS
   3244 
   3245 if test $ac_prog_rejected = yes; then
   3246   # We found a bogon in the path, so make sure we never use it.
   3247   set dummy $ac_cv_prog_CC
   3248   shift
   3249   if test $# != 0; then
   3250     # We chose a different compiler from the bogus one.
   3251     # However, it has the same basename, so the bogon will be chosen
   3252     # first if we set CC to just the basename; use the full file name.
   3253     shift
   3254     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3255   fi
   3256 fi
   3257 fi
   3258 fi
   3259 CC=$ac_cv_prog_CC
   3260 if test -n "$CC"; then
   3261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3262 $as_echo "$CC" >&6; }
   3263 else
   3264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3265 $as_echo "no" >&6; }
   3266 fi
   3267 
   3268 
   3269 fi
   3270 if test -z "$CC"; then
   3271   if test -n "$ac_tool_prefix"; then
   3272   for ac_prog in cl.exe
   3273   do
   3274     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3275 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3277 $as_echo_n "checking for $ac_word... " >&6; }
   3278 if ${ac_cv_prog_CC+:} false; then :
   3279   $as_echo_n "(cached) " >&6
   3280 else
   3281   if test -n "$CC"; then
   3282   ac_cv_prog_CC="$CC" # Let the user override the test.
   3283 else
   3284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3285 for as_dir in $PATH
   3286 do
   3287   IFS=$as_save_IFS
   3288   test -z "$as_dir" && as_dir=.
   3289     for ac_exec_ext in '' $ac_executable_extensions; do
   3290   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3291     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3293     break 2
   3294   fi
   3295 done
   3296   done
   3297 IFS=$as_save_IFS
   3298 
   3299 fi
   3300 fi
   3301 CC=$ac_cv_prog_CC
   3302 if test -n "$CC"; then
   3303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3304 $as_echo "$CC" >&6; }
   3305 else
   3306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3307 $as_echo "no" >&6; }
   3308 fi
   3309 
   3310 
   3311     test -n "$CC" && break
   3312   done
   3313 fi
   3314 if test -z "$CC"; then
   3315   ac_ct_CC=$CC
   3316   for ac_prog in cl.exe
   3317 do
   3318   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3319 set dummy $ac_prog; ac_word=$2
   3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3321 $as_echo_n "checking for $ac_word... " >&6; }
   3322 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3323   $as_echo_n "(cached) " >&6
   3324 else
   3325   if test -n "$ac_ct_CC"; then
   3326   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3327 else
   3328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3329 for as_dir in $PATH
   3330 do
   3331   IFS=$as_save_IFS
   3332   test -z "$as_dir" && as_dir=.
   3333     for ac_exec_ext in '' $ac_executable_extensions; do
   3334   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3335     ac_cv_prog_ac_ct_CC="$ac_prog"
   3336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3337     break 2
   3338   fi
   3339 done
   3340   done
   3341 IFS=$as_save_IFS
   3342 
   3343 fi
   3344 fi
   3345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3346 if test -n "$ac_ct_CC"; then
   3347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3348 $as_echo "$ac_ct_CC" >&6; }
   3349 else
   3350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3351 $as_echo "no" >&6; }
   3352 fi
   3353 
   3354 
   3355   test -n "$ac_ct_CC" && break
   3356 done
   3357 
   3358   if test "x$ac_ct_CC" = x; then
   3359     CC=""
   3360   else
   3361     case $cross_compiling:$ac_tool_warned in
   3362 yes:)
   3363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3365 ac_tool_warned=yes ;;
   3366 esac
   3367     CC=$ac_ct_CC
   3368   fi
   3369 fi
   3370 
   3371 fi
   3372 
   3373 
   3374 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3376 as_fn_error $? "no acceptable C compiler found in \$PATH
   3377 See \`config.log' for more details" "$LINENO" 5; }
   3378 
   3379 # Provide some information about the compiler.
   3380 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3381 set X $ac_compile
   3382 ac_compiler=$2
   3383 for ac_option in --version -v -V -qversion; do
   3384   { { ac_try="$ac_compiler $ac_option >&5"
   3385 case "(($ac_try" in
   3386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3387   *) ac_try_echo=$ac_try;;
   3388 esac
   3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3390 $as_echo "$ac_try_echo"; } >&5
   3391   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3392   ac_status=$?
   3393   if test -s conftest.err; then
   3394     sed '10a\
   3395 ... rest of stderr output deleted ...
   3396          10q' conftest.err >conftest.er1
   3397     cat conftest.er1 >&5
   3398   fi
   3399   rm -f conftest.er1 conftest.err
   3400   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3401   test $ac_status = 0; }
   3402 done
   3403 
   3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3405 /* end confdefs.h.  */
   3406 
   3407 int
   3408 main ()
   3409 {
   3410 
   3411   ;
   3412   return 0;
   3413 }
   3414 _ACEOF
   3415 ac_clean_files_save=$ac_clean_files
   3416 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3417 # Try to create an executable without -o first, disregard a.out.
   3418 # It will help us diagnose broken compilers, and finding out an intuition
   3419 # of exeext.
   3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3421 $as_echo_n "checking whether the C compiler works... " >&6; }
   3422 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3423 
   3424 # The possible output files:
   3425 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3426 
   3427 ac_rmfiles=
   3428 for ac_file in $ac_files
   3429 do
   3430   case $ac_file in
   3431     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3432     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3433   esac
   3434 done
   3435 rm -f $ac_rmfiles
   3436 
   3437 if { { ac_try="$ac_link_default"
   3438 case "(($ac_try" in
   3439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3440   *) ac_try_echo=$ac_try;;
   3441 esac
   3442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3443 $as_echo "$ac_try_echo"; } >&5
   3444   (eval "$ac_link_default") 2>&5
   3445   ac_status=$?
   3446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3447   test $ac_status = 0; }; then :
   3448   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3449 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3450 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3451 # so that the user can short-circuit this test for compilers unknown to
   3452 # Autoconf.
   3453 for ac_file in $ac_files ''
   3454 do
   3455   test -f "$ac_file" || continue
   3456   case $ac_file in
   3457     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3458 	;;
   3459     [ab].out )
   3460 	# We found the default executable, but exeext='' is most
   3461 	# certainly right.
   3462 	break;;
   3463     *.* )
   3464 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3465 	then :; else
   3466 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3467 	fi
   3468 	# We set ac_cv_exeext here because the later test for it is not
   3469 	# safe: cross compilers may not add the suffix if given an `-o'
   3470 	# argument, so we may need to know it at that point already.
   3471 	# Even if this section looks crufty: it has the advantage of
   3472 	# actually working.
   3473 	break;;
   3474     * )
   3475 	break;;
   3476   esac
   3477 done
   3478 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3479 
   3480 else
   3481   ac_file=''
   3482 fi
   3483 if test -z "$ac_file"; then :
   3484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3485 $as_echo "no" >&6; }
   3486 $as_echo "$as_me: failed program was:" >&5
   3487 sed 's/^/| /' conftest.$ac_ext >&5
   3488 
   3489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3491 as_fn_error 77 "C compiler cannot create executables
   3492 See \`config.log' for more details" "$LINENO" 5; }
   3493 else
   3494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3495 $as_echo "yes" >&6; }
   3496 fi
   3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3498 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3500 $as_echo "$ac_file" >&6; }
   3501 ac_exeext=$ac_cv_exeext
   3502 
   3503 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3504 ac_clean_files=$ac_clean_files_save
   3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3506 $as_echo_n "checking for suffix of executables... " >&6; }
   3507 if { { ac_try="$ac_link"
   3508 case "(($ac_try" in
   3509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3510   *) ac_try_echo=$ac_try;;
   3511 esac
   3512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3513 $as_echo "$ac_try_echo"; } >&5
   3514   (eval "$ac_link") 2>&5
   3515   ac_status=$?
   3516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3517   test $ac_status = 0; }; then :
   3518   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3519 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3520 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3521 # `rm'.
   3522 for ac_file in conftest.exe conftest conftest.*; do
   3523   test -f "$ac_file" || continue
   3524   case $ac_file in
   3525     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3526     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3527 	  break;;
   3528     * ) break;;
   3529   esac
   3530 done
   3531 else
   3532   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3534 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3535 See \`config.log' for more details" "$LINENO" 5; }
   3536 fi
   3537 rm -f conftest conftest$ac_cv_exeext
   3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3539 $as_echo "$ac_cv_exeext" >&6; }
   3540 
   3541 rm -f conftest.$ac_ext
   3542 EXEEXT=$ac_cv_exeext
   3543 ac_exeext=$EXEEXT
   3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3545 /* end confdefs.h.  */
   3546 #include <stdio.h>
   3547 int
   3548 main ()
   3549 {
   3550 FILE *f = fopen ("conftest.out", "w");
   3551  return ferror (f) || fclose (f) != 0;
   3552 
   3553   ;
   3554   return 0;
   3555 }
   3556 _ACEOF
   3557 ac_clean_files="$ac_clean_files conftest.out"
   3558 # Check that the compiler produces executables we can run.  If not, either
   3559 # the compiler is broken, or we cross compile.
   3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3561 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3562 if test "$cross_compiling" != yes; then
   3563   { { ac_try="$ac_link"
   3564 case "(($ac_try" in
   3565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3566   *) ac_try_echo=$ac_try;;
   3567 esac
   3568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3569 $as_echo "$ac_try_echo"; } >&5
   3570   (eval "$ac_link") 2>&5
   3571   ac_status=$?
   3572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3573   test $ac_status = 0; }
   3574   if { ac_try='./conftest$ac_cv_exeext'
   3575   { { case "(($ac_try" in
   3576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3577   *) ac_try_echo=$ac_try;;
   3578 esac
   3579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3580 $as_echo "$ac_try_echo"; } >&5
   3581   (eval "$ac_try") 2>&5
   3582   ac_status=$?
   3583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3584   test $ac_status = 0; }; }; then
   3585     cross_compiling=no
   3586   else
   3587     if test "$cross_compiling" = maybe; then
   3588 	cross_compiling=yes
   3589     else
   3590 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3592 as_fn_error $? "cannot run C compiled programs.
   3593 If you meant to cross compile, use \`--host'.
   3594 See \`config.log' for more details" "$LINENO" 5; }
   3595     fi
   3596   fi
   3597 fi
   3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3599 $as_echo "$cross_compiling" >&6; }
   3600 
   3601 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3602 ac_clean_files=$ac_clean_files_save
   3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3604 $as_echo_n "checking for suffix of object files... " >&6; }
   3605 if ${ac_cv_objext+:} false; then :
   3606   $as_echo_n "(cached) " >&6
   3607 else
   3608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3609 /* end confdefs.h.  */
   3610 
   3611 int
   3612 main ()
   3613 {
   3614 
   3615   ;
   3616   return 0;
   3617 }
   3618 _ACEOF
   3619 rm -f conftest.o conftest.obj
   3620 if { { ac_try="$ac_compile"
   3621 case "(($ac_try" in
   3622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3623   *) ac_try_echo=$ac_try;;
   3624 esac
   3625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3626 $as_echo "$ac_try_echo"; } >&5
   3627   (eval "$ac_compile") 2>&5
   3628   ac_status=$?
   3629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3630   test $ac_status = 0; }; then :
   3631   for ac_file in conftest.o conftest.obj conftest.*; do
   3632   test -f "$ac_file" || continue;
   3633   case $ac_file in
   3634     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3635     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3636        break;;
   3637   esac
   3638 done
   3639 else
   3640   $as_echo "$as_me: failed program was:" >&5
   3641 sed 's/^/| /' conftest.$ac_ext >&5
   3642 
   3643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3645 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3646 See \`config.log' for more details" "$LINENO" 5; }
   3647 fi
   3648 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3649 fi
   3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3651 $as_echo "$ac_cv_objext" >&6; }
   3652 OBJEXT=$ac_cv_objext
   3653 ac_objext=$OBJEXT
   3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3655 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3656 if ${ac_cv_c_compiler_gnu+:} false; then :
   3657   $as_echo_n "(cached) " >&6
   3658 else
   3659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3660 /* end confdefs.h.  */
   3661 
   3662 int
   3663 main ()
   3664 {
   3665 #ifndef __GNUC__
   3666        choke me
   3667 #endif
   3668 
   3669   ;
   3670   return 0;
   3671 }
   3672 _ACEOF
   3673 if ac_fn_c_try_compile "$LINENO"; then :
   3674   ac_compiler_gnu=yes
   3675 else
   3676   ac_compiler_gnu=no
   3677 fi
   3678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3680 
   3681 fi
   3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3683 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3684 if test $ac_compiler_gnu = yes; then
   3685   GCC=yes
   3686 else
   3687   GCC=
   3688 fi
   3689 ac_test_CFLAGS=${CFLAGS+set}
   3690 ac_save_CFLAGS=$CFLAGS
   3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3692 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3693 if ${ac_cv_prog_cc_g+:} false; then :
   3694   $as_echo_n "(cached) " >&6
   3695 else
   3696   ac_save_c_werror_flag=$ac_c_werror_flag
   3697    ac_c_werror_flag=yes
   3698    ac_cv_prog_cc_g=no
   3699    CFLAGS="-g"
   3700    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3701 /* end confdefs.h.  */
   3702 
   3703 int
   3704 main ()
   3705 {
   3706 
   3707   ;
   3708   return 0;
   3709 }
   3710 _ACEOF
   3711 if ac_fn_c_try_compile "$LINENO"; then :
   3712   ac_cv_prog_cc_g=yes
   3713 else
   3714   CFLAGS=""
   3715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3716 /* end confdefs.h.  */
   3717 
   3718 int
   3719 main ()
   3720 {
   3721 
   3722   ;
   3723   return 0;
   3724 }
   3725 _ACEOF
   3726 if ac_fn_c_try_compile "$LINENO"; then :
   3727 
   3728 else
   3729   ac_c_werror_flag=$ac_save_c_werror_flag
   3730 	 CFLAGS="-g"
   3731 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3732 /* end confdefs.h.  */
   3733 
   3734 int
   3735 main ()
   3736 {
   3737 
   3738   ;
   3739   return 0;
   3740 }
   3741 _ACEOF
   3742 if ac_fn_c_try_compile "$LINENO"; then :
   3743   ac_cv_prog_cc_g=yes
   3744 fi
   3745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3746 fi
   3747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3748 fi
   3749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3750    ac_c_werror_flag=$ac_save_c_werror_flag
   3751 fi
   3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3753 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3754 if test "$ac_test_CFLAGS" = set; then
   3755   CFLAGS=$ac_save_CFLAGS
   3756 elif test $ac_cv_prog_cc_g = yes; then
   3757   if test "$GCC" = yes; then
   3758     CFLAGS="-g -O2"
   3759   else
   3760     CFLAGS="-g"
   3761   fi
   3762 else
   3763   if test "$GCC" = yes; then
   3764     CFLAGS="-O2"
   3765   else
   3766     CFLAGS=
   3767   fi
   3768 fi
   3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3770 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3771 if ${ac_cv_prog_cc_c89+:} false; then :
   3772   $as_echo_n "(cached) " >&6
   3773 else
   3774   ac_cv_prog_cc_c89=no
   3775 ac_save_CC=$CC
   3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3777 /* end confdefs.h.  */
   3778 #include <stdarg.h>
   3779 #include <stdio.h>
   3780 struct stat;
   3781 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3782 struct buf { int x; };
   3783 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3784 static char *e (p, i)
   3785      char **p;
   3786      int i;
   3787 {
   3788   return p[i];
   3789 }
   3790 static char *f (char * (*g) (char **, int), char **p, ...)
   3791 {
   3792   char *s;
   3793   va_list v;
   3794   va_start (v,p);
   3795   s = g (p, va_arg (v,int));
   3796   va_end (v);
   3797   return s;
   3798 }
   3799 
   3800 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3801    function prototypes and stuff, but not '\xHH' hex character constants.
   3802    These don't provoke an error unfortunately, instead are silently treated
   3803    as 'x'.  The following induces an error, until -std is added to get
   3804    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3805    array size at least.  It's necessary to write '\x00'==0 to get something
   3806    that's true only with -std.  */
   3807 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3808 
   3809 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3810    inside strings and character constants.  */
   3811 #define FOO(x) 'x'
   3812 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3813 
   3814 int test (int i, double x);
   3815 struct s1 {int (*f) (int a);};
   3816 struct s2 {int (*f) (double a);};
   3817 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3818 int argc;
   3819 char **argv;
   3820 int
   3821 main ()
   3822 {
   3823 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3824   ;
   3825   return 0;
   3826 }
   3827 _ACEOF
   3828 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3829 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3830 do
   3831   CC="$ac_save_CC $ac_arg"
   3832   if ac_fn_c_try_compile "$LINENO"; then :
   3833   ac_cv_prog_cc_c89=$ac_arg
   3834 fi
   3835 rm -f core conftest.err conftest.$ac_objext
   3836   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3837 done
   3838 rm -f conftest.$ac_ext
   3839 CC=$ac_save_CC
   3840 
   3841 fi
   3842 # AC_CACHE_VAL
   3843 case "x$ac_cv_prog_cc_c89" in
   3844   x)
   3845     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3846 $as_echo "none needed" >&6; } ;;
   3847   xno)
   3848     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3849 $as_echo "unsupported" >&6; } ;;
   3850   *)
   3851     CC="$CC $ac_cv_prog_cc_c89"
   3852     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3853 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3854 esac
   3855 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3856 
   3857 fi
   3858 
   3859 ac_ext=c
   3860 ac_cpp='$CPP $CPPFLAGS'
   3861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3864 
   3865 depcc="$CC"   am_compiler_list=
   3866 
   3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3868 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3869 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3870   $as_echo_n "(cached) " >&6
   3871 else
   3872   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3873   # We make a subdir and do the tests there.  Otherwise we can end up
   3874   # making bogus files that we don't know about and never remove.  For
   3875   # instance it was reported that on HP-UX the gcc test will end up
   3876   # making a dummy file named 'D' -- because '-MD' means "put the output
   3877   # in D".
   3878   rm -rf conftest.dir
   3879   mkdir conftest.dir
   3880   # Copy depcomp to subdir because otherwise we won't find it if we're
   3881   # using a relative directory.
   3882   cp "$am_depcomp" conftest.dir
   3883   cd conftest.dir
   3884   # We will build objects and dependencies in a subdirectory because
   3885   # it helps to detect inapplicable dependency modes.  For instance
   3886   # both Tru64's cc and ICC support -MD to output dependencies as a
   3887   # side effect of compilation, but ICC will put the dependencies in
   3888   # the current directory while Tru64 will put them in the object
   3889   # directory.
   3890   mkdir sub
   3891 
   3892   am_cv_CC_dependencies_compiler_type=none
   3893   if test "$am_compiler_list" = ""; then
   3894      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3895   fi
   3896   am__universal=false
   3897   case " $depcc " in #(
   3898      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3899      esac
   3900 
   3901   for depmode in $am_compiler_list; do
   3902     # Setup a source with many dependencies, because some compilers
   3903     # like to wrap large dependency lists on column 80 (with \), and
   3904     # we should not choose a depcomp mode which is confused by this.
   3905     #
   3906     # We need to recreate these files for each test, as the compiler may
   3907     # overwrite some of them when testing with obscure command lines.
   3908     # This happens at least with the AIX C compiler.
   3909     : > sub/conftest.c
   3910     for i in 1 2 3 4 5 6; do
   3911       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3912       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3913       # Solaris 10 /bin/sh.
   3914       echo '/* dummy */' > sub/conftst$i.h
   3915     done
   3916     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3917 
   3918     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3919     # mode.  It turns out that the SunPro C++ compiler does not properly
   3920     # handle '-M -o', and we need to detect this.  Also, some Intel
   3921     # versions had trouble with output in subdirs.
   3922     am__obj=sub/conftest.${OBJEXT-o}
   3923     am__minus_obj="-o $am__obj"
   3924     case $depmode in
   3925     gcc)
   3926       # This depmode causes a compiler race in universal mode.
   3927       test "$am__universal" = false || continue
   3928       ;;
   3929     nosideeffect)
   3930       # After this tag, mechanisms are not by side-effect, so they'll
   3931       # only be used when explicitly requested.
   3932       if test "x$enable_dependency_tracking" = xyes; then
   3933 	continue
   3934       else
   3935 	break
   3936       fi
   3937       ;;
   3938     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3939       # This compiler won't grok '-c -o', but also, the minuso test has
   3940       # not run yet.  These depmodes are late enough in the game, and
   3941       # so weak that their functioning should not be impacted.
   3942       am__obj=conftest.${OBJEXT-o}
   3943       am__minus_obj=
   3944       ;;
   3945     none) break ;;
   3946     esac
   3947     if depmode=$depmode \
   3948        source=sub/conftest.c object=$am__obj \
   3949        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3950        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3951          >/dev/null 2>conftest.err &&
   3952        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3953        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3954        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3955        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3956       # icc doesn't choke on unknown options, it will just issue warnings
   3957       # or remarks (even with -Werror).  So we grep stderr for any message
   3958       # that says an option was ignored or not supported.
   3959       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3960       #   icc: Command line warning: ignoring option '-M'; no argument required
   3961       # The diagnosis changed in icc 8.0:
   3962       #   icc: Command line remark: option '-MP' not supported
   3963       if (grep 'ignoring option' conftest.err ||
   3964           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3965         am_cv_CC_dependencies_compiler_type=$depmode
   3966         break
   3967       fi
   3968     fi
   3969   done
   3970 
   3971   cd ..
   3972   rm -rf conftest.dir
   3973 else
   3974   am_cv_CC_dependencies_compiler_type=none
   3975 fi
   3976 
   3977 fi
   3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3979 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3980 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3981 
   3982  if
   3983   test "x$enable_dependency_tracking" != xno \
   3984   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3985   am__fastdepCC_TRUE=
   3986   am__fastdepCC_FALSE='#'
   3987 else
   3988   am__fastdepCC_TRUE='#'
   3989   am__fastdepCC_FALSE=
   3990 fi
   3991 
   3992 
   3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3994 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3995 if ${ac_cv_path_SED+:} false; then :
   3996   $as_echo_n "(cached) " >&6
   3997 else
   3998             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3999      for ac_i in 1 2 3 4 5 6 7; do
   4000        ac_script="$ac_script$as_nl$ac_script"
   4001      done
   4002      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4003      { ac_script=; unset ac_script;}
   4004      if test -z "$SED"; then
   4005   ac_path_SED_found=false
   4006   # Loop through the user's path and test for each of PROGNAME-LIST
   4007   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4008 for as_dir in $PATH
   4009 do
   4010   IFS=$as_save_IFS
   4011   test -z "$as_dir" && as_dir=.
   4012     for ac_prog in sed gsed; do
   4013     for ac_exec_ext in '' $ac_executable_extensions; do
   4014       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4015       as_fn_executable_p "$ac_path_SED" || continue
   4016 # Check for GNU ac_path_SED and select it if it is found.
   4017   # Check for GNU $ac_path_SED
   4018 case `"$ac_path_SED" --version 2>&1` in
   4019 *GNU*)
   4020   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4021 *)
   4022   ac_count=0
   4023   $as_echo_n 0123456789 >"conftest.in"
   4024   while :
   4025   do
   4026     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4027     mv "conftest.tmp" "conftest.in"
   4028     cp "conftest.in" "conftest.nl"
   4029     $as_echo '' >> "conftest.nl"
   4030     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4031     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4032     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4033     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4034       # Best one so far, save it but keep looking for a better one
   4035       ac_cv_path_SED="$ac_path_SED"
   4036       ac_path_SED_max=$ac_count
   4037     fi
   4038     # 10*(2^10) chars as input seems more than enough
   4039     test $ac_count -gt 10 && break
   4040   done
   4041   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4042 esac
   4043 
   4044       $ac_path_SED_found && break 3
   4045     done
   4046   done
   4047   done
   4048 IFS=$as_save_IFS
   4049   if test -z "$ac_cv_path_SED"; then
   4050     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4051   fi
   4052 else
   4053   ac_cv_path_SED=$SED
   4054 fi
   4055 
   4056 fi
   4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4058 $as_echo "$ac_cv_path_SED" >&6; }
   4059  SED="$ac_cv_path_SED"
   4060   rm -f conftest.sed
   4061 
   4062 test -z "$SED" && SED=sed
   4063 Xsed="$SED -e 1s/^X//"
   4064 
   4065 
   4066 
   4067 
   4068 
   4069 
   4070 
   4071 
   4072 
   4073 
   4074 
   4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4076 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4077 if ${ac_cv_path_GREP+:} false; then :
   4078   $as_echo_n "(cached) " >&6
   4079 else
   4080   if test -z "$GREP"; then
   4081   ac_path_GREP_found=false
   4082   # Loop through the user's path and test for each of PROGNAME-LIST
   4083   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4084 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4085 do
   4086   IFS=$as_save_IFS
   4087   test -z "$as_dir" && as_dir=.
   4088     for ac_prog in grep ggrep; do
   4089     for ac_exec_ext in '' $ac_executable_extensions; do
   4090       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4091       as_fn_executable_p "$ac_path_GREP" || continue
   4092 # Check for GNU ac_path_GREP and select it if it is found.
   4093   # Check for GNU $ac_path_GREP
   4094 case `"$ac_path_GREP" --version 2>&1` in
   4095 *GNU*)
   4096   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4097 *)
   4098   ac_count=0
   4099   $as_echo_n 0123456789 >"conftest.in"
   4100   while :
   4101   do
   4102     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4103     mv "conftest.tmp" "conftest.in"
   4104     cp "conftest.in" "conftest.nl"
   4105     $as_echo 'GREP' >> "conftest.nl"
   4106     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4107     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4108     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4109     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4110       # Best one so far, save it but keep looking for a better one
   4111       ac_cv_path_GREP="$ac_path_GREP"
   4112       ac_path_GREP_max=$ac_count
   4113     fi
   4114     # 10*(2^10) chars as input seems more than enough
   4115     test $ac_count -gt 10 && break
   4116   done
   4117   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4118 esac
   4119 
   4120       $ac_path_GREP_found && break 3
   4121     done
   4122   done
   4123   done
   4124 IFS=$as_save_IFS
   4125   if test -z "$ac_cv_path_GREP"; then
   4126     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4127   fi
   4128 else
   4129   ac_cv_path_GREP=$GREP
   4130 fi
   4131 
   4132 fi
   4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4134 $as_echo "$ac_cv_path_GREP" >&6; }
   4135  GREP="$ac_cv_path_GREP"
   4136 
   4137 
   4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4139 $as_echo_n "checking for egrep... " >&6; }
   4140 if ${ac_cv_path_EGREP+:} false; then :
   4141   $as_echo_n "(cached) " >&6
   4142 else
   4143   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4144    then ac_cv_path_EGREP="$GREP -E"
   4145    else
   4146      if test -z "$EGREP"; then
   4147   ac_path_EGREP_found=false
   4148   # Loop through the user's path and test for each of PROGNAME-LIST
   4149   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4150 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4151 do
   4152   IFS=$as_save_IFS
   4153   test -z "$as_dir" && as_dir=.
   4154     for ac_prog in egrep; do
   4155     for ac_exec_ext in '' $ac_executable_extensions; do
   4156       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4157       as_fn_executable_p "$ac_path_EGREP" || continue
   4158 # Check for GNU ac_path_EGREP and select it if it is found.
   4159   # Check for GNU $ac_path_EGREP
   4160 case `"$ac_path_EGREP" --version 2>&1` in
   4161 *GNU*)
   4162   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4163 *)
   4164   ac_count=0
   4165   $as_echo_n 0123456789 >"conftest.in"
   4166   while :
   4167   do
   4168     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4169     mv "conftest.tmp" "conftest.in"
   4170     cp "conftest.in" "conftest.nl"
   4171     $as_echo 'EGREP' >> "conftest.nl"
   4172     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4173     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4174     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4175     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4176       # Best one so far, save it but keep looking for a better one
   4177       ac_cv_path_EGREP="$ac_path_EGREP"
   4178       ac_path_EGREP_max=$ac_count
   4179     fi
   4180     # 10*(2^10) chars as input seems more than enough
   4181     test $ac_count -gt 10 && break
   4182   done
   4183   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4184 esac
   4185 
   4186       $ac_path_EGREP_found && break 3
   4187     done
   4188   done
   4189   done
   4190 IFS=$as_save_IFS
   4191   if test -z "$ac_cv_path_EGREP"; then
   4192     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4193   fi
   4194 else
   4195   ac_cv_path_EGREP=$EGREP
   4196 fi
   4197 
   4198    fi
   4199 fi
   4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4201 $as_echo "$ac_cv_path_EGREP" >&6; }
   4202  EGREP="$ac_cv_path_EGREP"
   4203 
   4204 
   4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4206 $as_echo_n "checking for fgrep... " >&6; }
   4207 if ${ac_cv_path_FGREP+:} false; then :
   4208   $as_echo_n "(cached) " >&6
   4209 else
   4210   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4211    then ac_cv_path_FGREP="$GREP -F"
   4212    else
   4213      if test -z "$FGREP"; then
   4214   ac_path_FGREP_found=false
   4215   # Loop through the user's path and test for each of PROGNAME-LIST
   4216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4217 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4218 do
   4219   IFS=$as_save_IFS
   4220   test -z "$as_dir" && as_dir=.
   4221     for ac_prog in fgrep; do
   4222     for ac_exec_ext in '' $ac_executable_extensions; do
   4223       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4224       as_fn_executable_p "$ac_path_FGREP" || continue
   4225 # Check for GNU ac_path_FGREP and select it if it is found.
   4226   # Check for GNU $ac_path_FGREP
   4227 case `"$ac_path_FGREP" --version 2>&1` in
   4228 *GNU*)
   4229   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4230 *)
   4231   ac_count=0
   4232   $as_echo_n 0123456789 >"conftest.in"
   4233   while :
   4234   do
   4235     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4236     mv "conftest.tmp" "conftest.in"
   4237     cp "conftest.in" "conftest.nl"
   4238     $as_echo 'FGREP' >> "conftest.nl"
   4239     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4240     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4241     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4242     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4243       # Best one so far, save it but keep looking for a better one
   4244       ac_cv_path_FGREP="$ac_path_FGREP"
   4245       ac_path_FGREP_max=$ac_count
   4246     fi
   4247     # 10*(2^10) chars as input seems more than enough
   4248     test $ac_count -gt 10 && break
   4249   done
   4250   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4251 esac
   4252 
   4253       $ac_path_FGREP_found && break 3
   4254     done
   4255   done
   4256   done
   4257 IFS=$as_save_IFS
   4258   if test -z "$ac_cv_path_FGREP"; then
   4259     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4260   fi
   4261 else
   4262   ac_cv_path_FGREP=$FGREP
   4263 fi
   4264 
   4265    fi
   4266 fi
   4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4268 $as_echo "$ac_cv_path_FGREP" >&6; }
   4269  FGREP="$ac_cv_path_FGREP"
   4270 
   4271 
   4272 test -z "$GREP" && GREP=grep
   4273 
   4274 
   4275 
   4276 
   4277 
   4278 
   4279 
   4280 
   4281 
   4282 
   4283 
   4284 
   4285 
   4286 
   4287 
   4288 
   4289 
   4290 
   4291 
   4292 # Check whether --with-gnu-ld was given.
   4293 if test "${with_gnu_ld+set}" = set; then :
   4294   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4295 else
   4296   with_gnu_ld=no
   4297 fi
   4298 
   4299 ac_prog=ld
   4300 if test "$GCC" = yes; then
   4301   # Check if gcc -print-prog-name=ld gives a path.
   4302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4303 $as_echo_n "checking for ld used by $CC... " >&6; }
   4304   case $host in
   4305   *-*-mingw*)
   4306     # gcc leaves a trailing carriage return which upsets mingw
   4307     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4308   *)
   4309     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4310   esac
   4311   case $ac_prog in
   4312     # Accept absolute paths.
   4313     [\\/]* | ?:[\\/]*)
   4314       re_direlt='/[^/][^/]*/\.\./'
   4315       # Canonicalize the pathname of ld
   4316       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4317       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4318 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4319       done
   4320       test -z "$LD" && LD="$ac_prog"
   4321       ;;
   4322   "")
   4323     # If it fails, then pretend we aren't using GCC.
   4324     ac_prog=ld
   4325     ;;
   4326   *)
   4327     # If it is relative, then search for the first ld in PATH.
   4328     with_gnu_ld=unknown
   4329     ;;
   4330   esac
   4331 elif test "$with_gnu_ld" = yes; then
   4332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4333 $as_echo_n "checking for GNU ld... " >&6; }
   4334 else
   4335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4336 $as_echo_n "checking for non-GNU ld... " >&6; }
   4337 fi
   4338 if ${lt_cv_path_LD+:} false; then :
   4339   $as_echo_n "(cached) " >&6
   4340 else
   4341   if test -z "$LD"; then
   4342   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4343   for ac_dir in $PATH; do
   4344     IFS="$lt_save_ifs"
   4345     test -z "$ac_dir" && ac_dir=.
   4346     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4347       lt_cv_path_LD="$ac_dir/$ac_prog"
   4348       # Check to see if the program is GNU ld.  I'd rather use --version,
   4349       # but apparently some variants of GNU ld only accept -v.
   4350       # Break only if it was the GNU/non-GNU ld that we prefer.
   4351       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4352       *GNU* | *'with BFD'*)
   4353 	test "$with_gnu_ld" != no && break
   4354 	;;
   4355       *)
   4356 	test "$with_gnu_ld" != yes && break
   4357 	;;
   4358       esac
   4359     fi
   4360   done
   4361   IFS="$lt_save_ifs"
   4362 else
   4363   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4364 fi
   4365 fi
   4366 
   4367 LD="$lt_cv_path_LD"
   4368 if test -n "$LD"; then
   4369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4370 $as_echo "$LD" >&6; }
   4371 else
   4372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4373 $as_echo "no" >&6; }
   4374 fi
   4375 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4377 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4378 if ${lt_cv_prog_gnu_ld+:} false; then :
   4379   $as_echo_n "(cached) " >&6
   4380 else
   4381   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4382 case `$LD -v 2>&1 </dev/null` in
   4383 *GNU* | *'with BFD'*)
   4384   lt_cv_prog_gnu_ld=yes
   4385   ;;
   4386 *)
   4387   lt_cv_prog_gnu_ld=no
   4388   ;;
   4389 esac
   4390 fi
   4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4392 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4393 with_gnu_ld=$lt_cv_prog_gnu_ld
   4394 
   4395 
   4396 
   4397 
   4398 
   4399 
   4400 
   4401 
   4402 
   4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4404 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4405 if ${lt_cv_path_NM+:} false; then :
   4406   $as_echo_n "(cached) " >&6
   4407 else
   4408   if test -n "$NM"; then
   4409   # Let the user override the test.
   4410   lt_cv_path_NM="$NM"
   4411 else
   4412   lt_nm_to_check="${ac_tool_prefix}nm"
   4413   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4414     lt_nm_to_check="$lt_nm_to_check nm"
   4415   fi
   4416   for lt_tmp_nm in $lt_nm_to_check; do
   4417     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4418     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4419       IFS="$lt_save_ifs"
   4420       test -z "$ac_dir" && ac_dir=.
   4421       tmp_nm="$ac_dir/$lt_tmp_nm"
   4422       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4423 	# Check to see if the nm accepts a BSD-compat flag.
   4424 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4425 	#   nm: unknown option "B" ignored
   4426 	# Tru64's nm complains that /dev/null is an invalid object file
   4427 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4428 	*/dev/null* | *'Invalid file or object type'*)
   4429 	  lt_cv_path_NM="$tmp_nm -B"
   4430 	  break
   4431 	  ;;
   4432 	*)
   4433 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4434 	  */dev/null*)
   4435 	    lt_cv_path_NM="$tmp_nm -p"
   4436 	    break
   4437 	    ;;
   4438 	  *)
   4439 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4440 	    continue # so that we can try to find one that supports BSD flags
   4441 	    ;;
   4442 	  esac
   4443 	  ;;
   4444 	esac
   4445       fi
   4446     done
   4447     IFS="$lt_save_ifs"
   4448   done
   4449   : ${lt_cv_path_NM=no}
   4450 fi
   4451 fi
   4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4453 $as_echo "$lt_cv_path_NM" >&6; }
   4454 if test "$lt_cv_path_NM" != "no"; then
   4455   NM="$lt_cv_path_NM"
   4456 else
   4457   # Didn't find any BSD compatible name lister, look for dumpbin.
   4458   if test -n "$DUMPBIN"; then :
   4459     # Let the user override the test.
   4460   else
   4461     if test -n "$ac_tool_prefix"; then
   4462   for ac_prog in dumpbin "link -dump"
   4463   do
   4464     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4465 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4467 $as_echo_n "checking for $ac_word... " >&6; }
   4468 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4469   $as_echo_n "(cached) " >&6
   4470 else
   4471   if test -n "$DUMPBIN"; then
   4472   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4473 else
   4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4475 for as_dir in $PATH
   4476 do
   4477   IFS=$as_save_IFS
   4478   test -z "$as_dir" && as_dir=.
   4479     for ac_exec_ext in '' $ac_executable_extensions; do
   4480   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4481     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4483     break 2
   4484   fi
   4485 done
   4486   done
   4487 IFS=$as_save_IFS
   4488 
   4489 fi
   4490 fi
   4491 DUMPBIN=$ac_cv_prog_DUMPBIN
   4492 if test -n "$DUMPBIN"; then
   4493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4494 $as_echo "$DUMPBIN" >&6; }
   4495 else
   4496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4497 $as_echo "no" >&6; }
   4498 fi
   4499 
   4500 
   4501     test -n "$DUMPBIN" && break
   4502   done
   4503 fi
   4504 if test -z "$DUMPBIN"; then
   4505   ac_ct_DUMPBIN=$DUMPBIN
   4506   for ac_prog in dumpbin "link -dump"
   4507 do
   4508   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4509 set dummy $ac_prog; ac_word=$2
   4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4511 $as_echo_n "checking for $ac_word... " >&6; }
   4512 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4513   $as_echo_n "(cached) " >&6
   4514 else
   4515   if test -n "$ac_ct_DUMPBIN"; then
   4516   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4517 else
   4518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4519 for as_dir in $PATH
   4520 do
   4521   IFS=$as_save_IFS
   4522   test -z "$as_dir" && as_dir=.
   4523     for ac_exec_ext in '' $ac_executable_extensions; do
   4524   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4525     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4526     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4527     break 2
   4528   fi
   4529 done
   4530   done
   4531 IFS=$as_save_IFS
   4532 
   4533 fi
   4534 fi
   4535 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4536 if test -n "$ac_ct_DUMPBIN"; then
   4537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4538 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4539 else
   4540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4541 $as_echo "no" >&6; }
   4542 fi
   4543 
   4544 
   4545   test -n "$ac_ct_DUMPBIN" && break
   4546 done
   4547 
   4548   if test "x$ac_ct_DUMPBIN" = x; then
   4549     DUMPBIN=":"
   4550   else
   4551     case $cross_compiling:$ac_tool_warned in
   4552 yes:)
   4553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4555 ac_tool_warned=yes ;;
   4556 esac
   4557     DUMPBIN=$ac_ct_DUMPBIN
   4558   fi
   4559 fi
   4560 
   4561     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4562     *COFF*)
   4563       DUMPBIN="$DUMPBIN -symbols"
   4564       ;;
   4565     *)
   4566       DUMPBIN=:
   4567       ;;
   4568     esac
   4569   fi
   4570 
   4571   if test "$DUMPBIN" != ":"; then
   4572     NM="$DUMPBIN"
   4573   fi
   4574 fi
   4575 test -z "$NM" && NM=nm
   4576 
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4583 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4584 if ${lt_cv_nm_interface+:} false; then :
   4585   $as_echo_n "(cached) " >&6
   4586 else
   4587   lt_cv_nm_interface="BSD nm"
   4588   echo "int some_variable = 0;" > conftest.$ac_ext
   4589   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4590   (eval "$ac_compile" 2>conftest.err)
   4591   cat conftest.err >&5
   4592   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4593   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4594   cat conftest.err >&5
   4595   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4596   cat conftest.out >&5
   4597   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4598     lt_cv_nm_interface="MS dumpbin"
   4599   fi
   4600   rm -f conftest*
   4601 fi
   4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4603 $as_echo "$lt_cv_nm_interface" >&6; }
   4604 
   4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4606 $as_echo_n "checking whether ln -s works... " >&6; }
   4607 LN_S=$as_ln_s
   4608 if test "$LN_S" = "ln -s"; then
   4609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4610 $as_echo "yes" >&6; }
   4611 else
   4612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4613 $as_echo "no, using $LN_S" >&6; }
   4614 fi
   4615 
   4616 # find the maximum length of command line arguments
   4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4618 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4619 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4620   $as_echo_n "(cached) " >&6
   4621 else
   4622     i=0
   4623   teststring="ABCD"
   4624 
   4625   case $build_os in
   4626   msdosdjgpp*)
   4627     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4628     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4629     # during glob expansion).  Even if it were fixed, the result of this
   4630     # check would be larger than it should be.
   4631     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4632     ;;
   4633 
   4634   gnu*)
   4635     # Under GNU Hurd, this test is not required because there is
   4636     # no limit to the length of command line arguments.
   4637     # Libtool will interpret -1 as no limit whatsoever
   4638     lt_cv_sys_max_cmd_len=-1;
   4639     ;;
   4640 
   4641   cygwin* | mingw* | cegcc*)
   4642     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4643     # about 5 minutes as the teststring grows exponentially.
   4644     # Worse, since 9x/ME are not pre-emptively multitasking,
   4645     # you end up with a "frozen" computer, even though with patience
   4646     # the test eventually succeeds (with a max line length of 256k).
   4647     # Instead, let's just punt: use the minimum linelength reported by
   4648     # all of the supported platforms: 8192 (on NT/2K/XP).
   4649     lt_cv_sys_max_cmd_len=8192;
   4650     ;;
   4651 
   4652   mint*)
   4653     # On MiNT this can take a long time and run out of memory.
   4654     lt_cv_sys_max_cmd_len=8192;
   4655     ;;
   4656 
   4657   amigaos*)
   4658     # On AmigaOS with pdksh, this test takes hours, literally.
   4659     # So we just punt and use a minimum line length of 8192.
   4660     lt_cv_sys_max_cmd_len=8192;
   4661     ;;
   4662 
   4663   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4664     # This has been around since 386BSD, at least.  Likely further.
   4665     if test -x /sbin/sysctl; then
   4666       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4667     elif test -x /usr/sbin/sysctl; then
   4668       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4669     else
   4670       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4671     fi
   4672     # And add a safety zone
   4673     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4674     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4675     ;;
   4676 
   4677   interix*)
   4678     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4679     lt_cv_sys_max_cmd_len=196608
   4680     ;;
   4681 
   4682   os2*)
   4683     # The test takes a long time on OS/2.
   4684     lt_cv_sys_max_cmd_len=8192
   4685     ;;
   4686 
   4687   osf*)
   4688     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4689     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4690     # nice to cause kernel panics so lets avoid the loop below.
   4691     # First set a reasonable default.
   4692     lt_cv_sys_max_cmd_len=16384
   4693     #
   4694     if test -x /sbin/sysconfig; then
   4695       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4696         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4697       esac
   4698     fi
   4699     ;;
   4700   sco3.2v5*)
   4701     lt_cv_sys_max_cmd_len=102400
   4702     ;;
   4703   sysv5* | sco5v6* | sysv4.2uw2*)
   4704     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4705     if test -n "$kargmax"; then
   4706       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4707     else
   4708       lt_cv_sys_max_cmd_len=32768
   4709     fi
   4710     ;;
   4711   *)
   4712     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4713     if test -n "$lt_cv_sys_max_cmd_len"; then
   4714       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4715       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4716     else
   4717       # Make teststring a little bigger before we do anything with it.
   4718       # a 1K string should be a reasonable start.
   4719       for i in 1 2 3 4 5 6 7 8 ; do
   4720         teststring=$teststring$teststring
   4721       done
   4722       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4723       # If test is not a shell built-in, we'll probably end up computing a
   4724       # maximum length that is only half of the actual maximum length, but
   4725       # we can't tell.
   4726       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4727 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4728 	      test $i != 17 # 1/2 MB should be enough
   4729       do
   4730         i=`expr $i + 1`
   4731         teststring=$teststring$teststring
   4732       done
   4733       # Only check the string length outside the loop.
   4734       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4735       teststring=
   4736       # Add a significant safety factor because C++ compilers can tack on
   4737       # massive amounts of additional arguments before passing them to the
   4738       # linker.  It appears as though 1/2 is a usable value.
   4739       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4740     fi
   4741     ;;
   4742   esac
   4743 
   4744 fi
   4745 
   4746 if test -n $lt_cv_sys_max_cmd_len ; then
   4747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4748 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4749 else
   4750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4751 $as_echo "none" >&6; }
   4752 fi
   4753 max_cmd_len=$lt_cv_sys_max_cmd_len
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 : ${CP="cp -f"}
   4761 : ${MV="mv -f"}
   4762 : ${RM="rm -f"}
   4763 
   4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4765 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4766 # Try some XSI features
   4767 xsi_shell=no
   4768 ( _lt_dummy="a/b/c"
   4769   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4770       = c,a/b,b/c, \
   4771     && eval 'test $(( 1 + 1 )) -eq 2 \
   4772     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4773   && xsi_shell=yes
   4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4775 $as_echo "$xsi_shell" >&6; }
   4776 
   4777 
   4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4779 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4780 lt_shell_append=no
   4781 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4782     >/dev/null 2>&1 \
   4783   && lt_shell_append=yes
   4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4785 $as_echo "$lt_shell_append" >&6; }
   4786 
   4787 
   4788 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4789   lt_unset=unset
   4790 else
   4791   lt_unset=false
   4792 fi
   4793 
   4794 
   4795 
   4796 
   4797 
   4798 # test EBCDIC or ASCII
   4799 case `echo X|tr X '\101'` in
   4800  A) # ASCII based system
   4801     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4802   lt_SP2NL='tr \040 \012'
   4803   lt_NL2SP='tr \015\012 \040\040'
   4804   ;;
   4805  *) # EBCDIC based system
   4806   lt_SP2NL='tr \100 \n'
   4807   lt_NL2SP='tr \r\n \100\100'
   4808   ;;
   4809 esac
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4820 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4821 if ${lt_cv_to_host_file_cmd+:} false; then :
   4822   $as_echo_n "(cached) " >&6
   4823 else
   4824   case $host in
   4825   *-*-mingw* )
   4826     case $build in
   4827       *-*-mingw* ) # actually msys
   4828         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4829         ;;
   4830       *-*-cygwin* )
   4831         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4832         ;;
   4833       * ) # otherwise, assume *nix
   4834         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4835         ;;
   4836     esac
   4837     ;;
   4838   *-*-cygwin* )
   4839     case $build in
   4840       *-*-mingw* ) # actually msys
   4841         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4842         ;;
   4843       *-*-cygwin* )
   4844         lt_cv_to_host_file_cmd=func_convert_file_noop
   4845         ;;
   4846       * ) # otherwise, assume *nix
   4847         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4848         ;;
   4849     esac
   4850     ;;
   4851   * ) # unhandled hosts (and "normal" native builds)
   4852     lt_cv_to_host_file_cmd=func_convert_file_noop
   4853     ;;
   4854 esac
   4855 
   4856 fi
   4857 
   4858 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4860 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4867 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4868 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4869   $as_echo_n "(cached) " >&6
   4870 else
   4871   #assume ordinary cross tools, or native build.
   4872 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4873 case $host in
   4874   *-*-mingw* )
   4875     case $build in
   4876       *-*-mingw* ) # actually msys
   4877         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4878         ;;
   4879     esac
   4880     ;;
   4881 esac
   4882 
   4883 fi
   4884 
   4885 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4887 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4894 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4895 if ${lt_cv_ld_reload_flag+:} false; then :
   4896   $as_echo_n "(cached) " >&6
   4897 else
   4898   lt_cv_ld_reload_flag='-r'
   4899 fi
   4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4901 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4902 reload_flag=$lt_cv_ld_reload_flag
   4903 case $reload_flag in
   4904 "" | " "*) ;;
   4905 *) reload_flag=" $reload_flag" ;;
   4906 esac
   4907 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4908 case $host_os in
   4909   cygwin* | mingw* | pw32* | cegcc*)
   4910     if test "$GCC" != yes; then
   4911       reload_cmds=false
   4912     fi
   4913     ;;
   4914   darwin*)
   4915     if test "$GCC" = yes; then
   4916       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4917     else
   4918       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4919     fi
   4920     ;;
   4921 esac
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 if test -n "$ac_tool_prefix"; then
   4932   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4933 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4935 $as_echo_n "checking for $ac_word... " >&6; }
   4936 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4937   $as_echo_n "(cached) " >&6
   4938 else
   4939   if test -n "$OBJDUMP"; then
   4940   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4941 else
   4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4943 for as_dir in $PATH
   4944 do
   4945   IFS=$as_save_IFS
   4946   test -z "$as_dir" && as_dir=.
   4947     for ac_exec_ext in '' $ac_executable_extensions; do
   4948   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4949     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4951     break 2
   4952   fi
   4953 done
   4954   done
   4955 IFS=$as_save_IFS
   4956 
   4957 fi
   4958 fi
   4959 OBJDUMP=$ac_cv_prog_OBJDUMP
   4960 if test -n "$OBJDUMP"; then
   4961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4962 $as_echo "$OBJDUMP" >&6; }
   4963 else
   4964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4965 $as_echo "no" >&6; }
   4966 fi
   4967 
   4968 
   4969 fi
   4970 if test -z "$ac_cv_prog_OBJDUMP"; then
   4971   ac_ct_OBJDUMP=$OBJDUMP
   4972   # Extract the first word of "objdump", so it can be a program name with args.
   4973 set dummy objdump; ac_word=$2
   4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4975 $as_echo_n "checking for $ac_word... " >&6; }
   4976 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4977   $as_echo_n "(cached) " >&6
   4978 else
   4979   if test -n "$ac_ct_OBJDUMP"; then
   4980   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4981 else
   4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4983 for as_dir in $PATH
   4984 do
   4985   IFS=$as_save_IFS
   4986   test -z "$as_dir" && as_dir=.
   4987     for ac_exec_ext in '' $ac_executable_extensions; do
   4988   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4989     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4991     break 2
   4992   fi
   4993 done
   4994   done
   4995 IFS=$as_save_IFS
   4996 
   4997 fi
   4998 fi
   4999 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5000 if test -n "$ac_ct_OBJDUMP"; then
   5001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5002 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5003 else
   5004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5005 $as_echo "no" >&6; }
   5006 fi
   5007 
   5008   if test "x$ac_ct_OBJDUMP" = x; then
   5009     OBJDUMP="false"
   5010   else
   5011     case $cross_compiling:$ac_tool_warned in
   5012 yes:)
   5013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5015 ac_tool_warned=yes ;;
   5016 esac
   5017     OBJDUMP=$ac_ct_OBJDUMP
   5018   fi
   5019 else
   5020   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5021 fi
   5022 
   5023 test -z "$OBJDUMP" && OBJDUMP=objdump
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5034 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5035 if ${lt_cv_deplibs_check_method+:} false; then :
   5036   $as_echo_n "(cached) " >&6
   5037 else
   5038   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5039 lt_cv_file_magic_test_file=
   5040 lt_cv_deplibs_check_method='unknown'
   5041 # Need to set the preceding variable on all platforms that support
   5042 # interlibrary dependencies.
   5043 # 'none' -- dependencies not supported.
   5044 # `unknown' -- same as none, but documents that we really don't know.
   5045 # 'pass_all' -- all dependencies passed with no checks.
   5046 # 'test_compile' -- check by making test program.
   5047 # 'file_magic [[regex]]' -- check by looking for files in library path
   5048 # which responds to the $file_magic_cmd with a given extended regex.
   5049 # If you have `file' or equivalent on your system and you're not sure
   5050 # whether `pass_all' will *always* work, you probably want this one.
   5051 
   5052 case $host_os in
   5053 aix[4-9]*)
   5054   lt_cv_deplibs_check_method=pass_all
   5055   ;;
   5056 
   5057 beos*)
   5058   lt_cv_deplibs_check_method=pass_all
   5059   ;;
   5060 
   5061 bsdi[45]*)
   5062   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5063   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5064   lt_cv_file_magic_test_file=/shlib/libc.so
   5065   ;;
   5066 
   5067 cygwin*)
   5068   # func_win32_libid is a shell function defined in ltmain.sh
   5069   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5070   lt_cv_file_magic_cmd='func_win32_libid'
   5071   ;;
   5072 
   5073 mingw* | pw32*)
   5074   # Base MSYS/MinGW do not provide the 'file' command needed by
   5075   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5076   # unless we find 'file', for example because we are cross-compiling.
   5077   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5078   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5079     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5080     lt_cv_file_magic_cmd='func_win32_libid'
   5081   else
   5082     # Keep this pattern in sync with the one in func_win32_libid.
   5083     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5084     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5085   fi
   5086   ;;
   5087 
   5088 cegcc*)
   5089   # use the weaker test based on 'objdump'. See mingw*.
   5090   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5091   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5092   ;;
   5093 
   5094 darwin* | rhapsody*)
   5095   lt_cv_deplibs_check_method=pass_all
   5096   ;;
   5097 
   5098 freebsd* | dragonfly*)
   5099   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5100     case $host_cpu in
   5101     i*86 )
   5102       # Not sure whether the presence of OpenBSD here was a mistake.
   5103       # Let's accept both of them until this is cleared up.
   5104       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5105       lt_cv_file_magic_cmd=/usr/bin/file
   5106       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5107       ;;
   5108     esac
   5109   else
   5110     lt_cv_deplibs_check_method=pass_all
   5111   fi
   5112   ;;
   5113 
   5114 gnu*)
   5115   lt_cv_deplibs_check_method=pass_all
   5116   ;;
   5117 
   5118 haiku*)
   5119   lt_cv_deplibs_check_method=pass_all
   5120   ;;
   5121 
   5122 hpux10.20* | hpux11*)
   5123   lt_cv_file_magic_cmd=/usr/bin/file
   5124   case $host_cpu in
   5125   ia64*)
   5126     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5127     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5128     ;;
   5129   hppa*64*)
   5130     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   5131     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5132     ;;
   5133   *)
   5134     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5135     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5136     ;;
   5137   esac
   5138   ;;
   5139 
   5140 interix[3-9]*)
   5141   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5142   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5143   ;;
   5144 
   5145 irix5* | irix6* | nonstopux*)
   5146   case $LD in
   5147   *-32|*"-32 ") libmagic=32-bit;;
   5148   *-n32|*"-n32 ") libmagic=N32;;
   5149   *-64|*"-64 ") libmagic=64-bit;;
   5150   *) libmagic=never-match;;
   5151   esac
   5152   lt_cv_deplibs_check_method=pass_all
   5153   ;;
   5154 
   5155 # This must be glibc/ELF.
   5156 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5157   lt_cv_deplibs_check_method=pass_all
   5158   ;;
   5159 
   5160 netbsd*)
   5161   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5162     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5163   else
   5164     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5165   fi
   5166   ;;
   5167 
   5168 newos6*)
   5169   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5170   lt_cv_file_magic_cmd=/usr/bin/file
   5171   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5172   ;;
   5173 
   5174 *nto* | *qnx*)
   5175   lt_cv_deplibs_check_method=pass_all
   5176   ;;
   5177 
   5178 openbsd*)
   5179   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5180     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5181   else
   5182     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5183   fi
   5184   ;;
   5185 
   5186 osf3* | osf4* | osf5*)
   5187   lt_cv_deplibs_check_method=pass_all
   5188   ;;
   5189 
   5190 rdos*)
   5191   lt_cv_deplibs_check_method=pass_all
   5192   ;;
   5193 
   5194 solaris*)
   5195   lt_cv_deplibs_check_method=pass_all
   5196   ;;
   5197 
   5198 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5199   lt_cv_deplibs_check_method=pass_all
   5200   ;;
   5201 
   5202 sysv4 | sysv4.3*)
   5203   case $host_vendor in
   5204   motorola)
   5205     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
   5206     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5207     ;;
   5208   ncr)
   5209     lt_cv_deplibs_check_method=pass_all
   5210     ;;
   5211   sequent)
   5212     lt_cv_file_magic_cmd='/bin/file'
   5213     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5214     ;;
   5215   sni)
   5216     lt_cv_file_magic_cmd='/bin/file'
   5217     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5218     lt_cv_file_magic_test_file=/lib/libc.so
   5219     ;;
   5220   siemens)
   5221     lt_cv_deplibs_check_method=pass_all
   5222     ;;
   5223   pc)
   5224     lt_cv_deplibs_check_method=pass_all
   5225     ;;
   5226   esac
   5227   ;;
   5228 
   5229 tpf*)
   5230   lt_cv_deplibs_check_method=pass_all
   5231   ;;
   5232 esac
   5233 
   5234 fi
   5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5236 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5237 
   5238 file_magic_glob=
   5239 want_nocaseglob=no
   5240 if test "$build" = "$host"; then
   5241   case $host_os in
   5242   mingw* | pw32*)
   5243     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5244       want_nocaseglob=yes
   5245     else
   5246       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5247     fi
   5248     ;;
   5249   esac
   5250 fi
   5251 
   5252 file_magic_cmd=$lt_cv_file_magic_cmd
   5253 deplibs_check_method=$lt_cv_deplibs_check_method
   5254 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 if test -n "$ac_tool_prefix"; then
   5278   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5279 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5281 $as_echo_n "checking for $ac_word... " >&6; }
   5282 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5283   $as_echo_n "(cached) " >&6
   5284 else
   5285   if test -n "$DLLTOOL"; then
   5286   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5287 else
   5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5289 for as_dir in $PATH
   5290 do
   5291   IFS=$as_save_IFS
   5292   test -z "$as_dir" && as_dir=.
   5293     for ac_exec_ext in '' $ac_executable_extensions; do
   5294   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5295     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5297     break 2
   5298   fi
   5299 done
   5300   done
   5301 IFS=$as_save_IFS
   5302 
   5303 fi
   5304 fi
   5305 DLLTOOL=$ac_cv_prog_DLLTOOL
   5306 if test -n "$DLLTOOL"; then
   5307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5308 $as_echo "$DLLTOOL" >&6; }
   5309 else
   5310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5311 $as_echo "no" >&6; }
   5312 fi
   5313 
   5314 
   5315 fi
   5316 if test -z "$ac_cv_prog_DLLTOOL"; then
   5317   ac_ct_DLLTOOL=$DLLTOOL
   5318   # Extract the first word of "dlltool", so it can be a program name with args.
   5319 set dummy dlltool; ac_word=$2
   5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5321 $as_echo_n "checking for $ac_word... " >&6; }
   5322 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5323   $as_echo_n "(cached) " >&6
   5324 else
   5325   if test -n "$ac_ct_DLLTOOL"; then
   5326   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5327 else
   5328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5329 for as_dir in $PATH
   5330 do
   5331   IFS=$as_save_IFS
   5332   test -z "$as_dir" && as_dir=.
   5333     for ac_exec_ext in '' $ac_executable_extensions; do
   5334   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5335     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5337     break 2
   5338   fi
   5339 done
   5340   done
   5341 IFS=$as_save_IFS
   5342 
   5343 fi
   5344 fi
   5345 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5346 if test -n "$ac_ct_DLLTOOL"; then
   5347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5348 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5349 else
   5350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5351 $as_echo "no" >&6; }
   5352 fi
   5353 
   5354   if test "x$ac_ct_DLLTOOL" = x; then
   5355     DLLTOOL="false"
   5356   else
   5357     case $cross_compiling:$ac_tool_warned in
   5358 yes:)
   5359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5361 ac_tool_warned=yes ;;
   5362 esac
   5363     DLLTOOL=$ac_ct_DLLTOOL
   5364   fi
   5365 else
   5366   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5367 fi
   5368 
   5369 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5381 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5382 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5383   $as_echo_n "(cached) " >&6
   5384 else
   5385   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5386 
   5387 case $host_os in
   5388 cygwin* | mingw* | pw32* | cegcc*)
   5389   # two different shell functions defined in ltmain.sh
   5390   # decide which to use based on capabilities of $DLLTOOL
   5391   case `$DLLTOOL --help 2>&1` in
   5392   *--identify-strict*)
   5393     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5394     ;;
   5395   *)
   5396     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5397     ;;
   5398   esac
   5399   ;;
   5400 *)
   5401   # fallback: assume linklib IS sharedlib
   5402   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5403   ;;
   5404 esac
   5405 
   5406 fi
   5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5408 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5409 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5410 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 if test -n "$ac_tool_prefix"; then
   5420   for ac_prog in ar
   5421   do
   5422     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5423 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5425 $as_echo_n "checking for $ac_word... " >&6; }
   5426 if ${ac_cv_prog_AR+:} false; then :
   5427   $as_echo_n "(cached) " >&6
   5428 else
   5429   if test -n "$AR"; then
   5430   ac_cv_prog_AR="$AR" # Let the user override the test.
   5431 else
   5432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5433 for as_dir in $PATH
   5434 do
   5435   IFS=$as_save_IFS
   5436   test -z "$as_dir" && as_dir=.
   5437     for ac_exec_ext in '' $ac_executable_extensions; do
   5438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5439     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5441     break 2
   5442   fi
   5443 done
   5444   done
   5445 IFS=$as_save_IFS
   5446 
   5447 fi
   5448 fi
   5449 AR=$ac_cv_prog_AR
   5450 if test -n "$AR"; then
   5451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5452 $as_echo "$AR" >&6; }
   5453 else
   5454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5455 $as_echo "no" >&6; }
   5456 fi
   5457 
   5458 
   5459     test -n "$AR" && break
   5460   done
   5461 fi
   5462 if test -z "$AR"; then
   5463   ac_ct_AR=$AR
   5464   for ac_prog in ar
   5465 do
   5466   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5467 set dummy $ac_prog; ac_word=$2
   5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5469 $as_echo_n "checking for $ac_word... " >&6; }
   5470 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5471   $as_echo_n "(cached) " >&6
   5472 else
   5473   if test -n "$ac_ct_AR"; then
   5474   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5475 else
   5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5477 for as_dir in $PATH
   5478 do
   5479   IFS=$as_save_IFS
   5480   test -z "$as_dir" && as_dir=.
   5481     for ac_exec_ext in '' $ac_executable_extensions; do
   5482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5483     ac_cv_prog_ac_ct_AR="$ac_prog"
   5484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5485     break 2
   5486   fi
   5487 done
   5488   done
   5489 IFS=$as_save_IFS
   5490 
   5491 fi
   5492 fi
   5493 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5494 if test -n "$ac_ct_AR"; then
   5495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5496 $as_echo "$ac_ct_AR" >&6; }
   5497 else
   5498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5499 $as_echo "no" >&6; }
   5500 fi
   5501 
   5502 
   5503   test -n "$ac_ct_AR" && break
   5504 done
   5505 
   5506   if test "x$ac_ct_AR" = x; then
   5507     AR="false"
   5508   else
   5509     case $cross_compiling:$ac_tool_warned in
   5510 yes:)
   5511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5513 ac_tool_warned=yes ;;
   5514 esac
   5515     AR=$ac_ct_AR
   5516   fi
   5517 fi
   5518 
   5519 : ${AR=ar}
   5520 : ${AR_FLAGS=cru}
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5533 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5534 if ${lt_cv_ar_at_file+:} false; then :
   5535   $as_echo_n "(cached) " >&6
   5536 else
   5537   lt_cv_ar_at_file=no
   5538    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5539 /* end confdefs.h.  */
   5540 
   5541 int
   5542 main ()
   5543 {
   5544 
   5545   ;
   5546   return 0;
   5547 }
   5548 _ACEOF
   5549 if ac_fn_c_try_compile "$LINENO"; then :
   5550   echo conftest.$ac_objext > conftest.lst
   5551       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5552       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5553   (eval $lt_ar_try) 2>&5
   5554   ac_status=$?
   5555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5556   test $ac_status = 0; }
   5557       if test "$ac_status" -eq 0; then
   5558 	# Ensure the archiver fails upon bogus file names.
   5559 	rm -f conftest.$ac_objext libconftest.a
   5560 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5561   (eval $lt_ar_try) 2>&5
   5562   ac_status=$?
   5563   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5564   test $ac_status = 0; }
   5565 	if test "$ac_status" -ne 0; then
   5566           lt_cv_ar_at_file=@
   5567         fi
   5568       fi
   5569       rm -f conftest.* libconftest.a
   5570 
   5571 fi
   5572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5573 
   5574 fi
   5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5576 $as_echo "$lt_cv_ar_at_file" >&6; }
   5577 
   5578 if test "x$lt_cv_ar_at_file" = xno; then
   5579   archiver_list_spec=
   5580 else
   5581   archiver_list_spec=$lt_cv_ar_at_file
   5582 fi
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 if test -n "$ac_tool_prefix"; then
   5591   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5592 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5594 $as_echo_n "checking for $ac_word... " >&6; }
   5595 if ${ac_cv_prog_STRIP+:} false; then :
   5596   $as_echo_n "(cached) " >&6
   5597 else
   5598   if test -n "$STRIP"; then
   5599   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5600 else
   5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5602 for as_dir in $PATH
   5603 do
   5604   IFS=$as_save_IFS
   5605   test -z "$as_dir" && as_dir=.
   5606     for ac_exec_ext in '' $ac_executable_extensions; do
   5607   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5608     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5610     break 2
   5611   fi
   5612 done
   5613   done
   5614 IFS=$as_save_IFS
   5615 
   5616 fi
   5617 fi
   5618 STRIP=$ac_cv_prog_STRIP
   5619 if test -n "$STRIP"; then
   5620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5621 $as_echo "$STRIP" >&6; }
   5622 else
   5623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5624 $as_echo "no" >&6; }
   5625 fi
   5626 
   5627 
   5628 fi
   5629 if test -z "$ac_cv_prog_STRIP"; then
   5630   ac_ct_STRIP=$STRIP
   5631   # Extract the first word of "strip", so it can be a program name with args.
   5632 set dummy strip; ac_word=$2
   5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5634 $as_echo_n "checking for $ac_word... " >&6; }
   5635 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5636   $as_echo_n "(cached) " >&6
   5637 else
   5638   if test -n "$ac_ct_STRIP"; then
   5639   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5640 else
   5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5642 for as_dir in $PATH
   5643 do
   5644   IFS=$as_save_IFS
   5645   test -z "$as_dir" && as_dir=.
   5646     for ac_exec_ext in '' $ac_executable_extensions; do
   5647   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5648     ac_cv_prog_ac_ct_STRIP="strip"
   5649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5650     break 2
   5651   fi
   5652 done
   5653   done
   5654 IFS=$as_save_IFS
   5655 
   5656 fi
   5657 fi
   5658 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5659 if test -n "$ac_ct_STRIP"; then
   5660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5661 $as_echo "$ac_ct_STRIP" >&6; }
   5662 else
   5663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5664 $as_echo "no" >&6; }
   5665 fi
   5666 
   5667   if test "x$ac_ct_STRIP" = x; then
   5668     STRIP=":"
   5669   else
   5670     case $cross_compiling:$ac_tool_warned in
   5671 yes:)
   5672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5674 ac_tool_warned=yes ;;
   5675 esac
   5676     STRIP=$ac_ct_STRIP
   5677   fi
   5678 else
   5679   STRIP="$ac_cv_prog_STRIP"
   5680 fi
   5681 
   5682 test -z "$STRIP" && STRIP=:
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 if test -n "$ac_tool_prefix"; then
   5690   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5691 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5693 $as_echo_n "checking for $ac_word... " >&6; }
   5694 if ${ac_cv_prog_RANLIB+:} false; then :
   5695   $as_echo_n "(cached) " >&6
   5696 else
   5697   if test -n "$RANLIB"; then
   5698   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5699 else
   5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5701 for as_dir in $PATH
   5702 do
   5703   IFS=$as_save_IFS
   5704   test -z "$as_dir" && as_dir=.
   5705     for ac_exec_ext in '' $ac_executable_extensions; do
   5706   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5707     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5709     break 2
   5710   fi
   5711 done
   5712   done
   5713 IFS=$as_save_IFS
   5714 
   5715 fi
   5716 fi
   5717 RANLIB=$ac_cv_prog_RANLIB
   5718 if test -n "$RANLIB"; then
   5719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5720 $as_echo "$RANLIB" >&6; }
   5721 else
   5722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5723 $as_echo "no" >&6; }
   5724 fi
   5725 
   5726 
   5727 fi
   5728 if test -z "$ac_cv_prog_RANLIB"; then
   5729   ac_ct_RANLIB=$RANLIB
   5730   # Extract the first word of "ranlib", so it can be a program name with args.
   5731 set dummy ranlib; ac_word=$2
   5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5733 $as_echo_n "checking for $ac_word... " >&6; }
   5734 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5735   $as_echo_n "(cached) " >&6
   5736 else
   5737   if test -n "$ac_ct_RANLIB"; then
   5738   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5739 else
   5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5741 for as_dir in $PATH
   5742 do
   5743   IFS=$as_save_IFS
   5744   test -z "$as_dir" && as_dir=.
   5745     for ac_exec_ext in '' $ac_executable_extensions; do
   5746   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5747     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5749     break 2
   5750   fi
   5751 done
   5752   done
   5753 IFS=$as_save_IFS
   5754 
   5755 fi
   5756 fi
   5757 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5758 if test -n "$ac_ct_RANLIB"; then
   5759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5760 $as_echo "$ac_ct_RANLIB" >&6; }
   5761 else
   5762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5763 $as_echo "no" >&6; }
   5764 fi
   5765 
   5766   if test "x$ac_ct_RANLIB" = x; then
   5767     RANLIB=":"
   5768   else
   5769     case $cross_compiling:$ac_tool_warned in
   5770 yes:)
   5771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5773 ac_tool_warned=yes ;;
   5774 esac
   5775     RANLIB=$ac_ct_RANLIB
   5776   fi
   5777 else
   5778   RANLIB="$ac_cv_prog_RANLIB"
   5779 fi
   5780 
   5781 test -z "$RANLIB" && RANLIB=:
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 # Determine commands to create old-style static archives.
   5789 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5790 old_postinstall_cmds='chmod 644 $oldlib'
   5791 old_postuninstall_cmds=
   5792 
   5793 if test -n "$RANLIB"; then
   5794   case $host_os in
   5795   openbsd*)
   5796     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5797     ;;
   5798   *)
   5799     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5800     ;;
   5801   esac
   5802   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5803 fi
   5804 
   5805 case $host_os in
   5806   darwin*)
   5807     lock_old_archive_extraction=yes ;;
   5808   *)
   5809     lock_old_archive_extraction=no ;;
   5810 esac
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 # If no C compiler was specified, use CC.
   5851 LTCC=${LTCC-"$CC"}
   5852 
   5853 # If no C compiler flags were specified, use CFLAGS.
   5854 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5855 
   5856 # Allow CC to be a program name with arguments.
   5857 compiler=$CC
   5858 
   5859 
   5860 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5862 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5863 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5864   $as_echo_n "(cached) " >&6
   5865 else
   5866 
   5867 # These are sane defaults that work on at least a few old systems.
   5868 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5869 
   5870 # Character class describing NM global symbol codes.
   5871 symcode='[BCDEGRST]'
   5872 
   5873 # Regexp to match symbols that can be accessed directly from C.
   5874 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5875 
   5876 # Define system-specific variables.
   5877 case $host_os in
   5878 aix*)
   5879   symcode='[BCDT]'
   5880   ;;
   5881 cygwin* | mingw* | pw32* | cegcc*)
   5882   symcode='[ABCDGISTW]'
   5883   ;;
   5884 hpux*)
   5885   if test "$host_cpu" = ia64; then
   5886     symcode='[ABCDEGRST]'
   5887   fi
   5888   ;;
   5889 irix* | nonstopux*)
   5890   symcode='[BCDEGRST]'
   5891   ;;
   5892 osf*)
   5893   symcode='[BCDEGQRST]'
   5894   ;;
   5895 solaris*)
   5896   symcode='[BDRT]'
   5897   ;;
   5898 sco3.2v5*)
   5899   symcode='[DT]'
   5900   ;;
   5901 sysv4.2uw2*)
   5902   symcode='[DT]'
   5903   ;;
   5904 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5905   symcode='[ABDT]'
   5906   ;;
   5907 sysv4)
   5908   symcode='[DFNSTU]'
   5909   ;;
   5910 esac
   5911 
   5912 # If we're using GNU nm, then use its standard symbol codes.
   5913 case `$NM -V 2>&1` in
   5914 *GNU* | *'with BFD'*)
   5915   symcode='[ABCDGIRSTW]' ;;
   5916 esac
   5917 
   5918 # Transform an extracted symbol line into a proper C declaration.
   5919 # Some systems (esp. on ia64) link data and code symbols differently,
   5920 # so use this general approach.
   5921 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5922 
   5923 # Transform an extracted symbol line into symbol name and symbol address
   5924 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5925 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   5926 
   5927 # Handle CRLF in mingw tool chain
   5928 opt_cr=
   5929 case $build_os in
   5930 mingw*)
   5931   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5932   ;;
   5933 esac
   5934 
   5935 # Try without a prefix underscore, then with it.
   5936 for ac_symprfx in "" "_"; do
   5937 
   5938   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5939   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5940 
   5941   # Write the raw and C identifiers.
   5942   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5943     # Fake it for dumpbin and say T for any non-static function
   5944     # and D for any global variable.
   5945     # Also find C++ and __fastcall symbols from MSVC++,
   5946     # which start with @ or ?.
   5947     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5948 "     {last_section=section; section=\$ 3};"\
   5949 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5950 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5951 "     \$ 0!~/External *\|/{next};"\
   5952 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5953 "     {if(hide[section]) next};"\
   5954 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5955 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5956 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5957 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5958 "     ' prfx=^$ac_symprfx"
   5959   else
   5960     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5961   fi
   5962   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5963 
   5964   # Check to see that the pipe works correctly.
   5965   pipe_works=no
   5966 
   5967   rm -f conftest*
   5968   cat > conftest.$ac_ext <<_LT_EOF
   5969 #ifdef __cplusplus
   5970 extern "C" {
   5971 #endif
   5972 char nm_test_var;
   5973 void nm_test_func(void);
   5974 void nm_test_func(void){}
   5975 #ifdef __cplusplus
   5976 }
   5977 #endif
   5978 int main(){nm_test_var='a';nm_test_func();return(0);}
   5979 _LT_EOF
   5980 
   5981   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5982   (eval $ac_compile) 2>&5
   5983   ac_status=$?
   5984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5985   test $ac_status = 0; }; then
   5986     # Now try to grab the symbols.
   5987     nlist=conftest.nm
   5988     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5989   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5990   ac_status=$?
   5991   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5992   test $ac_status = 0; } && test -s "$nlist"; then
   5993       # Try sorting and uniquifying the output.
   5994       if sort "$nlist" | uniq > "$nlist"T; then
   5995 	mv -f "$nlist"T "$nlist"
   5996       else
   5997 	rm -f "$nlist"T
   5998       fi
   5999 
   6000       # Make sure that we snagged all the symbols we need.
   6001       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6002 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6003 	  cat <<_LT_EOF > conftest.$ac_ext
   6004 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6005 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6006 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6007    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6008 # define LT_DLSYM_CONST
   6009 #elif defined(__osf__)
   6010 /* This system does not cope well with relocations in const data.  */
   6011 # define LT_DLSYM_CONST
   6012 #else
   6013 # define LT_DLSYM_CONST const
   6014 #endif
   6015 
   6016 #ifdef __cplusplus
   6017 extern "C" {
   6018 #endif
   6019 
   6020 _LT_EOF
   6021 	  # Now generate the symbol file.
   6022 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6023 
   6024 	  cat <<_LT_EOF >> conftest.$ac_ext
   6025 
   6026 /* The mapping between symbol names and symbols.  */
   6027 LT_DLSYM_CONST struct {
   6028   const char *name;
   6029   void       *address;
   6030 }
   6031 lt__PROGRAM__LTX_preloaded_symbols[] =
   6032 {
   6033   { "@PROGRAM@", (void *) 0 },
   6034 _LT_EOF
   6035 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6036 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6037   {0, (void *) 0}
   6038 };
   6039 
   6040 /* This works around a problem in FreeBSD linker */
   6041 #ifdef FREEBSD_WORKAROUND
   6042 static const void *lt_preloaded_setup() {
   6043   return lt__PROGRAM__LTX_preloaded_symbols;
   6044 }
   6045 #endif
   6046 
   6047 #ifdef __cplusplus
   6048 }
   6049 #endif
   6050 _LT_EOF
   6051 	  # Now try linking the two files.
   6052 	  mv conftest.$ac_objext conftstm.$ac_objext
   6053 	  lt_globsym_save_LIBS=$LIBS
   6054 	  lt_globsym_save_CFLAGS=$CFLAGS
   6055 	  LIBS="conftstm.$ac_objext"
   6056 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6057 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6058   (eval $ac_link) 2>&5
   6059   ac_status=$?
   6060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6061   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6062 	    pipe_works=yes
   6063 	  fi
   6064 	  LIBS=$lt_globsym_save_LIBS
   6065 	  CFLAGS=$lt_globsym_save_CFLAGS
   6066 	else
   6067 	  echo "cannot find nm_test_func in $nlist" >&5
   6068 	fi
   6069       else
   6070 	echo "cannot find nm_test_var in $nlist" >&5
   6071       fi
   6072     else
   6073       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6074     fi
   6075   else
   6076     echo "$progname: failed program was:" >&5
   6077     cat conftest.$ac_ext >&5
   6078   fi
   6079   rm -rf conftest* conftst*
   6080 
   6081   # Do not use the global_symbol_pipe unless it works.
   6082   if test "$pipe_works" = yes; then
   6083     break
   6084   else
   6085     lt_cv_sys_global_symbol_pipe=
   6086   fi
   6087 done
   6088 
   6089 fi
   6090 
   6091 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6092   lt_cv_sys_global_symbol_to_cdecl=
   6093 fi
   6094 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6096 $as_echo "failed" >&6; }
   6097 else
   6098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6099 $as_echo "ok" >&6; }
   6100 fi
   6101 
   6102 # Response file support.
   6103 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6104   nm_file_list_spec='@'
   6105 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6106   nm_file_list_spec='@'
   6107 fi
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6136 $as_echo_n "checking for sysroot... " >&6; }
   6137 
   6138 # Check whether --with-sysroot was given.
   6139 if test "${with_sysroot+set}" = set; then :
   6140   withval=$with_sysroot;
   6141 else
   6142   with_sysroot=no
   6143 fi
   6144 
   6145 
   6146 lt_sysroot=
   6147 case ${with_sysroot} in #(
   6148  yes)
   6149    if test "$GCC" = yes; then
   6150      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6151    fi
   6152    ;; #(
   6153  /*)
   6154    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6155    ;; #(
   6156  no|'')
   6157    ;; #(
   6158  *)
   6159    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6160 $as_echo "${with_sysroot}" >&6; }
   6161    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6162    ;;
   6163 esac
   6164 
   6165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6166 $as_echo "${lt_sysroot:-no}" >&6; }
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 # Check whether --enable-libtool-lock was given.
   6173 if test "${enable_libtool_lock+set}" = set; then :
   6174   enableval=$enable_libtool_lock;
   6175 fi
   6176 
   6177 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6178 
   6179 # Some flags need to be propagated to the compiler or linker for good
   6180 # libtool support.
   6181 case $host in
   6182 ia64-*-hpux*)
   6183   # Find out which ABI we are using.
   6184   echo 'int i;' > conftest.$ac_ext
   6185   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6186   (eval $ac_compile) 2>&5
   6187   ac_status=$?
   6188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6189   test $ac_status = 0; }; then
   6190     case `/usr/bin/file conftest.$ac_objext` in
   6191       *ELF-32*)
   6192 	HPUX_IA64_MODE="32"
   6193 	;;
   6194       *ELF-64*)
   6195 	HPUX_IA64_MODE="64"
   6196 	;;
   6197     esac
   6198   fi
   6199   rm -rf conftest*
   6200   ;;
   6201 *-*-irix6*)
   6202   # Find out which ABI we are using.
   6203   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6204   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6205   (eval $ac_compile) 2>&5
   6206   ac_status=$?
   6207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6208   test $ac_status = 0; }; then
   6209     if test "$lt_cv_prog_gnu_ld" = yes; then
   6210       case `/usr/bin/file conftest.$ac_objext` in
   6211 	*32-bit*)
   6212 	  LD="${LD-ld} -melf32bsmip"
   6213 	  ;;
   6214 	*N32*)
   6215 	  LD="${LD-ld} -melf32bmipn32"
   6216 	  ;;
   6217 	*64-bit*)
   6218 	  LD="${LD-ld} -melf64bmip"
   6219 	;;
   6220       esac
   6221     else
   6222       case `/usr/bin/file conftest.$ac_objext` in
   6223 	*32-bit*)
   6224 	  LD="${LD-ld} -32"
   6225 	  ;;
   6226 	*N32*)
   6227 	  LD="${LD-ld} -n32"
   6228 	  ;;
   6229 	*64-bit*)
   6230 	  LD="${LD-ld} -64"
   6231 	  ;;
   6232       esac
   6233     fi
   6234   fi
   6235   rm -rf conftest*
   6236   ;;
   6237 
   6238 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6239 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6240   # Find out which ABI we are using.
   6241   echo 'int i;' > conftest.$ac_ext
   6242   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6243   (eval $ac_compile) 2>&5
   6244   ac_status=$?
   6245   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6246   test $ac_status = 0; }; then
   6247     case `/usr/bin/file conftest.o` in
   6248       *32-bit*)
   6249 	case $host in
   6250 	  x86_64-*kfreebsd*-gnu)
   6251 	    LD="${LD-ld} -m elf_i386_fbsd"
   6252 	    ;;
   6253 	  x86_64-*linux*)
   6254 	    LD="${LD-ld} -m elf_i386"
   6255 	    ;;
   6256 	  ppc64-*linux*|powerpc64-*linux*)
   6257 	    LD="${LD-ld} -m elf32ppclinux"
   6258 	    ;;
   6259 	  s390x-*linux*)
   6260 	    LD="${LD-ld} -m elf_s390"
   6261 	    ;;
   6262 	  sparc64-*linux*)
   6263 	    LD="${LD-ld} -m elf32_sparc"
   6264 	    ;;
   6265 	esac
   6266 	;;
   6267       *64-bit*)
   6268 	case $host in
   6269 	  x86_64-*kfreebsd*-gnu)
   6270 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6271 	    ;;
   6272 	  x86_64-*linux*)
   6273 	    LD="${LD-ld} -m elf_x86_64"
   6274 	    ;;
   6275 	  ppc*-*linux*|powerpc*-*linux*)
   6276 	    LD="${LD-ld} -m elf64ppc"
   6277 	    ;;
   6278 	  s390*-*linux*|s390*-*tpf*)
   6279 	    LD="${LD-ld} -m elf64_s390"
   6280 	    ;;
   6281 	  sparc*-*linux*)
   6282 	    LD="${LD-ld} -m elf64_sparc"
   6283 	    ;;
   6284 	esac
   6285 	;;
   6286     esac
   6287   fi
   6288   rm -rf conftest*
   6289   ;;
   6290 
   6291 *-*-sco3.2v5*)
   6292   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6293   SAVE_CFLAGS="$CFLAGS"
   6294   CFLAGS="$CFLAGS -belf"
   6295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6296 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6297 if ${lt_cv_cc_needs_belf+:} false; then :
   6298   $as_echo_n "(cached) " >&6
   6299 else
   6300   ac_ext=c
   6301 ac_cpp='$CPP $CPPFLAGS'
   6302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6305 
   6306      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6307 /* end confdefs.h.  */
   6308 
   6309 int
   6310 main ()
   6311 {
   6312 
   6313   ;
   6314   return 0;
   6315 }
   6316 _ACEOF
   6317 if ac_fn_c_try_link "$LINENO"; then :
   6318   lt_cv_cc_needs_belf=yes
   6319 else
   6320   lt_cv_cc_needs_belf=no
   6321 fi
   6322 rm -f core conftest.err conftest.$ac_objext \
   6323     conftest$ac_exeext conftest.$ac_ext
   6324      ac_ext=c
   6325 ac_cpp='$CPP $CPPFLAGS'
   6326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6329 
   6330 fi
   6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6332 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6333   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6334     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6335     CFLAGS="$SAVE_CFLAGS"
   6336   fi
   6337   ;;
   6338 *-*solaris*)
   6339   # Find out which ABI we are using.
   6340   echo 'int i;' > conftest.$ac_ext
   6341   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6342   (eval $ac_compile) 2>&5
   6343   ac_status=$?
   6344   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6345   test $ac_status = 0; }; then
   6346     case `/usr/bin/file conftest.o` in
   6347     *64-bit*)
   6348       case $lt_cv_prog_gnu_ld in
   6349       yes*)
   6350         case $host in
   6351         i?86-*-solaris*)
   6352           LD="${LD-ld} -m elf_x86_64"
   6353           ;;
   6354         sparc*-*-solaris*)
   6355           LD="${LD-ld} -m elf64_sparc"
   6356           ;;
   6357         esac
   6358         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6359         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6360           LD="${LD-ld}_sol2"
   6361         fi
   6362         ;;
   6363       *)
   6364 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6365 	  LD="${LD-ld} -64"
   6366 	fi
   6367 	;;
   6368       esac
   6369       ;;
   6370     esac
   6371   fi
   6372   rm -rf conftest*
   6373   ;;
   6374 esac
   6375 
   6376 need_locks="$enable_libtool_lock"
   6377 
   6378 if test -n "$ac_tool_prefix"; then
   6379   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6380 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6382 $as_echo_n "checking for $ac_word... " >&6; }
   6383 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6384   $as_echo_n "(cached) " >&6
   6385 else
   6386   if test -n "$MANIFEST_TOOL"; then
   6387   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6388 else
   6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6390 for as_dir in $PATH
   6391 do
   6392   IFS=$as_save_IFS
   6393   test -z "$as_dir" && as_dir=.
   6394     for ac_exec_ext in '' $ac_executable_extensions; do
   6395   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6396     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6398     break 2
   6399   fi
   6400 done
   6401   done
   6402 IFS=$as_save_IFS
   6403 
   6404 fi
   6405 fi
   6406 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6407 if test -n "$MANIFEST_TOOL"; then
   6408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6409 $as_echo "$MANIFEST_TOOL" >&6; }
   6410 else
   6411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6412 $as_echo "no" >&6; }
   6413 fi
   6414 
   6415 
   6416 fi
   6417 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6418   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6419   # Extract the first word of "mt", so it can be a program name with args.
   6420 set dummy mt; ac_word=$2
   6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6422 $as_echo_n "checking for $ac_word... " >&6; }
   6423 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6424   $as_echo_n "(cached) " >&6
   6425 else
   6426   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6427   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6428 else
   6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6430 for as_dir in $PATH
   6431 do
   6432   IFS=$as_save_IFS
   6433   test -z "$as_dir" && as_dir=.
   6434     for ac_exec_ext in '' $ac_executable_extensions; do
   6435   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6436     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6438     break 2
   6439   fi
   6440 done
   6441   done
   6442 IFS=$as_save_IFS
   6443 
   6444 fi
   6445 fi
   6446 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6447 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6449 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6450 else
   6451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6452 $as_echo "no" >&6; }
   6453 fi
   6454 
   6455   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6456     MANIFEST_TOOL=":"
   6457   else
   6458     case $cross_compiling:$ac_tool_warned in
   6459 yes:)
   6460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6462 ac_tool_warned=yes ;;
   6463 esac
   6464     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6465   fi
   6466 else
   6467   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6468 fi
   6469 
   6470 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6472 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6473 if ${lt_cv_path_mainfest_tool+:} false; then :
   6474   $as_echo_n "(cached) " >&6
   6475 else
   6476   lt_cv_path_mainfest_tool=no
   6477   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6478   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6479   cat conftest.err >&5
   6480   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6481     lt_cv_path_mainfest_tool=yes
   6482   fi
   6483   rm -f conftest*
   6484 fi
   6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6486 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6487 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6488   MANIFEST_TOOL=:
   6489 fi
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496   case $host_os in
   6497     rhapsody* | darwin*)
   6498     if test -n "$ac_tool_prefix"; then
   6499   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6500 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6502 $as_echo_n "checking for $ac_word... " >&6; }
   6503 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6504   $as_echo_n "(cached) " >&6
   6505 else
   6506   if test -n "$DSYMUTIL"; then
   6507   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6508 else
   6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6510 for as_dir in $PATH
   6511 do
   6512   IFS=$as_save_IFS
   6513   test -z "$as_dir" && as_dir=.
   6514     for ac_exec_ext in '' $ac_executable_extensions; do
   6515   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6516     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6518     break 2
   6519   fi
   6520 done
   6521   done
   6522 IFS=$as_save_IFS
   6523 
   6524 fi
   6525 fi
   6526 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6527 if test -n "$DSYMUTIL"; then
   6528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6529 $as_echo "$DSYMUTIL" >&6; }
   6530 else
   6531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6532 $as_echo "no" >&6; }
   6533 fi
   6534 
   6535 
   6536 fi
   6537 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6538   ac_ct_DSYMUTIL=$DSYMUTIL
   6539   # Extract the first word of "dsymutil", so it can be a program name with args.
   6540 set dummy dsymutil; ac_word=$2
   6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6542 $as_echo_n "checking for $ac_word... " >&6; }
   6543 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6544   $as_echo_n "(cached) " >&6
   6545 else
   6546   if test -n "$ac_ct_DSYMUTIL"; then
   6547   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6548 else
   6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6550 for as_dir in $PATH
   6551 do
   6552   IFS=$as_save_IFS
   6553   test -z "$as_dir" && as_dir=.
   6554     for ac_exec_ext in '' $ac_executable_extensions; do
   6555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6556     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6558     break 2
   6559   fi
   6560 done
   6561   done
   6562 IFS=$as_save_IFS
   6563 
   6564 fi
   6565 fi
   6566 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6567 if test -n "$ac_ct_DSYMUTIL"; then
   6568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6569 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6570 else
   6571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6572 $as_echo "no" >&6; }
   6573 fi
   6574 
   6575   if test "x$ac_ct_DSYMUTIL" = x; then
   6576     DSYMUTIL=":"
   6577   else
   6578     case $cross_compiling:$ac_tool_warned in
   6579 yes:)
   6580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6582 ac_tool_warned=yes ;;
   6583 esac
   6584     DSYMUTIL=$ac_ct_DSYMUTIL
   6585   fi
   6586 else
   6587   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6588 fi
   6589 
   6590     if test -n "$ac_tool_prefix"; then
   6591   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6592 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6594 $as_echo_n "checking for $ac_word... " >&6; }
   6595 if ${ac_cv_prog_NMEDIT+:} false; then :
   6596   $as_echo_n "(cached) " >&6
   6597 else
   6598   if test -n "$NMEDIT"; then
   6599   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6600 else
   6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6602 for as_dir in $PATH
   6603 do
   6604   IFS=$as_save_IFS
   6605   test -z "$as_dir" && as_dir=.
   6606     for ac_exec_ext in '' $ac_executable_extensions; do
   6607   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6608     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6610     break 2
   6611   fi
   6612 done
   6613   done
   6614 IFS=$as_save_IFS
   6615 
   6616 fi
   6617 fi
   6618 NMEDIT=$ac_cv_prog_NMEDIT
   6619 if test -n "$NMEDIT"; then
   6620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6621 $as_echo "$NMEDIT" >&6; }
   6622 else
   6623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6624 $as_echo "no" >&6; }
   6625 fi
   6626 
   6627 
   6628 fi
   6629 if test -z "$ac_cv_prog_NMEDIT"; then
   6630   ac_ct_NMEDIT=$NMEDIT
   6631   # Extract the first word of "nmedit", so it can be a program name with args.
   6632 set dummy nmedit; ac_word=$2
   6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6634 $as_echo_n "checking for $ac_word... " >&6; }
   6635 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6636   $as_echo_n "(cached) " >&6
   6637 else
   6638   if test -n "$ac_ct_NMEDIT"; then
   6639   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6640 else
   6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6642 for as_dir in $PATH
   6643 do
   6644   IFS=$as_save_IFS
   6645   test -z "$as_dir" && as_dir=.
   6646     for ac_exec_ext in '' $ac_executable_extensions; do
   6647   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6648     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6650     break 2
   6651   fi
   6652 done
   6653   done
   6654 IFS=$as_save_IFS
   6655 
   6656 fi
   6657 fi
   6658 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6659 if test -n "$ac_ct_NMEDIT"; then
   6660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6661 $as_echo "$ac_ct_NMEDIT" >&6; }
   6662 else
   6663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6664 $as_echo "no" >&6; }
   6665 fi
   6666 
   6667   if test "x$ac_ct_NMEDIT" = x; then
   6668     NMEDIT=":"
   6669   else
   6670     case $cross_compiling:$ac_tool_warned in
   6671 yes:)
   6672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6674 ac_tool_warned=yes ;;
   6675 esac
   6676     NMEDIT=$ac_ct_NMEDIT
   6677   fi
   6678 else
   6679   NMEDIT="$ac_cv_prog_NMEDIT"
   6680 fi
   6681 
   6682     if test -n "$ac_tool_prefix"; then
   6683   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6684 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6686 $as_echo_n "checking for $ac_word... " >&6; }
   6687 if ${ac_cv_prog_LIPO+:} false; then :
   6688   $as_echo_n "(cached) " >&6
   6689 else
   6690   if test -n "$LIPO"; then
   6691   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6692 else
   6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6694 for as_dir in $PATH
   6695 do
   6696   IFS=$as_save_IFS
   6697   test -z "$as_dir" && as_dir=.
   6698     for ac_exec_ext in '' $ac_executable_extensions; do
   6699   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6700     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6702     break 2
   6703   fi
   6704 done
   6705   done
   6706 IFS=$as_save_IFS
   6707 
   6708 fi
   6709 fi
   6710 LIPO=$ac_cv_prog_LIPO
   6711 if test -n "$LIPO"; then
   6712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6713 $as_echo "$LIPO" >&6; }
   6714 else
   6715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6716 $as_echo "no" >&6; }
   6717 fi
   6718 
   6719 
   6720 fi
   6721 if test -z "$ac_cv_prog_LIPO"; then
   6722   ac_ct_LIPO=$LIPO
   6723   # Extract the first word of "lipo", so it can be a program name with args.
   6724 set dummy lipo; ac_word=$2
   6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6726 $as_echo_n "checking for $ac_word... " >&6; }
   6727 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6728   $as_echo_n "(cached) " >&6
   6729 else
   6730   if test -n "$ac_ct_LIPO"; then
   6731   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6732 else
   6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6734 for as_dir in $PATH
   6735 do
   6736   IFS=$as_save_IFS
   6737   test -z "$as_dir" && as_dir=.
   6738     for ac_exec_ext in '' $ac_executable_extensions; do
   6739   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6740     ac_cv_prog_ac_ct_LIPO="lipo"
   6741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6742     break 2
   6743   fi
   6744 done
   6745   done
   6746 IFS=$as_save_IFS
   6747 
   6748 fi
   6749 fi
   6750 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6751 if test -n "$ac_ct_LIPO"; then
   6752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6753 $as_echo "$ac_ct_LIPO" >&6; }
   6754 else
   6755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6756 $as_echo "no" >&6; }
   6757 fi
   6758 
   6759   if test "x$ac_ct_LIPO" = x; then
   6760     LIPO=":"
   6761   else
   6762     case $cross_compiling:$ac_tool_warned in
   6763 yes:)
   6764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6766 ac_tool_warned=yes ;;
   6767 esac
   6768     LIPO=$ac_ct_LIPO
   6769   fi
   6770 else
   6771   LIPO="$ac_cv_prog_LIPO"
   6772 fi
   6773 
   6774     if test -n "$ac_tool_prefix"; then
   6775   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6776 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6778 $as_echo_n "checking for $ac_word... " >&6; }
   6779 if ${ac_cv_prog_OTOOL+:} false; then :
   6780   $as_echo_n "(cached) " >&6
   6781 else
   6782   if test -n "$OTOOL"; then
   6783   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6784 else
   6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6786 for as_dir in $PATH
   6787 do
   6788   IFS=$as_save_IFS
   6789   test -z "$as_dir" && as_dir=.
   6790     for ac_exec_ext in '' $ac_executable_extensions; do
   6791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6792     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6794     break 2
   6795   fi
   6796 done
   6797   done
   6798 IFS=$as_save_IFS
   6799 
   6800 fi
   6801 fi
   6802 OTOOL=$ac_cv_prog_OTOOL
   6803 if test -n "$OTOOL"; then
   6804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6805 $as_echo "$OTOOL" >&6; }
   6806 else
   6807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6808 $as_echo "no" >&6; }
   6809 fi
   6810 
   6811 
   6812 fi
   6813 if test -z "$ac_cv_prog_OTOOL"; then
   6814   ac_ct_OTOOL=$OTOOL
   6815   # Extract the first word of "otool", so it can be a program name with args.
   6816 set dummy otool; ac_word=$2
   6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6818 $as_echo_n "checking for $ac_word... " >&6; }
   6819 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6820   $as_echo_n "(cached) " >&6
   6821 else
   6822   if test -n "$ac_ct_OTOOL"; then
   6823   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6824 else
   6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6826 for as_dir in $PATH
   6827 do
   6828   IFS=$as_save_IFS
   6829   test -z "$as_dir" && as_dir=.
   6830     for ac_exec_ext in '' $ac_executable_extensions; do
   6831   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6832     ac_cv_prog_ac_ct_OTOOL="otool"
   6833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6834     break 2
   6835   fi
   6836 done
   6837   done
   6838 IFS=$as_save_IFS
   6839 
   6840 fi
   6841 fi
   6842 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6843 if test -n "$ac_ct_OTOOL"; then
   6844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6845 $as_echo "$ac_ct_OTOOL" >&6; }
   6846 else
   6847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6848 $as_echo "no" >&6; }
   6849 fi
   6850 
   6851   if test "x$ac_ct_OTOOL" = x; then
   6852     OTOOL=":"
   6853   else
   6854     case $cross_compiling:$ac_tool_warned in
   6855 yes:)
   6856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6858 ac_tool_warned=yes ;;
   6859 esac
   6860     OTOOL=$ac_ct_OTOOL
   6861   fi
   6862 else
   6863   OTOOL="$ac_cv_prog_OTOOL"
   6864 fi
   6865 
   6866     if test -n "$ac_tool_prefix"; then
   6867   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6868 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6870 $as_echo_n "checking for $ac_word... " >&6; }
   6871 if ${ac_cv_prog_OTOOL64+:} false; then :
   6872   $as_echo_n "(cached) " >&6
   6873 else
   6874   if test -n "$OTOOL64"; then
   6875   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6876 else
   6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6878 for as_dir in $PATH
   6879 do
   6880   IFS=$as_save_IFS
   6881   test -z "$as_dir" && as_dir=.
   6882     for ac_exec_ext in '' $ac_executable_extensions; do
   6883   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6884     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6886     break 2
   6887   fi
   6888 done
   6889   done
   6890 IFS=$as_save_IFS
   6891 
   6892 fi
   6893 fi
   6894 OTOOL64=$ac_cv_prog_OTOOL64
   6895 if test -n "$OTOOL64"; then
   6896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6897 $as_echo "$OTOOL64" >&6; }
   6898 else
   6899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6900 $as_echo "no" >&6; }
   6901 fi
   6902 
   6903 
   6904 fi
   6905 if test -z "$ac_cv_prog_OTOOL64"; then
   6906   ac_ct_OTOOL64=$OTOOL64
   6907   # Extract the first word of "otool64", so it can be a program name with args.
   6908 set dummy otool64; ac_word=$2
   6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6910 $as_echo_n "checking for $ac_word... " >&6; }
   6911 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6912   $as_echo_n "(cached) " >&6
   6913 else
   6914   if test -n "$ac_ct_OTOOL64"; then
   6915   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6916 else
   6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6918 for as_dir in $PATH
   6919 do
   6920   IFS=$as_save_IFS
   6921   test -z "$as_dir" && as_dir=.
   6922     for ac_exec_ext in '' $ac_executable_extensions; do
   6923   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6924     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6926     break 2
   6927   fi
   6928 done
   6929   done
   6930 IFS=$as_save_IFS
   6931 
   6932 fi
   6933 fi
   6934 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6935 if test -n "$ac_ct_OTOOL64"; then
   6936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6937 $as_echo "$ac_ct_OTOOL64" >&6; }
   6938 else
   6939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6940 $as_echo "no" >&6; }
   6941 fi
   6942 
   6943   if test "x$ac_ct_OTOOL64" = x; then
   6944     OTOOL64=":"
   6945   else
   6946     case $cross_compiling:$ac_tool_warned in
   6947 yes:)
   6948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6950 ac_tool_warned=yes ;;
   6951 esac
   6952     OTOOL64=$ac_ct_OTOOL64
   6953   fi
   6954 else
   6955   OTOOL64="$ac_cv_prog_OTOOL64"
   6956 fi
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6985 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6986 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6987   $as_echo_n "(cached) " >&6
   6988 else
   6989   lt_cv_apple_cc_single_mod=no
   6990       if test -z "${LT_MULTI_MODULE}"; then
   6991 	# By default we will add the -single_module flag. You can override
   6992 	# by either setting the environment variable LT_MULTI_MODULE
   6993 	# non-empty at configure time, or by adding -multi_module to the
   6994 	# link flags.
   6995 	rm -rf libconftest.dylib*
   6996 	echo "int foo(void){return 1;}" > conftest.c
   6997 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6998 -dynamiclib -Wl,-single_module conftest.c" >&5
   6999 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7000 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7001         _lt_result=$?
   7002 	# If there is a non-empty error log, and "single_module"
   7003 	# appears in it, assume the flag caused a linker warning
   7004         if test -s conftest.err && $GREP single_module conftest.err; then
   7005 	  cat conftest.err >&5
   7006 	# Otherwise, if the output was created with a 0 exit code from
   7007 	# the compiler, it worked.
   7008 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7009 	  lt_cv_apple_cc_single_mod=yes
   7010 	else
   7011 	  cat conftest.err >&5
   7012 	fi
   7013 	rm -rf libconftest.dylib*
   7014 	rm -f conftest.*
   7015       fi
   7016 fi
   7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7018 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7019 
   7020     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7021 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7022 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7023   $as_echo_n "(cached) " >&6
   7024 else
   7025   lt_cv_ld_exported_symbols_list=no
   7026       save_LDFLAGS=$LDFLAGS
   7027       echo "_main" > conftest.sym
   7028       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7030 /* end confdefs.h.  */
   7031 
   7032 int
   7033 main ()
   7034 {
   7035 
   7036   ;
   7037   return 0;
   7038 }
   7039 _ACEOF
   7040 if ac_fn_c_try_link "$LINENO"; then :
   7041   lt_cv_ld_exported_symbols_list=yes
   7042 else
   7043   lt_cv_ld_exported_symbols_list=no
   7044 fi
   7045 rm -f core conftest.err conftest.$ac_objext \
   7046     conftest$ac_exeext conftest.$ac_ext
   7047 	LDFLAGS="$save_LDFLAGS"
   7048 
   7049 fi
   7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7051 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7052 
   7053     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7054 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7055 if ${lt_cv_ld_force_load+:} false; then :
   7056   $as_echo_n "(cached) " >&6
   7057 else
   7058   lt_cv_ld_force_load=no
   7059       cat > conftest.c << _LT_EOF
   7060 int forced_loaded() { return 2;}
   7061 _LT_EOF
   7062       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7063       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7064       echo "$AR cru libconftest.a conftest.o" >&5
   7065       $AR cru libconftest.a conftest.o 2>&5
   7066       echo "$RANLIB libconftest.a" >&5
   7067       $RANLIB libconftest.a 2>&5
   7068       cat > conftest.c << _LT_EOF
   7069 int main() { return 0;}
   7070 _LT_EOF
   7071       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7072       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7073       _lt_result=$?
   7074       if test -s conftest.err && $GREP force_load conftest.err; then
   7075 	cat conftest.err >&5
   7076       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7077 	lt_cv_ld_force_load=yes
   7078       else
   7079 	cat conftest.err >&5
   7080       fi
   7081         rm -f conftest.err libconftest.a conftest conftest.c
   7082         rm -rf conftest.dSYM
   7083 
   7084 fi
   7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7086 $as_echo "$lt_cv_ld_force_load" >&6; }
   7087     case $host_os in
   7088     rhapsody* | darwin1.[012])
   7089       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7090     darwin1.*)
   7091       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7092     darwin*) # darwin 5.x on
   7093       # if running on 10.5 or later, the deployment target defaults
   7094       # to the OS version, if on x86, and 10.4, the deployment
   7095       # target defaults to 10.4. Don't you love it?
   7096       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7097 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7098 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7099 	10.[012]*)
   7100 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7101 	10.*)
   7102 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7103       esac
   7104     ;;
   7105   esac
   7106     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7107       _lt_dar_single_mod='$single_module'
   7108     fi
   7109     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7110       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7111     else
   7112       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7113     fi
   7114     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7115       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7116     else
   7117       _lt_dsymutil=
   7118     fi
   7119     ;;
   7120   esac
   7121 
   7122 ac_ext=c
   7123 ac_cpp='$CPP $CPPFLAGS'
   7124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7128 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7129 # On Suns, sometimes $CPP names a directory.
   7130 if test -n "$CPP" && test -d "$CPP"; then
   7131   CPP=
   7132 fi
   7133 if test -z "$CPP"; then
   7134   if ${ac_cv_prog_CPP+:} false; then :
   7135   $as_echo_n "(cached) " >&6
   7136 else
   7137       # Double quotes because CPP needs to be expanded
   7138     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7139     do
   7140       ac_preproc_ok=false
   7141 for ac_c_preproc_warn_flag in '' yes
   7142 do
   7143   # Use a header file that comes with gcc, so configuring glibc
   7144   # with a fresh cross-compiler works.
   7145   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7146   # <limits.h> exists even on freestanding compilers.
   7147   # On the NeXT, cc -E runs the code through the compiler's parser,
   7148   # not just through cpp. "Syntax error" is here to catch this case.
   7149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7150 /* end confdefs.h.  */
   7151 #ifdef __STDC__
   7152 # include <limits.h>
   7153 #else
   7154 # include <assert.h>
   7155 #endif
   7156 		     Syntax error
   7157 _ACEOF
   7158 if ac_fn_c_try_cpp "$LINENO"; then :
   7159 
   7160 else
   7161   # Broken: fails on valid input.
   7162 continue
   7163 fi
   7164 rm -f conftest.err conftest.i conftest.$ac_ext
   7165 
   7166   # OK, works on sane cases.  Now check whether nonexistent headers
   7167   # can be detected and how.
   7168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7169 /* end confdefs.h.  */
   7170 #include <ac_nonexistent.h>
   7171 _ACEOF
   7172 if ac_fn_c_try_cpp "$LINENO"; then :
   7173   # Broken: success on invalid input.
   7174 continue
   7175 else
   7176   # Passes both tests.
   7177 ac_preproc_ok=:
   7178 break
   7179 fi
   7180 rm -f conftest.err conftest.i conftest.$ac_ext
   7181 
   7182 done
   7183 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7184 rm -f conftest.i conftest.err conftest.$ac_ext
   7185 if $ac_preproc_ok; then :
   7186   break
   7187 fi
   7188 
   7189     done
   7190     ac_cv_prog_CPP=$CPP
   7191 
   7192 fi
   7193   CPP=$ac_cv_prog_CPP
   7194 else
   7195   ac_cv_prog_CPP=$CPP
   7196 fi
   7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7198 $as_echo "$CPP" >&6; }
   7199 ac_preproc_ok=false
   7200 for ac_c_preproc_warn_flag in '' yes
   7201 do
   7202   # Use a header file that comes with gcc, so configuring glibc
   7203   # with a fresh cross-compiler works.
   7204   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7205   # <limits.h> exists even on freestanding compilers.
   7206   # On the NeXT, cc -E runs the code through the compiler's parser,
   7207   # not just through cpp. "Syntax error" is here to catch this case.
   7208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7209 /* end confdefs.h.  */
   7210 #ifdef __STDC__
   7211 # include <limits.h>
   7212 #else
   7213 # include <assert.h>
   7214 #endif
   7215 		     Syntax error
   7216 _ACEOF
   7217 if ac_fn_c_try_cpp "$LINENO"; then :
   7218 
   7219 else
   7220   # Broken: fails on valid input.
   7221 continue
   7222 fi
   7223 rm -f conftest.err conftest.i conftest.$ac_ext
   7224 
   7225   # OK, works on sane cases.  Now check whether nonexistent headers
   7226   # can be detected and how.
   7227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7228 /* end confdefs.h.  */
   7229 #include <ac_nonexistent.h>
   7230 _ACEOF
   7231 if ac_fn_c_try_cpp "$LINENO"; then :
   7232   # Broken: success on invalid input.
   7233 continue
   7234 else
   7235   # Passes both tests.
   7236 ac_preproc_ok=:
   7237 break
   7238 fi
   7239 rm -f conftest.err conftest.i conftest.$ac_ext
   7240 
   7241 done
   7242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7243 rm -f conftest.i conftest.err conftest.$ac_ext
   7244 if $ac_preproc_ok; then :
   7245 
   7246 else
   7247   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7249 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7250 See \`config.log' for more details" "$LINENO" 5; }
   7251 fi
   7252 
   7253 ac_ext=c
   7254 ac_cpp='$CPP $CPPFLAGS'
   7255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7258 
   7259 
   7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7261 $as_echo_n "checking for ANSI C header files... " >&6; }
   7262 if ${ac_cv_header_stdc+:} false; then :
   7263   $as_echo_n "(cached) " >&6
   7264 else
   7265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7266 /* end confdefs.h.  */
   7267 #include <stdlib.h>
   7268 #include <stdarg.h>
   7269 #include <string.h>
   7270 #include <float.h>
   7271 
   7272 int
   7273 main ()
   7274 {
   7275 
   7276   ;
   7277   return 0;
   7278 }
   7279 _ACEOF
   7280 if ac_fn_c_try_compile "$LINENO"; then :
   7281   ac_cv_header_stdc=yes
   7282 else
   7283   ac_cv_header_stdc=no
   7284 fi
   7285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7286 
   7287 if test $ac_cv_header_stdc = yes; then
   7288   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7290 /* end confdefs.h.  */
   7291 #include <string.h>
   7292 
   7293 _ACEOF
   7294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7295   $EGREP "memchr" >/dev/null 2>&1; then :
   7296 
   7297 else
   7298   ac_cv_header_stdc=no
   7299 fi
   7300 rm -f conftest*
   7301 
   7302 fi
   7303 
   7304 if test $ac_cv_header_stdc = yes; then
   7305   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7307 /* end confdefs.h.  */
   7308 #include <stdlib.h>
   7309 
   7310 _ACEOF
   7311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7312   $EGREP "free" >/dev/null 2>&1; then :
   7313 
   7314 else
   7315   ac_cv_header_stdc=no
   7316 fi
   7317 rm -f conftest*
   7318 
   7319 fi
   7320 
   7321 if test $ac_cv_header_stdc = yes; then
   7322   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7323   if test "$cross_compiling" = yes; then :
   7324   :
   7325 else
   7326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7327 /* end confdefs.h.  */
   7328 #include <ctype.h>
   7329 #include <stdlib.h>
   7330 #if ((' ' & 0x0FF) == 0x020)
   7331 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7332 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7333 #else
   7334 # define ISLOWER(c) \
   7335 		   (('a' <= (c) && (c) <= 'i') \
   7336 		     || ('j' <= (c) && (c) <= 'r') \
   7337 		     || ('s' <= (c) && (c) <= 'z'))
   7338 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7339 #endif
   7340 
   7341 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7342 int
   7343 main ()
   7344 {
   7345   int i;
   7346   for (i = 0; i < 256; i++)
   7347     if (XOR (islower (i), ISLOWER (i))
   7348 	|| toupper (i) != TOUPPER (i))
   7349       return 2;
   7350   return 0;
   7351 }
   7352 _ACEOF
   7353 if ac_fn_c_try_run "$LINENO"; then :
   7354 
   7355 else
   7356   ac_cv_header_stdc=no
   7357 fi
   7358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7359   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7360 fi
   7361 
   7362 fi
   7363 fi
   7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7365 $as_echo "$ac_cv_header_stdc" >&6; }
   7366 if test $ac_cv_header_stdc = yes; then
   7367 
   7368 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7369 
   7370 fi
   7371 
   7372 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7373 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7374 		  inttypes.h stdint.h unistd.h
   7375 do :
   7376   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7377 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7378 "
   7379 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7380   cat >>confdefs.h <<_ACEOF
   7381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7382 _ACEOF
   7383 
   7384 fi
   7385 
   7386 done
   7387 
   7388 
   7389 for ac_header in dlfcn.h
   7390 do :
   7391   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7392 "
   7393 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7394   cat >>confdefs.h <<_ACEOF
   7395 #define HAVE_DLFCN_H 1
   7396 _ACEOF
   7397 
   7398 fi
   7399 
   7400 done
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 # Set options
   7407 
   7408 
   7409 
   7410         enable_dlopen=no
   7411 
   7412 
   7413   enable_win32_dll=no
   7414 
   7415 
   7416             # Check whether --enable-shared was given.
   7417 if test "${enable_shared+set}" = set; then :
   7418   enableval=$enable_shared; p=${PACKAGE-default}
   7419     case $enableval in
   7420     yes) enable_shared=yes ;;
   7421     no) enable_shared=no ;;
   7422     *)
   7423       enable_shared=no
   7424       # Look at the argument we got.  We use all the common list separators.
   7425       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7426       for pkg in $enableval; do
   7427 	IFS="$lt_save_ifs"
   7428 	if test "X$pkg" = "X$p"; then
   7429 	  enable_shared=yes
   7430 	fi
   7431       done
   7432       IFS="$lt_save_ifs"
   7433       ;;
   7434     esac
   7435 else
   7436   enable_shared=yes
   7437 fi
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 # Check whether --with-pic was given.
   7450 if test "${with_pic+set}" = set; then :
   7451   withval=$with_pic; lt_p=${PACKAGE-default}
   7452     case $withval in
   7453     yes|no) pic_mode=$withval ;;
   7454     *)
   7455       pic_mode=default
   7456       # Look at the argument we got.  We use all the common list separators.
   7457       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7458       for lt_pkg in $withval; do
   7459 	IFS="$lt_save_ifs"
   7460 	if test "X$lt_pkg" = "X$lt_p"; then
   7461 	  pic_mode=yes
   7462 	fi
   7463       done
   7464       IFS="$lt_save_ifs"
   7465       ;;
   7466     esac
   7467 else
   7468   pic_mode=default
   7469 fi
   7470 
   7471 
   7472 test -z "$pic_mode" && pic_mode=default
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480   # Check whether --enable-fast-install was given.
   7481 if test "${enable_fast_install+set}" = set; then :
   7482   enableval=$enable_fast_install; p=${PACKAGE-default}
   7483     case $enableval in
   7484     yes) enable_fast_install=yes ;;
   7485     no) enable_fast_install=no ;;
   7486     *)
   7487       enable_fast_install=no
   7488       # Look at the argument we got.  We use all the common list separators.
   7489       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7490       for pkg in $enableval; do
   7491 	IFS="$lt_save_ifs"
   7492 	if test "X$pkg" = "X$p"; then
   7493 	  enable_fast_install=yes
   7494 	fi
   7495       done
   7496       IFS="$lt_save_ifs"
   7497       ;;
   7498     esac
   7499 else
   7500   enable_fast_install=yes
   7501 fi
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 # This can be used to rebuild libtool when needed
   7514 LIBTOOL_DEPS="$ltmain"
   7515 
   7516 # Always use our own libtool.
   7517 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 test -z "$LN_S" && LN_S="ln -s"
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 if test -n "${ZSH_VERSION+set}" ; then
   7564    setopt NO_GLOB_SUBST
   7565 fi
   7566 
   7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7568 $as_echo_n "checking for objdir... " >&6; }
   7569 if ${lt_cv_objdir+:} false; then :
   7570   $as_echo_n "(cached) " >&6
   7571 else
   7572   rm -f .libs 2>/dev/null
   7573 mkdir .libs 2>/dev/null
   7574 if test -d .libs; then
   7575   lt_cv_objdir=.libs
   7576 else
   7577   # MS-DOS does not allow filenames that begin with a dot.
   7578   lt_cv_objdir=_libs
   7579 fi
   7580 rmdir .libs 2>/dev/null
   7581 fi
   7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7583 $as_echo "$lt_cv_objdir" >&6; }
   7584 objdir=$lt_cv_objdir
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 cat >>confdefs.h <<_ACEOF
   7591 #define LT_OBJDIR "$lt_cv_objdir/"
   7592 _ACEOF
   7593 
   7594 
   7595 
   7596 
   7597 case $host_os in
   7598 aix3*)
   7599   # AIX sometimes has problems with the GCC collect2 program.  For some
   7600   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7601   # vanish in a puff of smoke.
   7602   if test "X${COLLECT_NAMES+set}" != Xset; then
   7603     COLLECT_NAMES=
   7604     export COLLECT_NAMES
   7605   fi
   7606   ;;
   7607 esac
   7608 
   7609 # Global variables:
   7610 ofile=libtool
   7611 can_build_shared=yes
   7612 
   7613 # All known linkers require a `.a' archive for static linking (except MSVC,
   7614 # which needs '.lib').
   7615 libext=a
   7616 
   7617 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7618 
   7619 old_CC="$CC"
   7620 old_CFLAGS="$CFLAGS"
   7621 
   7622 # Set sane defaults for various variables
   7623 test -z "$CC" && CC=cc
   7624 test -z "$LTCC" && LTCC=$CC
   7625 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7626 test -z "$LD" && LD=ld
   7627 test -z "$ac_objext" && ac_objext=o
   7628 
   7629 for cc_temp in $compiler""; do
   7630   case $cc_temp in
   7631     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7632     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7633     \-*) ;;
   7634     *) break;;
   7635   esac
   7636 done
   7637 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7638 
   7639 
   7640 # Only perform the check for file, if the check method requires it
   7641 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7642 case $deplibs_check_method in
   7643 file_magic*)
   7644   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7646 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7647 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7648   $as_echo_n "(cached) " >&6
   7649 else
   7650   case $MAGIC_CMD in
   7651 [\\/*] |  ?:[\\/]*)
   7652   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7653   ;;
   7654 *)
   7655   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7656   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7657   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7658   for ac_dir in $ac_dummy; do
   7659     IFS="$lt_save_ifs"
   7660     test -z "$ac_dir" && ac_dir=.
   7661     if test -f $ac_dir/${ac_tool_prefix}file; then
   7662       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7663       if test -n "$file_magic_test_file"; then
   7664 	case $deplibs_check_method in
   7665 	"file_magic "*)
   7666 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7667 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7668 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7669 	    $EGREP "$file_magic_regex" > /dev/null; then
   7670 	    :
   7671 	  else
   7672 	    cat <<_LT_EOF 1>&2
   7673 
   7674 *** Warning: the command libtool uses to detect shared libraries,
   7675 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7676 *** The result is that libtool may fail to recognize shared libraries
   7677 *** as such.  This will affect the creation of libtool libraries that
   7678 *** depend on shared libraries, but programs linked with such libtool
   7679 *** libraries will work regardless of this problem.  Nevertheless, you
   7680 *** may want to report the problem to your system manager and/or to
   7681 *** bug-libtool@gnu.org
   7682 
   7683 _LT_EOF
   7684 	  fi ;;
   7685 	esac
   7686       fi
   7687       break
   7688     fi
   7689   done
   7690   IFS="$lt_save_ifs"
   7691   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7692   ;;
   7693 esac
   7694 fi
   7695 
   7696 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7697 if test -n "$MAGIC_CMD"; then
   7698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7699 $as_echo "$MAGIC_CMD" >&6; }
   7700 else
   7701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7702 $as_echo "no" >&6; }
   7703 fi
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7710   if test -n "$ac_tool_prefix"; then
   7711     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7712 $as_echo_n "checking for file... " >&6; }
   7713 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7714   $as_echo_n "(cached) " >&6
   7715 else
   7716   case $MAGIC_CMD in
   7717 [\\/*] |  ?:[\\/]*)
   7718   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7719   ;;
   7720 *)
   7721   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7722   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7723   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7724   for ac_dir in $ac_dummy; do
   7725     IFS="$lt_save_ifs"
   7726     test -z "$ac_dir" && ac_dir=.
   7727     if test -f $ac_dir/file; then
   7728       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7729       if test -n "$file_magic_test_file"; then
   7730 	case $deplibs_check_method in
   7731 	"file_magic "*)
   7732 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7733 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7734 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7735 	    $EGREP "$file_magic_regex" > /dev/null; then
   7736 	    :
   7737 	  else
   7738 	    cat <<_LT_EOF 1>&2
   7739 
   7740 *** Warning: the command libtool uses to detect shared libraries,
   7741 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7742 *** The result is that libtool may fail to recognize shared libraries
   7743 *** as such.  This will affect the creation of libtool libraries that
   7744 *** depend on shared libraries, but programs linked with such libtool
   7745 *** libraries will work regardless of this problem.  Nevertheless, you
   7746 *** may want to report the problem to your system manager and/or to
   7747 *** bug-libtool@gnu.org
   7748 
   7749 _LT_EOF
   7750 	  fi ;;
   7751 	esac
   7752       fi
   7753       break
   7754     fi
   7755   done
   7756   IFS="$lt_save_ifs"
   7757   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7758   ;;
   7759 esac
   7760 fi
   7761 
   7762 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7763 if test -n "$MAGIC_CMD"; then
   7764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7765 $as_echo "$MAGIC_CMD" >&6; }
   7766 else
   7767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7768 $as_echo "no" >&6; }
   7769 fi
   7770 
   7771 
   7772   else
   7773     MAGIC_CMD=:
   7774   fi
   7775 fi
   7776 
   7777   fi
   7778   ;;
   7779 esac
   7780 
   7781 # Use C for the default configuration in the libtool script
   7782 
   7783 lt_save_CC="$CC"
   7784 ac_ext=c
   7785 ac_cpp='$CPP $CPPFLAGS'
   7786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7789 
   7790 
   7791 # Source file extension for C test sources.
   7792 ac_ext=c
   7793 
   7794 # Object file extension for compiled C test sources.
   7795 objext=o
   7796 objext=$objext
   7797 
   7798 # Code to be used in simple compile tests
   7799 lt_simple_compile_test_code="int some_variable = 0;"
   7800 
   7801 # Code to be used in simple link tests
   7802 lt_simple_link_test_code='int main(){return(0);}'
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 # If no C compiler was specified, use CC.
   7811 LTCC=${LTCC-"$CC"}
   7812 
   7813 # If no C compiler flags were specified, use CFLAGS.
   7814 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7815 
   7816 # Allow CC to be a program name with arguments.
   7817 compiler=$CC
   7818 
   7819 # Save the default compiler, since it gets overwritten when the other
   7820 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7821 compiler_DEFAULT=$CC
   7822 
   7823 # save warnings/boilerplate of simple test code
   7824 ac_outfile=conftest.$ac_objext
   7825 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7826 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7827 _lt_compiler_boilerplate=`cat conftest.err`
   7828 $RM conftest*
   7829 
   7830 ac_outfile=conftest.$ac_objext
   7831 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7832 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7833 _lt_linker_boilerplate=`cat conftest.err`
   7834 $RM -r conftest*
   7835 
   7836 
   7837 if test -n "$compiler"; then
   7838 
   7839 lt_prog_compiler_no_builtin_flag=
   7840 
   7841 if test "$GCC" = yes; then
   7842   case $cc_basename in
   7843   nvcc*)
   7844     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7845   *)
   7846     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7847   esac
   7848 
   7849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7850 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7851 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7852   $as_echo_n "(cached) " >&6
   7853 else
   7854   lt_cv_prog_compiler_rtti_exceptions=no
   7855    ac_outfile=conftest.$ac_objext
   7856    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7857    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7858    # Insert the option either (1) after the last *FLAGS variable, or
   7859    # (2) before a word containing "conftest.", or (3) at the end.
   7860    # Note that $ac_compile itself does not contain backslashes and begins
   7861    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7862    # The option is referenced via a variable to avoid confusing sed.
   7863    lt_compile=`echo "$ac_compile" | $SED \
   7864    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7865    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7866    -e 's:$: $lt_compiler_flag:'`
   7867    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7868    (eval "$lt_compile" 2>conftest.err)
   7869    ac_status=$?
   7870    cat conftest.err >&5
   7871    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7872    if (exit $ac_status) && test -s "$ac_outfile"; then
   7873      # The compiler can only warn and ignore the option if not recognized
   7874      # So say no if there are warnings other than the usual output.
   7875      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7876      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7877      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7878        lt_cv_prog_compiler_rtti_exceptions=yes
   7879      fi
   7880    fi
   7881    $RM conftest*
   7882 
   7883 fi
   7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7885 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7886 
   7887 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7888     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7889 else
   7890     :
   7891 fi
   7892 
   7893 fi
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900   lt_prog_compiler_wl=
   7901 lt_prog_compiler_pic=
   7902 lt_prog_compiler_static=
   7903 
   7904 
   7905   if test "$GCC" = yes; then
   7906     lt_prog_compiler_wl='-Wl,'
   7907     lt_prog_compiler_static='-static'
   7908 
   7909     case $host_os in
   7910       aix*)
   7911       # All AIX code is PIC.
   7912       if test "$host_cpu" = ia64; then
   7913 	# AIX 5 now supports IA64 processor
   7914 	lt_prog_compiler_static='-Bstatic'
   7915       fi
   7916       ;;
   7917 
   7918     amigaos*)
   7919       case $host_cpu in
   7920       powerpc)
   7921             # see comment about AmigaOS4 .so support
   7922             lt_prog_compiler_pic='-fPIC'
   7923         ;;
   7924       m68k)
   7925             # FIXME: we need at least 68020 code to build shared libraries, but
   7926             # adding the `-m68020' flag to GCC prevents building anything better,
   7927             # like `-m68040'.
   7928             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7929         ;;
   7930       esac
   7931       ;;
   7932 
   7933     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7934       # PIC is the default for these OSes.
   7935       ;;
   7936 
   7937     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7938       # This hack is so that the source file can tell whether it is being
   7939       # built for inclusion in a dll (and should export symbols for example).
   7940       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7941       # (--disable-auto-import) libraries
   7942       lt_prog_compiler_pic='-DDLL_EXPORT'
   7943       ;;
   7944 
   7945     darwin* | rhapsody*)
   7946       # PIC is the default on this platform
   7947       # Common symbols not allowed in MH_DYLIB files
   7948       lt_prog_compiler_pic='-fno-common'
   7949       ;;
   7950 
   7951     haiku*)
   7952       # PIC is the default for Haiku.
   7953       # The "-static" flag exists, but is broken.
   7954       lt_prog_compiler_static=
   7955       ;;
   7956 
   7957     hpux*)
   7958       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7959       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7960       # sets the default TLS model and affects inlining.
   7961       case $host_cpu in
   7962       hppa*64*)
   7963 	# +Z the default
   7964 	;;
   7965       *)
   7966 	lt_prog_compiler_pic='-fPIC'
   7967 	;;
   7968       esac
   7969       ;;
   7970 
   7971     interix[3-9]*)
   7972       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7973       # Instead, we relocate shared libraries at runtime.
   7974       ;;
   7975 
   7976     msdosdjgpp*)
   7977       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7978       # on systems that don't support them.
   7979       lt_prog_compiler_can_build_shared=no
   7980       enable_shared=no
   7981       ;;
   7982 
   7983     *nto* | *qnx*)
   7984       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7985       # it will coredump.
   7986       lt_prog_compiler_pic='-fPIC -shared'
   7987       ;;
   7988 
   7989     sysv4*MP*)
   7990       if test -d /usr/nec; then
   7991 	lt_prog_compiler_pic=-Kconform_pic
   7992       fi
   7993       ;;
   7994 
   7995     *)
   7996       lt_prog_compiler_pic='-fPIC'
   7997       ;;
   7998     esac
   7999 
   8000     case $cc_basename in
   8001     nvcc*) # Cuda Compiler Driver 2.2
   8002       lt_prog_compiler_wl='-Xlinker '
   8003       if test -n "$lt_prog_compiler_pic"; then
   8004         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8005       fi
   8006       ;;
   8007     esac
   8008   else
   8009     # PORTME Check for flag to pass linker flags through the system compiler.
   8010     case $host_os in
   8011     aix*)
   8012       lt_prog_compiler_wl='-Wl,'
   8013       if test "$host_cpu" = ia64; then
   8014 	# AIX 5 now supports IA64 processor
   8015 	lt_prog_compiler_static='-Bstatic'
   8016       else
   8017 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8018       fi
   8019       ;;
   8020 
   8021     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8022       # This hack is so that the source file can tell whether it is being
   8023       # built for inclusion in a dll (and should export symbols for example).
   8024       lt_prog_compiler_pic='-DDLL_EXPORT'
   8025       ;;
   8026 
   8027     hpux9* | hpux10* | hpux11*)
   8028       lt_prog_compiler_wl='-Wl,'
   8029       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8030       # not for PA HP-UX.
   8031       case $host_cpu in
   8032       hppa*64*|ia64*)
   8033 	# +Z the default
   8034 	;;
   8035       *)
   8036 	lt_prog_compiler_pic='+Z'
   8037 	;;
   8038       esac
   8039       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8040       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8041       ;;
   8042 
   8043     irix5* | irix6* | nonstopux*)
   8044       lt_prog_compiler_wl='-Wl,'
   8045       # PIC (with -KPIC) is the default.
   8046       lt_prog_compiler_static='-non_shared'
   8047       ;;
   8048 
   8049     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8050       case $cc_basename in
   8051       # old Intel for x86_64 which still supported -KPIC.
   8052       ecc*)
   8053 	lt_prog_compiler_wl='-Wl,'
   8054 	lt_prog_compiler_pic='-KPIC'
   8055 	lt_prog_compiler_static='-static'
   8056         ;;
   8057       # icc used to be incompatible with GCC.
   8058       # ICC 10 doesn't accept -KPIC any more.
   8059       icc* | ifort*)
   8060 	lt_prog_compiler_wl='-Wl,'
   8061 	lt_prog_compiler_pic='-fPIC'
   8062 	lt_prog_compiler_static='-static'
   8063         ;;
   8064       # Lahey Fortran 8.1.
   8065       lf95*)
   8066 	lt_prog_compiler_wl='-Wl,'
   8067 	lt_prog_compiler_pic='--shared'
   8068 	lt_prog_compiler_static='--static'
   8069 	;;
   8070       nagfor*)
   8071 	# NAG Fortran compiler
   8072 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8073 	lt_prog_compiler_pic='-PIC'
   8074 	lt_prog_compiler_static='-Bstatic'
   8075 	;;
   8076       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8077         # Portland Group compilers (*not* the Pentium gcc compiler,
   8078 	# which looks to be a dead project)
   8079 	lt_prog_compiler_wl='-Wl,'
   8080 	lt_prog_compiler_pic='-fpic'
   8081 	lt_prog_compiler_static='-Bstatic'
   8082         ;;
   8083       ccc*)
   8084         lt_prog_compiler_wl='-Wl,'
   8085         # All Alpha code is PIC.
   8086         lt_prog_compiler_static='-non_shared'
   8087         ;;
   8088       xl* | bgxl* | bgf* | mpixl*)
   8089 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8090 	lt_prog_compiler_wl='-Wl,'
   8091 	lt_prog_compiler_pic='-qpic'
   8092 	lt_prog_compiler_static='-qstaticlink'
   8093 	;;
   8094       *)
   8095 	case `$CC -V 2>&1 | sed 5q` in
   8096 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8097 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8098 	  lt_prog_compiler_pic='-KPIC'
   8099 	  lt_prog_compiler_static='-Bstatic'
   8100 	  lt_prog_compiler_wl=''
   8101 	  ;;
   8102 	*Sun\ F* | *Sun*Fortran*)
   8103 	  lt_prog_compiler_pic='-KPIC'
   8104 	  lt_prog_compiler_static='-Bstatic'
   8105 	  lt_prog_compiler_wl='-Qoption ld '
   8106 	  ;;
   8107 	*Sun\ C*)
   8108 	  # Sun C 5.9
   8109 	  lt_prog_compiler_pic='-KPIC'
   8110 	  lt_prog_compiler_static='-Bstatic'
   8111 	  lt_prog_compiler_wl='-Wl,'
   8112 	  ;;
   8113         *Intel*\ [CF]*Compiler*)
   8114 	  lt_prog_compiler_wl='-Wl,'
   8115 	  lt_prog_compiler_pic='-fPIC'
   8116 	  lt_prog_compiler_static='-static'
   8117 	  ;;
   8118 	*Portland\ Group*)
   8119 	  lt_prog_compiler_wl='-Wl,'
   8120 	  lt_prog_compiler_pic='-fpic'
   8121 	  lt_prog_compiler_static='-Bstatic'
   8122 	  ;;
   8123 	esac
   8124 	;;
   8125       esac
   8126       ;;
   8127 
   8128     newsos6)
   8129       lt_prog_compiler_pic='-KPIC'
   8130       lt_prog_compiler_static='-Bstatic'
   8131       ;;
   8132 
   8133     *nto* | *qnx*)
   8134       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8135       # it will coredump.
   8136       lt_prog_compiler_pic='-fPIC -shared'
   8137       ;;
   8138 
   8139     osf3* | osf4* | osf5*)
   8140       lt_prog_compiler_wl='-Wl,'
   8141       # All OSF/1 code is PIC.
   8142       lt_prog_compiler_static='-non_shared'
   8143       ;;
   8144 
   8145     rdos*)
   8146       lt_prog_compiler_static='-non_shared'
   8147       ;;
   8148 
   8149     solaris*)
   8150       lt_prog_compiler_pic='-KPIC'
   8151       lt_prog_compiler_static='-Bstatic'
   8152       case $cc_basename in
   8153       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8154 	lt_prog_compiler_wl='-Qoption ld ';;
   8155       *)
   8156 	lt_prog_compiler_wl='-Wl,';;
   8157       esac
   8158       ;;
   8159 
   8160     sunos4*)
   8161       lt_prog_compiler_wl='-Qoption ld '
   8162       lt_prog_compiler_pic='-PIC'
   8163       lt_prog_compiler_static='-Bstatic'
   8164       ;;
   8165 
   8166     sysv4 | sysv4.2uw2* | sysv4.3*)
   8167       lt_prog_compiler_wl='-Wl,'
   8168       lt_prog_compiler_pic='-KPIC'
   8169       lt_prog_compiler_static='-Bstatic'
   8170       ;;
   8171 
   8172     sysv4*MP*)
   8173       if test -d /usr/nec ;then
   8174 	lt_prog_compiler_pic='-Kconform_pic'
   8175 	lt_prog_compiler_static='-Bstatic'
   8176       fi
   8177       ;;
   8178 
   8179     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8180       lt_prog_compiler_wl='-Wl,'
   8181       lt_prog_compiler_pic='-KPIC'
   8182       lt_prog_compiler_static='-Bstatic'
   8183       ;;
   8184 
   8185     unicos*)
   8186       lt_prog_compiler_wl='-Wl,'
   8187       lt_prog_compiler_can_build_shared=no
   8188       ;;
   8189 
   8190     uts4*)
   8191       lt_prog_compiler_pic='-pic'
   8192       lt_prog_compiler_static='-Bstatic'
   8193       ;;
   8194 
   8195     *)
   8196       lt_prog_compiler_can_build_shared=no
   8197       ;;
   8198     esac
   8199   fi
   8200 
   8201 case $host_os in
   8202   # For platforms which do not support PIC, -DPIC is meaningless:
   8203   *djgpp*)
   8204     lt_prog_compiler_pic=
   8205     ;;
   8206   *)
   8207     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8208     ;;
   8209 esac
   8210 
   8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8212 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8213 if ${lt_cv_prog_compiler_pic+:} false; then :
   8214   $as_echo_n "(cached) " >&6
   8215 else
   8216   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8217 fi
   8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8219 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8220 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8221 
   8222 #
   8223 # Check to make sure the PIC flag actually works.
   8224 #
   8225 if test -n "$lt_prog_compiler_pic"; then
   8226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8227 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8228 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8229   $as_echo_n "(cached) " >&6
   8230 else
   8231   lt_cv_prog_compiler_pic_works=no
   8232    ac_outfile=conftest.$ac_objext
   8233    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8234    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8235    # Insert the option either (1) after the last *FLAGS variable, or
   8236    # (2) before a word containing "conftest.", or (3) at the end.
   8237    # Note that $ac_compile itself does not contain backslashes and begins
   8238    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8239    # The option is referenced via a variable to avoid confusing sed.
   8240    lt_compile=`echo "$ac_compile" | $SED \
   8241    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8242    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8243    -e 's:$: $lt_compiler_flag:'`
   8244    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8245    (eval "$lt_compile" 2>conftest.err)
   8246    ac_status=$?
   8247    cat conftest.err >&5
   8248    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8249    if (exit $ac_status) && test -s "$ac_outfile"; then
   8250      # The compiler can only warn and ignore the option if not recognized
   8251      # So say no if there are warnings other than the usual output.
   8252      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8253      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8254      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8255        lt_cv_prog_compiler_pic_works=yes
   8256      fi
   8257    fi
   8258    $RM conftest*
   8259 
   8260 fi
   8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8262 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8263 
   8264 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8265     case $lt_prog_compiler_pic in
   8266      "" | " "*) ;;
   8267      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8268      esac
   8269 else
   8270     lt_prog_compiler_pic=
   8271      lt_prog_compiler_can_build_shared=no
   8272 fi
   8273 
   8274 fi
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 #
   8287 # Check to make sure the static flag actually works.
   8288 #
   8289 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8291 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8292 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8293   $as_echo_n "(cached) " >&6
   8294 else
   8295   lt_cv_prog_compiler_static_works=no
   8296    save_LDFLAGS="$LDFLAGS"
   8297    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8298    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8299    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8300      # The linker can only warn and ignore the option if not recognized
   8301      # So say no if there are warnings
   8302      if test -s conftest.err; then
   8303        # Append any errors to the config.log.
   8304        cat conftest.err 1>&5
   8305        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8306        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8307        if diff conftest.exp conftest.er2 >/dev/null; then
   8308          lt_cv_prog_compiler_static_works=yes
   8309        fi
   8310      else
   8311        lt_cv_prog_compiler_static_works=yes
   8312      fi
   8313    fi
   8314    $RM -r conftest*
   8315    LDFLAGS="$save_LDFLAGS"
   8316 
   8317 fi
   8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8319 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8320 
   8321 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8322     :
   8323 else
   8324     lt_prog_compiler_static=
   8325 fi
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8334 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8335 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8336   $as_echo_n "(cached) " >&6
   8337 else
   8338   lt_cv_prog_compiler_c_o=no
   8339    $RM -r conftest 2>/dev/null
   8340    mkdir conftest
   8341    cd conftest
   8342    mkdir out
   8343    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8344 
   8345    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8346    # Insert the option either (1) after the last *FLAGS variable, or
   8347    # (2) before a word containing "conftest.", or (3) at the end.
   8348    # Note that $ac_compile itself does not contain backslashes and begins
   8349    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8350    lt_compile=`echo "$ac_compile" | $SED \
   8351    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8352    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8353    -e 's:$: $lt_compiler_flag:'`
   8354    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8355    (eval "$lt_compile" 2>out/conftest.err)
   8356    ac_status=$?
   8357    cat out/conftest.err >&5
   8358    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8359    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8360    then
   8361      # The compiler can only warn and ignore the option if not recognized
   8362      # So say no if there are warnings
   8363      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8364      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8365      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8366        lt_cv_prog_compiler_c_o=yes
   8367      fi
   8368    fi
   8369    chmod u+w . 2>&5
   8370    $RM conftest*
   8371    # SGI C++ compiler will create directory out/ii_files/ for
   8372    # template instantiation
   8373    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8374    $RM out/* && rmdir out
   8375    cd ..
   8376    $RM -r conftest
   8377    $RM conftest*
   8378 
   8379 fi
   8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8381 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8389 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8390 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8391   $as_echo_n "(cached) " >&6
   8392 else
   8393   lt_cv_prog_compiler_c_o=no
   8394    $RM -r conftest 2>/dev/null
   8395    mkdir conftest
   8396    cd conftest
   8397    mkdir out
   8398    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8399 
   8400    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8401    # Insert the option either (1) after the last *FLAGS variable, or
   8402    # (2) before a word containing "conftest.", or (3) at the end.
   8403    # Note that $ac_compile itself does not contain backslashes and begins
   8404    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8405    lt_compile=`echo "$ac_compile" | $SED \
   8406    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8407    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8408    -e 's:$: $lt_compiler_flag:'`
   8409    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8410    (eval "$lt_compile" 2>out/conftest.err)
   8411    ac_status=$?
   8412    cat out/conftest.err >&5
   8413    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8414    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8415    then
   8416      # The compiler can only warn and ignore the option if not recognized
   8417      # So say no if there are warnings
   8418      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8419      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8420      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8421        lt_cv_prog_compiler_c_o=yes
   8422      fi
   8423    fi
   8424    chmod u+w . 2>&5
   8425    $RM conftest*
   8426    # SGI C++ compiler will create directory out/ii_files/ for
   8427    # template instantiation
   8428    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8429    $RM out/* && rmdir out
   8430    cd ..
   8431    $RM -r conftest
   8432    $RM conftest*
   8433 
   8434 fi
   8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8436 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8437 
   8438 
   8439 
   8440 
   8441 hard_links="nottested"
   8442 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8443   # do not overwrite the value of need_locks provided by the user
   8444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8445 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8446   hard_links=yes
   8447   $RM conftest*
   8448   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8449   touch conftest.a
   8450   ln conftest.a conftest.b 2>&5 || hard_links=no
   8451   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8453 $as_echo "$hard_links" >&6; }
   8454   if test "$hard_links" = no; then
   8455     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8456 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8457     need_locks=warn
   8458   fi
   8459 else
   8460   need_locks=no
   8461 fi
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8469 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8470 
   8471   runpath_var=
   8472   allow_undefined_flag=
   8473   always_export_symbols=no
   8474   archive_cmds=
   8475   archive_expsym_cmds=
   8476   compiler_needs_object=no
   8477   enable_shared_with_static_runtimes=no
   8478   export_dynamic_flag_spec=
   8479   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8480   hardcode_automatic=no
   8481   hardcode_direct=no
   8482   hardcode_direct_absolute=no
   8483   hardcode_libdir_flag_spec=
   8484   hardcode_libdir_separator=
   8485   hardcode_minus_L=no
   8486   hardcode_shlibpath_var=unsupported
   8487   inherit_rpath=no
   8488   link_all_deplibs=unknown
   8489   module_cmds=
   8490   module_expsym_cmds=
   8491   old_archive_from_new_cmds=
   8492   old_archive_from_expsyms_cmds=
   8493   thread_safe_flag_spec=
   8494   whole_archive_flag_spec=
   8495   # include_expsyms should be a list of space-separated symbols to be *always*
   8496   # included in the symbol list
   8497   include_expsyms=
   8498   # exclude_expsyms can be an extended regexp of symbols to exclude
   8499   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8500   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8501   # as well as any symbol that contains `d'.
   8502   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8503   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8504   # platforms (ab)use it in PIC code, but their linkers get confused if
   8505   # the symbol is explicitly referenced.  Since portable code cannot
   8506   # rely on this symbol name, it's probably fine to never include it in
   8507   # preloaded symbol tables.
   8508   # Exclude shared library initialization/finalization symbols.
   8509   extract_expsyms_cmds=
   8510 
   8511   case $host_os in
   8512   cygwin* | mingw* | pw32* | cegcc*)
   8513     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8514     # When not using gcc, we currently assume that we are using
   8515     # Microsoft Visual C++.
   8516     if test "$GCC" != yes; then
   8517       with_gnu_ld=no
   8518     fi
   8519     ;;
   8520   interix*)
   8521     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8522     with_gnu_ld=yes
   8523     ;;
   8524   openbsd*)
   8525     with_gnu_ld=no
   8526     ;;
   8527   esac
   8528 
   8529   ld_shlibs=yes
   8530 
   8531   # On some targets, GNU ld is compatible enough with the native linker
   8532   # that we're better off using the native interface for both.
   8533   lt_use_gnu_ld_interface=no
   8534   if test "$with_gnu_ld" = yes; then
   8535     case $host_os in
   8536       aix*)
   8537 	# The AIX port of GNU ld has always aspired to compatibility
   8538 	# with the native linker.  However, as the warning in the GNU ld
   8539 	# block says, versions before 2.19.5* couldn't really create working
   8540 	# shared libraries, regardless of the interface used.
   8541 	case `$LD -v 2>&1` in
   8542 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8543 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8544 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8545 	  *)
   8546 	    lt_use_gnu_ld_interface=yes
   8547 	    ;;
   8548 	esac
   8549 	;;
   8550       *)
   8551 	lt_use_gnu_ld_interface=yes
   8552 	;;
   8553     esac
   8554   fi
   8555 
   8556   if test "$lt_use_gnu_ld_interface" = yes; then
   8557     # If archive_cmds runs LD, not CC, wlarc should be empty
   8558     wlarc='${wl}'
   8559 
   8560     # Set some defaults for GNU ld with shared library support. These
   8561     # are reset later if shared libraries are not supported. Putting them
   8562     # here allows them to be overridden if necessary.
   8563     runpath_var=LD_RUN_PATH
   8564     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8565     export_dynamic_flag_spec='${wl}--export-dynamic'
   8566     # ancient GNU ld didn't support --whole-archive et. al.
   8567     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8568       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8569     else
   8570       whole_archive_flag_spec=
   8571     fi
   8572     supports_anon_versioning=no
   8573     case `$LD -v 2>&1` in
   8574       *GNU\ gold*) supports_anon_versioning=yes ;;
   8575       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8576       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8577       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8578       *\ 2.11.*) ;; # other 2.11 versions
   8579       *) supports_anon_versioning=yes ;;
   8580     esac
   8581 
   8582     # See if GNU ld supports shared libraries.
   8583     case $host_os in
   8584     aix[3-9]*)
   8585       # On AIX/PPC, the GNU linker is very broken
   8586       if test "$host_cpu" != ia64; then
   8587 	ld_shlibs=no
   8588 	cat <<_LT_EOF 1>&2
   8589 
   8590 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8591 *** to be unable to reliably create shared libraries on AIX.
   8592 *** Therefore, libtool is disabling shared libraries support.  If you
   8593 *** really care for shared libraries, you may want to install binutils
   8594 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8595 *** You will then need to restart the configuration process.
   8596 
   8597 _LT_EOF
   8598       fi
   8599       ;;
   8600 
   8601     amigaos*)
   8602       case $host_cpu in
   8603       powerpc)
   8604             # see comment about AmigaOS4 .so support
   8605             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8606             archive_expsym_cmds=''
   8607         ;;
   8608       m68k)
   8609             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   8610             hardcode_libdir_flag_spec='-L$libdir'
   8611             hardcode_minus_L=yes
   8612         ;;
   8613       esac
   8614       ;;
   8615 
   8616     beos*)
   8617       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8618 	allow_undefined_flag=unsupported
   8619 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8620 	# support --undefined.  This deserves some investigation.  FIXME
   8621 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8622       else
   8623 	ld_shlibs=no
   8624       fi
   8625       ;;
   8626 
   8627     cygwin* | mingw* | pw32* | cegcc*)
   8628       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8629       # as there is no search path for DLLs.
   8630       hardcode_libdir_flag_spec='-L$libdir'
   8631       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8632       allow_undefined_flag=unsupported
   8633       always_export_symbols=no
   8634       enable_shared_with_static_runtimes=yes
   8635       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   8636       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8637 
   8638       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8639         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8640 	# If the export-symbols file already is a .def file (1st line
   8641 	# is EXPORTS), use it as is; otherwise, prepend...
   8642 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8643 	  cp $export_symbols $output_objdir/$soname.def;
   8644 	else
   8645 	  echo EXPORTS > $output_objdir/$soname.def;
   8646 	  cat $export_symbols >> $output_objdir/$soname.def;
   8647 	fi~
   8648 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8649       else
   8650 	ld_shlibs=no
   8651       fi
   8652       ;;
   8653 
   8654     haiku*)
   8655       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8656       link_all_deplibs=yes
   8657       ;;
   8658 
   8659     interix[3-9]*)
   8660       hardcode_direct=no
   8661       hardcode_shlibpath_var=no
   8662       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8663       export_dynamic_flag_spec='${wl}-E'
   8664       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8665       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8666       # default) and relocated if they conflict, which is a slow very memory
   8667       # consuming and fragmenting process.  To avoid this, we pick a random,
   8668       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8669       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8670       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8671       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8672       ;;
   8673 
   8674     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8675       tmp_diet=no
   8676       if test "$host_os" = linux-dietlibc; then
   8677 	case $cc_basename in
   8678 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8679 	esac
   8680       fi
   8681       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8682 	 && test "$tmp_diet" = no
   8683       then
   8684 	tmp_addflag=' $pic_flag'
   8685 	tmp_sharedflag='-shared'
   8686 	case $cc_basename,$host_cpu in
   8687         pgcc*)				# Portland Group C compiler
   8688 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8689 	  tmp_addflag=' $pic_flag'
   8690 	  ;;
   8691 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8692 					# Portland Group f77 and f90 compilers
   8693 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8694 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8695 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8696 	  tmp_addflag=' -i_dynamic' ;;
   8697 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8698 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8699 	ifc* | ifort*)			# Intel Fortran compiler
   8700 	  tmp_addflag=' -nofor_main' ;;
   8701 	lf95*)				# Lahey Fortran 8.1
   8702 	  whole_archive_flag_spec=
   8703 	  tmp_sharedflag='--shared' ;;
   8704 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8705 	  tmp_sharedflag='-qmkshrobj'
   8706 	  tmp_addflag= ;;
   8707 	nvcc*)	# Cuda Compiler Driver 2.2
   8708 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8709 	  compiler_needs_object=yes
   8710 	  ;;
   8711 	esac
   8712 	case `$CC -V 2>&1 | sed 5q` in
   8713 	*Sun\ C*)			# Sun C 5.9
   8714 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8715 	  compiler_needs_object=yes
   8716 	  tmp_sharedflag='-G' ;;
   8717 	*Sun\ F*)			# Sun Fortran 8.3
   8718 	  tmp_sharedflag='-G' ;;
   8719 	esac
   8720 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8721 
   8722         if test "x$supports_anon_versioning" = xyes; then
   8723           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8724 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8725 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8726 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8727         fi
   8728 
   8729 	case $cc_basename in
   8730 	xlf* | bgf* | bgxlf* | mpixlf*)
   8731 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8732 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8733 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8734 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8735 	  if test "x$supports_anon_versioning" = xyes; then
   8736 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8737 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8738 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8739 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8740 	  fi
   8741 	  ;;
   8742 	esac
   8743       else
   8744         ld_shlibs=no
   8745       fi
   8746       ;;
   8747 
   8748     netbsd*)
   8749       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8750 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8751 	wlarc=
   8752       else
   8753 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8754 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8755       fi
   8756       ;;
   8757 
   8758     solaris*)
   8759       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8760 	ld_shlibs=no
   8761 	cat <<_LT_EOF 1>&2
   8762 
   8763 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8764 *** create shared libraries on Solaris systems.  Therefore, libtool
   8765 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8766 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8767 *** your PATH or compiler configuration so that the native linker is
   8768 *** used, and then restart.
   8769 
   8770 _LT_EOF
   8771       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8772 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8773 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8774       else
   8775 	ld_shlibs=no
   8776       fi
   8777       ;;
   8778 
   8779     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8780       case `$LD -v 2>&1` in
   8781         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8782 	ld_shlibs=no
   8783 	cat <<_LT_EOF 1>&2
   8784 
   8785 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8786 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8787 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8788 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8789 *** your PATH or compiler configuration so that the native linker is
   8790 *** used, and then restart.
   8791 
   8792 _LT_EOF
   8793 	;;
   8794 	*)
   8795 	  # For security reasons, it is highly recommended that you always
   8796 	  # use absolute paths for naming shared libraries, and exclude the
   8797 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8798 	  # requires that you compile everything twice, which is a pain.
   8799 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8800 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8801 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8802 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8803 	  else
   8804 	    ld_shlibs=no
   8805 	  fi
   8806 	;;
   8807       esac
   8808       ;;
   8809 
   8810     sunos4*)
   8811       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8812       wlarc=
   8813       hardcode_direct=yes
   8814       hardcode_shlibpath_var=no
   8815       ;;
   8816 
   8817     *)
   8818       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8819 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8820 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8821       else
   8822 	ld_shlibs=no
   8823       fi
   8824       ;;
   8825     esac
   8826 
   8827     if test "$ld_shlibs" = no; then
   8828       runpath_var=
   8829       hardcode_libdir_flag_spec=
   8830       export_dynamic_flag_spec=
   8831       whole_archive_flag_spec=
   8832     fi
   8833   else
   8834     # PORTME fill in a description of your system's linker (not GNU ld)
   8835     case $host_os in
   8836     aix3*)
   8837       allow_undefined_flag=unsupported
   8838       always_export_symbols=yes
   8839       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   8840       # Note: this linker hardcodes the directories in LIBPATH if there
   8841       # are no directories specified by -L.
   8842       hardcode_minus_L=yes
   8843       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8844 	# Neither direct hardcoding nor static linking is supported with a
   8845 	# broken collect2.
   8846 	hardcode_direct=unsupported
   8847       fi
   8848       ;;
   8849 
   8850     aix[4-9]*)
   8851       if test "$host_cpu" = ia64; then
   8852 	# On IA64, the linker does run time linking by default, so we don't
   8853 	# have to do anything special.
   8854 	aix_use_runtimelinking=no
   8855 	exp_sym_flag='-Bexport'
   8856 	no_entry_flag=""
   8857       else
   8858 	# If we're using GNU nm, then we don't want the "-C" option.
   8859 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8860 	# Also, AIX nm treats weak defined symbols like other global
   8861 	# defined symbols, whereas GNU nm marks them as "W".
   8862 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8863 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8864 	else
   8865 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8866 	fi
   8867 	aix_use_runtimelinking=no
   8868 
   8869 	# Test if we are trying to use run time linking or normal
   8870 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8871 	# need to do runtime linking.
   8872 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8873 	  for ld_flag in $LDFLAGS; do
   8874 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8875 	    aix_use_runtimelinking=yes
   8876 	    break
   8877 	  fi
   8878 	  done
   8879 	  ;;
   8880 	esac
   8881 
   8882 	exp_sym_flag='-bexport'
   8883 	no_entry_flag='-bnoentry'
   8884       fi
   8885 
   8886       # When large executables or shared objects are built, AIX ld can
   8887       # have problems creating the table of contents.  If linking a library
   8888       # or program results in "error TOC overflow" add -mminimal-toc to
   8889       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8890       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8891 
   8892       archive_cmds=''
   8893       hardcode_direct=yes
   8894       hardcode_direct_absolute=yes
   8895       hardcode_libdir_separator=':'
   8896       link_all_deplibs=yes
   8897       file_list_spec='${wl}-f,'
   8898 
   8899       if test "$GCC" = yes; then
   8900 	case $host_os in aix4.[012]|aix4.[012].*)
   8901 	# We only want to do this on AIX 4.2 and lower, the check
   8902 	# below for broken collect2 doesn't work under 4.3+
   8903 	  collect2name=`${CC} -print-prog-name=collect2`
   8904 	  if test -f "$collect2name" &&
   8905 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8906 	  then
   8907 	  # We have reworked collect2
   8908 	  :
   8909 	  else
   8910 	  # We have old collect2
   8911 	  hardcode_direct=unsupported
   8912 	  # It fails to find uninstalled libraries when the uninstalled
   8913 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8914 	  # to unsupported forces relinking
   8915 	  hardcode_minus_L=yes
   8916 	  hardcode_libdir_flag_spec='-L$libdir'
   8917 	  hardcode_libdir_separator=
   8918 	  fi
   8919 	  ;;
   8920 	esac
   8921 	shared_flag='-shared'
   8922 	if test "$aix_use_runtimelinking" = yes; then
   8923 	  shared_flag="$shared_flag "'${wl}-G'
   8924 	fi
   8925       else
   8926 	# not using gcc
   8927 	if test "$host_cpu" = ia64; then
   8928 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8929 	# chokes on -Wl,-G. The following line is correct:
   8930 	  shared_flag='-G'
   8931 	else
   8932 	  if test "$aix_use_runtimelinking" = yes; then
   8933 	    shared_flag='${wl}-G'
   8934 	  else
   8935 	    shared_flag='${wl}-bM:SRE'
   8936 	  fi
   8937 	fi
   8938       fi
   8939 
   8940       export_dynamic_flag_spec='${wl}-bexpall'
   8941       # It seems that -bexpall does not export symbols beginning with
   8942       # underscore (_), so it is better to generate a list of symbols to export.
   8943       always_export_symbols=yes
   8944       if test "$aix_use_runtimelinking" = yes; then
   8945 	# Warning - without using the other runtime loading flags (-brtl),
   8946 	# -berok will link without error, but may produce a broken library.
   8947 	allow_undefined_flag='-berok'
   8948         # Determine the default libpath from the value encoded in an
   8949         # empty executable.
   8950         if test "${lt_cv_aix_libpath+set}" = set; then
   8951   aix_libpath=$lt_cv_aix_libpath
   8952 else
   8953   if ${lt_cv_aix_libpath_+:} false; then :
   8954   $as_echo_n "(cached) " >&6
   8955 else
   8956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8957 /* end confdefs.h.  */
   8958 
   8959 int
   8960 main ()
   8961 {
   8962 
   8963   ;
   8964   return 0;
   8965 }
   8966 _ACEOF
   8967 if ac_fn_c_try_link "$LINENO"; then :
   8968 
   8969   lt_aix_libpath_sed='
   8970       /Import File Strings/,/^$/ {
   8971 	  /^0/ {
   8972 	      s/^0  *\([^ ]*\) *$/\1/
   8973 	      p
   8974 	  }
   8975       }'
   8976   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8977   # Check for a 64-bit object if we didn't find anything.
   8978   if test -z "$lt_cv_aix_libpath_"; then
   8979     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8980   fi
   8981 fi
   8982 rm -f core conftest.err conftest.$ac_objext \
   8983     conftest$ac_exeext conftest.$ac_ext
   8984   if test -z "$lt_cv_aix_libpath_"; then
   8985     lt_cv_aix_libpath_="/usr/lib:/lib"
   8986   fi
   8987 
   8988 fi
   8989 
   8990   aix_libpath=$lt_cv_aix_libpath_
   8991 fi
   8992 
   8993         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8994         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8995       else
   8996 	if test "$host_cpu" = ia64; then
   8997 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8998 	  allow_undefined_flag="-z nodefs"
   8999 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   9000 	else
   9001 	 # Determine the default libpath from the value encoded in an
   9002 	 # empty executable.
   9003 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9004   aix_libpath=$lt_cv_aix_libpath
   9005 else
   9006   if ${lt_cv_aix_libpath_+:} false; then :
   9007   $as_echo_n "(cached) " >&6
   9008 else
   9009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9010 /* end confdefs.h.  */
   9011 
   9012 int
   9013 main ()
   9014 {
   9015 
   9016   ;
   9017   return 0;
   9018 }
   9019 _ACEOF
   9020 if ac_fn_c_try_link "$LINENO"; then :
   9021 
   9022   lt_aix_libpath_sed='
   9023       /Import File Strings/,/^$/ {
   9024 	  /^0/ {
   9025 	      s/^0  *\([^ ]*\) *$/\1/
   9026 	      p
   9027 	  }
   9028       }'
   9029   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9030   # Check for a 64-bit object if we didn't find anything.
   9031   if test -z "$lt_cv_aix_libpath_"; then
   9032     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9033   fi
   9034 fi
   9035 rm -f core conftest.err conftest.$ac_objext \
   9036     conftest$ac_exeext conftest.$ac_ext
   9037   if test -z "$lt_cv_aix_libpath_"; then
   9038     lt_cv_aix_libpath_="/usr/lib:/lib"
   9039   fi
   9040 
   9041 fi
   9042 
   9043   aix_libpath=$lt_cv_aix_libpath_
   9044 fi
   9045 
   9046 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9047 	  # Warning - without using the other run time loading flags,
   9048 	  # -berok will link without error, but may produce a broken library.
   9049 	  no_undefined_flag=' ${wl}-bernotok'
   9050 	  allow_undefined_flag=' ${wl}-berok'
   9051 	  if test "$with_gnu_ld" = yes; then
   9052 	    # We only use this code for GNU lds that support --whole-archive.
   9053 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9054 	  else
   9055 	    # Exported symbols can be pulled into shared objects from archives
   9056 	    whole_archive_flag_spec='$convenience'
   9057 	  fi
   9058 	  archive_cmds_need_lc=yes
   9059 	  # This is similar to how AIX traditionally builds its shared libraries.
   9060 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9061 	fi
   9062       fi
   9063       ;;
   9064 
   9065     amigaos*)
   9066       case $host_cpu in
   9067       powerpc)
   9068             # see comment about AmigaOS4 .so support
   9069             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9070             archive_expsym_cmds=''
   9071         ;;
   9072       m68k)
   9073             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   9074             hardcode_libdir_flag_spec='-L$libdir'
   9075             hardcode_minus_L=yes
   9076         ;;
   9077       esac
   9078       ;;
   9079 
   9080     bsdi[45]*)
   9081       export_dynamic_flag_spec=-rdynamic
   9082       ;;
   9083 
   9084     cygwin* | mingw* | pw32* | cegcc*)
   9085       # When not using gcc, we currently assume that we are using
   9086       # Microsoft Visual C++.
   9087       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9088       # no search path for DLLs.
   9089       case $cc_basename in
   9090       cl*)
   9091 	# Native MSVC
   9092 	hardcode_libdir_flag_spec=' '
   9093 	allow_undefined_flag=unsupported
   9094 	always_export_symbols=yes
   9095 	file_list_spec='@'
   9096 	# Tell ltmain to make .lib files, not .a files.
   9097 	libext=lib
   9098 	# Tell ltmain to make .dll files, not .so files.
   9099 	shrext_cmds=".dll"
   9100 	# FIXME: Setting linknames here is a bad hack.
   9101 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9102 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9103 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9104 	  else
   9105 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9106 	  fi~
   9107 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9108 	  linknames='
   9109 	# The linker will not automatically build a static lib if we build a DLL.
   9110 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9111 	enable_shared_with_static_runtimes=yes
   9112 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9113 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9114 	# Don't use ranlib
   9115 	old_postinstall_cmds='chmod 644 $oldlib'
   9116 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9117 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9118 	  case $lt_outputfile in
   9119 	    *.exe|*.EXE) ;;
   9120 	    *)
   9121 	      lt_outputfile="$lt_outputfile.exe"
   9122 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9123 	      ;;
   9124 	  esac~
   9125 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9126 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9127 	    $RM "$lt_outputfile.manifest";
   9128 	  fi'
   9129 	;;
   9130       *)
   9131 	# Assume MSVC wrapper
   9132 	hardcode_libdir_flag_spec=' '
   9133 	allow_undefined_flag=unsupported
   9134 	# Tell ltmain to make .lib files, not .a files.
   9135 	libext=lib
   9136 	# Tell ltmain to make .dll files, not .so files.
   9137 	shrext_cmds=".dll"
   9138 	# FIXME: Setting linknames here is a bad hack.
   9139 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9140 	# The linker will automatically build a .lib file if we build a DLL.
   9141 	old_archive_from_new_cmds='true'
   9142 	# FIXME: Should let the user specify the lib program.
   9143 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9144 	enable_shared_with_static_runtimes=yes
   9145 	;;
   9146       esac
   9147       ;;
   9148 
   9149     darwin* | rhapsody*)
   9150 
   9151 
   9152   archive_cmds_need_lc=no
   9153   hardcode_direct=no
   9154   hardcode_automatic=yes
   9155   hardcode_shlibpath_var=unsupported
   9156   if test "$lt_cv_ld_force_load" = "yes"; then
   9157     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   9158 
   9159   else
   9160     whole_archive_flag_spec=''
   9161   fi
   9162   link_all_deplibs=yes
   9163   allow_undefined_flag="$_lt_dar_allow_undefined"
   9164   case $cc_basename in
   9165      ifort*) _lt_dar_can_shared=yes ;;
   9166      *) _lt_dar_can_shared=$GCC ;;
   9167   esac
   9168   if test "$_lt_dar_can_shared" = "yes"; then
   9169     output_verbose_link_cmd=func_echo_all
   9170     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9171     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9172     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   9173     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   9174 
   9175   else
   9176   ld_shlibs=no
   9177   fi
   9178 
   9179       ;;
   9180 
   9181     dgux*)
   9182       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9183       hardcode_libdir_flag_spec='-L$libdir'
   9184       hardcode_shlibpath_var=no
   9185       ;;
   9186 
   9187     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9188     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9189     # does not break anything, and helps significantly (at the cost of a little
   9190     # extra space).
   9191     freebsd2.2*)
   9192       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9193       hardcode_libdir_flag_spec='-R$libdir'
   9194       hardcode_direct=yes
   9195       hardcode_shlibpath_var=no
   9196       ;;
   9197 
   9198     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9199     freebsd2.*)
   9200       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9201       hardcode_direct=yes
   9202       hardcode_minus_L=yes
   9203       hardcode_shlibpath_var=no
   9204       ;;
   9205 
   9206     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9207     freebsd* | dragonfly*)
   9208       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9209       hardcode_libdir_flag_spec='-R$libdir'
   9210       hardcode_direct=yes
   9211       hardcode_shlibpath_var=no
   9212       ;;
   9213 
   9214     hpux9*)
   9215       if test "$GCC" = yes; then
   9216 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9217       else
   9218 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9219       fi
   9220       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9221       hardcode_libdir_separator=:
   9222       hardcode_direct=yes
   9223 
   9224       # hardcode_minus_L: Not really in the search PATH,
   9225       # but as the default location of the library.
   9226       hardcode_minus_L=yes
   9227       export_dynamic_flag_spec='${wl}-E'
   9228       ;;
   9229 
   9230     hpux10*)
   9231       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9232 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9233       else
   9234 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9235       fi
   9236       if test "$with_gnu_ld" = no; then
   9237 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9238 	hardcode_libdir_separator=:
   9239 	hardcode_direct=yes
   9240 	hardcode_direct_absolute=yes
   9241 	export_dynamic_flag_spec='${wl}-E'
   9242 	# hardcode_minus_L: Not really in the search PATH,
   9243 	# but as the default location of the library.
   9244 	hardcode_minus_L=yes
   9245       fi
   9246       ;;
   9247 
   9248     hpux11*)
   9249       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9250 	case $host_cpu in
   9251 	hppa*64*)
   9252 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9253 	  ;;
   9254 	ia64*)
   9255 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9256 	  ;;
   9257 	*)
   9258 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9259 	  ;;
   9260 	esac
   9261       else
   9262 	case $host_cpu in
   9263 	hppa*64*)
   9264 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9265 	  ;;
   9266 	ia64*)
   9267 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9268 	  ;;
   9269 	*)
   9270 
   9271 	  # Older versions of the 11.00 compiler do not understand -b yet
   9272 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9273 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9274 $as_echo_n "checking if $CC understands -b... " >&6; }
   9275 if ${lt_cv_prog_compiler__b+:} false; then :
   9276   $as_echo_n "(cached) " >&6
   9277 else
   9278   lt_cv_prog_compiler__b=no
   9279    save_LDFLAGS="$LDFLAGS"
   9280    LDFLAGS="$LDFLAGS -b"
   9281    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9282    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9283      # The linker can only warn and ignore the option if not recognized
   9284      # So say no if there are warnings
   9285      if test -s conftest.err; then
   9286        # Append any errors to the config.log.
   9287        cat conftest.err 1>&5
   9288        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9289        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9290        if diff conftest.exp conftest.er2 >/dev/null; then
   9291          lt_cv_prog_compiler__b=yes
   9292        fi
   9293      else
   9294        lt_cv_prog_compiler__b=yes
   9295      fi
   9296    fi
   9297    $RM -r conftest*
   9298    LDFLAGS="$save_LDFLAGS"
   9299 
   9300 fi
   9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9302 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9303 
   9304 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9305     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9306 else
   9307     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9308 fi
   9309 
   9310 	  ;;
   9311 	esac
   9312       fi
   9313       if test "$with_gnu_ld" = no; then
   9314 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9315 	hardcode_libdir_separator=:
   9316 
   9317 	case $host_cpu in
   9318 	hppa*64*|ia64*)
   9319 	  hardcode_direct=no
   9320 	  hardcode_shlibpath_var=no
   9321 	  ;;
   9322 	*)
   9323 	  hardcode_direct=yes
   9324 	  hardcode_direct_absolute=yes
   9325 	  export_dynamic_flag_spec='${wl}-E'
   9326 
   9327 	  # hardcode_minus_L: Not really in the search PATH,
   9328 	  # but as the default location of the library.
   9329 	  hardcode_minus_L=yes
   9330 	  ;;
   9331 	esac
   9332       fi
   9333       ;;
   9334 
   9335     irix5* | irix6* | nonstopux*)
   9336       if test "$GCC" = yes; then
   9337 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9338 	# Try to use the -exported_symbol ld option, if it does not
   9339 	# work, assume that -exports_file does not work either and
   9340 	# implicitly export all symbols.
   9341 	# This should be the same for all languages, so no per-tag cache variable.
   9342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9343 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9344 if ${lt_cv_irix_exported_symbol+:} false; then :
   9345   $as_echo_n "(cached) " >&6
   9346 else
   9347   save_LDFLAGS="$LDFLAGS"
   9348 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9349 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9350 /* end confdefs.h.  */
   9351 int foo (void) { return 0; }
   9352 _ACEOF
   9353 if ac_fn_c_try_link "$LINENO"; then :
   9354   lt_cv_irix_exported_symbol=yes
   9355 else
   9356   lt_cv_irix_exported_symbol=no
   9357 fi
   9358 rm -f core conftest.err conftest.$ac_objext \
   9359     conftest$ac_exeext conftest.$ac_ext
   9360            LDFLAGS="$save_LDFLAGS"
   9361 fi
   9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9363 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9364 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9365           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9366 	fi
   9367       else
   9368 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9369 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   9370       fi
   9371       archive_cmds_need_lc='no'
   9372       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9373       hardcode_libdir_separator=:
   9374       inherit_rpath=yes
   9375       link_all_deplibs=yes
   9376       ;;
   9377 
   9378     netbsd*)
   9379       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9380 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9381       else
   9382 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9383       fi
   9384       hardcode_libdir_flag_spec='-R$libdir'
   9385       hardcode_direct=yes
   9386       hardcode_shlibpath_var=no
   9387       ;;
   9388 
   9389     newsos6)
   9390       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9391       hardcode_direct=yes
   9392       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9393       hardcode_libdir_separator=:
   9394       hardcode_shlibpath_var=no
   9395       ;;
   9396 
   9397     *nto* | *qnx*)
   9398       ;;
   9399 
   9400     openbsd*)
   9401       if test -f /usr/libexec/ld.so; then
   9402 	hardcode_direct=yes
   9403 	hardcode_shlibpath_var=no
   9404 	hardcode_direct_absolute=yes
   9405 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9406 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9407 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9408 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9409 	  export_dynamic_flag_spec='${wl}-E'
   9410 	else
   9411 	  case $host_os in
   9412 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9413 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9414 	     hardcode_libdir_flag_spec='-R$libdir'
   9415 	     ;;
   9416 	   *)
   9417 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9418 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9419 	     ;;
   9420 	  esac
   9421 	fi
   9422       else
   9423 	ld_shlibs=no
   9424       fi
   9425       ;;
   9426 
   9427     os2*)
   9428       hardcode_libdir_flag_spec='-L$libdir'
   9429       hardcode_minus_L=yes
   9430       allow_undefined_flag=unsupported
   9431       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9432       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9433       ;;
   9434 
   9435     osf3*)
   9436       if test "$GCC" = yes; then
   9437 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9438 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9439       else
   9440 	allow_undefined_flag=' -expect_unresolved \*'
   9441 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9442       fi
   9443       archive_cmds_need_lc='no'
   9444       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9445       hardcode_libdir_separator=:
   9446       ;;
   9447 
   9448     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9449       if test "$GCC" = yes; then
   9450 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9451 	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9452 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9453       else
   9454 	allow_undefined_flag=' -expect_unresolved \*'
   9455 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9456 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   9457 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   9458 
   9459 	# Both c and cxx compiler support -rpath directly
   9460 	hardcode_libdir_flag_spec='-rpath $libdir'
   9461       fi
   9462       archive_cmds_need_lc='no'
   9463       hardcode_libdir_separator=:
   9464       ;;
   9465 
   9466     solaris*)
   9467       no_undefined_flag=' -z defs'
   9468       if test "$GCC" = yes; then
   9469 	wlarc='${wl}'
   9470 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9471 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9472 	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9473       else
   9474 	case `$CC -V 2>&1` in
   9475 	*"Compilers 5.0"*)
   9476 	  wlarc=''
   9477 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9478 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9479 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9480 	  ;;
   9481 	*)
   9482 	  wlarc='${wl}'
   9483 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9484 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9485 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9486 	  ;;
   9487 	esac
   9488       fi
   9489       hardcode_libdir_flag_spec='-R$libdir'
   9490       hardcode_shlibpath_var=no
   9491       case $host_os in
   9492       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9493       *)
   9494 	# The compiler driver will combine and reorder linker options,
   9495 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9496 	# but is careful enough not to reorder.
   9497 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9498 	if test "$GCC" = yes; then
   9499 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9500 	else
   9501 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9502 	fi
   9503 	;;
   9504       esac
   9505       link_all_deplibs=yes
   9506       ;;
   9507 
   9508     sunos4*)
   9509       if test "x$host_vendor" = xsequent; then
   9510 	# Use $CC to link under sequent, because it throws in some extra .o
   9511 	# files that make .init and .fini sections work.
   9512 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9513       else
   9514 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9515       fi
   9516       hardcode_libdir_flag_spec='-L$libdir'
   9517       hardcode_direct=yes
   9518       hardcode_minus_L=yes
   9519       hardcode_shlibpath_var=no
   9520       ;;
   9521 
   9522     sysv4)
   9523       case $host_vendor in
   9524 	sni)
   9525 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9526 	  hardcode_direct=yes # is this really true???
   9527 	;;
   9528 	siemens)
   9529 	  ## LD is ld it makes a PLAMLIB
   9530 	  ## CC just makes a GrossModule.
   9531 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9532 	  reload_cmds='$CC -r -o $output$reload_objs'
   9533 	  hardcode_direct=no
   9534         ;;
   9535 	motorola)
   9536 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9537 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9538 	;;
   9539       esac
   9540       runpath_var='LD_RUN_PATH'
   9541       hardcode_shlibpath_var=no
   9542       ;;
   9543 
   9544     sysv4.3*)
   9545       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9546       hardcode_shlibpath_var=no
   9547       export_dynamic_flag_spec='-Bexport'
   9548       ;;
   9549 
   9550     sysv4*MP*)
   9551       if test -d /usr/nec; then
   9552 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9553 	hardcode_shlibpath_var=no
   9554 	runpath_var=LD_RUN_PATH
   9555 	hardcode_runpath_var=yes
   9556 	ld_shlibs=yes
   9557       fi
   9558       ;;
   9559 
   9560     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9561       no_undefined_flag='${wl}-z,text'
   9562       archive_cmds_need_lc=no
   9563       hardcode_shlibpath_var=no
   9564       runpath_var='LD_RUN_PATH'
   9565 
   9566       if test "$GCC" = yes; then
   9567 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9568 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9569       else
   9570 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9571 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9572       fi
   9573       ;;
   9574 
   9575     sysv5* | sco3.2v5* | sco5v6*)
   9576       # Note: We can NOT use -z defs as we might desire, because we do not
   9577       # link with -lc, and that would cause any symbols used from libc to
   9578       # always be unresolved, which means just about no library would
   9579       # ever link correctly.  If we're not using GNU ld we use -z text
   9580       # though, which does catch some bad symbols but isn't as heavy-handed
   9581       # as -z defs.
   9582       no_undefined_flag='${wl}-z,text'
   9583       allow_undefined_flag='${wl}-z,nodefs'
   9584       archive_cmds_need_lc=no
   9585       hardcode_shlibpath_var=no
   9586       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9587       hardcode_libdir_separator=':'
   9588       link_all_deplibs=yes
   9589       export_dynamic_flag_spec='${wl}-Bexport'
   9590       runpath_var='LD_RUN_PATH'
   9591 
   9592       if test "$GCC" = yes; then
   9593 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9594 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9595       else
   9596 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9597 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9598       fi
   9599       ;;
   9600 
   9601     uts4*)
   9602       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9603       hardcode_libdir_flag_spec='-L$libdir'
   9604       hardcode_shlibpath_var=no
   9605       ;;
   9606 
   9607     *)
   9608       ld_shlibs=no
   9609       ;;
   9610     esac
   9611 
   9612     if test x$host_vendor = xsni; then
   9613       case $host in
   9614       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9615 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9616 	;;
   9617       esac
   9618     fi
   9619   fi
   9620 
   9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9622 $as_echo "$ld_shlibs" >&6; }
   9623 test "$ld_shlibs" = no && can_build_shared=no
   9624 
   9625 with_gnu_ld=$with_gnu_ld
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 #
   9642 # Do we need to explicitly link libc?
   9643 #
   9644 case "x$archive_cmds_need_lc" in
   9645 x|xyes)
   9646   # Assume -lc should be added
   9647   archive_cmds_need_lc=yes
   9648 
   9649   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9650     case $archive_cmds in
   9651     *'~'*)
   9652       # FIXME: we may have to deal with multi-command sequences.
   9653       ;;
   9654     '$CC '*)
   9655       # Test whether the compiler implicitly links with -lc since on some
   9656       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9657       # to ld, don't add -lc before -lgcc.
   9658       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9659 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9660 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9661   $as_echo_n "(cached) " >&6
   9662 else
   9663   $RM conftest*
   9664 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9665 
   9666 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9667   (eval $ac_compile) 2>&5
   9668   ac_status=$?
   9669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9670   test $ac_status = 0; } 2>conftest.err; then
   9671 	  soname=conftest
   9672 	  lib=conftest
   9673 	  libobjs=conftest.$ac_objext
   9674 	  deplibs=
   9675 	  wl=$lt_prog_compiler_wl
   9676 	  pic_flag=$lt_prog_compiler_pic
   9677 	  compiler_flags=-v
   9678 	  linker_flags=-v
   9679 	  verstring=
   9680 	  output_objdir=.
   9681 	  libname=conftest
   9682 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9683 	  allow_undefined_flag=
   9684 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9685   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9686   ac_status=$?
   9687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9688   test $ac_status = 0; }
   9689 	  then
   9690 	    lt_cv_archive_cmds_need_lc=no
   9691 	  else
   9692 	    lt_cv_archive_cmds_need_lc=yes
   9693 	  fi
   9694 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9695 	else
   9696 	  cat conftest.err 1>&5
   9697 	fi
   9698 	$RM conftest*
   9699 
   9700 fi
   9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9702 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9703       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9704       ;;
   9705     esac
   9706   fi
   9707   ;;
   9708 esac
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9862 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9863 
   9864 if test "$GCC" = yes; then
   9865   case $host_os in
   9866     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9867     *) lt_awk_arg="/^libraries:/" ;;
   9868   esac
   9869   case $host_os in
   9870     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9871     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9872   esac
   9873   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9874   case $lt_search_path_spec in
   9875   *\;*)
   9876     # if the path contains ";" then we assume it to be the separator
   9877     # otherwise default to the standard path separator (i.e. ":") - it is
   9878     # assumed that no part of a normal pathname contains ";" but that should
   9879     # okay in the real world where ";" in dirpaths is itself problematic.
   9880     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9881     ;;
   9882   *)
   9883     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9884     ;;
   9885   esac
   9886   # Ok, now we have the path, separated by spaces, we can step through it
   9887   # and add multilib dir if necessary.
   9888   lt_tmp_lt_search_path_spec=
   9889   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9890   for lt_sys_path in $lt_search_path_spec; do
   9891     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9892       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9893     else
   9894       test -d "$lt_sys_path" && \
   9895 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9896     fi
   9897   done
   9898   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9899 BEGIN {RS=" "; FS="/|\n";} {
   9900   lt_foo="";
   9901   lt_count=0;
   9902   for (lt_i = NF; lt_i > 0; lt_i--) {
   9903     if ($lt_i != "" && $lt_i != ".") {
   9904       if ($lt_i == "..") {
   9905         lt_count++;
   9906       } else {
   9907         if (lt_count == 0) {
   9908           lt_foo="/" $lt_i lt_foo;
   9909         } else {
   9910           lt_count--;
   9911         }
   9912       }
   9913     }
   9914   }
   9915   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9916   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9917 }'`
   9918   # AWK program above erroneously prepends '/' to C:/dos/paths
   9919   # for these hosts.
   9920   case $host_os in
   9921     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9922       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9923   esac
   9924   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9925 else
   9926   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9927 fi
   9928 library_names_spec=
   9929 libname_spec='lib$name'
   9930 soname_spec=
   9931 shrext_cmds=".so"
   9932 postinstall_cmds=
   9933 postuninstall_cmds=
   9934 finish_cmds=
   9935 finish_eval=
   9936 shlibpath_var=
   9937 shlibpath_overrides_runpath=unknown
   9938 version_type=none
   9939 dynamic_linker="$host_os ld.so"
   9940 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9941 need_lib_prefix=unknown
   9942 hardcode_into_libs=no
   9943 
   9944 # when you set need_version to no, make sure it does not cause -set_version
   9945 # flags to be left without arguments
   9946 need_version=unknown
   9947 
   9948 case $host_os in
   9949 aix3*)
   9950   version_type=linux # correct to gnu/linux during the next big refactor
   9951   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9952   shlibpath_var=LIBPATH
   9953 
   9954   # AIX 3 has no versioning support, so we append a major version to the name.
   9955   soname_spec='${libname}${release}${shared_ext}$major'
   9956   ;;
   9957 
   9958 aix[4-9]*)
   9959   version_type=linux # correct to gnu/linux during the next big refactor
   9960   need_lib_prefix=no
   9961   need_version=no
   9962   hardcode_into_libs=yes
   9963   if test "$host_cpu" = ia64; then
   9964     # AIX 5 supports IA64
   9965     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9966     shlibpath_var=LD_LIBRARY_PATH
   9967   else
   9968     # With GCC up to 2.95.x, collect2 would create an import file
   9969     # for dependence libraries.  The import file would start with
   9970     # the line `#! .'.  This would cause the generated library to
   9971     # depend on `.', always an invalid library.  This was fixed in
   9972     # development snapshots of GCC prior to 3.0.
   9973     case $host_os in
   9974       aix4 | aix4.[01] | aix4.[01].*)
   9975       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9976 	   echo ' yes '
   9977 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9978 	:
   9979       else
   9980 	can_build_shared=no
   9981       fi
   9982       ;;
   9983     esac
   9984     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9985     # soname into executable. Probably we can add versioning support to
   9986     # collect2, so additional links can be useful in future.
   9987     if test "$aix_use_runtimelinking" = yes; then
   9988       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9989       # instead of lib<name>.a to let people know that these are not
   9990       # typical AIX shared libraries.
   9991       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9992     else
   9993       # We preserve .a as extension for shared libraries through AIX4.2
   9994       # and later when we are not doing run time linking.
   9995       library_names_spec='${libname}${release}.a $libname.a'
   9996       soname_spec='${libname}${release}${shared_ext}$major'
   9997     fi
   9998     shlibpath_var=LIBPATH
   9999   fi
   10000   ;;
   10001 
   10002 amigaos*)
   10003   case $host_cpu in
   10004   powerpc)
   10005     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10006     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10007     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10008     ;;
   10009   m68k)
   10010     library_names_spec='$libname.ixlibrary $libname.a'
   10011     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10012     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10013     ;;
   10014   esac
   10015   ;;
   10016 
   10017 beos*)
   10018   library_names_spec='${libname}${shared_ext}'
   10019   dynamic_linker="$host_os ld.so"
   10020   shlibpath_var=LIBRARY_PATH
   10021   ;;
   10022 
   10023 bsdi[45]*)
   10024   version_type=linux # correct to gnu/linux during the next big refactor
   10025   need_version=no
   10026   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10027   soname_spec='${libname}${release}${shared_ext}$major'
   10028   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10029   shlibpath_var=LD_LIBRARY_PATH
   10030   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10031   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10032   # the default ld.so.conf also contains /usr/contrib/lib and
   10033   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10034   # libtool to hard-code these into programs
   10035   ;;
   10036 
   10037 cygwin* | mingw* | pw32* | cegcc*)
   10038   version_type=windows
   10039   shrext_cmds=".dll"
   10040   need_version=no
   10041   need_lib_prefix=no
   10042 
   10043   case $GCC,$cc_basename in
   10044   yes,*)
   10045     # gcc
   10046     library_names_spec='$libname.dll.a'
   10047     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10048     postinstall_cmds='base_file=`basename \${file}`~
   10049       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10050       dldir=$destdir/`dirname \$dlpath`~
   10051       test -d \$dldir || mkdir -p \$dldir~
   10052       $install_prog $dir/$dlname \$dldir/$dlname~
   10053       chmod a+x \$dldir/$dlname~
   10054       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10055         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10056       fi'
   10057     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10058       dlpath=$dir/\$dldll~
   10059        $RM \$dlpath'
   10060     shlibpath_overrides_runpath=yes
   10061 
   10062     case $host_os in
   10063     cygwin*)
   10064       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10065       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10066 
   10067       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10068       ;;
   10069     mingw* | cegcc*)
   10070       # MinGW DLLs use traditional 'lib' prefix
   10071       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10072       ;;
   10073     pw32*)
   10074       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10075       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10076       ;;
   10077     esac
   10078     dynamic_linker='Win32 ld.exe'
   10079     ;;
   10080 
   10081   *,cl*)
   10082     # Native MSVC
   10083     libname_spec='$name'
   10084     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10085     library_names_spec='${libname}.dll.lib'
   10086 
   10087     case $build_os in
   10088     mingw*)
   10089       sys_lib_search_path_spec=
   10090       lt_save_ifs=$IFS
   10091       IFS=';'
   10092       for lt_path in $LIB
   10093       do
   10094         IFS=$lt_save_ifs
   10095         # Let DOS variable expansion print the short 8.3 style file name.
   10096         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10097         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10098       done
   10099       IFS=$lt_save_ifs
   10100       # Convert to MSYS style.
   10101       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10102       ;;
   10103     cygwin*)
   10104       # Convert to unix form, then to dos form, then back to unix form
   10105       # but this time dos style (no spaces!) so that the unix form looks
   10106       # like /cygdrive/c/PROGRA~1:/cygdr...
   10107       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10108       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10109       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10110       ;;
   10111     *)
   10112       sys_lib_search_path_spec="$LIB"
   10113       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10114         # It is most probably a Windows format PATH.
   10115         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10116       else
   10117         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10118       fi
   10119       # FIXME: find the short name or the path components, as spaces are
   10120       # common. (e.g. "Program Files" -> "PROGRA~1")
   10121       ;;
   10122     esac
   10123 
   10124     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10125     postinstall_cmds='base_file=`basename \${file}`~
   10126       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10127       dldir=$destdir/`dirname \$dlpath`~
   10128       test -d \$dldir || mkdir -p \$dldir~
   10129       $install_prog $dir/$dlname \$dldir/$dlname'
   10130     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10131       dlpath=$dir/\$dldll~
   10132        $RM \$dlpath'
   10133     shlibpath_overrides_runpath=yes
   10134     dynamic_linker='Win32 link.exe'
   10135     ;;
   10136 
   10137   *)
   10138     # Assume MSVC wrapper
   10139     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10140     dynamic_linker='Win32 ld.exe'
   10141     ;;
   10142   esac
   10143   # FIXME: first we should search . and the directory the executable is in
   10144   shlibpath_var=PATH
   10145   ;;
   10146 
   10147 darwin* | rhapsody*)
   10148   dynamic_linker="$host_os dyld"
   10149   version_type=darwin
   10150   need_lib_prefix=no
   10151   need_version=no
   10152   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10153   soname_spec='${libname}${release}${major}$shared_ext'
   10154   shlibpath_overrides_runpath=yes
   10155   shlibpath_var=DYLD_LIBRARY_PATH
   10156   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10157 
   10158   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10159   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10160   ;;
   10161 
   10162 dgux*)
   10163   version_type=linux # correct to gnu/linux during the next big refactor
   10164   need_lib_prefix=no
   10165   need_version=no
   10166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10167   soname_spec='${libname}${release}${shared_ext}$major'
   10168   shlibpath_var=LD_LIBRARY_PATH
   10169   ;;
   10170 
   10171 freebsd* | dragonfly*)
   10172   # DragonFly does not have aout.  When/if they implement a new
   10173   # versioning mechanism, adjust this.
   10174   if test -x /usr/bin/objformat; then
   10175     objformat=`/usr/bin/objformat`
   10176   else
   10177     case $host_os in
   10178     freebsd[23].*) objformat=aout ;;
   10179     *) objformat=elf ;;
   10180     esac
   10181   fi
   10182   version_type=freebsd-$objformat
   10183   case $version_type in
   10184     freebsd-elf*)
   10185       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10186       need_version=no
   10187       need_lib_prefix=no
   10188       ;;
   10189     freebsd-*)
   10190       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10191       need_version=yes
   10192       ;;
   10193   esac
   10194   shlibpath_var=LD_LIBRARY_PATH
   10195   case $host_os in
   10196   freebsd2.*)
   10197     shlibpath_overrides_runpath=yes
   10198     ;;
   10199   freebsd3.[01]* | freebsdelf3.[01]*)
   10200     shlibpath_overrides_runpath=yes
   10201     hardcode_into_libs=yes
   10202     ;;
   10203   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10204   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10205     shlibpath_overrides_runpath=no
   10206     hardcode_into_libs=yes
   10207     ;;
   10208   *) # from 4.6 on, and DragonFly
   10209     shlibpath_overrides_runpath=yes
   10210     hardcode_into_libs=yes
   10211     ;;
   10212   esac
   10213   ;;
   10214 
   10215 gnu*)
   10216   version_type=linux # correct to gnu/linux during the next big refactor
   10217   need_lib_prefix=no
   10218   need_version=no
   10219   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10220   soname_spec='${libname}${release}${shared_ext}$major'
   10221   shlibpath_var=LD_LIBRARY_PATH
   10222   shlibpath_overrides_runpath=no
   10223   hardcode_into_libs=yes
   10224   ;;
   10225 
   10226 haiku*)
   10227   version_type=linux # correct to gnu/linux during the next big refactor
   10228   need_lib_prefix=no
   10229   need_version=no
   10230   dynamic_linker="$host_os runtime_loader"
   10231   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10232   soname_spec='${libname}${release}${shared_ext}$major'
   10233   shlibpath_var=LIBRARY_PATH
   10234   shlibpath_overrides_runpath=yes
   10235   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10236   hardcode_into_libs=yes
   10237   ;;
   10238 
   10239 hpux9* | hpux10* | hpux11*)
   10240   # Give a soname corresponding to the major version so that dld.sl refuses to
   10241   # link against other versions.
   10242   version_type=sunos
   10243   need_lib_prefix=no
   10244   need_version=no
   10245   case $host_cpu in
   10246   ia64*)
   10247     shrext_cmds='.so'
   10248     hardcode_into_libs=yes
   10249     dynamic_linker="$host_os dld.so"
   10250     shlibpath_var=LD_LIBRARY_PATH
   10251     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10252     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10253     soname_spec='${libname}${release}${shared_ext}$major'
   10254     if test "X$HPUX_IA64_MODE" = X32; then
   10255       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10256     else
   10257       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10258     fi
   10259     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10260     ;;
   10261   hppa*64*)
   10262     shrext_cmds='.sl'
   10263     hardcode_into_libs=yes
   10264     dynamic_linker="$host_os dld.sl"
   10265     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10266     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10267     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10268     soname_spec='${libname}${release}${shared_ext}$major'
   10269     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10270     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10271     ;;
   10272   *)
   10273     shrext_cmds='.sl'
   10274     dynamic_linker="$host_os dld.sl"
   10275     shlibpath_var=SHLIB_PATH
   10276     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10277     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10278     soname_spec='${libname}${release}${shared_ext}$major'
   10279     ;;
   10280   esac
   10281   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10282   postinstall_cmds='chmod 555 $lib'
   10283   # or fails outright, so override atomically:
   10284   install_override_mode=555
   10285   ;;
   10286 
   10287 interix[3-9]*)
   10288   version_type=linux # correct to gnu/linux during the next big refactor
   10289   need_lib_prefix=no
   10290   need_version=no
   10291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10292   soname_spec='${libname}${release}${shared_ext}$major'
   10293   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10294   shlibpath_var=LD_LIBRARY_PATH
   10295   shlibpath_overrides_runpath=no
   10296   hardcode_into_libs=yes
   10297   ;;
   10298 
   10299 irix5* | irix6* | nonstopux*)
   10300   case $host_os in
   10301     nonstopux*) version_type=nonstopux ;;
   10302     *)
   10303 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10304 		version_type=linux # correct to gnu/linux during the next big refactor
   10305 	else
   10306 		version_type=irix
   10307 	fi ;;
   10308   esac
   10309   need_lib_prefix=no
   10310   need_version=no
   10311   soname_spec='${libname}${release}${shared_ext}$major'
   10312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10313   case $host_os in
   10314   irix5* | nonstopux*)
   10315     libsuff= shlibsuff=
   10316     ;;
   10317   *)
   10318     case $LD in # libtool.m4 will add one of these switches to LD
   10319     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10320       libsuff= shlibsuff= libmagic=32-bit;;
   10321     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10322       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10323     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10324       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10325     *) libsuff= shlibsuff= libmagic=never-match;;
   10326     esac
   10327     ;;
   10328   esac
   10329   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10330   shlibpath_overrides_runpath=no
   10331   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10332   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10333   hardcode_into_libs=yes
   10334   ;;
   10335 
   10336 # No shared lib support for Linux oldld, aout, or coff.
   10337 linux*oldld* | linux*aout* | linux*coff*)
   10338   dynamic_linker=no
   10339   ;;
   10340 
   10341 # This must be glibc/ELF.
   10342 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10343   version_type=linux # correct to gnu/linux during the next big refactor
   10344   need_lib_prefix=no
   10345   need_version=no
   10346   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10347   soname_spec='${libname}${release}${shared_ext}$major'
   10348   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10349   shlibpath_var=LD_LIBRARY_PATH
   10350   shlibpath_overrides_runpath=no
   10351 
   10352   # Some binutils ld are patched to set DT_RUNPATH
   10353   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10354   $as_echo_n "(cached) " >&6
   10355 else
   10356   lt_cv_shlibpath_overrides_runpath=no
   10357     save_LDFLAGS=$LDFLAGS
   10358     save_libdir=$libdir
   10359     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10360 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10361     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10362 /* end confdefs.h.  */
   10363 
   10364 int
   10365 main ()
   10366 {
   10367 
   10368   ;
   10369   return 0;
   10370 }
   10371 _ACEOF
   10372 if ac_fn_c_try_link "$LINENO"; then :
   10373   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10374   lt_cv_shlibpath_overrides_runpath=yes
   10375 fi
   10376 fi
   10377 rm -f core conftest.err conftest.$ac_objext \
   10378     conftest$ac_exeext conftest.$ac_ext
   10379     LDFLAGS=$save_LDFLAGS
   10380     libdir=$save_libdir
   10381 
   10382 fi
   10383 
   10384   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10385 
   10386   # This implies no fast_install, which is unacceptable.
   10387   # Some rework will be needed to allow for fast_install
   10388   # before this can be enabled.
   10389   hardcode_into_libs=yes
   10390 
   10391   # Add ABI-specific directories to the system library path.
   10392   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   10393 
   10394   # Append ld.so.conf contents to the search path
   10395   if test -f /etc/ld.so.conf; then
   10396     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   10397     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10398 
   10399   fi
   10400 
   10401   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10402   # powerpc, because MkLinux only supported shared libraries with the
   10403   # GNU dynamic linker.  Since this was broken with cross compilers,
   10404   # most powerpc-linux boxes support dynamic linking these days and
   10405   # people can always --disable-shared, the test was removed, and we
   10406   # assume the GNU/Linux dynamic linker is in use.
   10407   dynamic_linker='GNU/Linux ld.so'
   10408   ;;
   10409 
   10410 netbsd*)
   10411   version_type=sunos
   10412   need_lib_prefix=no
   10413   need_version=no
   10414   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10415     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10416     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10417     dynamic_linker='NetBSD (a.out) ld.so'
   10418   else
   10419     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10420     soname_spec='${libname}${release}${shared_ext}$major'
   10421     dynamic_linker='NetBSD ld.elf_so'
   10422   fi
   10423   shlibpath_var=LD_LIBRARY_PATH
   10424   shlibpath_overrides_runpath=yes
   10425   hardcode_into_libs=yes
   10426   ;;
   10427 
   10428 newsos6)
   10429   version_type=linux # correct to gnu/linux during the next big refactor
   10430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10431   shlibpath_var=LD_LIBRARY_PATH
   10432   shlibpath_overrides_runpath=yes
   10433   ;;
   10434 
   10435 *nto* | *qnx*)
   10436   version_type=qnx
   10437   need_lib_prefix=no
   10438   need_version=no
   10439   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10440   soname_spec='${libname}${release}${shared_ext}$major'
   10441   shlibpath_var=LD_LIBRARY_PATH
   10442   shlibpath_overrides_runpath=no
   10443   hardcode_into_libs=yes
   10444   dynamic_linker='ldqnx.so'
   10445   ;;
   10446 
   10447 openbsd*)
   10448   version_type=sunos
   10449   sys_lib_dlsearch_path_spec="/usr/lib"
   10450   need_lib_prefix=no
   10451   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10452   case $host_os in
   10453     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10454     *)				need_version=no  ;;
   10455   esac
   10456   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10457   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10458   shlibpath_var=LD_LIBRARY_PATH
   10459   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10460     case $host_os in
   10461       openbsd2.[89] | openbsd2.[89].*)
   10462 	shlibpath_overrides_runpath=no
   10463 	;;
   10464       *)
   10465 	shlibpath_overrides_runpath=yes
   10466 	;;
   10467       esac
   10468   else
   10469     shlibpath_overrides_runpath=yes
   10470   fi
   10471   ;;
   10472 
   10473 os2*)
   10474   libname_spec='$name'
   10475   shrext_cmds=".dll"
   10476   need_lib_prefix=no
   10477   library_names_spec='$libname${shared_ext} $libname.a'
   10478   dynamic_linker='OS/2 ld.exe'
   10479   shlibpath_var=LIBPATH
   10480   ;;
   10481 
   10482 osf3* | osf4* | osf5*)
   10483   version_type=osf
   10484   need_lib_prefix=no
   10485   need_version=no
   10486   soname_spec='${libname}${release}${shared_ext}$major'
   10487   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10488   shlibpath_var=LD_LIBRARY_PATH
   10489   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10490   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10491   ;;
   10492 
   10493 rdos*)
   10494   dynamic_linker=no
   10495   ;;
   10496 
   10497 solaris*)
   10498   version_type=linux # correct to gnu/linux during the next big refactor
   10499   need_lib_prefix=no
   10500   need_version=no
   10501   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10502   soname_spec='${libname}${release}${shared_ext}$major'
   10503   shlibpath_var=LD_LIBRARY_PATH
   10504   shlibpath_overrides_runpath=yes
   10505   hardcode_into_libs=yes
   10506   # ldd complains unless libraries are executable
   10507   postinstall_cmds='chmod +x $lib'
   10508   ;;
   10509 
   10510 sunos4*)
   10511   version_type=sunos
   10512   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10513   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10514   shlibpath_var=LD_LIBRARY_PATH
   10515   shlibpath_overrides_runpath=yes
   10516   if test "$with_gnu_ld" = yes; then
   10517     need_lib_prefix=no
   10518   fi
   10519   need_version=yes
   10520   ;;
   10521 
   10522 sysv4 | sysv4.3*)
   10523   version_type=linux # correct to gnu/linux during the next big refactor
   10524   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10525   soname_spec='${libname}${release}${shared_ext}$major'
   10526   shlibpath_var=LD_LIBRARY_PATH
   10527   case $host_vendor in
   10528     sni)
   10529       shlibpath_overrides_runpath=no
   10530       need_lib_prefix=no
   10531       runpath_var=LD_RUN_PATH
   10532       ;;
   10533     siemens)
   10534       need_lib_prefix=no
   10535       ;;
   10536     motorola)
   10537       need_lib_prefix=no
   10538       need_version=no
   10539       shlibpath_overrides_runpath=no
   10540       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10541       ;;
   10542   esac
   10543   ;;
   10544 
   10545 sysv4*MP*)
   10546   if test -d /usr/nec ;then
   10547     version_type=linux # correct to gnu/linux during the next big refactor
   10548     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10549     soname_spec='$libname${shared_ext}.$major'
   10550     shlibpath_var=LD_LIBRARY_PATH
   10551   fi
   10552   ;;
   10553 
   10554 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10555   version_type=freebsd-elf
   10556   need_lib_prefix=no
   10557   need_version=no
   10558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10559   soname_spec='${libname}${release}${shared_ext}$major'
   10560   shlibpath_var=LD_LIBRARY_PATH
   10561   shlibpath_overrides_runpath=yes
   10562   hardcode_into_libs=yes
   10563   if test "$with_gnu_ld" = yes; then
   10564     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10565   else
   10566     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10567     case $host_os in
   10568       sco3.2v5*)
   10569         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10570 	;;
   10571     esac
   10572   fi
   10573   sys_lib_dlsearch_path_spec='/usr/lib'
   10574   ;;
   10575 
   10576 tpf*)
   10577   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10578   version_type=linux # correct to gnu/linux during the next big refactor
   10579   need_lib_prefix=no
   10580   need_version=no
   10581   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10582   shlibpath_var=LD_LIBRARY_PATH
   10583   shlibpath_overrides_runpath=no
   10584   hardcode_into_libs=yes
   10585   ;;
   10586 
   10587 uts4*)
   10588   version_type=linux # correct to gnu/linux during the next big refactor
   10589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10590   soname_spec='${libname}${release}${shared_ext}$major'
   10591   shlibpath_var=LD_LIBRARY_PATH
   10592   ;;
   10593 
   10594 *)
   10595   dynamic_linker=no
   10596   ;;
   10597 esac
   10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10599 $as_echo "$dynamic_linker" >&6; }
   10600 test "$dynamic_linker" = no && can_build_shared=no
   10601 
   10602 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10603 if test "$GCC" = yes; then
   10604   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10605 fi
   10606 
   10607 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10608   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10609 fi
   10610 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10611   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10612 fi
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10706 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10707 hardcode_action=
   10708 if test -n "$hardcode_libdir_flag_spec" ||
   10709    test -n "$runpath_var" ||
   10710    test "X$hardcode_automatic" = "Xyes" ; then
   10711 
   10712   # We can hardcode non-existent directories.
   10713   if test "$hardcode_direct" != no &&
   10714      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10715      # have to relink, otherwise we might link with an installed library
   10716      # when we should be linking with a yet-to-be-installed one
   10717      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10718      test "$hardcode_minus_L" != no; then
   10719     # Linking always hardcodes the temporary library directory.
   10720     hardcode_action=relink
   10721   else
   10722     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10723     hardcode_action=immediate
   10724   fi
   10725 else
   10726   # We cannot hardcode anything, or else we can only hardcode existing
   10727   # directories.
   10728   hardcode_action=unsupported
   10729 fi
   10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10731 $as_echo "$hardcode_action" >&6; }
   10732 
   10733 if test "$hardcode_action" = relink ||
   10734    test "$inherit_rpath" = yes; then
   10735   # Fast installation is not supported
   10736   enable_fast_install=no
   10737 elif test "$shlibpath_overrides_runpath" = yes ||
   10738      test "$enable_shared" = no; then
   10739   # Fast installation is not necessary
   10740   enable_fast_install=needless
   10741 fi
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748   if test "x$enable_dlopen" != xyes; then
   10749   enable_dlopen=unknown
   10750   enable_dlopen_self=unknown
   10751   enable_dlopen_self_static=unknown
   10752 else
   10753   lt_cv_dlopen=no
   10754   lt_cv_dlopen_libs=
   10755 
   10756   case $host_os in
   10757   beos*)
   10758     lt_cv_dlopen="load_add_on"
   10759     lt_cv_dlopen_libs=
   10760     lt_cv_dlopen_self=yes
   10761     ;;
   10762 
   10763   mingw* | pw32* | cegcc*)
   10764     lt_cv_dlopen="LoadLibrary"
   10765     lt_cv_dlopen_libs=
   10766     ;;
   10767 
   10768   cygwin*)
   10769     lt_cv_dlopen="dlopen"
   10770     lt_cv_dlopen_libs=
   10771     ;;
   10772 
   10773   darwin*)
   10774   # if libdl is installed we need to link against it
   10775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10776 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10777 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10778   $as_echo_n "(cached) " >&6
   10779 else
   10780   ac_check_lib_save_LIBS=$LIBS
   10781 LIBS="-ldl  $LIBS"
   10782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10783 /* end confdefs.h.  */
   10784 
   10785 /* Override any GCC internal prototype to avoid an error.
   10786    Use char because int might match the return type of a GCC
   10787    builtin and then its argument prototype would still apply.  */
   10788 #ifdef __cplusplus
   10789 extern "C"
   10790 #endif
   10791 char dlopen ();
   10792 int
   10793 main ()
   10794 {
   10795 return dlopen ();
   10796   ;
   10797   return 0;
   10798 }
   10799 _ACEOF
   10800 if ac_fn_c_try_link "$LINENO"; then :
   10801   ac_cv_lib_dl_dlopen=yes
   10802 else
   10803   ac_cv_lib_dl_dlopen=no
   10804 fi
   10805 rm -f core conftest.err conftest.$ac_objext \
   10806     conftest$ac_exeext conftest.$ac_ext
   10807 LIBS=$ac_check_lib_save_LIBS
   10808 fi
   10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10810 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10811 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10812   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10813 else
   10814 
   10815     lt_cv_dlopen="dyld"
   10816     lt_cv_dlopen_libs=
   10817     lt_cv_dlopen_self=yes
   10818 
   10819 fi
   10820 
   10821     ;;
   10822 
   10823   *)
   10824     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10825 if test "x$ac_cv_func_shl_load" = xyes; then :
   10826   lt_cv_dlopen="shl_load"
   10827 else
   10828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10829 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10830 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10831   $as_echo_n "(cached) " >&6
   10832 else
   10833   ac_check_lib_save_LIBS=$LIBS
   10834 LIBS="-ldld  $LIBS"
   10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10836 /* end confdefs.h.  */
   10837 
   10838 /* Override any GCC internal prototype to avoid an error.
   10839    Use char because int might match the return type of a GCC
   10840    builtin and then its argument prototype would still apply.  */
   10841 #ifdef __cplusplus
   10842 extern "C"
   10843 #endif
   10844 char shl_load ();
   10845 int
   10846 main ()
   10847 {
   10848 return shl_load ();
   10849   ;
   10850   return 0;
   10851 }
   10852 _ACEOF
   10853 if ac_fn_c_try_link "$LINENO"; then :
   10854   ac_cv_lib_dld_shl_load=yes
   10855 else
   10856   ac_cv_lib_dld_shl_load=no
   10857 fi
   10858 rm -f core conftest.err conftest.$ac_objext \
   10859     conftest$ac_exeext conftest.$ac_ext
   10860 LIBS=$ac_check_lib_save_LIBS
   10861 fi
   10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10863 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10864 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10865   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10866 else
   10867   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10868 if test "x$ac_cv_func_dlopen" = xyes; then :
   10869   lt_cv_dlopen="dlopen"
   10870 else
   10871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10872 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10873 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10874   $as_echo_n "(cached) " >&6
   10875 else
   10876   ac_check_lib_save_LIBS=$LIBS
   10877 LIBS="-ldl  $LIBS"
   10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10879 /* end confdefs.h.  */
   10880 
   10881 /* Override any GCC internal prototype to avoid an error.
   10882    Use char because int might match the return type of a GCC
   10883    builtin and then its argument prototype would still apply.  */
   10884 #ifdef __cplusplus
   10885 extern "C"
   10886 #endif
   10887 char dlopen ();
   10888 int
   10889 main ()
   10890 {
   10891 return dlopen ();
   10892   ;
   10893   return 0;
   10894 }
   10895 _ACEOF
   10896 if ac_fn_c_try_link "$LINENO"; then :
   10897   ac_cv_lib_dl_dlopen=yes
   10898 else
   10899   ac_cv_lib_dl_dlopen=no
   10900 fi
   10901 rm -f core conftest.err conftest.$ac_objext \
   10902     conftest$ac_exeext conftest.$ac_ext
   10903 LIBS=$ac_check_lib_save_LIBS
   10904 fi
   10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10906 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10907 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10908   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10909 else
   10910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10911 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10912 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10913   $as_echo_n "(cached) " >&6
   10914 else
   10915   ac_check_lib_save_LIBS=$LIBS
   10916 LIBS="-lsvld  $LIBS"
   10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10918 /* end confdefs.h.  */
   10919 
   10920 /* Override any GCC internal prototype to avoid an error.
   10921    Use char because int might match the return type of a GCC
   10922    builtin and then its argument prototype would still apply.  */
   10923 #ifdef __cplusplus
   10924 extern "C"
   10925 #endif
   10926 char dlopen ();
   10927 int
   10928 main ()
   10929 {
   10930 return dlopen ();
   10931   ;
   10932   return 0;
   10933 }
   10934 _ACEOF
   10935 if ac_fn_c_try_link "$LINENO"; then :
   10936   ac_cv_lib_svld_dlopen=yes
   10937 else
   10938   ac_cv_lib_svld_dlopen=no
   10939 fi
   10940 rm -f core conftest.err conftest.$ac_objext \
   10941     conftest$ac_exeext conftest.$ac_ext
   10942 LIBS=$ac_check_lib_save_LIBS
   10943 fi
   10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10945 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10946 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10947   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10948 else
   10949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10950 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10951 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10952   $as_echo_n "(cached) " >&6
   10953 else
   10954   ac_check_lib_save_LIBS=$LIBS
   10955 LIBS="-ldld  $LIBS"
   10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10957 /* end confdefs.h.  */
   10958 
   10959 /* Override any GCC internal prototype to avoid an error.
   10960    Use char because int might match the return type of a GCC
   10961    builtin and then its argument prototype would still apply.  */
   10962 #ifdef __cplusplus
   10963 extern "C"
   10964 #endif
   10965 char dld_link ();
   10966 int
   10967 main ()
   10968 {
   10969 return dld_link ();
   10970   ;
   10971   return 0;
   10972 }
   10973 _ACEOF
   10974 if ac_fn_c_try_link "$LINENO"; then :
   10975   ac_cv_lib_dld_dld_link=yes
   10976 else
   10977   ac_cv_lib_dld_dld_link=no
   10978 fi
   10979 rm -f core conftest.err conftest.$ac_objext \
   10980     conftest$ac_exeext conftest.$ac_ext
   10981 LIBS=$ac_check_lib_save_LIBS
   10982 fi
   10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10984 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10985 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10986   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10987 fi
   10988 
   10989 
   10990 fi
   10991 
   10992 
   10993 fi
   10994 
   10995 
   10996 fi
   10997 
   10998 
   10999 fi
   11000 
   11001 
   11002 fi
   11003 
   11004     ;;
   11005   esac
   11006 
   11007   if test "x$lt_cv_dlopen" != xno; then
   11008     enable_dlopen=yes
   11009   else
   11010     enable_dlopen=no
   11011   fi
   11012 
   11013   case $lt_cv_dlopen in
   11014   dlopen)
   11015     save_CPPFLAGS="$CPPFLAGS"
   11016     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11017 
   11018     save_LDFLAGS="$LDFLAGS"
   11019     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11020 
   11021     save_LIBS="$LIBS"
   11022     LIBS="$lt_cv_dlopen_libs $LIBS"
   11023 
   11024     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11025 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11026 if ${lt_cv_dlopen_self+:} false; then :
   11027   $as_echo_n "(cached) " >&6
   11028 else
   11029   	  if test "$cross_compiling" = yes; then :
   11030   lt_cv_dlopen_self=cross
   11031 else
   11032   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11033   lt_status=$lt_dlunknown
   11034   cat > conftest.$ac_ext <<_LT_EOF
   11035 #line $LINENO "configure"
   11036 #include "confdefs.h"
   11037 
   11038 #if HAVE_DLFCN_H
   11039 #include <dlfcn.h>
   11040 #endif
   11041 
   11042 #include <stdio.h>
   11043 
   11044 #ifdef RTLD_GLOBAL
   11045 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11046 #else
   11047 #  ifdef DL_GLOBAL
   11048 #    define LT_DLGLOBAL		DL_GLOBAL
   11049 #  else
   11050 #    define LT_DLGLOBAL		0
   11051 #  endif
   11052 #endif
   11053 
   11054 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11055    find out it does not work in some platform. */
   11056 #ifndef LT_DLLAZY_OR_NOW
   11057 #  ifdef RTLD_LAZY
   11058 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11059 #  else
   11060 #    ifdef DL_LAZY
   11061 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11062 #    else
   11063 #      ifdef RTLD_NOW
   11064 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11065 #      else
   11066 #        ifdef DL_NOW
   11067 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11068 #        else
   11069 #          define LT_DLLAZY_OR_NOW	0
   11070 #        endif
   11071 #      endif
   11072 #    endif
   11073 #  endif
   11074 #endif
   11075 
   11076 /* When -fvisbility=hidden is used, assume the code has been annotated
   11077    correspondingly for the symbols needed.  */
   11078 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11079 int fnord () __attribute__((visibility("default")));
   11080 #endif
   11081 
   11082 int fnord () { return 42; }
   11083 int main ()
   11084 {
   11085   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11086   int status = $lt_dlunknown;
   11087 
   11088   if (self)
   11089     {
   11090       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11091       else
   11092         {
   11093 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11094           else puts (dlerror ());
   11095 	}
   11096       /* dlclose (self); */
   11097     }
   11098   else
   11099     puts (dlerror ());
   11100 
   11101   return status;
   11102 }
   11103 _LT_EOF
   11104   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11105   (eval $ac_link) 2>&5
   11106   ac_status=$?
   11107   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11108   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11109     (./conftest; exit; ) >&5 2>/dev/null
   11110     lt_status=$?
   11111     case x$lt_status in
   11112       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11113       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11114       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11115     esac
   11116   else :
   11117     # compilation failed
   11118     lt_cv_dlopen_self=no
   11119   fi
   11120 fi
   11121 rm -fr conftest*
   11122 
   11123 
   11124 fi
   11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11126 $as_echo "$lt_cv_dlopen_self" >&6; }
   11127 
   11128     if test "x$lt_cv_dlopen_self" = xyes; then
   11129       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11130       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11131 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11132 if ${lt_cv_dlopen_self_static+:} false; then :
   11133   $as_echo_n "(cached) " >&6
   11134 else
   11135   	  if test "$cross_compiling" = yes; then :
   11136   lt_cv_dlopen_self_static=cross
   11137 else
   11138   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11139   lt_status=$lt_dlunknown
   11140   cat > conftest.$ac_ext <<_LT_EOF
   11141 #line $LINENO "configure"
   11142 #include "confdefs.h"
   11143 
   11144 #if HAVE_DLFCN_H
   11145 #include <dlfcn.h>
   11146 #endif
   11147 
   11148 #include <stdio.h>
   11149 
   11150 #ifdef RTLD_GLOBAL
   11151 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11152 #else
   11153 #  ifdef DL_GLOBAL
   11154 #    define LT_DLGLOBAL		DL_GLOBAL
   11155 #  else
   11156 #    define LT_DLGLOBAL		0
   11157 #  endif
   11158 #endif
   11159 
   11160 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11161    find out it does not work in some platform. */
   11162 #ifndef LT_DLLAZY_OR_NOW
   11163 #  ifdef RTLD_LAZY
   11164 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11165 #  else
   11166 #    ifdef DL_LAZY
   11167 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11168 #    else
   11169 #      ifdef RTLD_NOW
   11170 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11171 #      else
   11172 #        ifdef DL_NOW
   11173 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11174 #        else
   11175 #          define LT_DLLAZY_OR_NOW	0
   11176 #        endif
   11177 #      endif
   11178 #    endif
   11179 #  endif
   11180 #endif
   11181 
   11182 /* When -fvisbility=hidden is used, assume the code has been annotated
   11183    correspondingly for the symbols needed.  */
   11184 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11185 int fnord () __attribute__((visibility("default")));
   11186 #endif
   11187 
   11188 int fnord () { return 42; }
   11189 int main ()
   11190 {
   11191   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11192   int status = $lt_dlunknown;
   11193 
   11194   if (self)
   11195     {
   11196       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11197       else
   11198         {
   11199 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11200           else puts (dlerror ());
   11201 	}
   11202       /* dlclose (self); */
   11203     }
   11204   else
   11205     puts (dlerror ());
   11206 
   11207   return status;
   11208 }
   11209 _LT_EOF
   11210   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11211   (eval $ac_link) 2>&5
   11212   ac_status=$?
   11213   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11214   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11215     (./conftest; exit; ) >&5 2>/dev/null
   11216     lt_status=$?
   11217     case x$lt_status in
   11218       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11219       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11220       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11221     esac
   11222   else :
   11223     # compilation failed
   11224     lt_cv_dlopen_self_static=no
   11225   fi
   11226 fi
   11227 rm -fr conftest*
   11228 
   11229 
   11230 fi
   11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11232 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11233     fi
   11234 
   11235     CPPFLAGS="$save_CPPFLAGS"
   11236     LDFLAGS="$save_LDFLAGS"
   11237     LIBS="$save_LIBS"
   11238     ;;
   11239   esac
   11240 
   11241   case $lt_cv_dlopen_self in
   11242   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11243   *) enable_dlopen_self=unknown ;;
   11244   esac
   11245 
   11246   case $lt_cv_dlopen_self_static in
   11247   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11248   *) enable_dlopen_self_static=unknown ;;
   11249   esac
   11250 fi
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 striplib=
   11269 old_striplib=
   11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11271 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11272 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11273   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11274   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11276 $as_echo "yes" >&6; }
   11277 else
   11278 # FIXME - insert some real tests, host_os isn't really good enough
   11279   case $host_os in
   11280   darwin*)
   11281     if test -n "$STRIP" ; then
   11282       striplib="$STRIP -x"
   11283       old_striplib="$STRIP -S"
   11284       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11285 $as_echo "yes" >&6; }
   11286     else
   11287       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11288 $as_echo "no" >&6; }
   11289     fi
   11290     ;;
   11291   *)
   11292     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11293 $as_echo "no" >&6; }
   11294     ;;
   11295   esac
   11296 fi
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309   # Report which library types will actually be built
   11310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11311 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11313 $as_echo "$can_build_shared" >&6; }
   11314 
   11315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11316 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11317   test "$can_build_shared" = "no" && enable_shared=no
   11318 
   11319   # On AIX, shared libraries and static libraries use the same namespace, and
   11320   # are all built from PIC.
   11321   case $host_os in
   11322   aix3*)
   11323     test "$enable_shared" = yes && enable_static=no
   11324     if test -n "$RANLIB"; then
   11325       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11326       postinstall_cmds='$RANLIB $lib'
   11327     fi
   11328     ;;
   11329 
   11330   aix[4-9]*)
   11331     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11332       test "$enable_shared" = yes && enable_static=no
   11333     fi
   11334     ;;
   11335   esac
   11336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11337 $as_echo "$enable_shared" >&6; }
   11338 
   11339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11340 $as_echo_n "checking whether to build static libraries... " >&6; }
   11341   # Make sure either enable_shared or enable_static is yes.
   11342   test "$enable_shared" = yes || enable_static=yes
   11343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11344 $as_echo "$enable_static" >&6; }
   11345 
   11346 
   11347 
   11348 
   11349 fi
   11350 ac_ext=c
   11351 ac_cpp='$CPP $CPPFLAGS'
   11352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11355 
   11356 CC="$lt_save_CC"
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372         ac_config_commands="$ac_config_commands libtool"
   11373 
   11374 
   11375 
   11376 
   11377 # Only expand once:
   11378 
   11379 
   11380 
   11381 # Initialize X.Org macros 1.13 or later for XORG_ENABLE_UNIT_TESTS
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11394 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11395 if ${ac_cv_prog_cc_c99+:} false; then :
   11396   $as_echo_n "(cached) " >&6
   11397 else
   11398   ac_cv_prog_cc_c99=no
   11399 ac_save_CC=$CC
   11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11401 /* end confdefs.h.  */
   11402 #include <stdarg.h>
   11403 #include <stdbool.h>
   11404 #include <stdlib.h>
   11405 #include <wchar.h>
   11406 #include <stdio.h>
   11407 
   11408 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11409 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11410 #define showlist(...) puts (#__VA_ARGS__)
   11411 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11412 static void
   11413 test_varargs_macros (void)
   11414 {
   11415   int x = 1234;
   11416   int y = 5678;
   11417   debug ("Flag");
   11418   debug ("X = %d\n", x);
   11419   showlist (The first, second, and third items.);
   11420   report (x>y, "x is %d but y is %d", x, y);
   11421 }
   11422 
   11423 // Check long long types.
   11424 #define BIG64 18446744073709551615ull
   11425 #define BIG32 4294967295ul
   11426 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11427 #if !BIG_OK
   11428   your preprocessor is broken;
   11429 #endif
   11430 #if BIG_OK
   11431 #else
   11432   your preprocessor is broken;
   11433 #endif
   11434 static long long int bignum = -9223372036854775807LL;
   11435 static unsigned long long int ubignum = BIG64;
   11436 
   11437 struct incomplete_array
   11438 {
   11439   int datasize;
   11440   double data[];
   11441 };
   11442 
   11443 struct named_init {
   11444   int number;
   11445   const wchar_t *name;
   11446   double average;
   11447 };
   11448 
   11449 typedef const char *ccp;
   11450 
   11451 static inline int
   11452 test_restrict (ccp restrict text)
   11453 {
   11454   // See if C++-style comments work.
   11455   // Iterate through items via the restricted pointer.
   11456   // Also check for declarations in for loops.
   11457   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11458     continue;
   11459   return 0;
   11460 }
   11461 
   11462 // Check varargs and va_copy.
   11463 static void
   11464 test_varargs (const char *format, ...)
   11465 {
   11466   va_list args;
   11467   va_start (args, format);
   11468   va_list args_copy;
   11469   va_copy (args_copy, args);
   11470 
   11471   const char *str;
   11472   int number;
   11473   float fnumber;
   11474 
   11475   while (*format)
   11476     {
   11477       switch (*format++)
   11478 	{
   11479 	case 's': // string
   11480 	  str = va_arg (args_copy, const char *);
   11481 	  break;
   11482 	case 'd': // int
   11483 	  number = va_arg (args_copy, int);
   11484 	  break;
   11485 	case 'f': // float
   11486 	  fnumber = va_arg (args_copy, double);
   11487 	  break;
   11488 	default:
   11489 	  break;
   11490 	}
   11491     }
   11492   va_end (args_copy);
   11493   va_end (args);
   11494 }
   11495 
   11496 int
   11497 main ()
   11498 {
   11499 
   11500   // Check bool.
   11501   _Bool success = false;
   11502 
   11503   // Check restrict.
   11504   if (test_restrict ("String literal") == 0)
   11505     success = true;
   11506   char *restrict newvar = "Another string";
   11507 
   11508   // Check varargs.
   11509   test_varargs ("s, d' f .", "string", 65, 34.234);
   11510   test_varargs_macros ();
   11511 
   11512   // Check flexible array members.
   11513   struct incomplete_array *ia =
   11514     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11515   ia->datasize = 10;
   11516   for (int i = 0; i < ia->datasize; ++i)
   11517     ia->data[i] = i * 1.234;
   11518 
   11519   // Check named initializers.
   11520   struct named_init ni = {
   11521     .number = 34,
   11522     .name = L"Test wide string",
   11523     .average = 543.34343,
   11524   };
   11525 
   11526   ni.number = 58;
   11527 
   11528   int dynamic_array[ni.number];
   11529   dynamic_array[ni.number - 1] = 543;
   11530 
   11531   // work around unused variable warnings
   11532   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11533 	  || dynamic_array[ni.number - 1] != 543);
   11534 
   11535   ;
   11536   return 0;
   11537 }
   11538 _ACEOF
   11539 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11540 do
   11541   CC="$ac_save_CC $ac_arg"
   11542   if ac_fn_c_try_compile "$LINENO"; then :
   11543   ac_cv_prog_cc_c99=$ac_arg
   11544 fi
   11545 rm -f core conftest.err conftest.$ac_objext
   11546   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11547 done
   11548 rm -f conftest.$ac_ext
   11549 CC=$ac_save_CC
   11550 
   11551 fi
   11552 # AC_CACHE_VAL
   11553 case "x$ac_cv_prog_cc_c99" in
   11554   x)
   11555     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11556 $as_echo "none needed" >&6; } ;;
   11557   xno)
   11558     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11559 $as_echo "unsupported" >&6; } ;;
   11560   *)
   11561     CC="$CC $ac_cv_prog_cc_c99"
   11562     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11563 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11564 esac
   11565 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11566 
   11567 fi
   11568 
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11575 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11576   CLANGCC="yes"
   11577 else
   11578   CLANGCC="no"
   11579 fi
   11580 
   11581 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11582 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11583   INTELCC="yes"
   11584 else
   11585   INTELCC="no"
   11586 fi
   11587 
   11588 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11589 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11590   SUNCC="yes"
   11591 else
   11592   SUNCC="no"
   11593 fi
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11604 	if test -n "$ac_tool_prefix"; then
   11605   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11606 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11608 $as_echo_n "checking for $ac_word... " >&6; }
   11609 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11610   $as_echo_n "(cached) " >&6
   11611 else
   11612   case $PKG_CONFIG in
   11613   [\\/]* | ?:[\\/]*)
   11614   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11615   ;;
   11616   *)
   11617   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11618 for as_dir in $PATH
   11619 do
   11620   IFS=$as_save_IFS
   11621   test -z "$as_dir" && as_dir=.
   11622     for ac_exec_ext in '' $ac_executable_extensions; do
   11623   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11624     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11625     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11626     break 2
   11627   fi
   11628 done
   11629   done
   11630 IFS=$as_save_IFS
   11631 
   11632   ;;
   11633 esac
   11634 fi
   11635 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11636 if test -n "$PKG_CONFIG"; then
   11637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11638 $as_echo "$PKG_CONFIG" >&6; }
   11639 else
   11640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11641 $as_echo "no" >&6; }
   11642 fi
   11643 
   11644 
   11645 fi
   11646 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11647   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11648   # Extract the first word of "pkg-config", so it can be a program name with args.
   11649 set dummy pkg-config; ac_word=$2
   11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11651 $as_echo_n "checking for $ac_word... " >&6; }
   11652 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11653   $as_echo_n "(cached) " >&6
   11654 else
   11655   case $ac_pt_PKG_CONFIG in
   11656   [\\/]* | ?:[\\/]*)
   11657   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11658   ;;
   11659   *)
   11660   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11661 for as_dir in $PATH
   11662 do
   11663   IFS=$as_save_IFS
   11664   test -z "$as_dir" && as_dir=.
   11665     for ac_exec_ext in '' $ac_executable_extensions; do
   11666   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11667     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11669     break 2
   11670   fi
   11671 done
   11672   done
   11673 IFS=$as_save_IFS
   11674 
   11675   ;;
   11676 esac
   11677 fi
   11678 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11679 if test -n "$ac_pt_PKG_CONFIG"; then
   11680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11681 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11682 else
   11683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11684 $as_echo "no" >&6; }
   11685 fi
   11686 
   11687   if test "x$ac_pt_PKG_CONFIG" = x; then
   11688     PKG_CONFIG=""
   11689   else
   11690     case $cross_compiling:$ac_tool_warned in
   11691 yes:)
   11692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11694 ac_tool_warned=yes ;;
   11695 esac
   11696     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11697   fi
   11698 else
   11699   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11700 fi
   11701 
   11702 fi
   11703 if test -n "$PKG_CONFIG"; then
   11704 	_pkg_min_version=0.9.0
   11705 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11706 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11707 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11709 $as_echo "yes" >&6; }
   11710 	else
   11711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11712 $as_echo "no" >&6; }
   11713 		PKG_CONFIG=""
   11714 	fi
   11715 fi
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 # Check whether --enable-selective-werror was given.
   11722 if test "${enable_selective_werror+set}" = set; then :
   11723   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11724 else
   11725   SELECTIVE_WERROR=yes
   11726 fi
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11733 if test "x$SUNCC" = "xyes"; then
   11734     BASE_CFLAGS="-v"
   11735 else
   11736     BASE_CFLAGS=""
   11737 fi
   11738 
   11739 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 xorg_testset_save_CFLAGS="$CFLAGS"
   11754 
   11755 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11756 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11758 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11759 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11760   $as_echo_n "(cached) " >&6
   11761 else
   11762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11763 /* end confdefs.h.  */
   11764 int i;
   11765 _ACEOF
   11766 if ac_fn_c_try_compile "$LINENO"; then :
   11767   xorg_cv_cc_flag_unknown_warning_option=yes
   11768 else
   11769   xorg_cv_cc_flag_unknown_warning_option=no
   11770 fi
   11771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11772 fi
   11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11774 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11775 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11776 	CFLAGS="$xorg_testset_save_CFLAGS"
   11777 fi
   11778 
   11779 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11780 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11781 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11782 	fi
   11783 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11784 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11785 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11786 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11787   $as_echo_n "(cached) " >&6
   11788 else
   11789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11790 /* end confdefs.h.  */
   11791 int i;
   11792 _ACEOF
   11793 if ac_fn_c_try_compile "$LINENO"; then :
   11794   xorg_cv_cc_flag_unused_command_line_argument=yes
   11795 else
   11796   xorg_cv_cc_flag_unused_command_line_argument=no
   11797 fi
   11798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11799 fi
   11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11801 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11802 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11803 	CFLAGS="$xorg_testset_save_CFLAGS"
   11804 fi
   11805 
   11806 found="no"
   11807 
   11808 	if test $found = "no" ; then
   11809 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11810 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11811 		fi
   11812 
   11813 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11814 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11815 		fi
   11816 
   11817 		CFLAGS="$CFLAGS -Wall"
   11818 
   11819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wall" >&5
   11820 $as_echo_n "checking if $CC supports-Wall... " >&6; }
   11821 		cacheid=xorg_cv_cc_flag__Wall
   11822 		if eval \${$cacheid+:} false; then :
   11823   $as_echo_n "(cached) " >&6
   11824 else
   11825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11826 /* end confdefs.h.  */
   11827 int i;
   11828 int
   11829 main ()
   11830 {
   11831 
   11832   ;
   11833   return 0;
   11834 }
   11835 _ACEOF
   11836 if ac_fn_c_try_link "$LINENO"; then :
   11837   eval $cacheid=yes
   11838 else
   11839   eval $cacheid=no
   11840 fi
   11841 rm -f core conftest.err conftest.$ac_objext \
   11842     conftest$ac_exeext conftest.$ac_ext
   11843 fi
   11844 
   11845 
   11846 		CFLAGS="$xorg_testset_save_CFLAGS"
   11847 
   11848 		eval supported=\$$cacheid
   11849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11850 $as_echo "$supported" >&6; }
   11851 		if test "$supported" = "yes" ; then
   11852 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11853 			found="yes"
   11854 		fi
   11855 	fi
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 xorg_testset_save_CFLAGS="$CFLAGS"
   11872 
   11873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11876 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11877 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11878   $as_echo_n "(cached) " >&6
   11879 else
   11880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11881 /* end confdefs.h.  */
   11882 int i;
   11883 _ACEOF
   11884 if ac_fn_c_try_compile "$LINENO"; then :
   11885   xorg_cv_cc_flag_unknown_warning_option=yes
   11886 else
   11887   xorg_cv_cc_flag_unknown_warning_option=no
   11888 fi
   11889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11890 fi
   11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11892 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11894 	CFLAGS="$xorg_testset_save_CFLAGS"
   11895 fi
   11896 
   11897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11900 	fi
   11901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11902 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11903 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11904 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11905   $as_echo_n "(cached) " >&6
   11906 else
   11907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11908 /* end confdefs.h.  */
   11909 int i;
   11910 _ACEOF
   11911 if ac_fn_c_try_compile "$LINENO"; then :
   11912   xorg_cv_cc_flag_unused_command_line_argument=yes
   11913 else
   11914   xorg_cv_cc_flag_unused_command_line_argument=no
   11915 fi
   11916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11917 fi
   11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11919 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11920 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11921 	CFLAGS="$xorg_testset_save_CFLAGS"
   11922 fi
   11923 
   11924 found="no"
   11925 
   11926 	if test $found = "no" ; then
   11927 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11929 		fi
   11930 
   11931 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11933 		fi
   11934 
   11935 		CFLAGS="$CFLAGS -Wpointer-arith"
   11936 
   11937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-arith" >&5
   11938 $as_echo_n "checking if $CC supports-Wpointer-arith... " >&6; }
   11939 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11940 		if eval \${$cacheid+:} false; then :
   11941   $as_echo_n "(cached) " >&6
   11942 else
   11943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11944 /* end confdefs.h.  */
   11945 int i;
   11946 int
   11947 main ()
   11948 {
   11949 
   11950   ;
   11951   return 0;
   11952 }
   11953 _ACEOF
   11954 if ac_fn_c_try_link "$LINENO"; then :
   11955   eval $cacheid=yes
   11956 else
   11957   eval $cacheid=no
   11958 fi
   11959 rm -f core conftest.err conftest.$ac_objext \
   11960     conftest$ac_exeext conftest.$ac_ext
   11961 fi
   11962 
   11963 
   11964 		CFLAGS="$xorg_testset_save_CFLAGS"
   11965 
   11966 		eval supported=\$$cacheid
   11967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11968 $as_echo "$supported" >&6; }
   11969 		if test "$supported" = "yes" ; then
   11970 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11971 			found="yes"
   11972 		fi
   11973 	fi
   11974 
   11975 
   11976 
   11977 
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 xorg_testset_save_CFLAGS="$CFLAGS"
   11990 
   11991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11993 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11994 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11995 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11996   $as_echo_n "(cached) " >&6
   11997 else
   11998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11999 /* end confdefs.h.  */
   12000 int i;
   12001 _ACEOF
   12002 if ac_fn_c_try_compile "$LINENO"; then :
   12003   xorg_cv_cc_flag_unknown_warning_option=yes
   12004 else
   12005   xorg_cv_cc_flag_unknown_warning_option=no
   12006 fi
   12007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12008 fi
   12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12010 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12011 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12012 	CFLAGS="$xorg_testset_save_CFLAGS"
   12013 fi
   12014 
   12015 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12016 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12017 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12018 	fi
   12019 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12020 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12021 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12022 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12023   $as_echo_n "(cached) " >&6
   12024 else
   12025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12026 /* end confdefs.h.  */
   12027 int i;
   12028 _ACEOF
   12029 if ac_fn_c_try_compile "$LINENO"; then :
   12030   xorg_cv_cc_flag_unused_command_line_argument=yes
   12031 else
   12032   xorg_cv_cc_flag_unused_command_line_argument=no
   12033 fi
   12034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12035 fi
   12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12037 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12038 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12039 	CFLAGS="$xorg_testset_save_CFLAGS"
   12040 fi
   12041 
   12042 found="no"
   12043 
   12044 	if test $found = "no" ; then
   12045 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12046 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12047 		fi
   12048 
   12049 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12050 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12051 		fi
   12052 
   12053 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12054 
   12055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-declarations" >&5
   12056 $as_echo_n "checking if $CC supports-Wmissing-declarations... " >&6; }
   12057 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12058 		if eval \${$cacheid+:} false; then :
   12059   $as_echo_n "(cached) " >&6
   12060 else
   12061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12062 /* end confdefs.h.  */
   12063 int i;
   12064 int
   12065 main ()
   12066 {
   12067 
   12068   ;
   12069   return 0;
   12070 }
   12071 _ACEOF
   12072 if ac_fn_c_try_link "$LINENO"; then :
   12073   eval $cacheid=yes
   12074 else
   12075   eval $cacheid=no
   12076 fi
   12077 rm -f core conftest.err conftest.$ac_objext \
   12078     conftest$ac_exeext conftest.$ac_ext
   12079 fi
   12080 
   12081 
   12082 		CFLAGS="$xorg_testset_save_CFLAGS"
   12083 
   12084 		eval supported=\$$cacheid
   12085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12086 $as_echo "$supported" >&6; }
   12087 		if test "$supported" = "yes" ; then
   12088 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12089 			found="yes"
   12090 		fi
   12091 	fi
   12092 
   12093 
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 
   12107 xorg_testset_save_CFLAGS="$CFLAGS"
   12108 
   12109 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12110 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12111 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12112 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12113 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12114   $as_echo_n "(cached) " >&6
   12115 else
   12116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12117 /* end confdefs.h.  */
   12118 int i;
   12119 _ACEOF
   12120 if ac_fn_c_try_compile "$LINENO"; then :
   12121   xorg_cv_cc_flag_unknown_warning_option=yes
   12122 else
   12123   xorg_cv_cc_flag_unknown_warning_option=no
   12124 fi
   12125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12126 fi
   12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12128 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12129 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12130 	CFLAGS="$xorg_testset_save_CFLAGS"
   12131 fi
   12132 
   12133 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12134 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12135 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12136 	fi
   12137 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12138 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12139 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12140 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12141   $as_echo_n "(cached) " >&6
   12142 else
   12143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12144 /* end confdefs.h.  */
   12145 int i;
   12146 _ACEOF
   12147 if ac_fn_c_try_compile "$LINENO"; then :
   12148   xorg_cv_cc_flag_unused_command_line_argument=yes
   12149 else
   12150   xorg_cv_cc_flag_unused_command_line_argument=no
   12151 fi
   12152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12153 fi
   12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12155 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12156 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12157 	CFLAGS="$xorg_testset_save_CFLAGS"
   12158 fi
   12159 
   12160 found="no"
   12161 
   12162 	if test $found = "no" ; then
   12163 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12165 		fi
   12166 
   12167 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12169 		fi
   12170 
   12171 		CFLAGS="$CFLAGS -Wformat=2"
   12172 
   12173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat=2" >&5
   12174 $as_echo_n "checking if $CC supports-Wformat=2... " >&6; }
   12175 		cacheid=xorg_cv_cc_flag__Wformat_2
   12176 		if eval \${$cacheid+:} false; then :
   12177   $as_echo_n "(cached) " >&6
   12178 else
   12179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12180 /* end confdefs.h.  */
   12181 int i;
   12182 int
   12183 main ()
   12184 {
   12185 
   12186   ;
   12187   return 0;
   12188 }
   12189 _ACEOF
   12190 if ac_fn_c_try_link "$LINENO"; then :
   12191   eval $cacheid=yes
   12192 else
   12193   eval $cacheid=no
   12194 fi
   12195 rm -f core conftest.err conftest.$ac_objext \
   12196     conftest$ac_exeext conftest.$ac_ext
   12197 fi
   12198 
   12199 
   12200 		CFLAGS="$xorg_testset_save_CFLAGS"
   12201 
   12202 		eval supported=\$$cacheid
   12203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12204 $as_echo "$supported" >&6; }
   12205 		if test "$supported" = "yes" ; then
   12206 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12207 			found="yes"
   12208 		fi
   12209 	fi
   12210 
   12211 	if test $found = "no" ; then
   12212 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12213 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12214 		fi
   12215 
   12216 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12217 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12218 		fi
   12219 
   12220 		CFLAGS="$CFLAGS -Wformat"
   12221 
   12222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat" >&5
   12223 $as_echo_n "checking if $CC supports-Wformat... " >&6; }
   12224 		cacheid=xorg_cv_cc_flag__Wformat
   12225 		if eval \${$cacheid+:} false; then :
   12226   $as_echo_n "(cached) " >&6
   12227 else
   12228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12229 /* end confdefs.h.  */
   12230 int i;
   12231 int
   12232 main ()
   12233 {
   12234 
   12235   ;
   12236   return 0;
   12237 }
   12238 _ACEOF
   12239 if ac_fn_c_try_link "$LINENO"; then :
   12240   eval $cacheid=yes
   12241 else
   12242   eval $cacheid=no
   12243 fi
   12244 rm -f core conftest.err conftest.$ac_objext \
   12245     conftest$ac_exeext conftest.$ac_ext
   12246 fi
   12247 
   12248 
   12249 		CFLAGS="$xorg_testset_save_CFLAGS"
   12250 
   12251 		eval supported=\$$cacheid
   12252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12253 $as_echo "$supported" >&6; }
   12254 		if test "$supported" = "yes" ; then
   12255 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12256 			found="yes"
   12257 		fi
   12258 	fi
   12259 
   12260 
   12261 
   12262 
   12263 
   12264 
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271 
   12272 
   12273 
   12274 
   12275 
   12276 xorg_testset_save_CFLAGS="$CFLAGS"
   12277 
   12278 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12279 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12281 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12282 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12283   $as_echo_n "(cached) " >&6
   12284 else
   12285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12286 /* end confdefs.h.  */
   12287 int i;
   12288 _ACEOF
   12289 if ac_fn_c_try_compile "$LINENO"; then :
   12290   xorg_cv_cc_flag_unknown_warning_option=yes
   12291 else
   12292   xorg_cv_cc_flag_unknown_warning_option=no
   12293 fi
   12294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12295 fi
   12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12297 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12298 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12299 	CFLAGS="$xorg_testset_save_CFLAGS"
   12300 fi
   12301 
   12302 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12303 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12304 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12305 	fi
   12306 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12307 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12308 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12309 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12310   $as_echo_n "(cached) " >&6
   12311 else
   12312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12313 /* end confdefs.h.  */
   12314 int i;
   12315 _ACEOF
   12316 if ac_fn_c_try_compile "$LINENO"; then :
   12317   xorg_cv_cc_flag_unused_command_line_argument=yes
   12318 else
   12319   xorg_cv_cc_flag_unused_command_line_argument=no
   12320 fi
   12321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12322 fi
   12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12324 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12325 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12326 	CFLAGS="$xorg_testset_save_CFLAGS"
   12327 fi
   12328 
   12329 found="no"
   12330 
   12331 	if test $found = "no" ; then
   12332 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12334 		fi
   12335 
   12336 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12338 		fi
   12339 
   12340 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12341 
   12342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wstrict-prototypes" >&5
   12343 $as_echo_n "checking if $CC supports-Wstrict-prototypes... " >&6; }
   12344 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12345 		if eval \${$cacheid+:} false; then :
   12346   $as_echo_n "(cached) " >&6
   12347 else
   12348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12349 /* end confdefs.h.  */
   12350 int i;
   12351 int
   12352 main ()
   12353 {
   12354 
   12355   ;
   12356   return 0;
   12357 }
   12358 _ACEOF
   12359 if ac_fn_c_try_link "$LINENO"; then :
   12360   eval $cacheid=yes
   12361 else
   12362   eval $cacheid=no
   12363 fi
   12364 rm -f core conftest.err conftest.$ac_objext \
   12365     conftest$ac_exeext conftest.$ac_ext
   12366 fi
   12367 
   12368 
   12369 		CFLAGS="$xorg_testset_save_CFLAGS"
   12370 
   12371 		eval supported=\$$cacheid
   12372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12373 $as_echo "$supported" >&6; }
   12374 		if test "$supported" = "yes" ; then
   12375 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12376 			found="yes"
   12377 		fi
   12378 	fi
   12379 
   12380 
   12381 
   12382 
   12383 
   12384 
   12385 
   12386 
   12387 
   12388 
   12389 
   12390 
   12391 
   12392 
   12393 
   12394 xorg_testset_save_CFLAGS="$CFLAGS"
   12395 
   12396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12399 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12400 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12401   $as_echo_n "(cached) " >&6
   12402 else
   12403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12404 /* end confdefs.h.  */
   12405 int i;
   12406 _ACEOF
   12407 if ac_fn_c_try_compile "$LINENO"; then :
   12408   xorg_cv_cc_flag_unknown_warning_option=yes
   12409 else
   12410   xorg_cv_cc_flag_unknown_warning_option=no
   12411 fi
   12412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12413 fi
   12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12415 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12416 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12417 	CFLAGS="$xorg_testset_save_CFLAGS"
   12418 fi
   12419 
   12420 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12421 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12422 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12423 	fi
   12424 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12425 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12426 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12427 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12428   $as_echo_n "(cached) " >&6
   12429 else
   12430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12431 /* end confdefs.h.  */
   12432 int i;
   12433 _ACEOF
   12434 if ac_fn_c_try_compile "$LINENO"; then :
   12435   xorg_cv_cc_flag_unused_command_line_argument=yes
   12436 else
   12437   xorg_cv_cc_flag_unused_command_line_argument=no
   12438 fi
   12439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12440 fi
   12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12442 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12443 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12444 	CFLAGS="$xorg_testset_save_CFLAGS"
   12445 fi
   12446 
   12447 found="no"
   12448 
   12449 	if test $found = "no" ; then
   12450 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12451 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12452 		fi
   12453 
   12454 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12455 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12456 		fi
   12457 
   12458 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12459 
   12460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-prototypes" >&5
   12461 $as_echo_n "checking if $CC supports-Wmissing-prototypes... " >&6; }
   12462 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12463 		if eval \${$cacheid+:} false; then :
   12464   $as_echo_n "(cached) " >&6
   12465 else
   12466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12467 /* end confdefs.h.  */
   12468 int i;
   12469 int
   12470 main ()
   12471 {
   12472 
   12473   ;
   12474   return 0;
   12475 }
   12476 _ACEOF
   12477 if ac_fn_c_try_link "$LINENO"; then :
   12478   eval $cacheid=yes
   12479 else
   12480   eval $cacheid=no
   12481 fi
   12482 rm -f core conftest.err conftest.$ac_objext \
   12483     conftest$ac_exeext conftest.$ac_ext
   12484 fi
   12485 
   12486 
   12487 		CFLAGS="$xorg_testset_save_CFLAGS"
   12488 
   12489 		eval supported=\$$cacheid
   12490 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12491 $as_echo "$supported" >&6; }
   12492 		if test "$supported" = "yes" ; then
   12493 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12494 			found="yes"
   12495 		fi
   12496 	fi
   12497 
   12498 
   12499 
   12500 
   12501 
   12502 
   12503 
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 
   12511 
   12512 xorg_testset_save_CFLAGS="$CFLAGS"
   12513 
   12514 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12515 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12517 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12518 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12519   $as_echo_n "(cached) " >&6
   12520 else
   12521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12522 /* end confdefs.h.  */
   12523 int i;
   12524 _ACEOF
   12525 if ac_fn_c_try_compile "$LINENO"; then :
   12526   xorg_cv_cc_flag_unknown_warning_option=yes
   12527 else
   12528   xorg_cv_cc_flag_unknown_warning_option=no
   12529 fi
   12530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12531 fi
   12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12533 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12534 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12535 	CFLAGS="$xorg_testset_save_CFLAGS"
   12536 fi
   12537 
   12538 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12539 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12540 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12541 	fi
   12542 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12543 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12544 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12545 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12546   $as_echo_n "(cached) " >&6
   12547 else
   12548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12549 /* end confdefs.h.  */
   12550 int i;
   12551 _ACEOF
   12552 if ac_fn_c_try_compile "$LINENO"; then :
   12553   xorg_cv_cc_flag_unused_command_line_argument=yes
   12554 else
   12555   xorg_cv_cc_flag_unused_command_line_argument=no
   12556 fi
   12557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12558 fi
   12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12560 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12561 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12562 	CFLAGS="$xorg_testset_save_CFLAGS"
   12563 fi
   12564 
   12565 found="no"
   12566 
   12567 	if test $found = "no" ; then
   12568 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12569 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12570 		fi
   12571 
   12572 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12573 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12574 		fi
   12575 
   12576 		CFLAGS="$CFLAGS -Wnested-externs"
   12577 
   12578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnested-externs" >&5
   12579 $as_echo_n "checking if $CC supports-Wnested-externs... " >&6; }
   12580 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12581 		if eval \${$cacheid+:} false; then :
   12582   $as_echo_n "(cached) " >&6
   12583 else
   12584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12585 /* end confdefs.h.  */
   12586 int i;
   12587 int
   12588 main ()
   12589 {
   12590 
   12591   ;
   12592   return 0;
   12593 }
   12594 _ACEOF
   12595 if ac_fn_c_try_link "$LINENO"; then :
   12596   eval $cacheid=yes
   12597 else
   12598   eval $cacheid=no
   12599 fi
   12600 rm -f core conftest.err conftest.$ac_objext \
   12601     conftest$ac_exeext conftest.$ac_ext
   12602 fi
   12603 
   12604 
   12605 		CFLAGS="$xorg_testset_save_CFLAGS"
   12606 
   12607 		eval supported=\$$cacheid
   12608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12609 $as_echo "$supported" >&6; }
   12610 		if test "$supported" = "yes" ; then
   12611 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12612 			found="yes"
   12613 		fi
   12614 	fi
   12615 
   12616 
   12617 
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 
   12624 
   12625 
   12626 
   12627 
   12628 
   12629 
   12630 xorg_testset_save_CFLAGS="$CFLAGS"
   12631 
   12632 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12633 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12635 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12636 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12637   $as_echo_n "(cached) " >&6
   12638 else
   12639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12640 /* end confdefs.h.  */
   12641 int i;
   12642 _ACEOF
   12643 if ac_fn_c_try_compile "$LINENO"; then :
   12644   xorg_cv_cc_flag_unknown_warning_option=yes
   12645 else
   12646   xorg_cv_cc_flag_unknown_warning_option=no
   12647 fi
   12648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12649 fi
   12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12651 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12652 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12653 	CFLAGS="$xorg_testset_save_CFLAGS"
   12654 fi
   12655 
   12656 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12657 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12658 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12659 	fi
   12660 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12662 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12663 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12664   $as_echo_n "(cached) " >&6
   12665 else
   12666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12667 /* end confdefs.h.  */
   12668 int i;
   12669 _ACEOF
   12670 if ac_fn_c_try_compile "$LINENO"; then :
   12671   xorg_cv_cc_flag_unused_command_line_argument=yes
   12672 else
   12673   xorg_cv_cc_flag_unused_command_line_argument=no
   12674 fi
   12675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12676 fi
   12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12678 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12679 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12680 	CFLAGS="$xorg_testset_save_CFLAGS"
   12681 fi
   12682 
   12683 found="no"
   12684 
   12685 	if test $found = "no" ; then
   12686 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12687 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12688 		fi
   12689 
   12690 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12691 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12692 		fi
   12693 
   12694 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12695 
   12696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wbad-function-cast" >&5
   12697 $as_echo_n "checking if $CC supports-Wbad-function-cast... " >&6; }
   12698 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12699 		if eval \${$cacheid+:} false; then :
   12700   $as_echo_n "(cached) " >&6
   12701 else
   12702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12703 /* end confdefs.h.  */
   12704 int i;
   12705 int
   12706 main ()
   12707 {
   12708 
   12709   ;
   12710   return 0;
   12711 }
   12712 _ACEOF
   12713 if ac_fn_c_try_link "$LINENO"; then :
   12714   eval $cacheid=yes
   12715 else
   12716   eval $cacheid=no
   12717 fi
   12718 rm -f core conftest.err conftest.$ac_objext \
   12719     conftest$ac_exeext conftest.$ac_ext
   12720 fi
   12721 
   12722 
   12723 		CFLAGS="$xorg_testset_save_CFLAGS"
   12724 
   12725 		eval supported=\$$cacheid
   12726 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12727 $as_echo "$supported" >&6; }
   12728 		if test "$supported" = "yes" ; then
   12729 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12730 			found="yes"
   12731 		fi
   12732 	fi
   12733 
   12734 
   12735 
   12736 
   12737 
   12738 
   12739 
   12740 
   12741 
   12742 
   12743 
   12744 
   12745 
   12746 
   12747 
   12748 xorg_testset_save_CFLAGS="$CFLAGS"
   12749 
   12750 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12751 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12753 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12754 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12755   $as_echo_n "(cached) " >&6
   12756 else
   12757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12758 /* end confdefs.h.  */
   12759 int i;
   12760 _ACEOF
   12761 if ac_fn_c_try_compile "$LINENO"; then :
   12762   xorg_cv_cc_flag_unknown_warning_option=yes
   12763 else
   12764   xorg_cv_cc_flag_unknown_warning_option=no
   12765 fi
   12766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12767 fi
   12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12769 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12770 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12771 	CFLAGS="$xorg_testset_save_CFLAGS"
   12772 fi
   12773 
   12774 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12775 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12776 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12777 	fi
   12778 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12779 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12780 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12781 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12782   $as_echo_n "(cached) " >&6
   12783 else
   12784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12785 /* end confdefs.h.  */
   12786 int i;
   12787 _ACEOF
   12788 if ac_fn_c_try_compile "$LINENO"; then :
   12789   xorg_cv_cc_flag_unused_command_line_argument=yes
   12790 else
   12791   xorg_cv_cc_flag_unused_command_line_argument=no
   12792 fi
   12793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12794 fi
   12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12796 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12797 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12798 	CFLAGS="$xorg_testset_save_CFLAGS"
   12799 fi
   12800 
   12801 found="no"
   12802 
   12803 	if test $found = "no" ; then
   12804 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12805 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12806 		fi
   12807 
   12808 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12809 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12810 		fi
   12811 
   12812 		CFLAGS="$CFLAGS -Wold-style-definition"
   12813 
   12814 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wold-style-definition" >&5
   12815 $as_echo_n "checking if $CC supports-Wold-style-definition... " >&6; }
   12816 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12817 		if eval \${$cacheid+:} false; then :
   12818   $as_echo_n "(cached) " >&6
   12819 else
   12820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12821 /* end confdefs.h.  */
   12822 int i;
   12823 int
   12824 main ()
   12825 {
   12826 
   12827   ;
   12828   return 0;
   12829 }
   12830 _ACEOF
   12831 if ac_fn_c_try_link "$LINENO"; then :
   12832   eval $cacheid=yes
   12833 else
   12834   eval $cacheid=no
   12835 fi
   12836 rm -f core conftest.err conftest.$ac_objext \
   12837     conftest$ac_exeext conftest.$ac_ext
   12838 fi
   12839 
   12840 
   12841 		CFLAGS="$xorg_testset_save_CFLAGS"
   12842 
   12843 		eval supported=\$$cacheid
   12844 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12845 $as_echo "$supported" >&6; }
   12846 		if test "$supported" = "yes" ; then
   12847 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12848 			found="yes"
   12849 		fi
   12850 	fi
   12851 
   12852 
   12853 
   12854 
   12855 
   12856 
   12857 
   12858 
   12859 
   12860 
   12861 
   12862 
   12863 
   12864 
   12865 
   12866 xorg_testset_save_CFLAGS="$CFLAGS"
   12867 
   12868 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12869 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12871 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12872 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12873   $as_echo_n "(cached) " >&6
   12874 else
   12875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12876 /* end confdefs.h.  */
   12877 int i;
   12878 _ACEOF
   12879 if ac_fn_c_try_compile "$LINENO"; then :
   12880   xorg_cv_cc_flag_unknown_warning_option=yes
   12881 else
   12882   xorg_cv_cc_flag_unknown_warning_option=no
   12883 fi
   12884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12885 fi
   12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12887 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12888 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12889 	CFLAGS="$xorg_testset_save_CFLAGS"
   12890 fi
   12891 
   12892 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12893 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12895 	fi
   12896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12898 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12899 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12900   $as_echo_n "(cached) " >&6
   12901 else
   12902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12903 /* end confdefs.h.  */
   12904 int i;
   12905 _ACEOF
   12906 if ac_fn_c_try_compile "$LINENO"; then :
   12907   xorg_cv_cc_flag_unused_command_line_argument=yes
   12908 else
   12909   xorg_cv_cc_flag_unused_command_line_argument=no
   12910 fi
   12911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12912 fi
   12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12914 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12915 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12916 	CFLAGS="$xorg_testset_save_CFLAGS"
   12917 fi
   12918 
   12919 found="no"
   12920 
   12921 	if test $found = "no" ; then
   12922 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12923 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12924 		fi
   12925 
   12926 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12927 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12928 		fi
   12929 
   12930 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12931 
   12932 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wdeclaration-after-statement" >&5
   12933 $as_echo_n "checking if $CC supports-Wdeclaration-after-statement... " >&6; }
   12934 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12935 		if eval \${$cacheid+:} false; then :
   12936   $as_echo_n "(cached) " >&6
   12937 else
   12938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12939 /* end confdefs.h.  */
   12940 int i;
   12941 int
   12942 main ()
   12943 {
   12944 
   12945   ;
   12946   return 0;
   12947 }
   12948 _ACEOF
   12949 if ac_fn_c_try_link "$LINENO"; then :
   12950   eval $cacheid=yes
   12951 else
   12952   eval $cacheid=no
   12953 fi
   12954 rm -f core conftest.err conftest.$ac_objext \
   12955     conftest$ac_exeext conftest.$ac_ext
   12956 fi
   12957 
   12958 
   12959 		CFLAGS="$xorg_testset_save_CFLAGS"
   12960 
   12961 		eval supported=\$$cacheid
   12962 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12963 $as_echo "$supported" >&6; }
   12964 		if test "$supported" = "yes" ; then
   12965 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12966 			found="yes"
   12967 		fi
   12968 	fi
   12969 
   12970 
   12971 
   12972 
   12973 
   12974 # This chunk adds additional warnings that could catch undesired effects.
   12975 
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 xorg_testset_save_CFLAGS="$CFLAGS"
   12989 
   12990 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12991 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12992 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12993 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12994 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12995   $as_echo_n "(cached) " >&6
   12996 else
   12997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12998 /* end confdefs.h.  */
   12999 int i;
   13000 _ACEOF
   13001 if ac_fn_c_try_compile "$LINENO"; then :
   13002   xorg_cv_cc_flag_unknown_warning_option=yes
   13003 else
   13004   xorg_cv_cc_flag_unknown_warning_option=no
   13005 fi
   13006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13007 fi
   13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13009 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13010 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13011 	CFLAGS="$xorg_testset_save_CFLAGS"
   13012 fi
   13013 
   13014 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13015 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13016 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13017 	fi
   13018 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13019 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13020 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13021 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13022   $as_echo_n "(cached) " >&6
   13023 else
   13024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13025 /* end confdefs.h.  */
   13026 int i;
   13027 _ACEOF
   13028 if ac_fn_c_try_compile "$LINENO"; then :
   13029   xorg_cv_cc_flag_unused_command_line_argument=yes
   13030 else
   13031   xorg_cv_cc_flag_unused_command_line_argument=no
   13032 fi
   13033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13034 fi
   13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13036 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13037 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13038 	CFLAGS="$xorg_testset_save_CFLAGS"
   13039 fi
   13040 
   13041 found="no"
   13042 
   13043 	if test $found = "no" ; then
   13044 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13045 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13046 		fi
   13047 
   13048 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13049 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13050 		fi
   13051 
   13052 		CFLAGS="$CFLAGS -Wunused"
   13053 
   13054 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wunused" >&5
   13055 $as_echo_n "checking if $CC supports-Wunused... " >&6; }
   13056 		cacheid=xorg_cv_cc_flag__Wunused
   13057 		if eval \${$cacheid+:} false; then :
   13058   $as_echo_n "(cached) " >&6
   13059 else
   13060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13061 /* end confdefs.h.  */
   13062 int i;
   13063 int
   13064 main ()
   13065 {
   13066 
   13067   ;
   13068   return 0;
   13069 }
   13070 _ACEOF
   13071 if ac_fn_c_try_link "$LINENO"; then :
   13072   eval $cacheid=yes
   13073 else
   13074   eval $cacheid=no
   13075 fi
   13076 rm -f core conftest.err conftest.$ac_objext \
   13077     conftest$ac_exeext conftest.$ac_ext
   13078 fi
   13079 
   13080 
   13081 		CFLAGS="$xorg_testset_save_CFLAGS"
   13082 
   13083 		eval supported=\$$cacheid
   13084 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13085 $as_echo "$supported" >&6; }
   13086 		if test "$supported" = "yes" ; then
   13087 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13088 			found="yes"
   13089 		fi
   13090 	fi
   13091 
   13092 
   13093 
   13094 
   13095 
   13096 
   13097 
   13098 
   13099 
   13100 
   13101 
   13102 
   13103 
   13104 
   13105 
   13106 xorg_testset_save_CFLAGS="$CFLAGS"
   13107 
   13108 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13109 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13110 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13111 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13112 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13113   $as_echo_n "(cached) " >&6
   13114 else
   13115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13116 /* end confdefs.h.  */
   13117 int i;
   13118 _ACEOF
   13119 if ac_fn_c_try_compile "$LINENO"; then :
   13120   xorg_cv_cc_flag_unknown_warning_option=yes
   13121 else
   13122   xorg_cv_cc_flag_unknown_warning_option=no
   13123 fi
   13124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13125 fi
   13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13127 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13128 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13129 	CFLAGS="$xorg_testset_save_CFLAGS"
   13130 fi
   13131 
   13132 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13133 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13134 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13135 	fi
   13136 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13137 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13138 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13139 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13140   $as_echo_n "(cached) " >&6
   13141 else
   13142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13143 /* end confdefs.h.  */
   13144 int i;
   13145 _ACEOF
   13146 if ac_fn_c_try_compile "$LINENO"; then :
   13147   xorg_cv_cc_flag_unused_command_line_argument=yes
   13148 else
   13149   xorg_cv_cc_flag_unused_command_line_argument=no
   13150 fi
   13151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13152 fi
   13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13154 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13155 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13156 	CFLAGS="$xorg_testset_save_CFLAGS"
   13157 fi
   13158 
   13159 found="no"
   13160 
   13161 	if test $found = "no" ; then
   13162 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13163 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13164 		fi
   13165 
   13166 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13167 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13168 		fi
   13169 
   13170 		CFLAGS="$CFLAGS -Wuninitialized"
   13171 
   13172 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wuninitialized" >&5
   13173 $as_echo_n "checking if $CC supports-Wuninitialized... " >&6; }
   13174 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13175 		if eval \${$cacheid+:} false; then :
   13176   $as_echo_n "(cached) " >&6
   13177 else
   13178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13179 /* end confdefs.h.  */
   13180 int i;
   13181 int
   13182 main ()
   13183 {
   13184 
   13185   ;
   13186   return 0;
   13187 }
   13188 _ACEOF
   13189 if ac_fn_c_try_link "$LINENO"; then :
   13190   eval $cacheid=yes
   13191 else
   13192   eval $cacheid=no
   13193 fi
   13194 rm -f core conftest.err conftest.$ac_objext \
   13195     conftest$ac_exeext conftest.$ac_ext
   13196 fi
   13197 
   13198 
   13199 		CFLAGS="$xorg_testset_save_CFLAGS"
   13200 
   13201 		eval supported=\$$cacheid
   13202 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13203 $as_echo "$supported" >&6; }
   13204 		if test "$supported" = "yes" ; then
   13205 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13206 			found="yes"
   13207 		fi
   13208 	fi
   13209 
   13210 
   13211 
   13212 
   13213 
   13214 
   13215 
   13216 
   13217 
   13218 
   13219 
   13220 
   13221 
   13222 
   13223 
   13224 xorg_testset_save_CFLAGS="$CFLAGS"
   13225 
   13226 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13227 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13229 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13230 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13231   $as_echo_n "(cached) " >&6
   13232 else
   13233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13234 /* end confdefs.h.  */
   13235 int i;
   13236 _ACEOF
   13237 if ac_fn_c_try_compile "$LINENO"; then :
   13238   xorg_cv_cc_flag_unknown_warning_option=yes
   13239 else
   13240   xorg_cv_cc_flag_unknown_warning_option=no
   13241 fi
   13242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13243 fi
   13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13245 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13246 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13247 	CFLAGS="$xorg_testset_save_CFLAGS"
   13248 fi
   13249 
   13250 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13251 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13253 	fi
   13254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13255 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13256 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13257 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13258   $as_echo_n "(cached) " >&6
   13259 else
   13260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13261 /* end confdefs.h.  */
   13262 int i;
   13263 _ACEOF
   13264 if ac_fn_c_try_compile "$LINENO"; then :
   13265   xorg_cv_cc_flag_unused_command_line_argument=yes
   13266 else
   13267   xorg_cv_cc_flag_unused_command_line_argument=no
   13268 fi
   13269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13270 fi
   13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13272 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13273 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13274 	CFLAGS="$xorg_testset_save_CFLAGS"
   13275 fi
   13276 
   13277 found="no"
   13278 
   13279 	if test $found = "no" ; then
   13280 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13282 		fi
   13283 
   13284 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13286 		fi
   13287 
   13288 		CFLAGS="$CFLAGS -Wshadow"
   13289 
   13290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wshadow" >&5
   13291 $as_echo_n "checking if $CC supports-Wshadow... " >&6; }
   13292 		cacheid=xorg_cv_cc_flag__Wshadow
   13293 		if eval \${$cacheid+:} false; then :
   13294   $as_echo_n "(cached) " >&6
   13295 else
   13296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13297 /* end confdefs.h.  */
   13298 int i;
   13299 int
   13300 main ()
   13301 {
   13302 
   13303   ;
   13304   return 0;
   13305 }
   13306 _ACEOF
   13307 if ac_fn_c_try_link "$LINENO"; then :
   13308   eval $cacheid=yes
   13309 else
   13310   eval $cacheid=no
   13311 fi
   13312 rm -f core conftest.err conftest.$ac_objext \
   13313     conftest$ac_exeext conftest.$ac_ext
   13314 fi
   13315 
   13316 
   13317 		CFLAGS="$xorg_testset_save_CFLAGS"
   13318 
   13319 		eval supported=\$$cacheid
   13320 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13321 $as_echo "$supported" >&6; }
   13322 		if test "$supported" = "yes" ; then
   13323 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13324 			found="yes"
   13325 		fi
   13326 	fi
   13327 
   13328 
   13329 
   13330 
   13331 
   13332 
   13333 
   13334 
   13335 
   13336 
   13337 
   13338 
   13339 
   13340 
   13341 
   13342 xorg_testset_save_CFLAGS="$CFLAGS"
   13343 
   13344 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13345 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13347 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13348 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13349   $as_echo_n "(cached) " >&6
   13350 else
   13351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13352 /* end confdefs.h.  */
   13353 int i;
   13354 _ACEOF
   13355 if ac_fn_c_try_compile "$LINENO"; then :
   13356   xorg_cv_cc_flag_unknown_warning_option=yes
   13357 else
   13358   xorg_cv_cc_flag_unknown_warning_option=no
   13359 fi
   13360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13361 fi
   13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13363 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13364 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13365 	CFLAGS="$xorg_testset_save_CFLAGS"
   13366 fi
   13367 
   13368 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13369 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13370 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13371 	fi
   13372 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13373 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13374 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13375 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13376   $as_echo_n "(cached) " >&6
   13377 else
   13378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13379 /* end confdefs.h.  */
   13380 int i;
   13381 _ACEOF
   13382 if ac_fn_c_try_compile "$LINENO"; then :
   13383   xorg_cv_cc_flag_unused_command_line_argument=yes
   13384 else
   13385   xorg_cv_cc_flag_unused_command_line_argument=no
   13386 fi
   13387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13388 fi
   13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13390 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13391 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13392 	CFLAGS="$xorg_testset_save_CFLAGS"
   13393 fi
   13394 
   13395 found="no"
   13396 
   13397 	if test $found = "no" ; then
   13398 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13399 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13400 		fi
   13401 
   13402 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13403 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13404 		fi
   13405 
   13406 		CFLAGS="$CFLAGS -Wcast-qual"
   13407 
   13408 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wcast-qual" >&5
   13409 $as_echo_n "checking if $CC supports-Wcast-qual... " >&6; }
   13410 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13411 		if eval \${$cacheid+:} false; then :
   13412   $as_echo_n "(cached) " >&6
   13413 else
   13414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13415 /* end confdefs.h.  */
   13416 int i;
   13417 int
   13418 main ()
   13419 {
   13420 
   13421   ;
   13422   return 0;
   13423 }
   13424 _ACEOF
   13425 if ac_fn_c_try_link "$LINENO"; then :
   13426   eval $cacheid=yes
   13427 else
   13428   eval $cacheid=no
   13429 fi
   13430 rm -f core conftest.err conftest.$ac_objext \
   13431     conftest$ac_exeext conftest.$ac_ext
   13432 fi
   13433 
   13434 
   13435 		CFLAGS="$xorg_testset_save_CFLAGS"
   13436 
   13437 		eval supported=\$$cacheid
   13438 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13439 $as_echo "$supported" >&6; }
   13440 		if test "$supported" = "yes" ; then
   13441 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13442 			found="yes"
   13443 		fi
   13444 	fi
   13445 
   13446 
   13447 
   13448 
   13449 
   13450 
   13451 
   13452 
   13453 
   13454 
   13455 
   13456 
   13457 
   13458 
   13459 
   13460 xorg_testset_save_CFLAGS="$CFLAGS"
   13461 
   13462 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13463 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13465 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13466 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13467   $as_echo_n "(cached) " >&6
   13468 else
   13469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13470 /* end confdefs.h.  */
   13471 int i;
   13472 _ACEOF
   13473 if ac_fn_c_try_compile "$LINENO"; then :
   13474   xorg_cv_cc_flag_unknown_warning_option=yes
   13475 else
   13476   xorg_cv_cc_flag_unknown_warning_option=no
   13477 fi
   13478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13479 fi
   13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13481 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13482 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13483 	CFLAGS="$xorg_testset_save_CFLAGS"
   13484 fi
   13485 
   13486 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13487 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13488 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13489 	fi
   13490 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13492 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13493 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13494   $as_echo_n "(cached) " >&6
   13495 else
   13496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13497 /* end confdefs.h.  */
   13498 int i;
   13499 _ACEOF
   13500 if ac_fn_c_try_compile "$LINENO"; then :
   13501   xorg_cv_cc_flag_unused_command_line_argument=yes
   13502 else
   13503   xorg_cv_cc_flag_unused_command_line_argument=no
   13504 fi
   13505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13506 fi
   13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13508 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13509 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13510 	CFLAGS="$xorg_testset_save_CFLAGS"
   13511 fi
   13512 
   13513 found="no"
   13514 
   13515 	if test $found = "no" ; then
   13516 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13517 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13518 		fi
   13519 
   13520 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13521 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13522 		fi
   13523 
   13524 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13525 
   13526 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-noreturn" >&5
   13527 $as_echo_n "checking if $CC supports-Wmissing-noreturn... " >&6; }
   13528 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13529 		if eval \${$cacheid+:} false; then :
   13530   $as_echo_n "(cached) " >&6
   13531 else
   13532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13533 /* end confdefs.h.  */
   13534 int i;
   13535 int
   13536 main ()
   13537 {
   13538 
   13539   ;
   13540   return 0;
   13541 }
   13542 _ACEOF
   13543 if ac_fn_c_try_link "$LINENO"; then :
   13544   eval $cacheid=yes
   13545 else
   13546   eval $cacheid=no
   13547 fi
   13548 rm -f core conftest.err conftest.$ac_objext \
   13549     conftest$ac_exeext conftest.$ac_ext
   13550 fi
   13551 
   13552 
   13553 		CFLAGS="$xorg_testset_save_CFLAGS"
   13554 
   13555 		eval supported=\$$cacheid
   13556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13557 $as_echo "$supported" >&6; }
   13558 		if test "$supported" = "yes" ; then
   13559 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13560 			found="yes"
   13561 		fi
   13562 	fi
   13563 
   13564 
   13565 
   13566 
   13567 
   13568 
   13569 
   13570 
   13571 
   13572 
   13573 
   13574 
   13575 
   13576 
   13577 
   13578 xorg_testset_save_CFLAGS="$CFLAGS"
   13579 
   13580 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13581 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13583 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13584 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13585   $as_echo_n "(cached) " >&6
   13586 else
   13587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13588 /* end confdefs.h.  */
   13589 int i;
   13590 _ACEOF
   13591 if ac_fn_c_try_compile "$LINENO"; then :
   13592   xorg_cv_cc_flag_unknown_warning_option=yes
   13593 else
   13594   xorg_cv_cc_flag_unknown_warning_option=no
   13595 fi
   13596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13597 fi
   13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13599 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13600 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13601 	CFLAGS="$xorg_testset_save_CFLAGS"
   13602 fi
   13603 
   13604 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13605 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13606 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13607 	fi
   13608 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13610 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13611 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13612   $as_echo_n "(cached) " >&6
   13613 else
   13614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13615 /* end confdefs.h.  */
   13616 int i;
   13617 _ACEOF
   13618 if ac_fn_c_try_compile "$LINENO"; then :
   13619   xorg_cv_cc_flag_unused_command_line_argument=yes
   13620 else
   13621   xorg_cv_cc_flag_unused_command_line_argument=no
   13622 fi
   13623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13624 fi
   13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13626 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13627 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13628 	CFLAGS="$xorg_testset_save_CFLAGS"
   13629 fi
   13630 
   13631 found="no"
   13632 
   13633 	if test $found = "no" ; then
   13634 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13636 		fi
   13637 
   13638 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13640 		fi
   13641 
   13642 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13643 
   13644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-format-attribute" >&5
   13645 $as_echo_n "checking if $CC supports-Wmissing-format-attribute... " >&6; }
   13646 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13647 		if eval \${$cacheid+:} false; then :
   13648   $as_echo_n "(cached) " >&6
   13649 else
   13650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13651 /* end confdefs.h.  */
   13652 int i;
   13653 int
   13654 main ()
   13655 {
   13656 
   13657   ;
   13658   return 0;
   13659 }
   13660 _ACEOF
   13661 if ac_fn_c_try_link "$LINENO"; then :
   13662   eval $cacheid=yes
   13663 else
   13664   eval $cacheid=no
   13665 fi
   13666 rm -f core conftest.err conftest.$ac_objext \
   13667     conftest$ac_exeext conftest.$ac_ext
   13668 fi
   13669 
   13670 
   13671 		CFLAGS="$xorg_testset_save_CFLAGS"
   13672 
   13673 		eval supported=\$$cacheid
   13674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13675 $as_echo "$supported" >&6; }
   13676 		if test "$supported" = "yes" ; then
   13677 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13678 			found="yes"
   13679 		fi
   13680 	fi
   13681 
   13682 
   13683 
   13684 
   13685 
   13686 
   13687 
   13688 
   13689 
   13690 
   13691 
   13692 
   13693 
   13694 
   13695 
   13696 xorg_testset_save_CFLAGS="$CFLAGS"
   13697 
   13698 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13701 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13702 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13703   $as_echo_n "(cached) " >&6
   13704 else
   13705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13706 /* end confdefs.h.  */
   13707 int i;
   13708 _ACEOF
   13709 if ac_fn_c_try_compile "$LINENO"; then :
   13710   xorg_cv_cc_flag_unknown_warning_option=yes
   13711 else
   13712   xorg_cv_cc_flag_unknown_warning_option=no
   13713 fi
   13714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13715 fi
   13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13717 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13719 	CFLAGS="$xorg_testset_save_CFLAGS"
   13720 fi
   13721 
   13722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13725 	fi
   13726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13728 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13729 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13730   $as_echo_n "(cached) " >&6
   13731 else
   13732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13733 /* end confdefs.h.  */
   13734 int i;
   13735 _ACEOF
   13736 if ac_fn_c_try_compile "$LINENO"; then :
   13737   xorg_cv_cc_flag_unused_command_line_argument=yes
   13738 else
   13739   xorg_cv_cc_flag_unused_command_line_argument=no
   13740 fi
   13741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13742 fi
   13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13744 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13746 	CFLAGS="$xorg_testset_save_CFLAGS"
   13747 fi
   13748 
   13749 found="no"
   13750 
   13751 	if test $found = "no" ; then
   13752 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13754 		fi
   13755 
   13756 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13758 		fi
   13759 
   13760 		CFLAGS="$CFLAGS -Wredundant-decls"
   13761 
   13762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wredundant-decls" >&5
   13763 $as_echo_n "checking if $CC supports-Wredundant-decls... " >&6; }
   13764 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13765 		if eval \${$cacheid+:} false; then :
   13766   $as_echo_n "(cached) " >&6
   13767 else
   13768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13769 /* end confdefs.h.  */
   13770 int i;
   13771 int
   13772 main ()
   13773 {
   13774 
   13775   ;
   13776   return 0;
   13777 }
   13778 _ACEOF
   13779 if ac_fn_c_try_link "$LINENO"; then :
   13780   eval $cacheid=yes
   13781 else
   13782   eval $cacheid=no
   13783 fi
   13784 rm -f core conftest.err conftest.$ac_objext \
   13785     conftest$ac_exeext conftest.$ac_ext
   13786 fi
   13787 
   13788 
   13789 		CFLAGS="$xorg_testset_save_CFLAGS"
   13790 
   13791 		eval supported=\$$cacheid
   13792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13793 $as_echo "$supported" >&6; }
   13794 		if test "$supported" = "yes" ; then
   13795 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13796 			found="yes"
   13797 		fi
   13798 	fi
   13799 
   13800 
   13801 
   13802 # These are currently disabled because they are noisy.  They will be enabled
   13803 # in the future once the codebase is sufficiently modernized to silence
   13804 # them.  For now, I don't want them to drown out the other warnings.
   13805 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13806 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13807 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13808 
   13809 # Turn some warnings into errors, so we don't accidently get successful builds
   13810 # when there are problems that should be fixed.
   13811 
   13812 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13813 
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 xorg_testset_save_CFLAGS="$CFLAGS"
   13827 
   13828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13831 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13832 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13833   $as_echo_n "(cached) " >&6
   13834 else
   13835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13836 /* end confdefs.h.  */
   13837 int i;
   13838 _ACEOF
   13839 if ac_fn_c_try_compile "$LINENO"; then :
   13840   xorg_cv_cc_flag_unknown_warning_option=yes
   13841 else
   13842   xorg_cv_cc_flag_unknown_warning_option=no
   13843 fi
   13844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13845 fi
   13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13847 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13848 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13849 	CFLAGS="$xorg_testset_save_CFLAGS"
   13850 fi
   13851 
   13852 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13853 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13854 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13855 	fi
   13856 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13858 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13859 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13860   $as_echo_n "(cached) " >&6
   13861 else
   13862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13863 /* end confdefs.h.  */
   13864 int i;
   13865 _ACEOF
   13866 if ac_fn_c_try_compile "$LINENO"; then :
   13867   xorg_cv_cc_flag_unused_command_line_argument=yes
   13868 else
   13869   xorg_cv_cc_flag_unused_command_line_argument=no
   13870 fi
   13871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13872 fi
   13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13874 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13876 	CFLAGS="$xorg_testset_save_CFLAGS"
   13877 fi
   13878 
   13879 found="no"
   13880 
   13881 	if test $found = "no" ; then
   13882 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13884 		fi
   13885 
   13886 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13888 		fi
   13889 
   13890 		CFLAGS="$CFLAGS -Werror=implicit"
   13891 
   13892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=implicit" >&5
   13893 $as_echo_n "checking if $CC supports-Werror=implicit... " >&6; }
   13894 		cacheid=xorg_cv_cc_flag__Werror_implicit
   13895 		if eval \${$cacheid+:} false; then :
   13896   $as_echo_n "(cached) " >&6
   13897 else
   13898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13899 /* end confdefs.h.  */
   13900 int i;
   13901 int
   13902 main ()
   13903 {
   13904 
   13905   ;
   13906   return 0;
   13907 }
   13908 _ACEOF
   13909 if ac_fn_c_try_link "$LINENO"; then :
   13910   eval $cacheid=yes
   13911 else
   13912   eval $cacheid=no
   13913 fi
   13914 rm -f core conftest.err conftest.$ac_objext \
   13915     conftest$ac_exeext conftest.$ac_ext
   13916 fi
   13917 
   13918 
   13919 		CFLAGS="$xorg_testset_save_CFLAGS"
   13920 
   13921 		eval supported=\$$cacheid
   13922 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13923 $as_echo "$supported" >&6; }
   13924 		if test "$supported" = "yes" ; then
   13925 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13926 			found="yes"
   13927 		fi
   13928 	fi
   13929 
   13930 	if test $found = "no" ; then
   13931 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13932 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13933 		fi
   13934 
   13935 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13936 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13937 		fi
   13938 
   13939 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13940 
   13941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13942 $as_echo_n "checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13943 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   13944 		if eval \${$cacheid+:} false; then :
   13945   $as_echo_n "(cached) " >&6
   13946 else
   13947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13948 /* end confdefs.h.  */
   13949 int i;
   13950 int
   13951 main ()
   13952 {
   13953 
   13954   ;
   13955   return 0;
   13956 }
   13957 _ACEOF
   13958 if ac_fn_c_try_link "$LINENO"; then :
   13959   eval $cacheid=yes
   13960 else
   13961   eval $cacheid=no
   13962 fi
   13963 rm -f core conftest.err conftest.$ac_objext \
   13964     conftest$ac_exeext conftest.$ac_ext
   13965 fi
   13966 
   13967 
   13968 		CFLAGS="$xorg_testset_save_CFLAGS"
   13969 
   13970 		eval supported=\$$cacheid
   13971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13972 $as_echo "$supported" >&6; }
   13973 		if test "$supported" = "yes" ; then
   13974 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13975 			found="yes"
   13976 		fi
   13977 	fi
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 
   13989 
   13990 
   13991 
   13992 
   13993 xorg_testset_save_CFLAGS="$CFLAGS"
   13994 
   13995 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13996 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13997 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13998 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13999 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14000   $as_echo_n "(cached) " >&6
   14001 else
   14002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14003 /* end confdefs.h.  */
   14004 int i;
   14005 _ACEOF
   14006 if ac_fn_c_try_compile "$LINENO"; then :
   14007   xorg_cv_cc_flag_unknown_warning_option=yes
   14008 else
   14009   xorg_cv_cc_flag_unknown_warning_option=no
   14010 fi
   14011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14012 fi
   14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14014 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14015 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14016 	CFLAGS="$xorg_testset_save_CFLAGS"
   14017 fi
   14018 
   14019 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14020 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14021 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14022 	fi
   14023 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14024 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14025 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14026 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14027   $as_echo_n "(cached) " >&6
   14028 else
   14029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14030 /* end confdefs.h.  */
   14031 int i;
   14032 _ACEOF
   14033 if ac_fn_c_try_compile "$LINENO"; then :
   14034   xorg_cv_cc_flag_unused_command_line_argument=yes
   14035 else
   14036   xorg_cv_cc_flag_unused_command_line_argument=no
   14037 fi
   14038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14039 fi
   14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14041 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14042 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14043 	CFLAGS="$xorg_testset_save_CFLAGS"
   14044 fi
   14045 
   14046 found="no"
   14047 
   14048 	if test $found = "no" ; then
   14049 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14051 		fi
   14052 
   14053 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14055 		fi
   14056 
   14057 		CFLAGS="$CFLAGS -Werror=nonnull"
   14058 
   14059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=nonnull" >&5
   14060 $as_echo_n "checking if $CC supports-Werror=nonnull... " >&6; }
   14061 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14062 		if eval \${$cacheid+:} false; then :
   14063   $as_echo_n "(cached) " >&6
   14064 else
   14065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14066 /* end confdefs.h.  */
   14067 int i;
   14068 int
   14069 main ()
   14070 {
   14071 
   14072   ;
   14073   return 0;
   14074 }
   14075 _ACEOF
   14076 if ac_fn_c_try_link "$LINENO"; then :
   14077   eval $cacheid=yes
   14078 else
   14079   eval $cacheid=no
   14080 fi
   14081 rm -f core conftest.err conftest.$ac_objext \
   14082     conftest$ac_exeext conftest.$ac_ext
   14083 fi
   14084 
   14085 
   14086 		CFLAGS="$xorg_testset_save_CFLAGS"
   14087 
   14088 		eval supported=\$$cacheid
   14089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14090 $as_echo "$supported" >&6; }
   14091 		if test "$supported" = "yes" ; then
   14092 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14093 			found="yes"
   14094 		fi
   14095 	fi
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 
   14104 
   14105 
   14106 
   14107 
   14108 
   14109 
   14110 
   14111 xorg_testset_save_CFLAGS="$CFLAGS"
   14112 
   14113 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14114 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14116 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14117 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14118   $as_echo_n "(cached) " >&6
   14119 else
   14120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14121 /* end confdefs.h.  */
   14122 int i;
   14123 _ACEOF
   14124 if ac_fn_c_try_compile "$LINENO"; then :
   14125   xorg_cv_cc_flag_unknown_warning_option=yes
   14126 else
   14127   xorg_cv_cc_flag_unknown_warning_option=no
   14128 fi
   14129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14130 fi
   14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14132 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14133 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14134 	CFLAGS="$xorg_testset_save_CFLAGS"
   14135 fi
   14136 
   14137 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14138 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14139 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14140 	fi
   14141 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14142 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14143 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14144 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14145   $as_echo_n "(cached) " >&6
   14146 else
   14147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14148 /* end confdefs.h.  */
   14149 int i;
   14150 _ACEOF
   14151 if ac_fn_c_try_compile "$LINENO"; then :
   14152   xorg_cv_cc_flag_unused_command_line_argument=yes
   14153 else
   14154   xorg_cv_cc_flag_unused_command_line_argument=no
   14155 fi
   14156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14157 fi
   14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14159 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14160 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14161 	CFLAGS="$xorg_testset_save_CFLAGS"
   14162 fi
   14163 
   14164 found="no"
   14165 
   14166 	if test $found = "no" ; then
   14167 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14168 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14169 		fi
   14170 
   14171 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14172 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14173 		fi
   14174 
   14175 		CFLAGS="$CFLAGS -Werror=init-self"
   14176 
   14177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=init-self" >&5
   14178 $as_echo_n "checking if $CC supports-Werror=init-self... " >&6; }
   14179 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14180 		if eval \${$cacheid+:} false; then :
   14181   $as_echo_n "(cached) " >&6
   14182 else
   14183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14184 /* end confdefs.h.  */
   14185 int i;
   14186 int
   14187 main ()
   14188 {
   14189 
   14190   ;
   14191   return 0;
   14192 }
   14193 _ACEOF
   14194 if ac_fn_c_try_link "$LINENO"; then :
   14195   eval $cacheid=yes
   14196 else
   14197   eval $cacheid=no
   14198 fi
   14199 rm -f core conftest.err conftest.$ac_objext \
   14200     conftest$ac_exeext conftest.$ac_ext
   14201 fi
   14202 
   14203 
   14204 		CFLAGS="$xorg_testset_save_CFLAGS"
   14205 
   14206 		eval supported=\$$cacheid
   14207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14208 $as_echo "$supported" >&6; }
   14209 		if test "$supported" = "yes" ; then
   14210 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14211 			found="yes"
   14212 		fi
   14213 	fi
   14214 
   14215 
   14216 
   14217 
   14218 
   14219 
   14220 
   14221 
   14222 
   14223 
   14224 
   14225 
   14226 
   14227 
   14228 
   14229 xorg_testset_save_CFLAGS="$CFLAGS"
   14230 
   14231 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14232 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14233 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14234 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14235 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14236   $as_echo_n "(cached) " >&6
   14237 else
   14238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14239 /* end confdefs.h.  */
   14240 int i;
   14241 _ACEOF
   14242 if ac_fn_c_try_compile "$LINENO"; then :
   14243   xorg_cv_cc_flag_unknown_warning_option=yes
   14244 else
   14245   xorg_cv_cc_flag_unknown_warning_option=no
   14246 fi
   14247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14248 fi
   14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14250 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14251 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14252 	CFLAGS="$xorg_testset_save_CFLAGS"
   14253 fi
   14254 
   14255 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14256 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14257 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14258 	fi
   14259 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14260 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14261 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14262 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14263   $as_echo_n "(cached) " >&6
   14264 else
   14265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14266 /* end confdefs.h.  */
   14267 int i;
   14268 _ACEOF
   14269 if ac_fn_c_try_compile "$LINENO"; then :
   14270   xorg_cv_cc_flag_unused_command_line_argument=yes
   14271 else
   14272   xorg_cv_cc_flag_unused_command_line_argument=no
   14273 fi
   14274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14275 fi
   14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14277 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14278 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14279 	CFLAGS="$xorg_testset_save_CFLAGS"
   14280 fi
   14281 
   14282 found="no"
   14283 
   14284 	if test $found = "no" ; then
   14285 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14286 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14287 		fi
   14288 
   14289 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14290 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14291 		fi
   14292 
   14293 		CFLAGS="$CFLAGS -Werror=main"
   14294 
   14295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=main" >&5
   14296 $as_echo_n "checking if $CC supports-Werror=main... " >&6; }
   14297 		cacheid=xorg_cv_cc_flag__Werror_main
   14298 		if eval \${$cacheid+:} false; then :
   14299   $as_echo_n "(cached) " >&6
   14300 else
   14301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14302 /* end confdefs.h.  */
   14303 int i;
   14304 int
   14305 main ()
   14306 {
   14307 
   14308   ;
   14309   return 0;
   14310 }
   14311 _ACEOF
   14312 if ac_fn_c_try_link "$LINENO"; then :
   14313   eval $cacheid=yes
   14314 else
   14315   eval $cacheid=no
   14316 fi
   14317 rm -f core conftest.err conftest.$ac_objext \
   14318     conftest$ac_exeext conftest.$ac_ext
   14319 fi
   14320 
   14321 
   14322 		CFLAGS="$xorg_testset_save_CFLAGS"
   14323 
   14324 		eval supported=\$$cacheid
   14325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14326 $as_echo "$supported" >&6; }
   14327 		if test "$supported" = "yes" ; then
   14328 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14329 			found="yes"
   14330 		fi
   14331 	fi
   14332 
   14333 
   14334 
   14335 
   14336 
   14337 
   14338 
   14339 
   14340 
   14341 
   14342 
   14343 
   14344 
   14345 
   14346 
   14347 xorg_testset_save_CFLAGS="$CFLAGS"
   14348 
   14349 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14350 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14351 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14352 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14353 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14354   $as_echo_n "(cached) " >&6
   14355 else
   14356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14357 /* end confdefs.h.  */
   14358 int i;
   14359 _ACEOF
   14360 if ac_fn_c_try_compile "$LINENO"; then :
   14361   xorg_cv_cc_flag_unknown_warning_option=yes
   14362 else
   14363   xorg_cv_cc_flag_unknown_warning_option=no
   14364 fi
   14365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14366 fi
   14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14368 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14369 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14370 	CFLAGS="$xorg_testset_save_CFLAGS"
   14371 fi
   14372 
   14373 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14374 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14375 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14376 	fi
   14377 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14378 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14379 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14380 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14381   $as_echo_n "(cached) " >&6
   14382 else
   14383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14384 /* end confdefs.h.  */
   14385 int i;
   14386 _ACEOF
   14387 if ac_fn_c_try_compile "$LINENO"; then :
   14388   xorg_cv_cc_flag_unused_command_line_argument=yes
   14389 else
   14390   xorg_cv_cc_flag_unused_command_line_argument=no
   14391 fi
   14392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14393 fi
   14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14395 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14396 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14397 	CFLAGS="$xorg_testset_save_CFLAGS"
   14398 fi
   14399 
   14400 found="no"
   14401 
   14402 	if test $found = "no" ; then
   14403 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14404 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14405 		fi
   14406 
   14407 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14408 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14409 		fi
   14410 
   14411 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14412 
   14413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=missing-braces" >&5
   14414 $as_echo_n "checking if $CC supports-Werror=missing-braces... " >&6; }
   14415 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14416 		if eval \${$cacheid+:} false; then :
   14417   $as_echo_n "(cached) " >&6
   14418 else
   14419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14420 /* end confdefs.h.  */
   14421 int i;
   14422 int
   14423 main ()
   14424 {
   14425 
   14426   ;
   14427   return 0;
   14428 }
   14429 _ACEOF
   14430 if ac_fn_c_try_link "$LINENO"; then :
   14431   eval $cacheid=yes
   14432 else
   14433   eval $cacheid=no
   14434 fi
   14435 rm -f core conftest.err conftest.$ac_objext \
   14436     conftest$ac_exeext conftest.$ac_ext
   14437 fi
   14438 
   14439 
   14440 		CFLAGS="$xorg_testset_save_CFLAGS"
   14441 
   14442 		eval supported=\$$cacheid
   14443 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14444 $as_echo "$supported" >&6; }
   14445 		if test "$supported" = "yes" ; then
   14446 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14447 			found="yes"
   14448 		fi
   14449 	fi
   14450 
   14451 
   14452 
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 
   14459 
   14460 
   14461 
   14462 
   14463 
   14464 
   14465 xorg_testset_save_CFLAGS="$CFLAGS"
   14466 
   14467 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14468 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14469 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14470 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14471 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14472   $as_echo_n "(cached) " >&6
   14473 else
   14474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14475 /* end confdefs.h.  */
   14476 int i;
   14477 _ACEOF
   14478 if ac_fn_c_try_compile "$LINENO"; then :
   14479   xorg_cv_cc_flag_unknown_warning_option=yes
   14480 else
   14481   xorg_cv_cc_flag_unknown_warning_option=no
   14482 fi
   14483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14484 fi
   14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14486 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14487 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14488 	CFLAGS="$xorg_testset_save_CFLAGS"
   14489 fi
   14490 
   14491 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14492 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14493 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14494 	fi
   14495 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14496 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14497 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14498 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14499   $as_echo_n "(cached) " >&6
   14500 else
   14501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14502 /* end confdefs.h.  */
   14503 int i;
   14504 _ACEOF
   14505 if ac_fn_c_try_compile "$LINENO"; then :
   14506   xorg_cv_cc_flag_unused_command_line_argument=yes
   14507 else
   14508   xorg_cv_cc_flag_unused_command_line_argument=no
   14509 fi
   14510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14511 fi
   14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14513 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14514 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14515 	CFLAGS="$xorg_testset_save_CFLAGS"
   14516 fi
   14517 
   14518 found="no"
   14519 
   14520 	if test $found = "no" ; then
   14521 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14522 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14523 		fi
   14524 
   14525 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14526 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14527 		fi
   14528 
   14529 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14530 
   14531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=sequence-point" >&5
   14532 $as_echo_n "checking if $CC supports-Werror=sequence-point... " >&6; }
   14533 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14534 		if eval \${$cacheid+:} false; then :
   14535   $as_echo_n "(cached) " >&6
   14536 else
   14537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14538 /* end confdefs.h.  */
   14539 int i;
   14540 int
   14541 main ()
   14542 {
   14543 
   14544   ;
   14545   return 0;
   14546 }
   14547 _ACEOF
   14548 if ac_fn_c_try_link "$LINENO"; then :
   14549   eval $cacheid=yes
   14550 else
   14551   eval $cacheid=no
   14552 fi
   14553 rm -f core conftest.err conftest.$ac_objext \
   14554     conftest$ac_exeext conftest.$ac_ext
   14555 fi
   14556 
   14557 
   14558 		CFLAGS="$xorg_testset_save_CFLAGS"
   14559 
   14560 		eval supported=\$$cacheid
   14561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14562 $as_echo "$supported" >&6; }
   14563 		if test "$supported" = "yes" ; then
   14564 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14565 			found="yes"
   14566 		fi
   14567 	fi
   14568 
   14569 
   14570 
   14571 
   14572 
   14573 
   14574 
   14575 
   14576 
   14577 
   14578 
   14579 
   14580 
   14581 
   14582 
   14583 xorg_testset_save_CFLAGS="$CFLAGS"
   14584 
   14585 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14586 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14588 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14589 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14590   $as_echo_n "(cached) " >&6
   14591 else
   14592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14593 /* end confdefs.h.  */
   14594 int i;
   14595 _ACEOF
   14596 if ac_fn_c_try_compile "$LINENO"; then :
   14597   xorg_cv_cc_flag_unknown_warning_option=yes
   14598 else
   14599   xorg_cv_cc_flag_unknown_warning_option=no
   14600 fi
   14601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14602 fi
   14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14604 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14605 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14606 	CFLAGS="$xorg_testset_save_CFLAGS"
   14607 fi
   14608 
   14609 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14610 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14612 	fi
   14613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14615 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14616 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14617   $as_echo_n "(cached) " >&6
   14618 else
   14619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14620 /* end confdefs.h.  */
   14621 int i;
   14622 _ACEOF
   14623 if ac_fn_c_try_compile "$LINENO"; then :
   14624   xorg_cv_cc_flag_unused_command_line_argument=yes
   14625 else
   14626   xorg_cv_cc_flag_unused_command_line_argument=no
   14627 fi
   14628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14629 fi
   14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14631 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14632 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14633 	CFLAGS="$xorg_testset_save_CFLAGS"
   14634 fi
   14635 
   14636 found="no"
   14637 
   14638 	if test $found = "no" ; then
   14639 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14640 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14641 		fi
   14642 
   14643 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14644 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14645 		fi
   14646 
   14647 		CFLAGS="$CFLAGS -Werror=return-type"
   14648 
   14649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=return-type" >&5
   14650 $as_echo_n "checking if $CC supports-Werror=return-type... " >&6; }
   14651 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14652 		if eval \${$cacheid+:} false; then :
   14653   $as_echo_n "(cached) " >&6
   14654 else
   14655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14656 /* end confdefs.h.  */
   14657 int i;
   14658 int
   14659 main ()
   14660 {
   14661 
   14662   ;
   14663   return 0;
   14664 }
   14665 _ACEOF
   14666 if ac_fn_c_try_link "$LINENO"; then :
   14667   eval $cacheid=yes
   14668 else
   14669   eval $cacheid=no
   14670 fi
   14671 rm -f core conftest.err conftest.$ac_objext \
   14672     conftest$ac_exeext conftest.$ac_ext
   14673 fi
   14674 
   14675 
   14676 		CFLAGS="$xorg_testset_save_CFLAGS"
   14677 
   14678 		eval supported=\$$cacheid
   14679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14680 $as_echo "$supported" >&6; }
   14681 		if test "$supported" = "yes" ; then
   14682 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14683 			found="yes"
   14684 		fi
   14685 	fi
   14686 
   14687 	if test $found = "no" ; then
   14688 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14689 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14690 		fi
   14691 
   14692 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14693 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14694 		fi
   14695 
   14696 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14697 
   14698 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14699 $as_echo_n "checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14700 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14701 		if eval \${$cacheid+:} false; then :
   14702   $as_echo_n "(cached) " >&6
   14703 else
   14704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14705 /* end confdefs.h.  */
   14706 int i;
   14707 int
   14708 main ()
   14709 {
   14710 
   14711   ;
   14712   return 0;
   14713 }
   14714 _ACEOF
   14715 if ac_fn_c_try_link "$LINENO"; then :
   14716   eval $cacheid=yes
   14717 else
   14718   eval $cacheid=no
   14719 fi
   14720 rm -f core conftest.err conftest.$ac_objext \
   14721     conftest$ac_exeext conftest.$ac_ext
   14722 fi
   14723 
   14724 
   14725 		CFLAGS="$xorg_testset_save_CFLAGS"
   14726 
   14727 		eval supported=\$$cacheid
   14728 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14729 $as_echo "$supported" >&6; }
   14730 		if test "$supported" = "yes" ; then
   14731 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14732 			found="yes"
   14733 		fi
   14734 	fi
   14735 
   14736 
   14737 
   14738 
   14739 
   14740 
   14741 
   14742 
   14743 
   14744 
   14745 
   14746 
   14747 
   14748 
   14749 
   14750 xorg_testset_save_CFLAGS="$CFLAGS"
   14751 
   14752 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14755 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14756 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14757   $as_echo_n "(cached) " >&6
   14758 else
   14759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14760 /* end confdefs.h.  */
   14761 int i;
   14762 _ACEOF
   14763 if ac_fn_c_try_compile "$LINENO"; then :
   14764   xorg_cv_cc_flag_unknown_warning_option=yes
   14765 else
   14766   xorg_cv_cc_flag_unknown_warning_option=no
   14767 fi
   14768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14769 fi
   14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14771 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14772 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14773 	CFLAGS="$xorg_testset_save_CFLAGS"
   14774 fi
   14775 
   14776 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14777 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14778 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14779 	fi
   14780 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14782 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14783 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14784   $as_echo_n "(cached) " >&6
   14785 else
   14786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14787 /* end confdefs.h.  */
   14788 int i;
   14789 _ACEOF
   14790 if ac_fn_c_try_compile "$LINENO"; then :
   14791   xorg_cv_cc_flag_unused_command_line_argument=yes
   14792 else
   14793   xorg_cv_cc_flag_unused_command_line_argument=no
   14794 fi
   14795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14796 fi
   14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14798 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14799 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14800 	CFLAGS="$xorg_testset_save_CFLAGS"
   14801 fi
   14802 
   14803 found="no"
   14804 
   14805 	if test $found = "no" ; then
   14806 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14807 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14808 		fi
   14809 
   14810 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14811 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14812 		fi
   14813 
   14814 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14815 
   14816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=trigraphs" >&5
   14817 $as_echo_n "checking if $CC supports-Werror=trigraphs... " >&6; }
   14818 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   14819 		if eval \${$cacheid+:} false; then :
   14820   $as_echo_n "(cached) " >&6
   14821 else
   14822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14823 /* end confdefs.h.  */
   14824 int i;
   14825 int
   14826 main ()
   14827 {
   14828 
   14829   ;
   14830   return 0;
   14831 }
   14832 _ACEOF
   14833 if ac_fn_c_try_link "$LINENO"; then :
   14834   eval $cacheid=yes
   14835 else
   14836   eval $cacheid=no
   14837 fi
   14838 rm -f core conftest.err conftest.$ac_objext \
   14839     conftest$ac_exeext conftest.$ac_ext
   14840 fi
   14841 
   14842 
   14843 		CFLAGS="$xorg_testset_save_CFLAGS"
   14844 
   14845 		eval supported=\$$cacheid
   14846 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14847 $as_echo "$supported" >&6; }
   14848 		if test "$supported" = "yes" ; then
   14849 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14850 			found="yes"
   14851 		fi
   14852 	fi
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 
   14866 
   14867 
   14868 xorg_testset_save_CFLAGS="$CFLAGS"
   14869 
   14870 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14871 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14873 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14874 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14875   $as_echo_n "(cached) " >&6
   14876 else
   14877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14878 /* end confdefs.h.  */
   14879 int i;
   14880 _ACEOF
   14881 if ac_fn_c_try_compile "$LINENO"; then :
   14882   xorg_cv_cc_flag_unknown_warning_option=yes
   14883 else
   14884   xorg_cv_cc_flag_unknown_warning_option=no
   14885 fi
   14886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14887 fi
   14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14889 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14890 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14891 	CFLAGS="$xorg_testset_save_CFLAGS"
   14892 fi
   14893 
   14894 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14895 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14896 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14897 	fi
   14898 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14900 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14901 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14902   $as_echo_n "(cached) " >&6
   14903 else
   14904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14905 /* end confdefs.h.  */
   14906 int i;
   14907 _ACEOF
   14908 if ac_fn_c_try_compile "$LINENO"; then :
   14909   xorg_cv_cc_flag_unused_command_line_argument=yes
   14910 else
   14911   xorg_cv_cc_flag_unused_command_line_argument=no
   14912 fi
   14913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14914 fi
   14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14916 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14917 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14918 	CFLAGS="$xorg_testset_save_CFLAGS"
   14919 fi
   14920 
   14921 found="no"
   14922 
   14923 	if test $found = "no" ; then
   14924 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14925 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14926 		fi
   14927 
   14928 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14929 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14930 		fi
   14931 
   14932 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14933 
   14934 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=array-bounds" >&5
   14935 $as_echo_n "checking if $CC supports-Werror=array-bounds... " >&6; }
   14936 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   14937 		if eval \${$cacheid+:} false; then :
   14938   $as_echo_n "(cached) " >&6
   14939 else
   14940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14941 /* end confdefs.h.  */
   14942 int i;
   14943 int
   14944 main ()
   14945 {
   14946 
   14947   ;
   14948   return 0;
   14949 }
   14950 _ACEOF
   14951 if ac_fn_c_try_link "$LINENO"; then :
   14952   eval $cacheid=yes
   14953 else
   14954   eval $cacheid=no
   14955 fi
   14956 rm -f core conftest.err conftest.$ac_objext \
   14957     conftest$ac_exeext conftest.$ac_ext
   14958 fi
   14959 
   14960 
   14961 		CFLAGS="$xorg_testset_save_CFLAGS"
   14962 
   14963 		eval supported=\$$cacheid
   14964 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14965 $as_echo "$supported" >&6; }
   14966 		if test "$supported" = "yes" ; then
   14967 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14968 			found="yes"
   14969 		fi
   14970 	fi
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 
   14977 
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 xorg_testset_save_CFLAGS="$CFLAGS"
   14987 
   14988 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14989 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14991 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14992 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14993   $as_echo_n "(cached) " >&6
   14994 else
   14995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14996 /* end confdefs.h.  */
   14997 int i;
   14998 _ACEOF
   14999 if ac_fn_c_try_compile "$LINENO"; then :
   15000   xorg_cv_cc_flag_unknown_warning_option=yes
   15001 else
   15002   xorg_cv_cc_flag_unknown_warning_option=no
   15003 fi
   15004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15005 fi
   15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15007 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15008 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15009 	CFLAGS="$xorg_testset_save_CFLAGS"
   15010 fi
   15011 
   15012 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15013 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15014 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15015 	fi
   15016 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15017 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15018 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15019 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15020   $as_echo_n "(cached) " >&6
   15021 else
   15022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15023 /* end confdefs.h.  */
   15024 int i;
   15025 _ACEOF
   15026 if ac_fn_c_try_compile "$LINENO"; then :
   15027   xorg_cv_cc_flag_unused_command_line_argument=yes
   15028 else
   15029   xorg_cv_cc_flag_unused_command_line_argument=no
   15030 fi
   15031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15032 fi
   15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15034 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15035 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15036 	CFLAGS="$xorg_testset_save_CFLAGS"
   15037 fi
   15038 
   15039 found="no"
   15040 
   15041 	if test $found = "no" ; then
   15042 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15043 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15044 		fi
   15045 
   15046 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15047 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15048 		fi
   15049 
   15050 		CFLAGS="$CFLAGS -Werror=write-strings"
   15051 
   15052 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=write-strings" >&5
   15053 $as_echo_n "checking if $CC supports-Werror=write-strings... " >&6; }
   15054 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15055 		if eval \${$cacheid+:} false; then :
   15056   $as_echo_n "(cached) " >&6
   15057 else
   15058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15059 /* end confdefs.h.  */
   15060 int i;
   15061 int
   15062 main ()
   15063 {
   15064 
   15065   ;
   15066   return 0;
   15067 }
   15068 _ACEOF
   15069 if ac_fn_c_try_link "$LINENO"; then :
   15070   eval $cacheid=yes
   15071 else
   15072   eval $cacheid=no
   15073 fi
   15074 rm -f core conftest.err conftest.$ac_objext \
   15075     conftest$ac_exeext conftest.$ac_ext
   15076 fi
   15077 
   15078 
   15079 		CFLAGS="$xorg_testset_save_CFLAGS"
   15080 
   15081 		eval supported=\$$cacheid
   15082 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15083 $as_echo "$supported" >&6; }
   15084 		if test "$supported" = "yes" ; then
   15085 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15086 			found="yes"
   15087 		fi
   15088 	fi
   15089 
   15090 
   15091 
   15092 
   15093 
   15094 
   15095 
   15096 
   15097 
   15098 
   15099 
   15100 
   15101 
   15102 
   15103 
   15104 xorg_testset_save_CFLAGS="$CFLAGS"
   15105 
   15106 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15107 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15109 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15110 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15111   $as_echo_n "(cached) " >&6
   15112 else
   15113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15114 /* end confdefs.h.  */
   15115 int i;
   15116 _ACEOF
   15117 if ac_fn_c_try_compile "$LINENO"; then :
   15118   xorg_cv_cc_flag_unknown_warning_option=yes
   15119 else
   15120   xorg_cv_cc_flag_unknown_warning_option=no
   15121 fi
   15122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15123 fi
   15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15125 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15126 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15127 	CFLAGS="$xorg_testset_save_CFLAGS"
   15128 fi
   15129 
   15130 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15131 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15132 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15133 	fi
   15134 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15135 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15136 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15137 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15138   $as_echo_n "(cached) " >&6
   15139 else
   15140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15141 /* end confdefs.h.  */
   15142 int i;
   15143 _ACEOF
   15144 if ac_fn_c_try_compile "$LINENO"; then :
   15145   xorg_cv_cc_flag_unused_command_line_argument=yes
   15146 else
   15147   xorg_cv_cc_flag_unused_command_line_argument=no
   15148 fi
   15149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15150 fi
   15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15152 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15153 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15154 	CFLAGS="$xorg_testset_save_CFLAGS"
   15155 fi
   15156 
   15157 found="no"
   15158 
   15159 	if test $found = "no" ; then
   15160 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15161 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15162 		fi
   15163 
   15164 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15165 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15166 		fi
   15167 
   15168 		CFLAGS="$CFLAGS -Werror=address"
   15169 
   15170 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=address" >&5
   15171 $as_echo_n "checking if $CC supports-Werror=address... " >&6; }
   15172 		cacheid=xorg_cv_cc_flag__Werror_address
   15173 		if eval \${$cacheid+:} false; then :
   15174   $as_echo_n "(cached) " >&6
   15175 else
   15176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15177 /* end confdefs.h.  */
   15178 int i;
   15179 int
   15180 main ()
   15181 {
   15182 
   15183   ;
   15184   return 0;
   15185 }
   15186 _ACEOF
   15187 if ac_fn_c_try_link "$LINENO"; then :
   15188   eval $cacheid=yes
   15189 else
   15190   eval $cacheid=no
   15191 fi
   15192 rm -f core conftest.err conftest.$ac_objext \
   15193     conftest$ac_exeext conftest.$ac_ext
   15194 fi
   15195 
   15196 
   15197 		CFLAGS="$xorg_testset_save_CFLAGS"
   15198 
   15199 		eval supported=\$$cacheid
   15200 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15201 $as_echo "$supported" >&6; }
   15202 		if test "$supported" = "yes" ; then
   15203 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15204 			found="yes"
   15205 		fi
   15206 	fi
   15207 
   15208 
   15209 
   15210 
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 
   15221 
   15222 xorg_testset_save_CFLAGS="$CFLAGS"
   15223 
   15224 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15225 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15226 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15227 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15228 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15229   $as_echo_n "(cached) " >&6
   15230 else
   15231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15232 /* end confdefs.h.  */
   15233 int i;
   15234 _ACEOF
   15235 if ac_fn_c_try_compile "$LINENO"; then :
   15236   xorg_cv_cc_flag_unknown_warning_option=yes
   15237 else
   15238   xorg_cv_cc_flag_unknown_warning_option=no
   15239 fi
   15240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15241 fi
   15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15243 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15244 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15245 	CFLAGS="$xorg_testset_save_CFLAGS"
   15246 fi
   15247 
   15248 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15249 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15250 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15251 	fi
   15252 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15254 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15255 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15256   $as_echo_n "(cached) " >&6
   15257 else
   15258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15259 /* end confdefs.h.  */
   15260 int i;
   15261 _ACEOF
   15262 if ac_fn_c_try_compile "$LINENO"; then :
   15263   xorg_cv_cc_flag_unused_command_line_argument=yes
   15264 else
   15265   xorg_cv_cc_flag_unused_command_line_argument=no
   15266 fi
   15267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15268 fi
   15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15270 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15271 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15272 	CFLAGS="$xorg_testset_save_CFLAGS"
   15273 fi
   15274 
   15275 found="no"
   15276 
   15277 	if test $found = "no" ; then
   15278 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15279 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15280 		fi
   15281 
   15282 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15283 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15284 		fi
   15285 
   15286 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15287 
   15288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=int-to-pointer-cast" >&5
   15289 $as_echo_n "checking if $CC supports-Werror=int-to-pointer-cast... " >&6; }
   15290 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15291 		if eval \${$cacheid+:} false; then :
   15292   $as_echo_n "(cached) " >&6
   15293 else
   15294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15295 /* end confdefs.h.  */
   15296 int i;
   15297 int
   15298 main ()
   15299 {
   15300 
   15301   ;
   15302   return 0;
   15303 }
   15304 _ACEOF
   15305 if ac_fn_c_try_link "$LINENO"; then :
   15306   eval $cacheid=yes
   15307 else
   15308   eval $cacheid=no
   15309 fi
   15310 rm -f core conftest.err conftest.$ac_objext \
   15311     conftest$ac_exeext conftest.$ac_ext
   15312 fi
   15313 
   15314 
   15315 		CFLAGS="$xorg_testset_save_CFLAGS"
   15316 
   15317 		eval supported=\$$cacheid
   15318 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15319 $as_echo "$supported" >&6; }
   15320 		if test "$supported" = "yes" ; then
   15321 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15322 			found="yes"
   15323 		fi
   15324 	fi
   15325 
   15326 	if test $found = "no" ; then
   15327 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15329 		fi
   15330 
   15331 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15333 		fi
   15334 
   15335 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15336 
   15337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15338 $as_echo_n "checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15339 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15340 		if eval \${$cacheid+:} false; then :
   15341   $as_echo_n "(cached) " >&6
   15342 else
   15343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15344 /* end confdefs.h.  */
   15345 int i;
   15346 int
   15347 main ()
   15348 {
   15349 
   15350   ;
   15351   return 0;
   15352 }
   15353 _ACEOF
   15354 if ac_fn_c_try_link "$LINENO"; then :
   15355   eval $cacheid=yes
   15356 else
   15357   eval $cacheid=no
   15358 fi
   15359 rm -f core conftest.err conftest.$ac_objext \
   15360     conftest$ac_exeext conftest.$ac_ext
   15361 fi
   15362 
   15363 
   15364 		CFLAGS="$xorg_testset_save_CFLAGS"
   15365 
   15366 		eval supported=\$$cacheid
   15367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15368 $as_echo "$supported" >&6; }
   15369 		if test "$supported" = "yes" ; then
   15370 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15371 			found="yes"
   15372 		fi
   15373 	fi
   15374 
   15375 
   15376 
   15377 
   15378 
   15379 
   15380 
   15381 
   15382 
   15383 
   15384 
   15385 
   15386 
   15387 
   15388 
   15389 xorg_testset_save_CFLAGS="$CFLAGS"
   15390 
   15391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15394 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15395 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15396   $as_echo_n "(cached) " >&6
   15397 else
   15398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15399 /* end confdefs.h.  */
   15400 int i;
   15401 _ACEOF
   15402 if ac_fn_c_try_compile "$LINENO"; then :
   15403   xorg_cv_cc_flag_unknown_warning_option=yes
   15404 else
   15405   xorg_cv_cc_flag_unknown_warning_option=no
   15406 fi
   15407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15408 fi
   15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15410 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15411 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15412 	CFLAGS="$xorg_testset_save_CFLAGS"
   15413 fi
   15414 
   15415 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15416 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15417 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15418 	fi
   15419 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15421 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15422 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15423   $as_echo_n "(cached) " >&6
   15424 else
   15425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15426 /* end confdefs.h.  */
   15427 int i;
   15428 _ACEOF
   15429 if ac_fn_c_try_compile "$LINENO"; then :
   15430   xorg_cv_cc_flag_unused_command_line_argument=yes
   15431 else
   15432   xorg_cv_cc_flag_unused_command_line_argument=no
   15433 fi
   15434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15435 fi
   15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15437 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15438 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15439 	CFLAGS="$xorg_testset_save_CFLAGS"
   15440 fi
   15441 
   15442 found="no"
   15443 
   15444 	if test $found = "no" ; then
   15445 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15446 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15447 		fi
   15448 
   15449 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15450 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15451 		fi
   15452 
   15453 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15454 
   15455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=pointer-to-int-cast" >&5
   15456 $as_echo_n "checking if $CC supports-Werror=pointer-to-int-cast... " >&6; }
   15457 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15458 		if eval \${$cacheid+:} false; then :
   15459   $as_echo_n "(cached) " >&6
   15460 else
   15461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15462 /* end confdefs.h.  */
   15463 int i;
   15464 int
   15465 main ()
   15466 {
   15467 
   15468   ;
   15469   return 0;
   15470 }
   15471 _ACEOF
   15472 if ac_fn_c_try_link "$LINENO"; then :
   15473   eval $cacheid=yes
   15474 else
   15475   eval $cacheid=no
   15476 fi
   15477 rm -f core conftest.err conftest.$ac_objext \
   15478     conftest$ac_exeext conftest.$ac_ext
   15479 fi
   15480 
   15481 
   15482 		CFLAGS="$xorg_testset_save_CFLAGS"
   15483 
   15484 		eval supported=\$$cacheid
   15485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15486 $as_echo "$supported" >&6; }
   15487 		if test "$supported" = "yes" ; then
   15488 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15489 			found="yes"
   15490 		fi
   15491 	fi
   15492 
   15493  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15494 else
   15495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
   15496 $as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
   15497 
   15498 
   15499 
   15500 
   15501 
   15502 
   15503 
   15504 
   15505 
   15506 
   15507 
   15508 
   15509 
   15510 xorg_testset_save_CFLAGS="$CFLAGS"
   15511 
   15512 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15513 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15515 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15516 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15517   $as_echo_n "(cached) " >&6
   15518 else
   15519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15520 /* end confdefs.h.  */
   15521 int i;
   15522 _ACEOF
   15523 if ac_fn_c_try_compile "$LINENO"; then :
   15524   xorg_cv_cc_flag_unknown_warning_option=yes
   15525 else
   15526   xorg_cv_cc_flag_unknown_warning_option=no
   15527 fi
   15528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15529 fi
   15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15531 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15532 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15533 	CFLAGS="$xorg_testset_save_CFLAGS"
   15534 fi
   15535 
   15536 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15537 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15538 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15539 	fi
   15540 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15541 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15542 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15543 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15544   $as_echo_n "(cached) " >&6
   15545 else
   15546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15547 /* end confdefs.h.  */
   15548 int i;
   15549 _ACEOF
   15550 if ac_fn_c_try_compile "$LINENO"; then :
   15551   xorg_cv_cc_flag_unused_command_line_argument=yes
   15552 else
   15553   xorg_cv_cc_flag_unused_command_line_argument=no
   15554 fi
   15555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15556 fi
   15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15558 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15559 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15560 	CFLAGS="$xorg_testset_save_CFLAGS"
   15561 fi
   15562 
   15563 found="no"
   15564 
   15565 	if test $found = "no" ; then
   15566 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15567 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15568 		fi
   15569 
   15570 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15571 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15572 		fi
   15573 
   15574 		CFLAGS="$CFLAGS -Wimplicit"
   15575 
   15576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wimplicit" >&5
   15577 $as_echo_n "checking if $CC supports-Wimplicit... " >&6; }
   15578 		cacheid=xorg_cv_cc_flag__Wimplicit
   15579 		if eval \${$cacheid+:} false; then :
   15580   $as_echo_n "(cached) " >&6
   15581 else
   15582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15583 /* end confdefs.h.  */
   15584 int i;
   15585 int
   15586 main ()
   15587 {
   15588 
   15589   ;
   15590   return 0;
   15591 }
   15592 _ACEOF
   15593 if ac_fn_c_try_link "$LINENO"; then :
   15594   eval $cacheid=yes
   15595 else
   15596   eval $cacheid=no
   15597 fi
   15598 rm -f core conftest.err conftest.$ac_objext \
   15599     conftest$ac_exeext conftest.$ac_ext
   15600 fi
   15601 
   15602 
   15603 		CFLAGS="$xorg_testset_save_CFLAGS"
   15604 
   15605 		eval supported=\$$cacheid
   15606 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15607 $as_echo "$supported" >&6; }
   15608 		if test "$supported" = "yes" ; then
   15609 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15610 			found="yes"
   15611 		fi
   15612 	fi
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 xorg_testset_save_CFLAGS="$CFLAGS"
   15629 
   15630 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15631 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15633 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15634 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15635   $as_echo_n "(cached) " >&6
   15636 else
   15637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15638 /* end confdefs.h.  */
   15639 int i;
   15640 _ACEOF
   15641 if ac_fn_c_try_compile "$LINENO"; then :
   15642   xorg_cv_cc_flag_unknown_warning_option=yes
   15643 else
   15644   xorg_cv_cc_flag_unknown_warning_option=no
   15645 fi
   15646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15647 fi
   15648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15649 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15650 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15651 	CFLAGS="$xorg_testset_save_CFLAGS"
   15652 fi
   15653 
   15654 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15655 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15656 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15657 	fi
   15658 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15659 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15660 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15661 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15662   $as_echo_n "(cached) " >&6
   15663 else
   15664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15665 /* end confdefs.h.  */
   15666 int i;
   15667 _ACEOF
   15668 if ac_fn_c_try_compile "$LINENO"; then :
   15669   xorg_cv_cc_flag_unused_command_line_argument=yes
   15670 else
   15671   xorg_cv_cc_flag_unused_command_line_argument=no
   15672 fi
   15673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15674 fi
   15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15676 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15677 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15678 	CFLAGS="$xorg_testset_save_CFLAGS"
   15679 fi
   15680 
   15681 found="no"
   15682 
   15683 	if test $found = "no" ; then
   15684 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15686 		fi
   15687 
   15688 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15690 		fi
   15691 
   15692 		CFLAGS="$CFLAGS -Wnonnull"
   15693 
   15694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnonnull" >&5
   15695 $as_echo_n "checking if $CC supports-Wnonnull... " >&6; }
   15696 		cacheid=xorg_cv_cc_flag__Wnonnull
   15697 		if eval \${$cacheid+:} false; then :
   15698   $as_echo_n "(cached) " >&6
   15699 else
   15700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15701 /* end confdefs.h.  */
   15702 int i;
   15703 int
   15704 main ()
   15705 {
   15706 
   15707   ;
   15708   return 0;
   15709 }
   15710 _ACEOF
   15711 if ac_fn_c_try_link "$LINENO"; then :
   15712   eval $cacheid=yes
   15713 else
   15714   eval $cacheid=no
   15715 fi
   15716 rm -f core conftest.err conftest.$ac_objext \
   15717     conftest$ac_exeext conftest.$ac_ext
   15718 fi
   15719 
   15720 
   15721 		CFLAGS="$xorg_testset_save_CFLAGS"
   15722 
   15723 		eval supported=\$$cacheid
   15724 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15725 $as_echo "$supported" >&6; }
   15726 		if test "$supported" = "yes" ; then
   15727 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15728 			found="yes"
   15729 		fi
   15730 	fi
   15731 
   15732 
   15733 
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 xorg_testset_save_CFLAGS="$CFLAGS"
   15747 
   15748 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15749 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15750 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15751 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15752 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15753   $as_echo_n "(cached) " >&6
   15754 else
   15755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15756 /* end confdefs.h.  */
   15757 int i;
   15758 _ACEOF
   15759 if ac_fn_c_try_compile "$LINENO"; then :
   15760   xorg_cv_cc_flag_unknown_warning_option=yes
   15761 else
   15762   xorg_cv_cc_flag_unknown_warning_option=no
   15763 fi
   15764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15765 fi
   15766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15767 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15768 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15769 	CFLAGS="$xorg_testset_save_CFLAGS"
   15770 fi
   15771 
   15772 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15773 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15774 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15775 	fi
   15776 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15777 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15778 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15779 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15780   $as_echo_n "(cached) " >&6
   15781 else
   15782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15783 /* end confdefs.h.  */
   15784 int i;
   15785 _ACEOF
   15786 if ac_fn_c_try_compile "$LINENO"; then :
   15787   xorg_cv_cc_flag_unused_command_line_argument=yes
   15788 else
   15789   xorg_cv_cc_flag_unused_command_line_argument=no
   15790 fi
   15791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15792 fi
   15793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15794 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15795 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15796 	CFLAGS="$xorg_testset_save_CFLAGS"
   15797 fi
   15798 
   15799 found="no"
   15800 
   15801 	if test $found = "no" ; then
   15802 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15803 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15804 		fi
   15805 
   15806 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15807 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15808 		fi
   15809 
   15810 		CFLAGS="$CFLAGS -Winit-self"
   15811 
   15812 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Winit-self" >&5
   15813 $as_echo_n "checking if $CC supports-Winit-self... " >&6; }
   15814 		cacheid=xorg_cv_cc_flag__Winit_self
   15815 		if eval \${$cacheid+:} false; then :
   15816   $as_echo_n "(cached) " >&6
   15817 else
   15818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15819 /* end confdefs.h.  */
   15820 int i;
   15821 int
   15822 main ()
   15823 {
   15824 
   15825   ;
   15826   return 0;
   15827 }
   15828 _ACEOF
   15829 if ac_fn_c_try_link "$LINENO"; then :
   15830   eval $cacheid=yes
   15831 else
   15832   eval $cacheid=no
   15833 fi
   15834 rm -f core conftest.err conftest.$ac_objext \
   15835     conftest$ac_exeext conftest.$ac_ext
   15836 fi
   15837 
   15838 
   15839 		CFLAGS="$xorg_testset_save_CFLAGS"
   15840 
   15841 		eval supported=\$$cacheid
   15842 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15843 $as_echo "$supported" >&6; }
   15844 		if test "$supported" = "yes" ; then
   15845 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15846 			found="yes"
   15847 		fi
   15848 	fi
   15849 
   15850 
   15851 
   15852 
   15853 
   15854 
   15855 
   15856 
   15857 
   15858 
   15859 
   15860 
   15861 
   15862 
   15863 
   15864 xorg_testset_save_CFLAGS="$CFLAGS"
   15865 
   15866 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15867 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15868 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15869 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15870 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15871   $as_echo_n "(cached) " >&6
   15872 else
   15873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15874 /* end confdefs.h.  */
   15875 int i;
   15876 _ACEOF
   15877 if ac_fn_c_try_compile "$LINENO"; then :
   15878   xorg_cv_cc_flag_unknown_warning_option=yes
   15879 else
   15880   xorg_cv_cc_flag_unknown_warning_option=no
   15881 fi
   15882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15883 fi
   15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15885 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15886 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15887 	CFLAGS="$xorg_testset_save_CFLAGS"
   15888 fi
   15889 
   15890 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15891 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15892 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15893 	fi
   15894 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15895 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15896 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15897 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15898   $as_echo_n "(cached) " >&6
   15899 else
   15900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15901 /* end confdefs.h.  */
   15902 int i;
   15903 _ACEOF
   15904 if ac_fn_c_try_compile "$LINENO"; then :
   15905   xorg_cv_cc_flag_unused_command_line_argument=yes
   15906 else
   15907   xorg_cv_cc_flag_unused_command_line_argument=no
   15908 fi
   15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15910 fi
   15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15912 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15913 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15914 	CFLAGS="$xorg_testset_save_CFLAGS"
   15915 fi
   15916 
   15917 found="no"
   15918 
   15919 	if test $found = "no" ; then
   15920 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15921 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15922 		fi
   15923 
   15924 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15925 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15926 		fi
   15927 
   15928 		CFLAGS="$CFLAGS -Wmain"
   15929 
   15930 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmain" >&5
   15931 $as_echo_n "checking if $CC supports-Wmain... " >&6; }
   15932 		cacheid=xorg_cv_cc_flag__Wmain
   15933 		if eval \${$cacheid+:} false; then :
   15934   $as_echo_n "(cached) " >&6
   15935 else
   15936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15937 /* end confdefs.h.  */
   15938 int i;
   15939 int
   15940 main ()
   15941 {
   15942 
   15943   ;
   15944   return 0;
   15945 }
   15946 _ACEOF
   15947 if ac_fn_c_try_link "$LINENO"; then :
   15948   eval $cacheid=yes
   15949 else
   15950   eval $cacheid=no
   15951 fi
   15952 rm -f core conftest.err conftest.$ac_objext \
   15953     conftest$ac_exeext conftest.$ac_ext
   15954 fi
   15955 
   15956 
   15957 		CFLAGS="$xorg_testset_save_CFLAGS"
   15958 
   15959 		eval supported=\$$cacheid
   15960 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15961 $as_echo "$supported" >&6; }
   15962 		if test "$supported" = "yes" ; then
   15963 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15964 			found="yes"
   15965 		fi
   15966 	fi
   15967 
   15968 
   15969 
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 
   15981 
   15982 xorg_testset_save_CFLAGS="$CFLAGS"
   15983 
   15984 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15985 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15986 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15987 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15988 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15989   $as_echo_n "(cached) " >&6
   15990 else
   15991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15992 /* end confdefs.h.  */
   15993 int i;
   15994 _ACEOF
   15995 if ac_fn_c_try_compile "$LINENO"; then :
   15996   xorg_cv_cc_flag_unknown_warning_option=yes
   15997 else
   15998   xorg_cv_cc_flag_unknown_warning_option=no
   15999 fi
   16000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16001 fi
   16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16003 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16004 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16005 	CFLAGS="$xorg_testset_save_CFLAGS"
   16006 fi
   16007 
   16008 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16009 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16010 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16011 	fi
   16012 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16014 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16015 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16016   $as_echo_n "(cached) " >&6
   16017 else
   16018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16019 /* end confdefs.h.  */
   16020 int i;
   16021 _ACEOF
   16022 if ac_fn_c_try_compile "$LINENO"; then :
   16023   xorg_cv_cc_flag_unused_command_line_argument=yes
   16024 else
   16025   xorg_cv_cc_flag_unused_command_line_argument=no
   16026 fi
   16027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16028 fi
   16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16030 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16031 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16032 	CFLAGS="$xorg_testset_save_CFLAGS"
   16033 fi
   16034 
   16035 found="no"
   16036 
   16037 	if test $found = "no" ; then
   16038 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16040 		fi
   16041 
   16042 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16044 		fi
   16045 
   16046 		CFLAGS="$CFLAGS -Wmissing-braces"
   16047 
   16048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-braces" >&5
   16049 $as_echo_n "checking if $CC supports-Wmissing-braces... " >&6; }
   16050 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16051 		if eval \${$cacheid+:} false; then :
   16052   $as_echo_n "(cached) " >&6
   16053 else
   16054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16055 /* end confdefs.h.  */
   16056 int i;
   16057 int
   16058 main ()
   16059 {
   16060 
   16061   ;
   16062   return 0;
   16063 }
   16064 _ACEOF
   16065 if ac_fn_c_try_link "$LINENO"; then :
   16066   eval $cacheid=yes
   16067 else
   16068   eval $cacheid=no
   16069 fi
   16070 rm -f core conftest.err conftest.$ac_objext \
   16071     conftest$ac_exeext conftest.$ac_ext
   16072 fi
   16073 
   16074 
   16075 		CFLAGS="$xorg_testset_save_CFLAGS"
   16076 
   16077 		eval supported=\$$cacheid
   16078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16079 $as_echo "$supported" >&6; }
   16080 		if test "$supported" = "yes" ; then
   16081 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16082 			found="yes"
   16083 		fi
   16084 	fi
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 
   16096 
   16097 
   16098 
   16099 
   16100 xorg_testset_save_CFLAGS="$CFLAGS"
   16101 
   16102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16104 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16105 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16106 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16107   $as_echo_n "(cached) " >&6
   16108 else
   16109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16110 /* end confdefs.h.  */
   16111 int i;
   16112 _ACEOF
   16113 if ac_fn_c_try_compile "$LINENO"; then :
   16114   xorg_cv_cc_flag_unknown_warning_option=yes
   16115 else
   16116   xorg_cv_cc_flag_unknown_warning_option=no
   16117 fi
   16118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16119 fi
   16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16121 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16122 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16123 	CFLAGS="$xorg_testset_save_CFLAGS"
   16124 fi
   16125 
   16126 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16127 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16128 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16129 	fi
   16130 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16132 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16133 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16134   $as_echo_n "(cached) " >&6
   16135 else
   16136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16137 /* end confdefs.h.  */
   16138 int i;
   16139 _ACEOF
   16140 if ac_fn_c_try_compile "$LINENO"; then :
   16141   xorg_cv_cc_flag_unused_command_line_argument=yes
   16142 else
   16143   xorg_cv_cc_flag_unused_command_line_argument=no
   16144 fi
   16145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16146 fi
   16147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16148 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16149 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16150 	CFLAGS="$xorg_testset_save_CFLAGS"
   16151 fi
   16152 
   16153 found="no"
   16154 
   16155 	if test $found = "no" ; then
   16156 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16157 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16158 		fi
   16159 
   16160 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16161 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16162 		fi
   16163 
   16164 		CFLAGS="$CFLAGS -Wsequence-point"
   16165 
   16166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wsequence-point" >&5
   16167 $as_echo_n "checking if $CC supports-Wsequence-point... " >&6; }
   16168 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16169 		if eval \${$cacheid+:} false; then :
   16170   $as_echo_n "(cached) " >&6
   16171 else
   16172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16173 /* end confdefs.h.  */
   16174 int i;
   16175 int
   16176 main ()
   16177 {
   16178 
   16179   ;
   16180   return 0;
   16181 }
   16182 _ACEOF
   16183 if ac_fn_c_try_link "$LINENO"; then :
   16184   eval $cacheid=yes
   16185 else
   16186   eval $cacheid=no
   16187 fi
   16188 rm -f core conftest.err conftest.$ac_objext \
   16189     conftest$ac_exeext conftest.$ac_ext
   16190 fi
   16191 
   16192 
   16193 		CFLAGS="$xorg_testset_save_CFLAGS"
   16194 
   16195 		eval supported=\$$cacheid
   16196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16197 $as_echo "$supported" >&6; }
   16198 		if test "$supported" = "yes" ; then
   16199 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16200 			found="yes"
   16201 		fi
   16202 	fi
   16203 
   16204 
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218 xorg_testset_save_CFLAGS="$CFLAGS"
   16219 
   16220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16222 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16223 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16224 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16225   $as_echo_n "(cached) " >&6
   16226 else
   16227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16228 /* end confdefs.h.  */
   16229 int i;
   16230 _ACEOF
   16231 if ac_fn_c_try_compile "$LINENO"; then :
   16232   xorg_cv_cc_flag_unknown_warning_option=yes
   16233 else
   16234   xorg_cv_cc_flag_unknown_warning_option=no
   16235 fi
   16236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16237 fi
   16238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16239 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16240 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16241 	CFLAGS="$xorg_testset_save_CFLAGS"
   16242 fi
   16243 
   16244 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16245 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16246 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16247 	fi
   16248 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16250 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16251 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16252   $as_echo_n "(cached) " >&6
   16253 else
   16254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16255 /* end confdefs.h.  */
   16256 int i;
   16257 _ACEOF
   16258 if ac_fn_c_try_compile "$LINENO"; then :
   16259   xorg_cv_cc_flag_unused_command_line_argument=yes
   16260 else
   16261   xorg_cv_cc_flag_unused_command_line_argument=no
   16262 fi
   16263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16264 fi
   16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16266 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16267 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16268 	CFLAGS="$xorg_testset_save_CFLAGS"
   16269 fi
   16270 
   16271 found="no"
   16272 
   16273 	if test $found = "no" ; then
   16274 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16276 		fi
   16277 
   16278 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16280 		fi
   16281 
   16282 		CFLAGS="$CFLAGS -Wreturn-type"
   16283 
   16284 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wreturn-type" >&5
   16285 $as_echo_n "checking if $CC supports-Wreturn-type... " >&6; }
   16286 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16287 		if eval \${$cacheid+:} false; then :
   16288   $as_echo_n "(cached) " >&6
   16289 else
   16290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16291 /* end confdefs.h.  */
   16292 int i;
   16293 int
   16294 main ()
   16295 {
   16296 
   16297   ;
   16298   return 0;
   16299 }
   16300 _ACEOF
   16301 if ac_fn_c_try_link "$LINENO"; then :
   16302   eval $cacheid=yes
   16303 else
   16304   eval $cacheid=no
   16305 fi
   16306 rm -f core conftest.err conftest.$ac_objext \
   16307     conftest$ac_exeext conftest.$ac_ext
   16308 fi
   16309 
   16310 
   16311 		CFLAGS="$xorg_testset_save_CFLAGS"
   16312 
   16313 		eval supported=\$$cacheid
   16314 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16315 $as_echo "$supported" >&6; }
   16316 		if test "$supported" = "yes" ; then
   16317 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16318 			found="yes"
   16319 		fi
   16320 	fi
   16321 
   16322 
   16323 
   16324 
   16325 
   16326 
   16327 
   16328 
   16329 
   16330 
   16331 
   16332 
   16333 
   16334 
   16335 
   16336 xorg_testset_save_CFLAGS="$CFLAGS"
   16337 
   16338 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16339 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16341 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16342 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16343   $as_echo_n "(cached) " >&6
   16344 else
   16345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16346 /* end confdefs.h.  */
   16347 int i;
   16348 _ACEOF
   16349 if ac_fn_c_try_compile "$LINENO"; then :
   16350   xorg_cv_cc_flag_unknown_warning_option=yes
   16351 else
   16352   xorg_cv_cc_flag_unknown_warning_option=no
   16353 fi
   16354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16355 fi
   16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16357 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16358 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16359 	CFLAGS="$xorg_testset_save_CFLAGS"
   16360 fi
   16361 
   16362 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16363 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16364 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16365 	fi
   16366 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16367 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16368 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16369 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16370   $as_echo_n "(cached) " >&6
   16371 else
   16372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16373 /* end confdefs.h.  */
   16374 int i;
   16375 _ACEOF
   16376 if ac_fn_c_try_compile "$LINENO"; then :
   16377   xorg_cv_cc_flag_unused_command_line_argument=yes
   16378 else
   16379   xorg_cv_cc_flag_unused_command_line_argument=no
   16380 fi
   16381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16382 fi
   16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16384 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16385 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16386 	CFLAGS="$xorg_testset_save_CFLAGS"
   16387 fi
   16388 
   16389 found="no"
   16390 
   16391 	if test $found = "no" ; then
   16392 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16393 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16394 		fi
   16395 
   16396 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16397 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16398 		fi
   16399 
   16400 		CFLAGS="$CFLAGS -Wtrigraphs"
   16401 
   16402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wtrigraphs" >&5
   16403 $as_echo_n "checking if $CC supports-Wtrigraphs... " >&6; }
   16404 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16405 		if eval \${$cacheid+:} false; then :
   16406   $as_echo_n "(cached) " >&6
   16407 else
   16408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16409 /* end confdefs.h.  */
   16410 int i;
   16411 int
   16412 main ()
   16413 {
   16414 
   16415   ;
   16416   return 0;
   16417 }
   16418 _ACEOF
   16419 if ac_fn_c_try_link "$LINENO"; then :
   16420   eval $cacheid=yes
   16421 else
   16422   eval $cacheid=no
   16423 fi
   16424 rm -f core conftest.err conftest.$ac_objext \
   16425     conftest$ac_exeext conftest.$ac_ext
   16426 fi
   16427 
   16428 
   16429 		CFLAGS="$xorg_testset_save_CFLAGS"
   16430 
   16431 		eval supported=\$$cacheid
   16432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16433 $as_echo "$supported" >&6; }
   16434 		if test "$supported" = "yes" ; then
   16435 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16436 			found="yes"
   16437 		fi
   16438 	fi
   16439 
   16440 
   16441 
   16442 
   16443 
   16444 
   16445 
   16446 
   16447 
   16448 
   16449 
   16450 
   16451 
   16452 
   16453 
   16454 xorg_testset_save_CFLAGS="$CFLAGS"
   16455 
   16456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16459 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16460 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16461   $as_echo_n "(cached) " >&6
   16462 else
   16463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16464 /* end confdefs.h.  */
   16465 int i;
   16466 _ACEOF
   16467 if ac_fn_c_try_compile "$LINENO"; then :
   16468   xorg_cv_cc_flag_unknown_warning_option=yes
   16469 else
   16470   xorg_cv_cc_flag_unknown_warning_option=no
   16471 fi
   16472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16473 fi
   16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16475 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16477 	CFLAGS="$xorg_testset_save_CFLAGS"
   16478 fi
   16479 
   16480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16483 	fi
   16484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16486 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16487 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16488   $as_echo_n "(cached) " >&6
   16489 else
   16490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16491 /* end confdefs.h.  */
   16492 int i;
   16493 _ACEOF
   16494 if ac_fn_c_try_compile "$LINENO"; then :
   16495   xorg_cv_cc_flag_unused_command_line_argument=yes
   16496 else
   16497   xorg_cv_cc_flag_unused_command_line_argument=no
   16498 fi
   16499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16500 fi
   16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16502 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16504 	CFLAGS="$xorg_testset_save_CFLAGS"
   16505 fi
   16506 
   16507 found="no"
   16508 
   16509 	if test $found = "no" ; then
   16510 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16512 		fi
   16513 
   16514 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16516 		fi
   16517 
   16518 		CFLAGS="$CFLAGS -Warray-bounds"
   16519 
   16520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Warray-bounds" >&5
   16521 $as_echo_n "checking if $CC supports-Warray-bounds... " >&6; }
   16522 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16523 		if eval \${$cacheid+:} false; then :
   16524   $as_echo_n "(cached) " >&6
   16525 else
   16526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16527 /* end confdefs.h.  */
   16528 int i;
   16529 int
   16530 main ()
   16531 {
   16532 
   16533   ;
   16534   return 0;
   16535 }
   16536 _ACEOF
   16537 if ac_fn_c_try_link "$LINENO"; then :
   16538   eval $cacheid=yes
   16539 else
   16540   eval $cacheid=no
   16541 fi
   16542 rm -f core conftest.err conftest.$ac_objext \
   16543     conftest$ac_exeext conftest.$ac_ext
   16544 fi
   16545 
   16546 
   16547 		CFLAGS="$xorg_testset_save_CFLAGS"
   16548 
   16549 		eval supported=\$$cacheid
   16550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16551 $as_echo "$supported" >&6; }
   16552 		if test "$supported" = "yes" ; then
   16553 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16554 			found="yes"
   16555 		fi
   16556 	fi
   16557 
   16558 
   16559 
   16560 
   16561 
   16562 
   16563 
   16564 
   16565 
   16566 
   16567 
   16568 
   16569 
   16570 
   16571 
   16572 xorg_testset_save_CFLAGS="$CFLAGS"
   16573 
   16574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16577 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16578 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16579   $as_echo_n "(cached) " >&6
   16580 else
   16581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16582 /* end confdefs.h.  */
   16583 int i;
   16584 _ACEOF
   16585 if ac_fn_c_try_compile "$LINENO"; then :
   16586   xorg_cv_cc_flag_unknown_warning_option=yes
   16587 else
   16588   xorg_cv_cc_flag_unknown_warning_option=no
   16589 fi
   16590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16591 fi
   16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16593 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16594 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16595 	CFLAGS="$xorg_testset_save_CFLAGS"
   16596 fi
   16597 
   16598 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16599 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16600 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16601 	fi
   16602 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16604 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16605 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16606   $as_echo_n "(cached) " >&6
   16607 else
   16608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16609 /* end confdefs.h.  */
   16610 int i;
   16611 _ACEOF
   16612 if ac_fn_c_try_compile "$LINENO"; then :
   16613   xorg_cv_cc_flag_unused_command_line_argument=yes
   16614 else
   16615   xorg_cv_cc_flag_unused_command_line_argument=no
   16616 fi
   16617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16618 fi
   16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16620 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16622 	CFLAGS="$xorg_testset_save_CFLAGS"
   16623 fi
   16624 
   16625 found="no"
   16626 
   16627 	if test $found = "no" ; then
   16628 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16630 		fi
   16631 
   16632 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16634 		fi
   16635 
   16636 		CFLAGS="$CFLAGS -Wwrite-strings"
   16637 
   16638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wwrite-strings" >&5
   16639 $as_echo_n "checking if $CC supports-Wwrite-strings... " >&6; }
   16640 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16641 		if eval \${$cacheid+:} false; then :
   16642   $as_echo_n "(cached) " >&6
   16643 else
   16644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16645 /* end confdefs.h.  */
   16646 int i;
   16647 int
   16648 main ()
   16649 {
   16650 
   16651   ;
   16652   return 0;
   16653 }
   16654 _ACEOF
   16655 if ac_fn_c_try_link "$LINENO"; then :
   16656   eval $cacheid=yes
   16657 else
   16658   eval $cacheid=no
   16659 fi
   16660 rm -f core conftest.err conftest.$ac_objext \
   16661     conftest$ac_exeext conftest.$ac_ext
   16662 fi
   16663 
   16664 
   16665 		CFLAGS="$xorg_testset_save_CFLAGS"
   16666 
   16667 		eval supported=\$$cacheid
   16668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16669 $as_echo "$supported" >&6; }
   16670 		if test "$supported" = "yes" ; then
   16671 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16672 			found="yes"
   16673 		fi
   16674 	fi
   16675 
   16676 
   16677 
   16678 
   16679 
   16680 
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 
   16689 
   16690 xorg_testset_save_CFLAGS="$CFLAGS"
   16691 
   16692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16695 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16696 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16697   $as_echo_n "(cached) " >&6
   16698 else
   16699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16700 /* end confdefs.h.  */
   16701 int i;
   16702 _ACEOF
   16703 if ac_fn_c_try_compile "$LINENO"; then :
   16704   xorg_cv_cc_flag_unknown_warning_option=yes
   16705 else
   16706   xorg_cv_cc_flag_unknown_warning_option=no
   16707 fi
   16708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16709 fi
   16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16711 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16713 	CFLAGS="$xorg_testset_save_CFLAGS"
   16714 fi
   16715 
   16716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16719 	fi
   16720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16722 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16723 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16724   $as_echo_n "(cached) " >&6
   16725 else
   16726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16727 /* end confdefs.h.  */
   16728 int i;
   16729 _ACEOF
   16730 if ac_fn_c_try_compile "$LINENO"; then :
   16731   xorg_cv_cc_flag_unused_command_line_argument=yes
   16732 else
   16733   xorg_cv_cc_flag_unused_command_line_argument=no
   16734 fi
   16735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16736 fi
   16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16738 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16739 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16740 	CFLAGS="$xorg_testset_save_CFLAGS"
   16741 fi
   16742 
   16743 found="no"
   16744 
   16745 	if test $found = "no" ; then
   16746 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16748 		fi
   16749 
   16750 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16752 		fi
   16753 
   16754 		CFLAGS="$CFLAGS -Waddress"
   16755 
   16756 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Waddress" >&5
   16757 $as_echo_n "checking if $CC supports-Waddress... " >&6; }
   16758 		cacheid=xorg_cv_cc_flag__Waddress
   16759 		if eval \${$cacheid+:} false; then :
   16760   $as_echo_n "(cached) " >&6
   16761 else
   16762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16763 /* end confdefs.h.  */
   16764 int i;
   16765 int
   16766 main ()
   16767 {
   16768 
   16769   ;
   16770   return 0;
   16771 }
   16772 _ACEOF
   16773 if ac_fn_c_try_link "$LINENO"; then :
   16774   eval $cacheid=yes
   16775 else
   16776   eval $cacheid=no
   16777 fi
   16778 rm -f core conftest.err conftest.$ac_objext \
   16779     conftest$ac_exeext conftest.$ac_ext
   16780 fi
   16781 
   16782 
   16783 		CFLAGS="$xorg_testset_save_CFLAGS"
   16784 
   16785 		eval supported=\$$cacheid
   16786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16787 $as_echo "$supported" >&6; }
   16788 		if test "$supported" = "yes" ; then
   16789 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16790 			found="yes"
   16791 		fi
   16792 	fi
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 xorg_testset_save_CFLAGS="$CFLAGS"
   16809 
   16810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16813 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16814 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16815   $as_echo_n "(cached) " >&6
   16816 else
   16817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16818 /* end confdefs.h.  */
   16819 int i;
   16820 _ACEOF
   16821 if ac_fn_c_try_compile "$LINENO"; then :
   16822   xorg_cv_cc_flag_unknown_warning_option=yes
   16823 else
   16824   xorg_cv_cc_flag_unknown_warning_option=no
   16825 fi
   16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16827 fi
   16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16829 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16831 	CFLAGS="$xorg_testset_save_CFLAGS"
   16832 fi
   16833 
   16834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16835 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16837 	fi
   16838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16840 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16841 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16842   $as_echo_n "(cached) " >&6
   16843 else
   16844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16845 /* end confdefs.h.  */
   16846 int i;
   16847 _ACEOF
   16848 if ac_fn_c_try_compile "$LINENO"; then :
   16849   xorg_cv_cc_flag_unused_command_line_argument=yes
   16850 else
   16851   xorg_cv_cc_flag_unused_command_line_argument=no
   16852 fi
   16853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16854 fi
   16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16856 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16858 	CFLAGS="$xorg_testset_save_CFLAGS"
   16859 fi
   16860 
   16861 found="no"
   16862 
   16863 	if test $found = "no" ; then
   16864 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16866 		fi
   16867 
   16868 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16870 		fi
   16871 
   16872 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16873 
   16874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wint-to-pointer-cast" >&5
   16875 $as_echo_n "checking if $CC supports-Wint-to-pointer-cast... " >&6; }
   16876 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16877 		if eval \${$cacheid+:} false; then :
   16878   $as_echo_n "(cached) " >&6
   16879 else
   16880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16881 /* end confdefs.h.  */
   16882 int i;
   16883 int
   16884 main ()
   16885 {
   16886 
   16887   ;
   16888   return 0;
   16889 }
   16890 _ACEOF
   16891 if ac_fn_c_try_link "$LINENO"; then :
   16892   eval $cacheid=yes
   16893 else
   16894   eval $cacheid=no
   16895 fi
   16896 rm -f core conftest.err conftest.$ac_objext \
   16897     conftest$ac_exeext conftest.$ac_ext
   16898 fi
   16899 
   16900 
   16901 		CFLAGS="$xorg_testset_save_CFLAGS"
   16902 
   16903 		eval supported=\$$cacheid
   16904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16905 $as_echo "$supported" >&6; }
   16906 		if test "$supported" = "yes" ; then
   16907 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16908 			found="yes"
   16909 		fi
   16910 	fi
   16911 
   16912 
   16913 
   16914 
   16915 
   16916 
   16917 
   16918 
   16919 
   16920 
   16921 
   16922 
   16923 
   16924 
   16925 
   16926 xorg_testset_save_CFLAGS="$CFLAGS"
   16927 
   16928 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16929 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16931 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16932 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16933   $as_echo_n "(cached) " >&6
   16934 else
   16935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16936 /* end confdefs.h.  */
   16937 int i;
   16938 _ACEOF
   16939 if ac_fn_c_try_compile "$LINENO"; then :
   16940   xorg_cv_cc_flag_unknown_warning_option=yes
   16941 else
   16942   xorg_cv_cc_flag_unknown_warning_option=no
   16943 fi
   16944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16945 fi
   16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16947 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16948 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16949 	CFLAGS="$xorg_testset_save_CFLAGS"
   16950 fi
   16951 
   16952 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16953 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16954 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16955 	fi
   16956 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16958 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16959 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16960   $as_echo_n "(cached) " >&6
   16961 else
   16962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16963 /* end confdefs.h.  */
   16964 int i;
   16965 _ACEOF
   16966 if ac_fn_c_try_compile "$LINENO"; then :
   16967   xorg_cv_cc_flag_unused_command_line_argument=yes
   16968 else
   16969   xorg_cv_cc_flag_unused_command_line_argument=no
   16970 fi
   16971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16972 fi
   16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16974 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16975 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16976 	CFLAGS="$xorg_testset_save_CFLAGS"
   16977 fi
   16978 
   16979 found="no"
   16980 
   16981 	if test $found = "no" ; then
   16982 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16984 		fi
   16985 
   16986 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16988 		fi
   16989 
   16990 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16991 
   16992 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-to-int-cast" >&5
   16993 $as_echo_n "checking if $CC supports-Wpointer-to-int-cast... " >&6; }
   16994 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   16995 		if eval \${$cacheid+:} false; then :
   16996   $as_echo_n "(cached) " >&6
   16997 else
   16998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16999 /* end confdefs.h.  */
   17000 int i;
   17001 int
   17002 main ()
   17003 {
   17004 
   17005   ;
   17006   return 0;
   17007 }
   17008 _ACEOF
   17009 if ac_fn_c_try_link "$LINENO"; then :
   17010   eval $cacheid=yes
   17011 else
   17012   eval $cacheid=no
   17013 fi
   17014 rm -f core conftest.err conftest.$ac_objext \
   17015     conftest$ac_exeext conftest.$ac_ext
   17016 fi
   17017 
   17018 
   17019 		CFLAGS="$xorg_testset_save_CFLAGS"
   17020 
   17021 		eval supported=\$$cacheid
   17022 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17023 $as_echo "$supported" >&6; }
   17024 		if test "$supported" = "yes" ; then
   17025 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17026 			found="yes"
   17027 		fi
   17028 	fi
   17029 
   17030 
   17031 fi
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 		CWARNFLAGS="$BASE_CFLAGS"
   17040 		if  test "x$GCC" = xyes ; then
   17041 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17042 		fi
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 # Check whether --enable-strict-compilation was given.
   17052 if test "${enable_strict_compilation+set}" = set; then :
   17053   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17054 else
   17055   STRICT_COMPILE=no
   17056 fi
   17057 
   17058 
   17059 
   17060 
   17061 
   17062 
   17063 STRICT_CFLAGS=""
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 
   17075 
   17076 
   17077 xorg_testset_save_CFLAGS="$CFLAGS"
   17078 
   17079 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17080 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17082 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17083 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17084   $as_echo_n "(cached) " >&6
   17085 else
   17086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17087 /* end confdefs.h.  */
   17088 int i;
   17089 _ACEOF
   17090 if ac_fn_c_try_compile "$LINENO"; then :
   17091   xorg_cv_cc_flag_unknown_warning_option=yes
   17092 else
   17093   xorg_cv_cc_flag_unknown_warning_option=no
   17094 fi
   17095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17096 fi
   17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17098 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17100 	CFLAGS="$xorg_testset_save_CFLAGS"
   17101 fi
   17102 
   17103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17106 	fi
   17107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17109 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17110 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17111   $as_echo_n "(cached) " >&6
   17112 else
   17113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17114 /* end confdefs.h.  */
   17115 int i;
   17116 _ACEOF
   17117 if ac_fn_c_try_compile "$LINENO"; then :
   17118   xorg_cv_cc_flag_unused_command_line_argument=yes
   17119 else
   17120   xorg_cv_cc_flag_unused_command_line_argument=no
   17121 fi
   17122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17123 fi
   17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17125 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17127 	CFLAGS="$xorg_testset_save_CFLAGS"
   17128 fi
   17129 
   17130 found="no"
   17131 
   17132 	if test $found = "no" ; then
   17133 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17135 		fi
   17136 
   17137 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17139 		fi
   17140 
   17141 		CFLAGS="$CFLAGS -pedantic"
   17142 
   17143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-pedantic" >&5
   17144 $as_echo_n "checking if $CC supports-pedantic... " >&6; }
   17145 		cacheid=xorg_cv_cc_flag__pedantic
   17146 		if eval \${$cacheid+:} false; then :
   17147   $as_echo_n "(cached) " >&6
   17148 else
   17149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17150 /* end confdefs.h.  */
   17151 int i;
   17152 int
   17153 main ()
   17154 {
   17155 
   17156   ;
   17157   return 0;
   17158 }
   17159 _ACEOF
   17160 if ac_fn_c_try_link "$LINENO"; then :
   17161   eval $cacheid=yes
   17162 else
   17163   eval $cacheid=no
   17164 fi
   17165 rm -f core conftest.err conftest.$ac_objext \
   17166     conftest$ac_exeext conftest.$ac_ext
   17167 fi
   17168 
   17169 
   17170 		CFLAGS="$xorg_testset_save_CFLAGS"
   17171 
   17172 		eval supported=\$$cacheid
   17173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17174 $as_echo "$supported" >&6; }
   17175 		if test "$supported" = "yes" ; then
   17176 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17177 			found="yes"
   17178 		fi
   17179 	fi
   17180 
   17181 
   17182 
   17183 
   17184 
   17185 
   17186 
   17187 
   17188 
   17189 
   17190 
   17191 
   17192 
   17193 
   17194 
   17195 xorg_testset_save_CFLAGS="$CFLAGS"
   17196 
   17197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17200 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17201 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17202   $as_echo_n "(cached) " >&6
   17203 else
   17204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17205 /* end confdefs.h.  */
   17206 int i;
   17207 _ACEOF
   17208 if ac_fn_c_try_compile "$LINENO"; then :
   17209   xorg_cv_cc_flag_unknown_warning_option=yes
   17210 else
   17211   xorg_cv_cc_flag_unknown_warning_option=no
   17212 fi
   17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17214 fi
   17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17216 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17217 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17218 	CFLAGS="$xorg_testset_save_CFLAGS"
   17219 fi
   17220 
   17221 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17222 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17224 	fi
   17225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17226 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17227 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17228 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17229   $as_echo_n "(cached) " >&6
   17230 else
   17231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17232 /* end confdefs.h.  */
   17233 int i;
   17234 _ACEOF
   17235 if ac_fn_c_try_compile "$LINENO"; then :
   17236   xorg_cv_cc_flag_unused_command_line_argument=yes
   17237 else
   17238   xorg_cv_cc_flag_unused_command_line_argument=no
   17239 fi
   17240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17241 fi
   17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17243 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17245 	CFLAGS="$xorg_testset_save_CFLAGS"
   17246 fi
   17247 
   17248 found="no"
   17249 
   17250 	if test $found = "no" ; then
   17251 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17253 		fi
   17254 
   17255 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17257 		fi
   17258 
   17259 		CFLAGS="$CFLAGS -Werror"
   17260 
   17261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror" >&5
   17262 $as_echo_n "checking if $CC supports-Werror... " >&6; }
   17263 		cacheid=xorg_cv_cc_flag__Werror
   17264 		if eval \${$cacheid+:} false; then :
   17265   $as_echo_n "(cached) " >&6
   17266 else
   17267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17268 /* end confdefs.h.  */
   17269 int i;
   17270 int
   17271 main ()
   17272 {
   17273 
   17274   ;
   17275   return 0;
   17276 }
   17277 _ACEOF
   17278 if ac_fn_c_try_link "$LINENO"; then :
   17279   eval $cacheid=yes
   17280 else
   17281   eval $cacheid=no
   17282 fi
   17283 rm -f core conftest.err conftest.$ac_objext \
   17284     conftest$ac_exeext conftest.$ac_ext
   17285 fi
   17286 
   17287 
   17288 		CFLAGS="$xorg_testset_save_CFLAGS"
   17289 
   17290 		eval supported=\$$cacheid
   17291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17292 $as_echo "$supported" >&6; }
   17293 		if test "$supported" = "yes" ; then
   17294 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17295 			found="yes"
   17296 		fi
   17297 	fi
   17298 
   17299 	if test $found = "no" ; then
   17300 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17302 		fi
   17303 
   17304 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17306 		fi
   17307 
   17308 		CFLAGS="$CFLAGS -errwarn"
   17309 
   17310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn" >&5
   17311 $as_echo_n "checking if $CC supports-errwarn... " >&6; }
   17312 		cacheid=xorg_cv_cc_flag__errwarn
   17313 		if eval \${$cacheid+:} false; then :
   17314   $as_echo_n "(cached) " >&6
   17315 else
   17316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17317 /* end confdefs.h.  */
   17318 int i;
   17319 int
   17320 main ()
   17321 {
   17322 
   17323   ;
   17324   return 0;
   17325 }
   17326 _ACEOF
   17327 if ac_fn_c_try_link "$LINENO"; then :
   17328   eval $cacheid=yes
   17329 else
   17330   eval $cacheid=no
   17331 fi
   17332 rm -f core conftest.err conftest.$ac_objext \
   17333     conftest$ac_exeext conftest.$ac_ext
   17334 fi
   17335 
   17336 
   17337 		CFLAGS="$xorg_testset_save_CFLAGS"
   17338 
   17339 		eval supported=\$$cacheid
   17340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17341 $as_echo "$supported" >&6; }
   17342 		if test "$supported" = "yes" ; then
   17343 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17344 			found="yes"
   17345 		fi
   17346 	fi
   17347 
   17348 
   17349 
   17350 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17351 # activate it with -Werror, so we add it here explicitly.
   17352 
   17353 
   17354 
   17355 
   17356 
   17357 
   17358 
   17359 
   17360 
   17361 
   17362 
   17363 
   17364 
   17365 xorg_testset_save_CFLAGS="$CFLAGS"
   17366 
   17367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17368 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17370 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17371 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17372   $as_echo_n "(cached) " >&6
   17373 else
   17374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17375 /* end confdefs.h.  */
   17376 int i;
   17377 _ACEOF
   17378 if ac_fn_c_try_compile "$LINENO"; then :
   17379   xorg_cv_cc_flag_unknown_warning_option=yes
   17380 else
   17381   xorg_cv_cc_flag_unknown_warning_option=no
   17382 fi
   17383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17384 fi
   17385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17386 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17387 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17388 	CFLAGS="$xorg_testset_save_CFLAGS"
   17389 fi
   17390 
   17391 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17392 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17393 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17394 	fi
   17395 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17397 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17398 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17399   $as_echo_n "(cached) " >&6
   17400 else
   17401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17402 /* end confdefs.h.  */
   17403 int i;
   17404 _ACEOF
   17405 if ac_fn_c_try_compile "$LINENO"; then :
   17406   xorg_cv_cc_flag_unused_command_line_argument=yes
   17407 else
   17408   xorg_cv_cc_flag_unused_command_line_argument=no
   17409 fi
   17410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17411 fi
   17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17413 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17414 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17415 	CFLAGS="$xorg_testset_save_CFLAGS"
   17416 fi
   17417 
   17418 found="no"
   17419 
   17420 	if test $found = "no" ; then
   17421 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17422 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17423 		fi
   17424 
   17425 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17426 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17427 		fi
   17428 
   17429 		CFLAGS="$CFLAGS -Werror=attributes"
   17430 
   17431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=attributes" >&5
   17432 $as_echo_n "checking if $CC supports-Werror=attributes... " >&6; }
   17433 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17434 		if eval \${$cacheid+:} false; then :
   17435   $as_echo_n "(cached) " >&6
   17436 else
   17437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17438 /* end confdefs.h.  */
   17439 int i;
   17440 int
   17441 main ()
   17442 {
   17443 
   17444   ;
   17445   return 0;
   17446 }
   17447 _ACEOF
   17448 if ac_fn_c_try_link "$LINENO"; then :
   17449   eval $cacheid=yes
   17450 else
   17451   eval $cacheid=no
   17452 fi
   17453 rm -f core conftest.err conftest.$ac_objext \
   17454     conftest$ac_exeext conftest.$ac_ext
   17455 fi
   17456 
   17457 
   17458 		CFLAGS="$xorg_testset_save_CFLAGS"
   17459 
   17460 		eval supported=\$$cacheid
   17461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17462 $as_echo "$supported" >&6; }
   17463 		if test "$supported" = "yes" ; then
   17464 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17465 			found="yes"
   17466 		fi
   17467 	fi
   17468 
   17469 
   17470 
   17471 if test "x$STRICT_COMPILE" = "xyes"; then
   17472     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17473     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17474 fi
   17475 
   17476 
   17477 
   17478 
   17479 
   17480 
   17481 cat >>confdefs.h <<_ACEOF
   17482 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17483 _ACEOF
   17484 
   17485 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17486 	if test "x$PVM" = "x"; then
   17487 		PVM="0"
   17488 	fi
   17489 
   17490 cat >>confdefs.h <<_ACEOF
   17491 #define PACKAGE_VERSION_MINOR $PVM
   17492 _ACEOF
   17493 
   17494 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17495 	if test "x$PVP" = "x"; then
   17496 		PVP="0"
   17497 	fi
   17498 
   17499 cat >>confdefs.h <<_ACEOF
   17500 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17501 _ACEOF
   17502 
   17503 
   17504 
   17505 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17506 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17507 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17508 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17509 
   17510 
   17511 
   17512 
   17513 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17514 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17515 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17516 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17517 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 if test x$APP_MAN_SUFFIX = x    ; then
   17525     APP_MAN_SUFFIX=1
   17526 fi
   17527 if test x$APP_MAN_DIR = x    ; then
   17528     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17529 fi
   17530 
   17531 if test x$LIB_MAN_SUFFIX = x    ; then
   17532     LIB_MAN_SUFFIX=3
   17533 fi
   17534 if test x$LIB_MAN_DIR = x    ; then
   17535     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17536 fi
   17537 
   17538 if test x$FILE_MAN_SUFFIX = x    ; then
   17539     case $host_os in
   17540 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17541 	*)		FILE_MAN_SUFFIX=5  ;;
   17542     esac
   17543 fi
   17544 if test x$FILE_MAN_DIR = x    ; then
   17545     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17546 fi
   17547 
   17548 if test x$MISC_MAN_SUFFIX = x    ; then
   17549     case $host_os in
   17550 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17551 	*)		MISC_MAN_SUFFIX=7  ;;
   17552     esac
   17553 fi
   17554 if test x$MISC_MAN_DIR = x    ; then
   17555     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17556 fi
   17557 
   17558 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17559     case $host_os in
   17560 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17561 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17562     esac
   17563 fi
   17564 if test x$DRIVER_MAN_DIR = x    ; then
   17565     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17566 fi
   17567 
   17568 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17569     case $host_os in
   17570 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17571 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17572     esac
   17573 fi
   17574 if test x$ADMIN_MAN_DIR = x    ; then
   17575     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17576 fi
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 XORG_MAN_PAGE="X Version 11"
   17593 
   17594 MAN_SUBSTS="\
   17595 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17596 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17597 	-e 's|__xservername__|Xorg|g' \
   17598 	-e 's|__xconfigfile__|xorg.conf|g' \
   17599 	-e 's|__projectroot__|\$(prefix)|g' \
   17600 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17601 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17602 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17603 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17604 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17605 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17606 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17607 
   17608 
   17609 
   17610 # Check whether --enable-silent-rules was given.
   17611 if test "${enable_silent_rules+set}" = set; then :
   17612   enableval=$enable_silent_rules;
   17613 fi
   17614 
   17615 case $enable_silent_rules in # (((
   17616   yes) AM_DEFAULT_VERBOSITY=0;;
   17617    no) AM_DEFAULT_VERBOSITY=1;;
   17618     *) AM_DEFAULT_VERBOSITY=0;;
   17619 esac
   17620 am_make=${MAKE-make}
   17621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17622 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17623 if ${am_cv_make_support_nested_variables+:} false; then :
   17624   $as_echo_n "(cached) " >&6
   17625 else
   17626   if $as_echo 'TRUE=$(BAR$(V))
   17627 BAR0=false
   17628 BAR1=true
   17629 V=1
   17630 am__doit:
   17631 	@$(TRUE)
   17632 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17633   am_cv_make_support_nested_variables=yes
   17634 else
   17635   am_cv_make_support_nested_variables=no
   17636 fi
   17637 fi
   17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17639 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17640 if test $am_cv_make_support_nested_variables = yes; then
   17641     AM_V='$(V)'
   17642   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17643 else
   17644   AM_V=$AM_DEFAULT_VERBOSITY
   17645   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17646 fi
   17647 AM_BACKSLASH='\'
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 # Check for different types of support on different platforms
   17656 case $host_os in
   17657     solaris*)
   17658         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   17659 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
   17660 if ${ac_cv_lib_umem_umem_alloc+:} false; then :
   17661   $as_echo_n "(cached) " >&6
   17662 else
   17663   ac_check_lib_save_LIBS=$LIBS
   17664 LIBS="-lumem  $LIBS"
   17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17666 /* end confdefs.h.  */
   17667 
   17668 /* Override any GCC internal prototype to avoid an error.
   17669    Use char because int might match the return type of a GCC
   17670    builtin and then its argument prototype would still apply.  */
   17671 #ifdef __cplusplus
   17672 extern "C"
   17673 #endif
   17674 char umem_alloc ();
   17675 int
   17676 main ()
   17677 {
   17678 return umem_alloc ();
   17679   ;
   17680   return 0;
   17681 }
   17682 _ACEOF
   17683 if ac_fn_c_try_link "$LINENO"; then :
   17684   ac_cv_lib_umem_umem_alloc=yes
   17685 else
   17686   ac_cv_lib_umem_umem_alloc=no
   17687 fi
   17688 rm -f core conftest.err conftest.$ac_objext \
   17689     conftest$ac_exeext conftest.$ac_ext
   17690 LIBS=$ac_check_lib_save_LIBS
   17691 fi
   17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   17693 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
   17694 if test "x$ac_cv_lib_umem_umem_alloc" = xyes; then :
   17695   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   17696 fi
   17697 
   17698         ;;
   17699     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   17700         # both directly and inverted, so should not be 0 or 255.
   17701         malloc_debug_env='MALLOC_PERTURB_=15'
   17702         ;;
   17703     darwin*)
   17704         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   17705         ;;
   17706     *bsd*)
   17707         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   17708         ;;
   17709 esac
   17710 
   17711 # User supplied flags override default flags
   17712 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   17713     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   17714 fi
   17715 
   17716 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 # Check whether --enable-unit-tests was given.
   17725 if test "${enable_unit_tests+set}" = set; then :
   17726   enableval=$enable_unit_tests; enable_unit_tests=$enableval
   17727 else
   17728   enable_unit_tests=auto
   17729 fi
   17730 
   17731 
   17732  if test "x$enable_unit_tests" != xno; then
   17733   ENABLE_UNIT_TESTS_TRUE=
   17734   ENABLE_UNIT_TESTS_FALSE='#'
   17735 else
   17736   ENABLE_UNIT_TESTS_TRUE='#'
   17737   ENABLE_UNIT_TESTS_FALSE=
   17738 fi
   17739 
   17740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
   17741 $as_echo_n "checking whether to build unit test cases... " >&6; }
   17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
   17743 $as_echo "$enable_unit_tests" >&6; }
   17744 
   17745 
   17746 # Checks for libraries.
   17747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rint in -lm" >&5
   17748 $as_echo_n "checking for rint in -lm... " >&6; }
   17749 if ${ac_cv_lib_m_rint+:} false; then :
   17750   $as_echo_n "(cached) " >&6
   17751 else
   17752   ac_check_lib_save_LIBS=$LIBS
   17753 LIBS="-lm  $LIBS"
   17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17755 /* end confdefs.h.  */
   17756 
   17757 /* Override any GCC internal prototype to avoid an error.
   17758    Use char because int might match the return type of a GCC
   17759    builtin and then its argument prototype would still apply.  */
   17760 #ifdef __cplusplus
   17761 extern "C"
   17762 #endif
   17763 char rint ();
   17764 int
   17765 main ()
   17766 {
   17767 return rint ();
   17768   ;
   17769   return 0;
   17770 }
   17771 _ACEOF
   17772 if ac_fn_c_try_link "$LINENO"; then :
   17773   ac_cv_lib_m_rint=yes
   17774 else
   17775   ac_cv_lib_m_rint=no
   17776 fi
   17777 rm -f core conftest.err conftest.$ac_objext \
   17778     conftest$ac_exeext conftest.$ac_ext
   17779 LIBS=$ac_check_lib_save_LIBS
   17780 fi
   17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_rint" >&5
   17782 $as_echo "$ac_cv_lib_m_rint" >&6; }
   17783 if test "x$ac_cv_lib_m_rint" = xyes; then :
   17784   cat >>confdefs.h <<_ACEOF
   17785 #define HAVE_LIBM 1
   17786 _ACEOF
   17787 
   17788   LIBS="-lm $LIBS"
   17789 
   17790 fi
   17791 
   17792 
   17793 # Store the list of server defined optional extensions in REQUIRED_MODULES
   17794 
   17795 
   17796 
   17797 	SAVE_CFLAGS="$CFLAGS"
   17798 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17799 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17800 /* end confdefs.h.  */
   17801 
   17802 #include "xorg-server.h"
   17803 #if !defined RANDR
   17804 #error RANDR not defined
   17805 #endif
   17806 
   17807 int
   17808 main ()
   17809 {
   17810 
   17811   ;
   17812   return 0;
   17813 }
   17814 _ACEOF
   17815 if ac_fn_c_try_compile "$LINENO"; then :
   17816   _EXT_CHECK=yes
   17817 else
   17818   _EXT_CHECK=no
   17819 fi
   17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17821 	CFLAGS="$SAVE_CFLAGS"
   17822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   17823 $as_echo_n "checking if RANDR is defined... " >&6; }
   17824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17825 $as_echo "$_EXT_CHECK" >&6; }
   17826 	if test "$_EXT_CHECK" != no; then
   17827 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   17828 	fi
   17829 
   17830 
   17831 # Obtain compiler/linker options for the Synaptics driver dependencies
   17832 
   17833 pkg_failed=no
   17834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   17835 $as_echo_n "checking for XORG... " >&6; }
   17836 
   17837 if test -n "$XORG_CFLAGS"; then
   17838     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   17839  elif test -n "$PKG_CONFIG"; then
   17840     if test -n "$PKG_CONFIG" && \
   17841     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"inputproto >= 2.1.99.3 xorg-server >= 1.12 xproto inputproto \$REQUIRED_MODULES\""; } >&5
   17842   ($PKG_CONFIG --exists --print-errors "inputproto >= 2.1.99.3 xorg-server >= 1.12 xproto inputproto $REQUIRED_MODULES") 2>&5
   17843   ac_status=$?
   17844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17845   test $ac_status = 0; }; then
   17846   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "inputproto >= 2.1.99.3 xorg-server >= 1.12 xproto inputproto $REQUIRED_MODULES" 2>/dev/null`
   17847 		      test "x$?" != "x0" && pkg_failed=yes
   17848 else
   17849   pkg_failed=yes
   17850 fi
   17851  else
   17852     pkg_failed=untried
   17853 fi
   17854 if test -n "$XORG_LIBS"; then
   17855     pkg_cv_XORG_LIBS="$XORG_LIBS"
   17856  elif test -n "$PKG_CONFIG"; then
   17857     if test -n "$PKG_CONFIG" && \
   17858     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"inputproto >= 2.1.99.3 xorg-server >= 1.12 xproto inputproto \$REQUIRED_MODULES\""; } >&5
   17859   ($PKG_CONFIG --exists --print-errors "inputproto >= 2.1.99.3 xorg-server >= 1.12 xproto inputproto $REQUIRED_MODULES") 2>&5
   17860   ac_status=$?
   17861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17862   test $ac_status = 0; }; then
   17863   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "inputproto >= 2.1.99.3 xorg-server >= 1.12 xproto inputproto $REQUIRED_MODULES" 2>/dev/null`
   17864 		      test "x$?" != "x0" && pkg_failed=yes
   17865 else
   17866   pkg_failed=yes
   17867 fi
   17868  else
   17869     pkg_failed=untried
   17870 fi
   17871 
   17872 
   17873 
   17874 if test $pkg_failed = yes; then
   17875    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17876 $as_echo "no" >&6; }
   17877 
   17878 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17879         _pkg_short_errors_supported=yes
   17880 else
   17881         _pkg_short_errors_supported=no
   17882 fi
   17883         if test $_pkg_short_errors_supported = yes; then
   17884 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "inputproto >= 2.1.99.3 xorg-server >= 1.12 xproto inputproto $REQUIRED_MODULES" 2>&1`
   17885         else
   17886 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "inputproto >= 2.1.99.3 xorg-server >= 1.12 xproto inputproto $REQUIRED_MODULES" 2>&1`
   17887         fi
   17888 	# Put the nasty error message in config.log where it belongs
   17889 	echo "$XORG_PKG_ERRORS" >&5
   17890 
   17891 	as_fn_error $? "Package requirements (inputproto >= 2.1.99.3 xorg-server >= 1.12 xproto inputproto $REQUIRED_MODULES) were not met:
   17892 
   17893 $XORG_PKG_ERRORS
   17894 
   17895 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17896 installed software in a non-standard prefix.
   17897 
   17898 Alternatively, you may set the environment variables XORG_CFLAGS
   17899 and XORG_LIBS to avoid the need to call pkg-config.
   17900 See the pkg-config man page for more details." "$LINENO" 5
   17901 elif test $pkg_failed = untried; then
   17902      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17903 $as_echo "no" >&6; }
   17904 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17906 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17907 is in your PATH or set the PKG_CONFIG environment variable to the full
   17908 path to pkg-config.
   17909 
   17910 Alternatively, you may set the environment variables XORG_CFLAGS
   17911 and XORG_LIBS to avoid the need to call pkg-config.
   17912 See the pkg-config man page for more details.
   17913 
   17914 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17915 See \`config.log' for more details" "$LINENO" 5; }
   17916 else
   17917 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   17918 	XORG_LIBS=$pkg_cv_XORG_LIBS
   17919         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17920 $as_echo "yes" >&6; }
   17921 
   17922 fi
   17923 
   17924 # X Server SDK location is required to install Synaptics header files
   17925 # This location is also relayed in the xorg-synaptics.pc file
   17926 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   17927 
   17928 
   17929 # -----------------------------------------------------------------------------
   17930 #			Configuration options
   17931 # -----------------------------------------------------------------------------
   17932 # Define a configure option for an alternate input module directory
   17933 
   17934 # Check whether --with-xorg-module-dir was given.
   17935 if test "${with_xorg_module_dir+set}" = set; then :
   17936   withval=$with_xorg_module_dir; moduledir="$withval"
   17937 else
   17938   moduledir="$libdir/xorg/modules"
   17939 fi
   17940 
   17941 inputdir=${moduledir}/input
   17942 
   17943 
   17944 # Define a configure option for an alternate X Server configuration directory
   17945 sysconfigdir=`$PKG_CONFIG --variable=sysconfigdir xorg-server`
   17946 
   17947 # Check whether --with-xorg-conf-dir was given.
   17948 if test "${with_xorg_conf_dir+set}" = set; then :
   17949   withval=$with_xorg_conf_dir; configdir="$withval"
   17950 else
   17951   configdir="$sysconfigdir"
   17952 fi
   17953 
   17954 
   17955  if test "x$sysconfigdir" != "x"; then
   17956   HAS_XORG_CONF_DIR_TRUE=
   17957   HAS_XORG_CONF_DIR_FALSE='#'
   17958 else
   17959   HAS_XORG_CONF_DIR_TRUE='#'
   17960   HAS_XORG_CONF_DIR_FALSE=
   17961 fi
   17962 
   17963 
   17964 # Define a configure option to enable code debugging
   17965 # Check whether --enable-debug was given.
   17966 if test "${enable_debug+set}" = set; then :
   17967   enableval=$enable_debug; DEBUGGING=$enableval
   17968 else
   17969   DEBUGGING=no
   17970 fi
   17971 
   17972 if test "x$DEBUGGING" = xyes; then
   17973 
   17974 $as_echo "#define DEBUG 1" >>confdefs.h
   17975 
   17976 fi
   17977  if test "x$DEBUGGING" = xyes; then
   17978   DEBUG_TRUE=
   17979   DEBUG_FALSE='#'
   17980 else
   17981   DEBUG_TRUE='#'
   17982   DEBUG_FALSE=
   17983 fi
   17984 
   17985 
   17986 # -----------------------------------------------------------------------------
   17987 #		Determine which backend, if any, to build
   17988 # -----------------------------------------------------------------------------
   17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which optional backends will be build" >&5
   17990 $as_echo_n "checking which optional backends will be build... " >&6; }
   17991 case "${host}" in
   17992 *linux*)
   17993 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ps2comm alpscomm eventcomm" >&5
   17994 $as_echo "ps2comm alpscomm eventcomm" >&6; }
   17995 	BUILD_PS2COMM="yes"
   17996 	BUILD_EVENTCOMM="yes"
   17997 	;;
   17998 *freebsd* | *netbsd* | *dragonfly*)
   17999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ps2comm alpscomm psmcomm" >&5
   18000 $as_echo "ps2comm alpscomm psmcomm" >&6; }
   18001 	BUILD_PS2COMM="yes"
   18002 	BUILD_PSMCOMM="yes"
   18003 	;;
   18004 *solaris* | *gnu*)
   18005 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ps2comm alpscomm" >&5
   18006 $as_echo "ps2comm alpscomm" >&6; }
   18007 	BUILD_PS2COMM="yes"
   18008 	;;
   18009 *)
   18010 	as_fn_error $? "Cannot find suitable backends for this platform." "$LINENO" 5
   18011 	;;
   18012 esac
   18013 if test "x$BUILD_EVENTCOMM" = xyes; then
   18014 
   18015 $as_echo "#define BUILD_EVENTCOMM 1" >>confdefs.h
   18016 
   18017 
   18018     # Obtain compiler/linker options for mtdev
   18019 
   18020 pkg_failed=no
   18021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MTDEV" >&5
   18022 $as_echo_n "checking for MTDEV... " >&6; }
   18023 
   18024 if test -n "$MTDEV_CFLAGS"; then
   18025     pkg_cv_MTDEV_CFLAGS="$MTDEV_CFLAGS"
   18026  elif test -n "$PKG_CONFIG"; then
   18027     if test -n "$PKG_CONFIG" && \
   18028     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mtdev\""; } >&5
   18029   ($PKG_CONFIG --exists --print-errors "mtdev") 2>&5
   18030   ac_status=$?
   18031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18032   test $ac_status = 0; }; then
   18033   pkg_cv_MTDEV_CFLAGS=`$PKG_CONFIG --cflags "mtdev" 2>/dev/null`
   18034 		      test "x$?" != "x0" && pkg_failed=yes
   18035 else
   18036   pkg_failed=yes
   18037 fi
   18038  else
   18039     pkg_failed=untried
   18040 fi
   18041 if test -n "$MTDEV_LIBS"; then
   18042     pkg_cv_MTDEV_LIBS="$MTDEV_LIBS"
   18043  elif test -n "$PKG_CONFIG"; then
   18044     if test -n "$PKG_CONFIG" && \
   18045     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mtdev\""; } >&5
   18046   ($PKG_CONFIG --exists --print-errors "mtdev") 2>&5
   18047   ac_status=$?
   18048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18049   test $ac_status = 0; }; then
   18050   pkg_cv_MTDEV_LIBS=`$PKG_CONFIG --libs "mtdev" 2>/dev/null`
   18051 		      test "x$?" != "x0" && pkg_failed=yes
   18052 else
   18053   pkg_failed=yes
   18054 fi
   18055  else
   18056     pkg_failed=untried
   18057 fi
   18058 
   18059 
   18060 
   18061 if test $pkg_failed = yes; then
   18062    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18063 $as_echo "no" >&6; }
   18064 
   18065 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18066         _pkg_short_errors_supported=yes
   18067 else
   18068         _pkg_short_errors_supported=no
   18069 fi
   18070         if test $_pkg_short_errors_supported = yes; then
   18071 	        MTDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mtdev" 2>&1`
   18072         else
   18073 	        MTDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mtdev" 2>&1`
   18074         fi
   18075 	# Put the nasty error message in config.log where it belongs
   18076 	echo "$MTDEV_PKG_ERRORS" >&5
   18077 
   18078 	as_fn_error $? "Package requirements (mtdev) were not met:
   18079 
   18080 $MTDEV_PKG_ERRORS
   18081 
   18082 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18083 installed software in a non-standard prefix.
   18084 
   18085 Alternatively, you may set the environment variables MTDEV_CFLAGS
   18086 and MTDEV_LIBS to avoid the need to call pkg-config.
   18087 See the pkg-config man page for more details." "$LINENO" 5
   18088 elif test $pkg_failed = untried; then
   18089      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18090 $as_echo "no" >&6; }
   18091 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18093 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18094 is in your PATH or set the PKG_CONFIG environment variable to the full
   18095 path to pkg-config.
   18096 
   18097 Alternatively, you may set the environment variables MTDEV_CFLAGS
   18098 and MTDEV_LIBS to avoid the need to call pkg-config.
   18099 See the pkg-config man page for more details.
   18100 
   18101 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18102 See \`config.log' for more details" "$LINENO" 5; }
   18103 else
   18104 	MTDEV_CFLAGS=$pkg_cv_MTDEV_CFLAGS
   18105 	MTDEV_LIBS=$pkg_cv_MTDEV_LIBS
   18106         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18107 $as_echo "yes" >&6; }
   18108 
   18109 fi
   18110 fi
   18111 if test "x$BUILD_PSMCOMM" = xyes; then
   18112 
   18113 $as_echo "#define BUILD_PSMCOMM 1" >>confdefs.h
   18114 
   18115 fi
   18116 if test "x$BUILD_PS2COMM" = xyes; then
   18117 
   18118 $as_echo "#define BUILD_PS2COMM 1" >>confdefs.h
   18119 
   18120 fi
   18121  if test "x${BUILD_EVENTCOMM}" = "xyes"; then
   18122   BUILD_EVENTCOMM_TRUE=
   18123   BUILD_EVENTCOMM_FALSE='#'
   18124 else
   18125   BUILD_EVENTCOMM_TRUE='#'
   18126   BUILD_EVENTCOMM_FALSE=
   18127 fi
   18128 
   18129  if test "x${BUILD_PSMCOMM}" = "xyes"; then
   18130   BUILD_PSMCOMM_TRUE=
   18131   BUILD_PSMCOMM_FALSE='#'
   18132 else
   18133   BUILD_PSMCOMM_TRUE='#'
   18134   BUILD_PSMCOMM_FALSE=
   18135 fi
   18136 
   18137  if test "x${BUILD_PS2COMM}" = "xyes"; then
   18138   BUILD_PS2COMM_TRUE=
   18139   BUILD_PS2COMM_FALSE='#'
   18140 else
   18141   BUILD_PS2COMM_TRUE='#'
   18142   BUILD_PS2COMM_FALSE=
   18143 fi
   18144 
   18145 
   18146 # -----------------------------------------------------------------------------
   18147 #			Dependencies for synclient and syndaemon
   18148 # -----------------------------------------------------------------------------
   18149 # Obtain compiler/linker options for the Synaptics apps dependencies
   18150 
   18151 pkg_failed=no
   18152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XI" >&5
   18153 $as_echo_n "checking for XI... " >&6; }
   18154 
   18155 if test -n "$XI_CFLAGS"; then
   18156     pkg_cv_XI_CFLAGS="$XI_CFLAGS"
   18157  elif test -n "$PKG_CONFIG"; then
   18158     if test -n "$PKG_CONFIG" && \
   18159     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 inputproto xi >= 1.2\""; } >&5
   18160   ($PKG_CONFIG --exists --print-errors "x11 inputproto xi >= 1.2") 2>&5
   18161   ac_status=$?
   18162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18163   test $ac_status = 0; }; then
   18164   pkg_cv_XI_CFLAGS=`$PKG_CONFIG --cflags "x11 inputproto xi >= 1.2" 2>/dev/null`
   18165 		      test "x$?" != "x0" && pkg_failed=yes
   18166 else
   18167   pkg_failed=yes
   18168 fi
   18169  else
   18170     pkg_failed=untried
   18171 fi
   18172 if test -n "$XI_LIBS"; then
   18173     pkg_cv_XI_LIBS="$XI_LIBS"
   18174  elif test -n "$PKG_CONFIG"; then
   18175     if test -n "$PKG_CONFIG" && \
   18176     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 inputproto xi >= 1.2\""; } >&5
   18177   ($PKG_CONFIG --exists --print-errors "x11 inputproto xi >= 1.2") 2>&5
   18178   ac_status=$?
   18179   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18180   test $ac_status = 0; }; then
   18181   pkg_cv_XI_LIBS=`$PKG_CONFIG --libs "x11 inputproto xi >= 1.2" 2>/dev/null`
   18182 		      test "x$?" != "x0" && pkg_failed=yes
   18183 else
   18184   pkg_failed=yes
   18185 fi
   18186  else
   18187     pkg_failed=untried
   18188 fi
   18189 
   18190 
   18191 
   18192 if test $pkg_failed = yes; then
   18193    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18194 $as_echo "no" >&6; }
   18195 
   18196 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18197         _pkg_short_errors_supported=yes
   18198 else
   18199         _pkg_short_errors_supported=no
   18200 fi
   18201         if test $_pkg_short_errors_supported = yes; then
   18202 	        XI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 inputproto xi >= 1.2" 2>&1`
   18203         else
   18204 	        XI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 inputproto xi >= 1.2" 2>&1`
   18205         fi
   18206 	# Put the nasty error message in config.log where it belongs
   18207 	echo "$XI_PKG_ERRORS" >&5
   18208 
   18209 	as_fn_error $? "Package requirements (x11 inputproto xi >= 1.2) were not met:
   18210 
   18211 $XI_PKG_ERRORS
   18212 
   18213 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18214 installed software in a non-standard prefix.
   18215 
   18216 Alternatively, you may set the environment variables XI_CFLAGS
   18217 and XI_LIBS to avoid the need to call pkg-config.
   18218 See the pkg-config man page for more details." "$LINENO" 5
   18219 elif test $pkg_failed = untried; then
   18220      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18221 $as_echo "no" >&6; }
   18222 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18224 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18225 is in your PATH or set the PKG_CONFIG environment variable to the full
   18226 path to pkg-config.
   18227 
   18228 Alternatively, you may set the environment variables XI_CFLAGS
   18229 and XI_LIBS to avoid the need to call pkg-config.
   18230 See the pkg-config man page for more details.
   18231 
   18232 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18233 See \`config.log' for more details" "$LINENO" 5; }
   18234 else
   18235 	XI_CFLAGS=$pkg_cv_XI_CFLAGS
   18236 	XI_LIBS=$pkg_cv_XI_LIBS
   18237         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18238 $as_echo "yes" >&6; }
   18239 
   18240 fi
   18241 
   18242 # The syndaemon program uses an optional XRecord extension implementation
   18243 # If libxtst >= 1.0.99 is installed, Cflags contains the path to record.h
   18244 # If recordproto < 1.13.99.1 is installed, Cflags contains the path to record.h
   18245 
   18246 pkg_failed=no
   18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTST" >&5
   18248 $as_echo_n "checking for XTST... " >&6; }
   18249 
   18250 if test -n "$XTST_CFLAGS"; then
   18251     pkg_cv_XTST_CFLAGS="$XTST_CFLAGS"
   18252  elif test -n "$PKG_CONFIG"; then
   18253     if test -n "$PKG_CONFIG" && \
   18254     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst recordproto\""; } >&5
   18255   ($PKG_CONFIG --exists --print-errors "xtst recordproto") 2>&5
   18256   ac_status=$?
   18257   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18258   test $ac_status = 0; }; then
   18259   pkg_cv_XTST_CFLAGS=`$PKG_CONFIG --cflags "xtst recordproto" 2>/dev/null`
   18260 		      test "x$?" != "x0" && pkg_failed=yes
   18261 else
   18262   pkg_failed=yes
   18263 fi
   18264  else
   18265     pkg_failed=untried
   18266 fi
   18267 if test -n "$XTST_LIBS"; then
   18268     pkg_cv_XTST_LIBS="$XTST_LIBS"
   18269  elif test -n "$PKG_CONFIG"; then
   18270     if test -n "$PKG_CONFIG" && \
   18271     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst recordproto\""; } >&5
   18272   ($PKG_CONFIG --exists --print-errors "xtst recordproto") 2>&5
   18273   ac_status=$?
   18274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18275   test $ac_status = 0; }; then
   18276   pkg_cv_XTST_LIBS=`$PKG_CONFIG --libs "xtst recordproto" 2>/dev/null`
   18277 		      test "x$?" != "x0" && pkg_failed=yes
   18278 else
   18279   pkg_failed=yes
   18280 fi
   18281  else
   18282     pkg_failed=untried
   18283 fi
   18284 
   18285 
   18286 
   18287 if test $pkg_failed = yes; then
   18288    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18289 $as_echo "no" >&6; }
   18290 
   18291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18292         _pkg_short_errors_supported=yes
   18293 else
   18294         _pkg_short_errors_supported=no
   18295 fi
   18296         if test $_pkg_short_errors_supported = yes; then
   18297 	        XTST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xtst recordproto" 2>&1`
   18298         else
   18299 	        XTST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xtst recordproto" 2>&1`
   18300         fi
   18301 	# Put the nasty error message in config.log where it belongs
   18302 	echo "$XTST_PKG_ERRORS" >&5
   18303 
   18304 	have_libxtst="no"
   18305 elif test $pkg_failed = untried; then
   18306      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18307 $as_echo "no" >&6; }
   18308 	have_libxtst="no"
   18309 else
   18310 	XTST_CFLAGS=$pkg_cv_XTST_CFLAGS
   18311 	XTST_LIBS=$pkg_cv_XTST_LIBS
   18312         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18313 $as_echo "yes" >&6; }
   18314 	have_libxtst="yes"
   18315 fi
   18316 if test "x$have_libxtst" = "xyes" ; then
   18317    # Header record.h may come from the xtst or recordproto package, or may be missing
   18318    SAVE_CPPFLAGS="$CPPFLAGS"
   18319    CPPFLAGS="$CPPFLAGS $XTST_CFLAGS"
   18320    for ac_header in X11/extensions/record.h
   18321 do :
   18322   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/record.h" "ac_cv_header_X11_extensions_record_h" "#include <X11/Xlib.h>
   18323 "
   18324 if test "x$ac_cv_header_X11_extensions_record_h" = xyes; then :
   18325   cat >>confdefs.h <<_ACEOF
   18326 #define HAVE_X11_EXTENSIONS_RECORD_H 1
   18327 _ACEOF
   18328 
   18329 fi
   18330 
   18331 done
   18332 
   18333    CPPFLAGS="$SAVE_CPPFLAGS"
   18334 fi
   18335 # -----------------------------------------------------------------------------
   18336 
   18337 # Workaround overriding sdkdir to be able to create a tarball when user has no
   18338 # write permission in sdkdir. See DISTCHECK_CONFIGURE_FLAGS in Makefile.am
   18339 
   18340 # Check whether --with-sdkdir was given.
   18341 if test "${with_sdkdir+set}" = set; then :
   18342   withval=$with_sdkdir; sdkdir="$withval"
   18343 fi
   18344 
   18345 
   18346 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile tools/Makefile conf/Makefile include/Makefile test/Makefile xorg-synaptics.pc"
   18347 
   18348 cat >confcache <<\_ACEOF
   18349 # This file is a shell script that caches the results of configure
   18350 # tests run on this system so they can be shared between configure
   18351 # scripts and configure runs, see configure's option --config-cache.
   18352 # It is not useful on other systems.  If it contains results you don't
   18353 # want to keep, you may remove or edit it.
   18354 #
   18355 # config.status only pays attention to the cache file if you give it
   18356 # the --recheck option to rerun configure.
   18357 #
   18358 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18359 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18360 # following values.
   18361 
   18362 _ACEOF
   18363 
   18364 # The following way of writing the cache mishandles newlines in values,
   18365 # but we know of no workaround that is simple, portable, and efficient.
   18366 # So, we kill variables containing newlines.
   18367 # Ultrix sh set writes to stderr and can't be redirected directly,
   18368 # and sets the high bit in the cache file unless we assign to the vars.
   18369 (
   18370   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18371     eval ac_val=\$$ac_var
   18372     case $ac_val in #(
   18373     *${as_nl}*)
   18374       case $ac_var in #(
   18375       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18376 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18377       esac
   18378       case $ac_var in #(
   18379       _ | IFS | as_nl) ;; #(
   18380       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18381       *) { eval $ac_var=; unset $ac_var;} ;;
   18382       esac ;;
   18383     esac
   18384   done
   18385 
   18386   (set) 2>&1 |
   18387     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18388     *${as_nl}ac_space=\ *)
   18389       # `set' does not quote correctly, so add quotes: double-quote
   18390       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18391       sed -n \
   18392 	"s/'/'\\\\''/g;
   18393 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18394       ;; #(
   18395     *)
   18396       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18397       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18398       ;;
   18399     esac |
   18400     sort
   18401 ) |
   18402   sed '
   18403      /^ac_cv_env_/b end
   18404      t clear
   18405      :clear
   18406      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18407      t end
   18408      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18409      :end' >>confcache
   18410 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18411   if test -w "$cache_file"; then
   18412     if test "x$cache_file" != "x/dev/null"; then
   18413       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18414 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18415       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18416 	cat confcache >"$cache_file"
   18417       else
   18418         case $cache_file in #(
   18419         */* | ?:*)
   18420 	  mv -f confcache "$cache_file"$$ &&
   18421 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18422         *)
   18423 	  mv -f confcache "$cache_file" ;;
   18424 	esac
   18425       fi
   18426     fi
   18427   else
   18428     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18429 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18430   fi
   18431 fi
   18432 rm -f confcache
   18433 
   18434 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18435 # Let make expand exec_prefix.
   18436 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18437 
   18438 DEFS=-DHAVE_CONFIG_H
   18439 
   18440 ac_libobjs=
   18441 ac_ltlibobjs=
   18442 U=
   18443 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18444   # 1. Remove the extension, and $U if already installed.
   18445   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18446   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18447   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18448   #    will be set to the directory where LIBOBJS objects are built.
   18449   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18450   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18451 done
   18452 LIBOBJS=$ac_libobjs
   18453 
   18454 LTLIBOBJS=$ac_ltlibobjs
   18455 
   18456 
   18457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18458 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18459    if test -n "$am_sleep_pid"; then
   18460      # Hide warnings about reused PIDs.
   18461      wait $am_sleep_pid 2>/dev/null
   18462    fi
   18463    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18464 $as_echo "done" >&6; }
   18465  if test -n "$EXEEXT"; then
   18466   am__EXEEXT_TRUE=
   18467   am__EXEEXT_FALSE='#'
   18468 else
   18469   am__EXEEXT_TRUE='#'
   18470   am__EXEEXT_FALSE=
   18471 fi
   18472 
   18473 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18474   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18476 fi
   18477 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18478   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18480 fi
   18481 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18482   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18484 fi
   18485 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
   18486   as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
   18487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18488 fi
   18489 if test -z "${HAS_XORG_CONF_DIR_TRUE}" && test -z "${HAS_XORG_CONF_DIR_FALSE}"; then
   18490   as_fn_error $? "conditional \"HAS_XORG_CONF_DIR\" was never defined.
   18491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18492 fi
   18493 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
   18494   as_fn_error $? "conditional \"DEBUG\" was never defined.
   18495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18496 fi
   18497 if test -z "${BUILD_EVENTCOMM_TRUE}" && test -z "${BUILD_EVENTCOMM_FALSE}"; then
   18498   as_fn_error $? "conditional \"BUILD_EVENTCOMM\" was never defined.
   18499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18500 fi
   18501 if test -z "${BUILD_PSMCOMM_TRUE}" && test -z "${BUILD_PSMCOMM_FALSE}"; then
   18502   as_fn_error $? "conditional \"BUILD_PSMCOMM\" was never defined.
   18503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18504 fi
   18505 if test -z "${BUILD_PS2COMM_TRUE}" && test -z "${BUILD_PS2COMM_FALSE}"; then
   18506   as_fn_error $? "conditional \"BUILD_PS2COMM\" was never defined.
   18507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18508 fi
   18509 
   18510 : "${CONFIG_STATUS=./config.status}"
   18511 ac_write_fail=0
   18512 ac_clean_files_save=$ac_clean_files
   18513 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18514 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18515 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18516 as_write_fail=0
   18517 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18518 #! $SHELL
   18519 # Generated by $as_me.
   18520 # Run this file to recreate the current configuration.
   18521 # Compiler output produced by configure, useful for debugging
   18522 # configure, is in config.log if it exists.
   18523 
   18524 debug=false
   18525 ac_cs_recheck=false
   18526 ac_cs_silent=false
   18527 
   18528 SHELL=\${CONFIG_SHELL-$SHELL}
   18529 export SHELL
   18530 _ASEOF
   18531 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18532 ## -------------------- ##
   18533 ## M4sh Initialization. ##
   18534 ## -------------------- ##
   18535 
   18536 # Be more Bourne compatible
   18537 DUALCASE=1; export DUALCASE # for MKS sh
   18538 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18539   emulate sh
   18540   NULLCMD=:
   18541   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18542   # is contrary to our usage.  Disable this feature.
   18543   alias -g '${1+"$@"}'='"$@"'
   18544   setopt NO_GLOB_SUBST
   18545 else
   18546   case `(set -o) 2>/dev/null` in #(
   18547   *posix*) :
   18548     set -o posix ;; #(
   18549   *) :
   18550      ;;
   18551 esac
   18552 fi
   18553 
   18554 
   18555 as_nl='
   18556 '
   18557 export as_nl
   18558 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18559 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18562 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18563 # but without wasting forks for bash or zsh.
   18564 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18565     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18566   as_echo='print -r --'
   18567   as_echo_n='print -rn --'
   18568 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18569   as_echo='printf %s\n'
   18570   as_echo_n='printf %s'
   18571 else
   18572   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18573     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18574     as_echo_n='/usr/ucb/echo -n'
   18575   else
   18576     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18577     as_echo_n_body='eval
   18578       arg=$1;
   18579       case $arg in #(
   18580       *"$as_nl"*)
   18581 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18582 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18583       esac;
   18584       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18585     '
   18586     export as_echo_n_body
   18587     as_echo_n='sh -c $as_echo_n_body as_echo'
   18588   fi
   18589   export as_echo_body
   18590   as_echo='sh -c $as_echo_body as_echo'
   18591 fi
   18592 
   18593 # The user is always right.
   18594 if test "${PATH_SEPARATOR+set}" != set; then
   18595   PATH_SEPARATOR=:
   18596   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18597     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18598       PATH_SEPARATOR=';'
   18599   }
   18600 fi
   18601 
   18602 
   18603 # IFS
   18604 # We need space, tab and new line, in precisely that order.  Quoting is
   18605 # there to prevent editors from complaining about space-tab.
   18606 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18607 # splitting by setting IFS to empty value.)
   18608 IFS=" ""	$as_nl"
   18609 
   18610 # Find who we are.  Look in the path if we contain no directory separator.
   18611 as_myself=
   18612 case $0 in #((
   18613   *[\\/]* ) as_myself=$0 ;;
   18614   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18615 for as_dir in $PATH
   18616 do
   18617   IFS=$as_save_IFS
   18618   test -z "$as_dir" && as_dir=.
   18619     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18620   done
   18621 IFS=$as_save_IFS
   18622 
   18623      ;;
   18624 esac
   18625 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18626 # in which case we are not to be found in the path.
   18627 if test "x$as_myself" = x; then
   18628   as_myself=$0
   18629 fi
   18630 if test ! -f "$as_myself"; then
   18631   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18632   exit 1
   18633 fi
   18634 
   18635 # Unset variables that we do not need and which cause bugs (e.g. in
   18636 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18637 # suppresses any "Segmentation fault" message there.  '((' could
   18638 # trigger a bug in pdksh 5.2.14.
   18639 for as_var in BASH_ENV ENV MAIL MAILPATH
   18640 do eval test x\${$as_var+set} = xset \
   18641   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18642 done
   18643 PS1='$ '
   18644 PS2='> '
   18645 PS4='+ '
   18646 
   18647 # NLS nuisances.
   18648 LC_ALL=C
   18649 export LC_ALL
   18650 LANGUAGE=C
   18651 export LANGUAGE
   18652 
   18653 # CDPATH.
   18654 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18655 
   18656 
   18657 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18658 # ----------------------------------------
   18659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18661 # script with STATUS, using 1 if that was 0.
   18662 as_fn_error ()
   18663 {
   18664   as_status=$1; test $as_status -eq 0 && as_status=1
   18665   if test "$4"; then
   18666     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18667     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18668   fi
   18669   $as_echo "$as_me: error: $2" >&2
   18670   as_fn_exit $as_status
   18671 } # as_fn_error
   18672 
   18673 
   18674 # as_fn_set_status STATUS
   18675 # -----------------------
   18676 # Set $? to STATUS, without forking.
   18677 as_fn_set_status ()
   18678 {
   18679   return $1
   18680 } # as_fn_set_status
   18681 
   18682 # as_fn_exit STATUS
   18683 # -----------------
   18684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18685 as_fn_exit ()
   18686 {
   18687   set +e
   18688   as_fn_set_status $1
   18689   exit $1
   18690 } # as_fn_exit
   18691 
   18692 # as_fn_unset VAR
   18693 # ---------------
   18694 # Portably unset VAR.
   18695 as_fn_unset ()
   18696 {
   18697   { eval $1=; unset $1;}
   18698 }
   18699 as_unset=as_fn_unset
   18700 # as_fn_append VAR VALUE
   18701 # ----------------------
   18702 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18703 # advantage of any shell optimizations that allow amortized linear growth over
   18704 # repeated appends, instead of the typical quadratic growth present in naive
   18705 # implementations.
   18706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18707   eval 'as_fn_append ()
   18708   {
   18709     eval $1+=\$2
   18710   }'
   18711 else
   18712   as_fn_append ()
   18713   {
   18714     eval $1=\$$1\$2
   18715   }
   18716 fi # as_fn_append
   18717 
   18718 # as_fn_arith ARG...
   18719 # ------------------
   18720 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18721 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18722 # must be portable across $(()) and expr.
   18723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18724   eval 'as_fn_arith ()
   18725   {
   18726     as_val=$(( $* ))
   18727   }'
   18728 else
   18729   as_fn_arith ()
   18730   {
   18731     as_val=`expr "$@" || test $? -eq 1`
   18732   }
   18733 fi # as_fn_arith
   18734 
   18735 
   18736 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18737    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18738   as_expr=expr
   18739 else
   18740   as_expr=false
   18741 fi
   18742 
   18743 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18744   as_basename=basename
   18745 else
   18746   as_basename=false
   18747 fi
   18748 
   18749 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18750   as_dirname=dirname
   18751 else
   18752   as_dirname=false
   18753 fi
   18754 
   18755 as_me=`$as_basename -- "$0" ||
   18756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18757 	 X"$0" : 'X\(//\)$' \| \
   18758 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18759 $as_echo X/"$0" |
   18760     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18761 	    s//\1/
   18762 	    q
   18763 	  }
   18764 	  /^X\/\(\/\/\)$/{
   18765 	    s//\1/
   18766 	    q
   18767 	  }
   18768 	  /^X\/\(\/\).*/{
   18769 	    s//\1/
   18770 	    q
   18771 	  }
   18772 	  s/.*/./; q'`
   18773 
   18774 # Avoid depending upon Character Ranges.
   18775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18778 as_cr_digits='0123456789'
   18779 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18780 
   18781 ECHO_C= ECHO_N= ECHO_T=
   18782 case `echo -n x` in #(((((
   18783 -n*)
   18784   case `echo 'xy\c'` in
   18785   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18786   xy)  ECHO_C='\c';;
   18787   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18788        ECHO_T='	';;
   18789   esac;;
   18790 *)
   18791   ECHO_N='-n';;
   18792 esac
   18793 
   18794 rm -f conf$$ conf$$.exe conf$$.file
   18795 if test -d conf$$.dir; then
   18796   rm -f conf$$.dir/conf$$.file
   18797 else
   18798   rm -f conf$$.dir
   18799   mkdir conf$$.dir 2>/dev/null
   18800 fi
   18801 if (echo >conf$$.file) 2>/dev/null; then
   18802   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18803     as_ln_s='ln -s'
   18804     # ... but there are two gotchas:
   18805     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18806     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18807     # In both cases, we have to default to `cp -pR'.
   18808     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18809       as_ln_s='cp -pR'
   18810   elif ln conf$$.file conf$$ 2>/dev/null; then
   18811     as_ln_s=ln
   18812   else
   18813     as_ln_s='cp -pR'
   18814   fi
   18815 else
   18816   as_ln_s='cp -pR'
   18817 fi
   18818 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18819 rmdir conf$$.dir 2>/dev/null
   18820 
   18821 
   18822 # as_fn_mkdir_p
   18823 # -------------
   18824 # Create "$as_dir" as a directory, including parents if necessary.
   18825 as_fn_mkdir_p ()
   18826 {
   18827 
   18828   case $as_dir in #(
   18829   -*) as_dir=./$as_dir;;
   18830   esac
   18831   test -d "$as_dir" || eval $as_mkdir_p || {
   18832     as_dirs=
   18833     while :; do
   18834       case $as_dir in #(
   18835       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18836       *) as_qdir=$as_dir;;
   18837       esac
   18838       as_dirs="'$as_qdir' $as_dirs"
   18839       as_dir=`$as_dirname -- "$as_dir" ||
   18840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18841 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18842 	 X"$as_dir" : 'X\(//\)$' \| \
   18843 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18844 $as_echo X"$as_dir" |
   18845     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18846 	    s//\1/
   18847 	    q
   18848 	  }
   18849 	  /^X\(\/\/\)[^/].*/{
   18850 	    s//\1/
   18851 	    q
   18852 	  }
   18853 	  /^X\(\/\/\)$/{
   18854 	    s//\1/
   18855 	    q
   18856 	  }
   18857 	  /^X\(\/\).*/{
   18858 	    s//\1/
   18859 	    q
   18860 	  }
   18861 	  s/.*/./; q'`
   18862       test -d "$as_dir" && break
   18863     done
   18864     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18865   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18866 
   18867 
   18868 } # as_fn_mkdir_p
   18869 if mkdir -p . 2>/dev/null; then
   18870   as_mkdir_p='mkdir -p "$as_dir"'
   18871 else
   18872   test -d ./-p && rmdir ./-p
   18873   as_mkdir_p=false
   18874 fi
   18875 
   18876 
   18877 # as_fn_executable_p FILE
   18878 # -----------------------
   18879 # Test if FILE is an executable regular file.
   18880 as_fn_executable_p ()
   18881 {
   18882   test -f "$1" && test -x "$1"
   18883 } # as_fn_executable_p
   18884 as_test_x='test -x'
   18885 as_executable_p=as_fn_executable_p
   18886 
   18887 # Sed expression to map a string onto a valid CPP name.
   18888 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18889 
   18890 # Sed expression to map a string onto a valid variable name.
   18891 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18892 
   18893 
   18894 exec 6>&1
   18895 ## ----------------------------------- ##
   18896 ## Main body of $CONFIG_STATUS script. ##
   18897 ## ----------------------------------- ##
   18898 _ASEOF
   18899 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18900 
   18901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18902 # Save the log message, to keep $0 and so on meaningful, and to
   18903 # report actual input values of CONFIG_FILES etc. instead of their
   18904 # values after options handling.
   18905 ac_log="
   18906 This file was extended by xf86-input-synaptics $as_me 1.7.1, which was
   18907 generated by GNU Autoconf 2.69.  Invocation command line was
   18908 
   18909   CONFIG_FILES    = $CONFIG_FILES
   18910   CONFIG_HEADERS  = $CONFIG_HEADERS
   18911   CONFIG_LINKS    = $CONFIG_LINKS
   18912   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18913   $ $0 $@
   18914 
   18915 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18916 "
   18917 
   18918 _ACEOF
   18919 
   18920 case $ac_config_files in *"
   18921 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18922 esac
   18923 
   18924 case $ac_config_headers in *"
   18925 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18926 esac
   18927 
   18928 
   18929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18930 # Files that config.status was made for.
   18931 config_files="$ac_config_files"
   18932 config_headers="$ac_config_headers"
   18933 config_commands="$ac_config_commands"
   18934 
   18935 _ACEOF
   18936 
   18937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18938 ac_cs_usage="\
   18939 \`$as_me' instantiates files and other configuration actions
   18940 from templates according to the current configuration.  Unless the files
   18941 and actions are specified as TAGs, all are instantiated by default.
   18942 
   18943 Usage: $0 [OPTION]... [TAG]...
   18944 
   18945   -h, --help       print this help, then exit
   18946   -V, --version    print version number and configuration settings, then exit
   18947       --config     print configuration, then exit
   18948   -q, --quiet, --silent
   18949                    do not print progress messages
   18950   -d, --debug      don't remove temporary files
   18951       --recheck    update $as_me by reconfiguring in the same conditions
   18952       --file=FILE[:TEMPLATE]
   18953                    instantiate the configuration file FILE
   18954       --header=FILE[:TEMPLATE]
   18955                    instantiate the configuration header FILE
   18956 
   18957 Configuration files:
   18958 $config_files
   18959 
   18960 Configuration headers:
   18961 $config_headers
   18962 
   18963 Configuration commands:
   18964 $config_commands
   18965 
   18966 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18967 
   18968 _ACEOF
   18969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18970 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18971 ac_cs_version="\\
   18972 xf86-input-synaptics config.status 1.7.1
   18973 configured by $0, generated by GNU Autoconf 2.69,
   18974   with options \\"\$ac_cs_config\\"
   18975 
   18976 Copyright (C) 2012 Free Software Foundation, Inc.
   18977 This config.status script is free software; the Free Software Foundation
   18978 gives unlimited permission to copy, distribute and modify it."
   18979 
   18980 ac_pwd='$ac_pwd'
   18981 srcdir='$srcdir'
   18982 INSTALL='$INSTALL'
   18983 MKDIR_P='$MKDIR_P'
   18984 AWK='$AWK'
   18985 test -n "\$AWK" || AWK=awk
   18986 _ACEOF
   18987 
   18988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18989 # The default lists apply if the user does not specify any file.
   18990 ac_need_defaults=:
   18991 while test $# != 0
   18992 do
   18993   case $1 in
   18994   --*=?*)
   18995     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18996     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18997     ac_shift=:
   18998     ;;
   18999   --*=)
   19000     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19001     ac_optarg=
   19002     ac_shift=:
   19003     ;;
   19004   *)
   19005     ac_option=$1
   19006     ac_optarg=$2
   19007     ac_shift=shift
   19008     ;;
   19009   esac
   19010 
   19011   case $ac_option in
   19012   # Handling of the options.
   19013   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19014     ac_cs_recheck=: ;;
   19015   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19016     $as_echo "$ac_cs_version"; exit ;;
   19017   --config | --confi | --conf | --con | --co | --c )
   19018     $as_echo "$ac_cs_config"; exit ;;
   19019   --debug | --debu | --deb | --de | --d | -d )
   19020     debug=: ;;
   19021   --file | --fil | --fi | --f )
   19022     $ac_shift
   19023     case $ac_optarg in
   19024     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19025     '') as_fn_error $? "missing file argument" ;;
   19026     esac
   19027     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19028     ac_need_defaults=false;;
   19029   --header | --heade | --head | --hea )
   19030     $ac_shift
   19031     case $ac_optarg in
   19032     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19033     esac
   19034     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19035     ac_need_defaults=false;;
   19036   --he | --h)
   19037     # Conflict between --help and --header
   19038     as_fn_error $? "ambiguous option: \`$1'
   19039 Try \`$0 --help' for more information.";;
   19040   --help | --hel | -h )
   19041     $as_echo "$ac_cs_usage"; exit ;;
   19042   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19043   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19044     ac_cs_silent=: ;;
   19045 
   19046   # This is an error.
   19047   -*) as_fn_error $? "unrecognized option: \`$1'
   19048 Try \`$0 --help' for more information." ;;
   19049 
   19050   *) as_fn_append ac_config_targets " $1"
   19051      ac_need_defaults=false ;;
   19052 
   19053   esac
   19054   shift
   19055 done
   19056 
   19057 ac_configure_extra_args=
   19058 
   19059 if $ac_cs_silent; then
   19060   exec 6>/dev/null
   19061   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19062 fi
   19063 
   19064 _ACEOF
   19065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19066 if \$ac_cs_recheck; then
   19067   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19068   shift
   19069   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19070   CONFIG_SHELL='$SHELL'
   19071   export CONFIG_SHELL
   19072   exec "\$@"
   19073 fi
   19074 
   19075 _ACEOF
   19076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19077 exec 5>>config.log
   19078 {
   19079   echo
   19080   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19081 ## Running $as_me. ##
   19082 _ASBOX
   19083   $as_echo "$ac_log"
   19084 } >&5
   19085 
   19086 _ACEOF
   19087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19088 #
   19089 # INIT-COMMANDS
   19090 #
   19091 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19092 
   19093 
   19094 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19095 # if CDPATH is set.
   19096 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19097 
   19098 sed_quote_subst='$sed_quote_subst'
   19099 double_quote_subst='$double_quote_subst'
   19100 delay_variable_subst='$delay_variable_subst'
   19101 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19102 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19103 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19104 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19105 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19106 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19107 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19108 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19109 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19110 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19111 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19112 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19113 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19114 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19115 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19116 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19117 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19118 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19119 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19120 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19121 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19122 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19123 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19124 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19125 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19126 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19127 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19128 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19129 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19130 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19131 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19132 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19133 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19134 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19135 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19136 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19137 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19138 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19139 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19140 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19141 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19142 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19143 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19144 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19145 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19146 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19147 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19148 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19149 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19150 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19151 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19152 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19153 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19154 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19155 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19156 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19157 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19158 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19159 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19160 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19161 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19162 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19163 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19164 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19165 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19166 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19167 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19168 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19169 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19170 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19171 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19172 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19173 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19174 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19175 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19176 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19177 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19178 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19179 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19180 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19181 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19182 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19183 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19184 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19185 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19186 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19187 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19188 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19189 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19190 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19191 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19192 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19193 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19194 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19195 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19196 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19197 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19198 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19199 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19200 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19201 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19202 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19203 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19204 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19205 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19206 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19207 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19208 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19209 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19210 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19211 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19212 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19213 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19214 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19215 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19216 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19217 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19218 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19219 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19220 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19221 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19222 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19223 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19224 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19225 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19226 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19227 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19228 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19229 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19230 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19231 
   19232 LTCC='$LTCC'
   19233 LTCFLAGS='$LTCFLAGS'
   19234 compiler='$compiler_DEFAULT'
   19235 
   19236 # A function that is used when there is no print builtin or printf.
   19237 func_fallback_echo ()
   19238 {
   19239   eval 'cat <<_LTECHO_EOF
   19240 \$1
   19241 _LTECHO_EOF'
   19242 }
   19243 
   19244 # Quote evaled strings.
   19245 for var in SHELL \
   19246 ECHO \
   19247 PATH_SEPARATOR \
   19248 SED \
   19249 GREP \
   19250 EGREP \
   19251 FGREP \
   19252 LD \
   19253 NM \
   19254 LN_S \
   19255 lt_SP2NL \
   19256 lt_NL2SP \
   19257 reload_flag \
   19258 OBJDUMP \
   19259 deplibs_check_method \
   19260 file_magic_cmd \
   19261 file_magic_glob \
   19262 want_nocaseglob \
   19263 DLLTOOL \
   19264 sharedlib_from_linklib_cmd \
   19265 AR \
   19266 AR_FLAGS \
   19267 archiver_list_spec \
   19268 STRIP \
   19269 RANLIB \
   19270 CC \
   19271 CFLAGS \
   19272 compiler \
   19273 lt_cv_sys_global_symbol_pipe \
   19274 lt_cv_sys_global_symbol_to_cdecl \
   19275 lt_cv_sys_global_symbol_to_c_name_address \
   19276 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19277 nm_file_list_spec \
   19278 lt_prog_compiler_no_builtin_flag \
   19279 lt_prog_compiler_pic \
   19280 lt_prog_compiler_wl \
   19281 lt_prog_compiler_static \
   19282 lt_cv_prog_compiler_c_o \
   19283 need_locks \
   19284 MANIFEST_TOOL \
   19285 DSYMUTIL \
   19286 NMEDIT \
   19287 LIPO \
   19288 OTOOL \
   19289 OTOOL64 \
   19290 shrext_cmds \
   19291 export_dynamic_flag_spec \
   19292 whole_archive_flag_spec \
   19293 compiler_needs_object \
   19294 with_gnu_ld \
   19295 allow_undefined_flag \
   19296 no_undefined_flag \
   19297 hardcode_libdir_flag_spec \
   19298 hardcode_libdir_separator \
   19299 exclude_expsyms \
   19300 include_expsyms \
   19301 file_list_spec \
   19302 variables_saved_for_relink \
   19303 libname_spec \
   19304 library_names_spec \
   19305 soname_spec \
   19306 install_override_mode \
   19307 finish_eval \
   19308 old_striplib \
   19309 striplib; do
   19310     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19311     *[\\\\\\\`\\"\\\$]*)
   19312       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19313       ;;
   19314     *)
   19315       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19316       ;;
   19317     esac
   19318 done
   19319 
   19320 # Double-quote double-evaled strings.
   19321 for var in reload_cmds \
   19322 old_postinstall_cmds \
   19323 old_postuninstall_cmds \
   19324 old_archive_cmds \
   19325 extract_expsyms_cmds \
   19326 old_archive_from_new_cmds \
   19327 old_archive_from_expsyms_cmds \
   19328 archive_cmds \
   19329 archive_expsym_cmds \
   19330 module_cmds \
   19331 module_expsym_cmds \
   19332 export_symbols_cmds \
   19333 prelink_cmds \
   19334 postlink_cmds \
   19335 postinstall_cmds \
   19336 postuninstall_cmds \
   19337 finish_cmds \
   19338 sys_lib_search_path_spec \
   19339 sys_lib_dlsearch_path_spec; do
   19340     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19341     *[\\\\\\\`\\"\\\$]*)
   19342       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19343       ;;
   19344     *)
   19345       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19346       ;;
   19347     esac
   19348 done
   19349 
   19350 ac_aux_dir='$ac_aux_dir'
   19351 xsi_shell='$xsi_shell'
   19352 lt_shell_append='$lt_shell_append'
   19353 
   19354 # See if we are running on zsh, and set the options which allow our
   19355 # commands through without removal of \ escapes INIT.
   19356 if test -n "\${ZSH_VERSION+set}" ; then
   19357    setopt NO_GLOB_SUBST
   19358 fi
   19359 
   19360 
   19361     PACKAGE='$PACKAGE'
   19362     VERSION='$VERSION'
   19363     TIMESTAMP='$TIMESTAMP'
   19364     RM='$RM'
   19365     ofile='$ofile'
   19366 
   19367 
   19368 
   19369 
   19370 _ACEOF
   19371 
   19372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19373 
   19374 # Handling of arguments.
   19375 for ac_config_target in $ac_config_targets
   19376 do
   19377   case $ac_config_target in
   19378     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19379     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19380     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19381     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19382     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19383     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19384     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
   19385     "conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
   19386     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   19387     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   19388     "xorg-synaptics.pc") CONFIG_FILES="$CONFIG_FILES xorg-synaptics.pc" ;;
   19389 
   19390   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19391   esac
   19392 done
   19393 
   19394 
   19395 # If the user did not use the arguments to specify the items to instantiate,
   19396 # then the envvar interface is used.  Set only those that are not.
   19397 # We use the long form for the default assignment because of an extremely
   19398 # bizarre bug on SunOS 4.1.3.
   19399 if $ac_need_defaults; then
   19400   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19401   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19402   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19403 fi
   19404 
   19405 # Have a temporary directory for convenience.  Make it in the build tree
   19406 # simply because there is no reason against having it here, and in addition,
   19407 # creating and moving files from /tmp can sometimes cause problems.
   19408 # Hook for its removal unless debugging.
   19409 # Note that there is a small window in which the directory will not be cleaned:
   19410 # after its creation but before its name has been assigned to `$tmp'.
   19411 $debug ||
   19412 {
   19413   tmp= ac_tmp=
   19414   trap 'exit_status=$?
   19415   : "${ac_tmp:=$tmp}"
   19416   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19417 ' 0
   19418   trap 'as_fn_exit 1' 1 2 13 15
   19419 }
   19420 # Create a (secure) tmp directory for tmp files.
   19421 
   19422 {
   19423   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19424   test -d "$tmp"
   19425 }  ||
   19426 {
   19427   tmp=./conf$$-$RANDOM
   19428   (umask 077 && mkdir "$tmp")
   19429 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19430 ac_tmp=$tmp
   19431 
   19432 # Set up the scripts for CONFIG_FILES section.
   19433 # No need to generate them if there are no CONFIG_FILES.
   19434 # This happens for instance with `./config.status config.h'.
   19435 if test -n "$CONFIG_FILES"; then
   19436 
   19437 
   19438 ac_cr=`echo X | tr X '\015'`
   19439 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19440 # But we know of no other shell where ac_cr would be empty at this
   19441 # point, so we can use a bashism as a fallback.
   19442 if test "x$ac_cr" = x; then
   19443   eval ac_cr=\$\'\\r\'
   19444 fi
   19445 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19446 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19447   ac_cs_awk_cr='\\r'
   19448 else
   19449   ac_cs_awk_cr=$ac_cr
   19450 fi
   19451 
   19452 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19453 _ACEOF
   19454 
   19455 
   19456 {
   19457   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19458   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19459   echo "_ACEOF"
   19460 } >conf$$subs.sh ||
   19461   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19462 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19463 ac_delim='%!_!# '
   19464 for ac_last_try in false false false false false :; do
   19465   . ./conf$$subs.sh ||
   19466     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19467 
   19468   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19469   if test $ac_delim_n = $ac_delim_num; then
   19470     break
   19471   elif $ac_last_try; then
   19472     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19473   else
   19474     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19475   fi
   19476 done
   19477 rm -f conf$$subs.sh
   19478 
   19479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19480 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19481 _ACEOF
   19482 sed -n '
   19483 h
   19484 s/^/S["/; s/!.*/"]=/
   19485 p
   19486 g
   19487 s/^[^!]*!//
   19488 :repl
   19489 t repl
   19490 s/'"$ac_delim"'$//
   19491 t delim
   19492 :nl
   19493 h
   19494 s/\(.\{148\}\)..*/\1/
   19495 t more1
   19496 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19497 p
   19498 n
   19499 b repl
   19500 :more1
   19501 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19502 p
   19503 g
   19504 s/.\{148\}//
   19505 t nl
   19506 :delim
   19507 h
   19508 s/\(.\{148\}\)..*/\1/
   19509 t more2
   19510 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19511 p
   19512 b
   19513 :more2
   19514 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19515 p
   19516 g
   19517 s/.\{148\}//
   19518 t delim
   19519 ' <conf$$subs.awk | sed '
   19520 /^[^""]/{
   19521   N
   19522   s/\n//
   19523 }
   19524 ' >>$CONFIG_STATUS || ac_write_fail=1
   19525 rm -f conf$$subs.awk
   19526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19527 _ACAWK
   19528 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19529   for (key in S) S_is_set[key] = 1
   19530   FS = ""
   19531 
   19532 }
   19533 {
   19534   line = $ 0
   19535   nfields = split(line, field, "@")
   19536   substed = 0
   19537   len = length(field[1])
   19538   for (i = 2; i < nfields; i++) {
   19539     key = field[i]
   19540     keylen = length(key)
   19541     if (S_is_set[key]) {
   19542       value = S[key]
   19543       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19544       len += length(value) + length(field[++i])
   19545       substed = 1
   19546     } else
   19547       len += 1 + keylen
   19548   }
   19549 
   19550   print line
   19551 }
   19552 
   19553 _ACAWK
   19554 _ACEOF
   19555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19556 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19557   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19558 else
   19559   cat
   19560 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19561   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19562 _ACEOF
   19563 
   19564 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19565 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19566 # trailing colons and then remove the whole line if VPATH becomes empty
   19567 # (actually we leave an empty line to preserve line numbers).
   19568 if test "x$srcdir" = x.; then
   19569   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19570 h
   19571 s///
   19572 s/^/:/
   19573 s/[	 ]*$/:/
   19574 s/:\$(srcdir):/:/g
   19575 s/:\${srcdir}:/:/g
   19576 s/:@srcdir@:/:/g
   19577 s/^:*//
   19578 s/:*$//
   19579 x
   19580 s/\(=[	 ]*\).*/\1/
   19581 G
   19582 s/\n//
   19583 s/^[^=]*=[	 ]*$//
   19584 }'
   19585 fi
   19586 
   19587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19588 fi # test -n "$CONFIG_FILES"
   19589 
   19590 # Set up the scripts for CONFIG_HEADERS section.
   19591 # No need to generate them if there are no CONFIG_HEADERS.
   19592 # This happens for instance with `./config.status Makefile'.
   19593 if test -n "$CONFIG_HEADERS"; then
   19594 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19595 BEGIN {
   19596 _ACEOF
   19597 
   19598 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19599 # here-document in config.status, that substitutes the proper values into
   19600 # config.h.in to produce config.h.
   19601 
   19602 # Create a delimiter string that does not exist in confdefs.h, to ease
   19603 # handling of long lines.
   19604 ac_delim='%!_!# '
   19605 for ac_last_try in false false :; do
   19606   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19607   if test -z "$ac_tt"; then
   19608     break
   19609   elif $ac_last_try; then
   19610     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19611   else
   19612     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19613   fi
   19614 done
   19615 
   19616 # For the awk script, D is an array of macro values keyed by name,
   19617 # likewise P contains macro parameters if any.  Preserve backslash
   19618 # newline sequences.
   19619 
   19620 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19621 sed -n '
   19622 s/.\{148\}/&'"$ac_delim"'/g
   19623 t rset
   19624 :rset
   19625 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19626 t def
   19627 d
   19628 :def
   19629 s/\\$//
   19630 t bsnl
   19631 s/["\\]/\\&/g
   19632 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19633 D["\1"]=" \3"/p
   19634 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19635 d
   19636 :bsnl
   19637 s/["\\]/\\&/g
   19638 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19639 D["\1"]=" \3\\\\\\n"\\/p
   19640 t cont
   19641 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19642 t cont
   19643 d
   19644 :cont
   19645 n
   19646 s/.\{148\}/&'"$ac_delim"'/g
   19647 t clear
   19648 :clear
   19649 s/\\$//
   19650 t bsnlc
   19651 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19652 d
   19653 :bsnlc
   19654 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19655 b cont
   19656 ' <confdefs.h | sed '
   19657 s/'"$ac_delim"'/"\\\
   19658 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19659 
   19660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19661   for (key in D) D_is_set[key] = 1
   19662   FS = ""
   19663 }
   19664 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19665   line = \$ 0
   19666   split(line, arg, " ")
   19667   if (arg[1] == "#") {
   19668     defundef = arg[2]
   19669     mac1 = arg[3]
   19670   } else {
   19671     defundef = substr(arg[1], 2)
   19672     mac1 = arg[2]
   19673   }
   19674   split(mac1, mac2, "(") #)
   19675   macro = mac2[1]
   19676   prefix = substr(line, 1, index(line, defundef) - 1)
   19677   if (D_is_set[macro]) {
   19678     # Preserve the white space surrounding the "#".
   19679     print prefix "define", macro P[macro] D[macro]
   19680     next
   19681   } else {
   19682     # Replace #undef with comments.  This is necessary, for example,
   19683     # in the case of _POSIX_SOURCE, which is predefined and required
   19684     # on some systems where configure will not decide to define it.
   19685     if (defundef == "undef") {
   19686       print "/*", prefix defundef, macro, "*/"
   19687       next
   19688     }
   19689   }
   19690 }
   19691 { print }
   19692 _ACAWK
   19693 _ACEOF
   19694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19695   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19696 fi # test -n "$CONFIG_HEADERS"
   19697 
   19698 
   19699 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19700 shift
   19701 for ac_tag
   19702 do
   19703   case $ac_tag in
   19704   :[FHLC]) ac_mode=$ac_tag; continue;;
   19705   esac
   19706   case $ac_mode$ac_tag in
   19707   :[FHL]*:*);;
   19708   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19709   :[FH]-) ac_tag=-:-;;
   19710   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19711   esac
   19712   ac_save_IFS=$IFS
   19713   IFS=:
   19714   set x $ac_tag
   19715   IFS=$ac_save_IFS
   19716   shift
   19717   ac_file=$1
   19718   shift
   19719 
   19720   case $ac_mode in
   19721   :L) ac_source=$1;;
   19722   :[FH])
   19723     ac_file_inputs=
   19724     for ac_f
   19725     do
   19726       case $ac_f in
   19727       -) ac_f="$ac_tmp/stdin";;
   19728       *) # Look for the file first in the build tree, then in the source tree
   19729 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19730 	 # because $ac_f cannot contain `:'.
   19731 	 test -f "$ac_f" ||
   19732 	   case $ac_f in
   19733 	   [\\/$]*) false;;
   19734 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19735 	   esac ||
   19736 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19737       esac
   19738       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19739       as_fn_append ac_file_inputs " '$ac_f'"
   19740     done
   19741 
   19742     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19743     # use $as_me), people would be surprised to read:
   19744     #    /* config.h.  Generated by config.status.  */
   19745     configure_input='Generated from '`
   19746 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19747 	`' by configure.'
   19748     if test x"$ac_file" != x-; then
   19749       configure_input="$ac_file.  $configure_input"
   19750       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19751 $as_echo "$as_me: creating $ac_file" >&6;}
   19752     fi
   19753     # Neutralize special characters interpreted by sed in replacement strings.
   19754     case $configure_input in #(
   19755     *\&* | *\|* | *\\* )
   19756        ac_sed_conf_input=`$as_echo "$configure_input" |
   19757        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19758     *) ac_sed_conf_input=$configure_input;;
   19759     esac
   19760 
   19761     case $ac_tag in
   19762     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19763       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19764     esac
   19765     ;;
   19766   esac
   19767 
   19768   ac_dir=`$as_dirname -- "$ac_file" ||
   19769 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19770 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19771 	 X"$ac_file" : 'X\(//\)$' \| \
   19772 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19773 $as_echo X"$ac_file" |
   19774     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19775 	    s//\1/
   19776 	    q
   19777 	  }
   19778 	  /^X\(\/\/\)[^/].*/{
   19779 	    s//\1/
   19780 	    q
   19781 	  }
   19782 	  /^X\(\/\/\)$/{
   19783 	    s//\1/
   19784 	    q
   19785 	  }
   19786 	  /^X\(\/\).*/{
   19787 	    s//\1/
   19788 	    q
   19789 	  }
   19790 	  s/.*/./; q'`
   19791   as_dir="$ac_dir"; as_fn_mkdir_p
   19792   ac_builddir=.
   19793 
   19794 case "$ac_dir" in
   19795 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19796 *)
   19797   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19798   # A ".." for each directory in $ac_dir_suffix.
   19799   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19800   case $ac_top_builddir_sub in
   19801   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19802   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19803   esac ;;
   19804 esac
   19805 ac_abs_top_builddir=$ac_pwd
   19806 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19807 # for backward compatibility:
   19808 ac_top_builddir=$ac_top_build_prefix
   19809 
   19810 case $srcdir in
   19811   .)  # We are building in place.
   19812     ac_srcdir=.
   19813     ac_top_srcdir=$ac_top_builddir_sub
   19814     ac_abs_top_srcdir=$ac_pwd ;;
   19815   [\\/]* | ?:[\\/]* )  # Absolute name.
   19816     ac_srcdir=$srcdir$ac_dir_suffix;
   19817     ac_top_srcdir=$srcdir
   19818     ac_abs_top_srcdir=$srcdir ;;
   19819   *) # Relative name.
   19820     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19821     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19822     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19823 esac
   19824 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19825 
   19826 
   19827   case $ac_mode in
   19828   :F)
   19829   #
   19830   # CONFIG_FILE
   19831   #
   19832 
   19833   case $INSTALL in
   19834   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19835   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19836   esac
   19837   ac_MKDIR_P=$MKDIR_P
   19838   case $MKDIR_P in
   19839   [\\/$]* | ?:[\\/]* ) ;;
   19840   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19841   esac
   19842 _ACEOF
   19843 
   19844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19845 # If the template does not know about datarootdir, expand it.
   19846 # FIXME: This hack should be removed a few years after 2.60.
   19847 ac_datarootdir_hack=; ac_datarootdir_seen=
   19848 ac_sed_dataroot='
   19849 /datarootdir/ {
   19850   p
   19851   q
   19852 }
   19853 /@datadir@/p
   19854 /@docdir@/p
   19855 /@infodir@/p
   19856 /@localedir@/p
   19857 /@mandir@/p'
   19858 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19859 *datarootdir*) ac_datarootdir_seen=yes;;
   19860 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19861   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19862 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19863 _ACEOF
   19864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19865   ac_datarootdir_hack='
   19866   s&@datadir@&$datadir&g
   19867   s&@docdir@&$docdir&g
   19868   s&@infodir@&$infodir&g
   19869   s&@localedir@&$localedir&g
   19870   s&@mandir@&$mandir&g
   19871   s&\\\${datarootdir}&$datarootdir&g' ;;
   19872 esac
   19873 _ACEOF
   19874 
   19875 # Neutralize VPATH when `$srcdir' = `.'.
   19876 # Shell code in configure.ac might set extrasub.
   19877 # FIXME: do we really want to maintain this feature?
   19878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19879 ac_sed_extra="$ac_vpsub
   19880 $extrasub
   19881 _ACEOF
   19882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19883 :t
   19884 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19885 s|@configure_input@|$ac_sed_conf_input|;t t
   19886 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19887 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19888 s&@srcdir@&$ac_srcdir&;t t
   19889 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19890 s&@top_srcdir@&$ac_top_srcdir&;t t
   19891 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19892 s&@builddir@&$ac_builddir&;t t
   19893 s&@abs_builddir@&$ac_abs_builddir&;t t
   19894 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19895 s&@INSTALL@&$ac_INSTALL&;t t
   19896 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19897 $ac_datarootdir_hack
   19898 "
   19899 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19900   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19901 
   19902 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19903   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19904   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19905       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19906   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19907 which seems to be undefined.  Please make sure it is defined" >&5
   19908 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19909 which seems to be undefined.  Please make sure it is defined" >&2;}
   19910 
   19911   rm -f "$ac_tmp/stdin"
   19912   case $ac_file in
   19913   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19914   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19915   esac \
   19916   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19917  ;;
   19918   :H)
   19919   #
   19920   # CONFIG_HEADER
   19921   #
   19922   if test x"$ac_file" != x-; then
   19923     {
   19924       $as_echo "/* $configure_input  */" \
   19925       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19926     } >"$ac_tmp/config.h" \
   19927       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19928     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19929       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19930 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19931     else
   19932       rm -f "$ac_file"
   19933       mv "$ac_tmp/config.h" "$ac_file" \
   19934 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19935     fi
   19936   else
   19937     $as_echo "/* $configure_input  */" \
   19938       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19939       || as_fn_error $? "could not create -" "$LINENO" 5
   19940   fi
   19941 # Compute "$ac_file"'s index in $config_headers.
   19942 _am_arg="$ac_file"
   19943 _am_stamp_count=1
   19944 for _am_header in $config_headers :; do
   19945   case $_am_header in
   19946     $_am_arg | $_am_arg:* )
   19947       break ;;
   19948     * )
   19949       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19950   esac
   19951 done
   19952 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19953 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19954 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19955 	 X"$_am_arg" : 'X\(//\)$' \| \
   19956 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19957 $as_echo X"$_am_arg" |
   19958     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19959 	    s//\1/
   19960 	    q
   19961 	  }
   19962 	  /^X\(\/\/\)[^/].*/{
   19963 	    s//\1/
   19964 	    q
   19965 	  }
   19966 	  /^X\(\/\/\)$/{
   19967 	    s//\1/
   19968 	    q
   19969 	  }
   19970 	  /^X\(\/\).*/{
   19971 	    s//\1/
   19972 	    q
   19973 	  }
   19974 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19975  ;;
   19976 
   19977   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19978 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19979  ;;
   19980   esac
   19981 
   19982 
   19983   case $ac_file$ac_mode in
   19984     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19985   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   19986   # are listed without --file.  Let's play safe and only enable the eval
   19987   # if we detect the quoting.
   19988   case $CONFIG_FILES in
   19989   *\'*) eval set x "$CONFIG_FILES" ;;
   19990   *)   set x $CONFIG_FILES ;;
   19991   esac
   19992   shift
   19993   for mf
   19994   do
   19995     # Strip MF so we end up with the name of the file.
   19996     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19997     # Check whether this is an Automake generated Makefile or not.
   19998     # We used to match only the files named 'Makefile.in', but
   19999     # some people rename them; so instead we look at the file content.
   20000     # Grep'ing the first line is not enough: some people post-process
   20001     # each Makefile.in and add a new line on top of each file to say so.
   20002     # Grep'ing the whole file is not good either: AIX grep has a line
   20003     # limit of 2048, but all sed's we know have understand at least 4000.
   20004     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20005       dirpart=`$as_dirname -- "$mf" ||
   20006 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20007 	 X"$mf" : 'X\(//\)[^/]' \| \
   20008 	 X"$mf" : 'X\(//\)$' \| \
   20009 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20010 $as_echo X"$mf" |
   20011     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20012 	    s//\1/
   20013 	    q
   20014 	  }
   20015 	  /^X\(\/\/\)[^/].*/{
   20016 	    s//\1/
   20017 	    q
   20018 	  }
   20019 	  /^X\(\/\/\)$/{
   20020 	    s//\1/
   20021 	    q
   20022 	  }
   20023 	  /^X\(\/\).*/{
   20024 	    s//\1/
   20025 	    q
   20026 	  }
   20027 	  s/.*/./; q'`
   20028     else
   20029       continue
   20030     fi
   20031     # Extract the definition of DEPDIR, am__include, and am__quote
   20032     # from the Makefile without running 'make'.
   20033     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20034     test -z "$DEPDIR" && continue
   20035     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20036     test -z "am__include" && continue
   20037     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20038     # Find all dependency output files, they are included files with
   20039     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20040     # simplest approach to changing $(DEPDIR) to its actual value in the
   20041     # expansion.
   20042     for file in `sed -n "
   20043       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20044 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20045       # Make sure the directory exists.
   20046       test -f "$dirpart/$file" && continue
   20047       fdir=`$as_dirname -- "$file" ||
   20048 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20049 	 X"$file" : 'X\(//\)[^/]' \| \
   20050 	 X"$file" : 'X\(//\)$' \| \
   20051 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20052 $as_echo X"$file" |
   20053     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20054 	    s//\1/
   20055 	    q
   20056 	  }
   20057 	  /^X\(\/\/\)[^/].*/{
   20058 	    s//\1/
   20059 	    q
   20060 	  }
   20061 	  /^X\(\/\/\)$/{
   20062 	    s//\1/
   20063 	    q
   20064 	  }
   20065 	  /^X\(\/\).*/{
   20066 	    s//\1/
   20067 	    q
   20068 	  }
   20069 	  s/.*/./; q'`
   20070       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20071       # echo "creating $dirpart/$file"
   20072       echo '# dummy' > "$dirpart/$file"
   20073     done
   20074   done
   20075 }
   20076  ;;
   20077     "libtool":C)
   20078 
   20079     # See if we are running on zsh, and set the options which allow our
   20080     # commands through without removal of \ escapes.
   20081     if test -n "${ZSH_VERSION+set}" ; then
   20082       setopt NO_GLOB_SUBST
   20083     fi
   20084 
   20085     cfgfile="${ofile}T"
   20086     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20087     $RM "$cfgfile"
   20088 
   20089     cat <<_LT_EOF >> "$cfgfile"
   20090 #! $SHELL
   20091 
   20092 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20093 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20094 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20095 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20096 #
   20097 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20098 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   20099 #                 Foundation, Inc.
   20100 #   Written by Gordon Matzigkeit, 1996
   20101 #
   20102 #   This file is part of GNU Libtool.
   20103 #
   20104 # GNU Libtool is free software; you can redistribute it and/or
   20105 # modify it under the terms of the GNU General Public License as
   20106 # published by the Free Software Foundation; either version 2 of
   20107 # the License, or (at your option) any later version.
   20108 #
   20109 # As a special exception to the GNU General Public License,
   20110 # if you distribute this file as part of a program or library that
   20111 # is built using GNU Libtool, you may include this file under the
   20112 # same distribution terms that you use for the rest of that program.
   20113 #
   20114 # GNU Libtool is distributed in the hope that it will be useful,
   20115 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20116 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20117 # GNU General Public License for more details.
   20118 #
   20119 # You should have received a copy of the GNU General Public License
   20120 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20121 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20122 # obtained by writing to the Free Software Foundation, Inc.,
   20123 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20124 
   20125 
   20126 # The names of the tagged configurations supported by this script.
   20127 available_tags=""
   20128 
   20129 # ### BEGIN LIBTOOL CONFIG
   20130 
   20131 # Whether or not to build static libraries.
   20132 build_old_libs=$enable_static
   20133 
   20134 # Which release of libtool.m4 was used?
   20135 macro_version=$macro_version
   20136 macro_revision=$macro_revision
   20137 
   20138 # Whether or not to build shared libraries.
   20139 build_libtool_libs=$enable_shared
   20140 
   20141 # What type of objects to build.
   20142 pic_mode=$pic_mode
   20143 
   20144 # Whether or not to optimize for fast installation.
   20145 fast_install=$enable_fast_install
   20146 
   20147 # Shell to use when invoking shell scripts.
   20148 SHELL=$lt_SHELL
   20149 
   20150 # An echo program that protects backslashes.
   20151 ECHO=$lt_ECHO
   20152 
   20153 # The PATH separator for the build system.
   20154 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20155 
   20156 # The host system.
   20157 host_alias=$host_alias
   20158 host=$host
   20159 host_os=$host_os
   20160 
   20161 # The build system.
   20162 build_alias=$build_alias
   20163 build=$build
   20164 build_os=$build_os
   20165 
   20166 # A sed program that does not truncate output.
   20167 SED=$lt_SED
   20168 
   20169 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20170 Xsed="\$SED -e 1s/^X//"
   20171 
   20172 # A grep program that handles long lines.
   20173 GREP=$lt_GREP
   20174 
   20175 # An ERE matcher.
   20176 EGREP=$lt_EGREP
   20177 
   20178 # A literal string matcher.
   20179 FGREP=$lt_FGREP
   20180 
   20181 # A BSD- or MS-compatible name lister.
   20182 NM=$lt_NM
   20183 
   20184 # Whether we need soft or hard links.
   20185 LN_S=$lt_LN_S
   20186 
   20187 # What is the maximum length of a command?
   20188 max_cmd_len=$max_cmd_len
   20189 
   20190 # Object file suffix (normally "o").
   20191 objext=$ac_objext
   20192 
   20193 # Executable file suffix (normally "").
   20194 exeext=$exeext
   20195 
   20196 # whether the shell understands "unset".
   20197 lt_unset=$lt_unset
   20198 
   20199 # turn spaces into newlines.
   20200 SP2NL=$lt_lt_SP2NL
   20201 
   20202 # turn newlines into spaces.
   20203 NL2SP=$lt_lt_NL2SP
   20204 
   20205 # convert \$build file names to \$host format.
   20206 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20207 
   20208 # convert \$build files to toolchain format.
   20209 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20210 
   20211 # An object symbol dumper.
   20212 OBJDUMP=$lt_OBJDUMP
   20213 
   20214 # Method to check whether dependent libraries are shared objects.
   20215 deplibs_check_method=$lt_deplibs_check_method
   20216 
   20217 # Command to use when deplibs_check_method = "file_magic".
   20218 file_magic_cmd=$lt_file_magic_cmd
   20219 
   20220 # How to find potential files when deplibs_check_method = "file_magic".
   20221 file_magic_glob=$lt_file_magic_glob
   20222 
   20223 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20224 want_nocaseglob=$lt_want_nocaseglob
   20225 
   20226 # DLL creation program.
   20227 DLLTOOL=$lt_DLLTOOL
   20228 
   20229 # Command to associate shared and link libraries.
   20230 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20231 
   20232 # The archiver.
   20233 AR=$lt_AR
   20234 
   20235 # Flags to create an archive.
   20236 AR_FLAGS=$lt_AR_FLAGS
   20237 
   20238 # How to feed a file listing to the archiver.
   20239 archiver_list_spec=$lt_archiver_list_spec
   20240 
   20241 # A symbol stripping program.
   20242 STRIP=$lt_STRIP
   20243 
   20244 # Commands used to install an old-style archive.
   20245 RANLIB=$lt_RANLIB
   20246 old_postinstall_cmds=$lt_old_postinstall_cmds
   20247 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20248 
   20249 # Whether to use a lock for old archive extraction.
   20250 lock_old_archive_extraction=$lock_old_archive_extraction
   20251 
   20252 # A C compiler.
   20253 LTCC=$lt_CC
   20254 
   20255 # LTCC compiler flags.
   20256 LTCFLAGS=$lt_CFLAGS
   20257 
   20258 # Take the output of nm and produce a listing of raw symbols and C names.
   20259 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20260 
   20261 # Transform the output of nm in a proper C declaration.
   20262 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20263 
   20264 # Transform the output of nm in a C name address pair.
   20265 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20266 
   20267 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20268 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20269 
   20270 # Specify filename containing input files for \$NM.
   20271 nm_file_list_spec=$lt_nm_file_list_spec
   20272 
   20273 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20274 lt_sysroot=$lt_sysroot
   20275 
   20276 # The name of the directory that contains temporary libtool files.
   20277 objdir=$objdir
   20278 
   20279 # Used to examine libraries when file_magic_cmd begins with "file".
   20280 MAGIC_CMD=$MAGIC_CMD
   20281 
   20282 # Must we lock files when doing compilation?
   20283 need_locks=$lt_need_locks
   20284 
   20285 # Manifest tool.
   20286 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20287 
   20288 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20289 DSYMUTIL=$lt_DSYMUTIL
   20290 
   20291 # Tool to change global to local symbols on Mac OS X.
   20292 NMEDIT=$lt_NMEDIT
   20293 
   20294 # Tool to manipulate fat objects and archives on Mac OS X.
   20295 LIPO=$lt_LIPO
   20296 
   20297 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20298 OTOOL=$lt_OTOOL
   20299 
   20300 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20301 OTOOL64=$lt_OTOOL64
   20302 
   20303 # Old archive suffix (normally "a").
   20304 libext=$libext
   20305 
   20306 # Shared library suffix (normally ".so").
   20307 shrext_cmds=$lt_shrext_cmds
   20308 
   20309 # The commands to extract the exported symbol list from a shared archive.
   20310 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20311 
   20312 # Variables whose values should be saved in libtool wrapper scripts and
   20313 # restored at link time.
   20314 variables_saved_for_relink=$lt_variables_saved_for_relink
   20315 
   20316 # Do we need the "lib" prefix for modules?
   20317 need_lib_prefix=$need_lib_prefix
   20318 
   20319 # Do we need a version for libraries?
   20320 need_version=$need_version
   20321 
   20322 # Library versioning type.
   20323 version_type=$version_type
   20324 
   20325 # Shared library runtime path variable.
   20326 runpath_var=$runpath_var
   20327 
   20328 # Shared library path variable.
   20329 shlibpath_var=$shlibpath_var
   20330 
   20331 # Is shlibpath searched before the hard-coded library search path?
   20332 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20333 
   20334 # Format of library name prefix.
   20335 libname_spec=$lt_libname_spec
   20336 
   20337 # List of archive names.  First name is the real one, the rest are links.
   20338 # The last name is the one that the linker finds with -lNAME
   20339 library_names_spec=$lt_library_names_spec
   20340 
   20341 # The coded name of the library, if different from the real name.
   20342 soname_spec=$lt_soname_spec
   20343 
   20344 # Permission mode override for installation of shared libraries.
   20345 install_override_mode=$lt_install_override_mode
   20346 
   20347 # Command to use after installation of a shared archive.
   20348 postinstall_cmds=$lt_postinstall_cmds
   20349 
   20350 # Command to use after uninstallation of a shared archive.
   20351 postuninstall_cmds=$lt_postuninstall_cmds
   20352 
   20353 # Commands used to finish a libtool library installation in a directory.
   20354 finish_cmds=$lt_finish_cmds
   20355 
   20356 # As "finish_cmds", except a single script fragment to be evaled but
   20357 # not shown.
   20358 finish_eval=$lt_finish_eval
   20359 
   20360 # Whether we should hardcode library paths into libraries.
   20361 hardcode_into_libs=$hardcode_into_libs
   20362 
   20363 # Compile-time system search path for libraries.
   20364 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20365 
   20366 # Run-time system search path for libraries.
   20367 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20368 
   20369 # Whether dlopen is supported.
   20370 dlopen_support=$enable_dlopen
   20371 
   20372 # Whether dlopen of programs is supported.
   20373 dlopen_self=$enable_dlopen_self
   20374 
   20375 # Whether dlopen of statically linked programs is supported.
   20376 dlopen_self_static=$enable_dlopen_self_static
   20377 
   20378 # Commands to strip libraries.
   20379 old_striplib=$lt_old_striplib
   20380 striplib=$lt_striplib
   20381 
   20382 
   20383 # The linker used to build libraries.
   20384 LD=$lt_LD
   20385 
   20386 # How to create reloadable object files.
   20387 reload_flag=$lt_reload_flag
   20388 reload_cmds=$lt_reload_cmds
   20389 
   20390 # Commands used to build an old-style archive.
   20391 old_archive_cmds=$lt_old_archive_cmds
   20392 
   20393 # A language specific compiler.
   20394 CC=$lt_compiler
   20395 
   20396 # Is the compiler the GNU compiler?
   20397 with_gcc=$GCC
   20398 
   20399 # Compiler flag to turn off builtin functions.
   20400 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20401 
   20402 # Additional compiler flags for building library objects.
   20403 pic_flag=$lt_lt_prog_compiler_pic
   20404 
   20405 # How to pass a linker flag through the compiler.
   20406 wl=$lt_lt_prog_compiler_wl
   20407 
   20408 # Compiler flag to prevent dynamic linking.
   20409 link_static_flag=$lt_lt_prog_compiler_static
   20410 
   20411 # Does compiler simultaneously support -c and -o options?
   20412 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20413 
   20414 # Whether or not to add -lc for building shared libraries.
   20415 build_libtool_need_lc=$archive_cmds_need_lc
   20416 
   20417 # Whether or not to disallow shared libs when runtime libs are static.
   20418 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20419 
   20420 # Compiler flag to allow reflexive dlopens.
   20421 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20422 
   20423 # Compiler flag to generate shared objects directly from archives.
   20424 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20425 
   20426 # Whether the compiler copes with passing no objects directly.
   20427 compiler_needs_object=$lt_compiler_needs_object
   20428 
   20429 # Create an old-style archive from a shared archive.
   20430 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20431 
   20432 # Create a temporary old-style archive to link instead of a shared archive.
   20433 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20434 
   20435 # Commands used to build a shared archive.
   20436 archive_cmds=$lt_archive_cmds
   20437 archive_expsym_cmds=$lt_archive_expsym_cmds
   20438 
   20439 # Commands used to build a loadable module if different from building
   20440 # a shared archive.
   20441 module_cmds=$lt_module_cmds
   20442 module_expsym_cmds=$lt_module_expsym_cmds
   20443 
   20444 # Whether we are building with GNU ld or not.
   20445 with_gnu_ld=$lt_with_gnu_ld
   20446 
   20447 # Flag that allows shared libraries with undefined symbols to be built.
   20448 allow_undefined_flag=$lt_allow_undefined_flag
   20449 
   20450 # Flag that enforces no undefined symbols.
   20451 no_undefined_flag=$lt_no_undefined_flag
   20452 
   20453 # Flag to hardcode \$libdir into a binary during linking.
   20454 # This must work even if \$libdir does not exist
   20455 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20456 
   20457 # Whether we need a single "-rpath" flag with a separated argument.
   20458 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20459 
   20460 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20461 # DIR into the resulting binary.
   20462 hardcode_direct=$hardcode_direct
   20463 
   20464 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20465 # DIR into the resulting binary and the resulting library dependency is
   20466 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20467 # library is relocated.
   20468 hardcode_direct_absolute=$hardcode_direct_absolute
   20469 
   20470 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20471 # into the resulting binary.
   20472 hardcode_minus_L=$hardcode_minus_L
   20473 
   20474 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20475 # into the resulting binary.
   20476 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20477 
   20478 # Set to "yes" if building a shared library automatically hardcodes DIR
   20479 # into the library and all subsequent libraries and executables linked
   20480 # against it.
   20481 hardcode_automatic=$hardcode_automatic
   20482 
   20483 # Set to yes if linker adds runtime paths of dependent libraries
   20484 # to runtime path list.
   20485 inherit_rpath=$inherit_rpath
   20486 
   20487 # Whether libtool must link a program against all its dependency libraries.
   20488 link_all_deplibs=$link_all_deplibs
   20489 
   20490 # Set to "yes" if exported symbols are required.
   20491 always_export_symbols=$always_export_symbols
   20492 
   20493 # The commands to list exported symbols.
   20494 export_symbols_cmds=$lt_export_symbols_cmds
   20495 
   20496 # Symbols that should not be listed in the preloaded symbols.
   20497 exclude_expsyms=$lt_exclude_expsyms
   20498 
   20499 # Symbols that must always be exported.
   20500 include_expsyms=$lt_include_expsyms
   20501 
   20502 # Commands necessary for linking programs (against libraries) with templates.
   20503 prelink_cmds=$lt_prelink_cmds
   20504 
   20505 # Commands necessary for finishing linking programs.
   20506 postlink_cmds=$lt_postlink_cmds
   20507 
   20508 # Specify filename containing input files.
   20509 file_list_spec=$lt_file_list_spec
   20510 
   20511 # How to hardcode a shared library path into an executable.
   20512 hardcode_action=$hardcode_action
   20513 
   20514 # ### END LIBTOOL CONFIG
   20515 
   20516 _LT_EOF
   20517 
   20518   case $host_os in
   20519   aix3*)
   20520     cat <<\_LT_EOF >> "$cfgfile"
   20521 # AIX sometimes has problems with the GCC collect2 program.  For some
   20522 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20523 # vanish in a puff of smoke.
   20524 if test "X${COLLECT_NAMES+set}" != Xset; then
   20525   COLLECT_NAMES=
   20526   export COLLECT_NAMES
   20527 fi
   20528 _LT_EOF
   20529     ;;
   20530   esac
   20531 
   20532 
   20533 ltmain="$ac_aux_dir/ltmain.sh"
   20534 
   20535 
   20536   # We use sed instead of cat because bash on DJGPP gets confused if
   20537   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20538   # text mode, it properly converts lines to CR/LF.  This bash problem
   20539   # is reportedly fixed, but why not run on old versions too?
   20540   sed '$q' "$ltmain" >> "$cfgfile" \
   20541      || (rm -f "$cfgfile"; exit 1)
   20542 
   20543   if test x"$xsi_shell" = xyes; then
   20544   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20545 func_dirname ()\
   20546 {\
   20547 \    case ${1} in\
   20548 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20549 \      *  ) func_dirname_result="${3}" ;;\
   20550 \    esac\
   20551 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20552   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20553     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20554 test 0 -eq $? || _lt_function_replace_fail=:
   20555 
   20556 
   20557   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20558 func_basename ()\
   20559 {\
   20560 \    func_basename_result="${1##*/}"\
   20561 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20562   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20563     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20564 test 0 -eq $? || _lt_function_replace_fail=:
   20565 
   20566 
   20567   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20568 func_dirname_and_basename ()\
   20569 {\
   20570 \    case ${1} in\
   20571 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20572 \      *  ) func_dirname_result="${3}" ;;\
   20573 \    esac\
   20574 \    func_basename_result="${1##*/}"\
   20575 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20576   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20577     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20578 test 0 -eq $? || _lt_function_replace_fail=:
   20579 
   20580 
   20581   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20582 func_stripname ()\
   20583 {\
   20584 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20585 \    # positional parameters, so assign one to ordinary parameter first.\
   20586 \    func_stripname_result=${3}\
   20587 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20588 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20589 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20590   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20591     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20592 test 0 -eq $? || _lt_function_replace_fail=:
   20593 
   20594 
   20595   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20596 func_split_long_opt ()\
   20597 {\
   20598 \    func_split_long_opt_name=${1%%=*}\
   20599 \    func_split_long_opt_arg=${1#*=}\
   20600 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20601   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20602     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20603 test 0 -eq $? || _lt_function_replace_fail=:
   20604 
   20605 
   20606   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20607 func_split_short_opt ()\
   20608 {\
   20609 \    func_split_short_opt_arg=${1#??}\
   20610 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20611 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20612   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20613     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20614 test 0 -eq $? || _lt_function_replace_fail=:
   20615 
   20616 
   20617   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20618 func_lo2o ()\
   20619 {\
   20620 \    case ${1} in\
   20621 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20622 \      *)    func_lo2o_result=${1} ;;\
   20623 \    esac\
   20624 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20625   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20626     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20627 test 0 -eq $? || _lt_function_replace_fail=:
   20628 
   20629 
   20630   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20631 func_xform ()\
   20632 {\
   20633     func_xform_result=${1%.*}.lo\
   20634 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20635   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20636     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20637 test 0 -eq $? || _lt_function_replace_fail=:
   20638 
   20639 
   20640   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20641 func_arith ()\
   20642 {\
   20643     func_arith_result=$(( $* ))\
   20644 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20645   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20646     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20647 test 0 -eq $? || _lt_function_replace_fail=:
   20648 
   20649 
   20650   sed -e '/^func_len ()$/,/^} # func_len /c\
   20651 func_len ()\
   20652 {\
   20653     func_len_result=${#1}\
   20654 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20655   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20656     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20657 test 0 -eq $? || _lt_function_replace_fail=:
   20658 
   20659 fi
   20660 
   20661 if test x"$lt_shell_append" = xyes; then
   20662   sed -e '/^func_append ()$/,/^} # func_append /c\
   20663 func_append ()\
   20664 {\
   20665     eval "${1}+=\\${2}"\
   20666 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20667   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20668     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20669 test 0 -eq $? || _lt_function_replace_fail=:
   20670 
   20671 
   20672   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20673 func_append_quoted ()\
   20674 {\
   20675 \    func_quote_for_eval "${2}"\
   20676 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20677 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20678   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20679     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20680 test 0 -eq $? || _lt_function_replace_fail=:
   20681 
   20682 
   20683   # Save a `func_append' function call where possible by direct use of '+='
   20684   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20685     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20686       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20687   test 0 -eq $? || _lt_function_replace_fail=:
   20688 else
   20689   # Save a `func_append' function call even when '+=' is not available
   20690   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20691     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20692       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20693   test 0 -eq $? || _lt_function_replace_fail=:
   20694 fi
   20695 
   20696 if test x"$_lt_function_replace_fail" = x":"; then
   20697   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20698 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20699 fi
   20700 
   20701 
   20702    mv -f "$cfgfile" "$ofile" ||
   20703     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20704   chmod +x "$ofile"
   20705 
   20706  ;;
   20707 
   20708   esac
   20709 done # for ac_tag
   20710 
   20711 
   20712 as_fn_exit 0
   20713 _ACEOF
   20714 ac_clean_files=$ac_clean_files_save
   20715 
   20716 test $ac_write_fail = 0 ||
   20717   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20718 
   20719 
   20720 # configure is writing to config.log, and then calls config.status.
   20721 # config.status does its own redirection, appending to config.log.
   20722 # Unfortunately, on DOS this fails, as config.log is still kept open
   20723 # by configure, so config.status won't be able to write to it; its
   20724 # output is simply discarded.  So we exec the FD to /dev/null,
   20725 # effectively closing config.log, so it can be properly (re)opened and
   20726 # appended to by config.status.  When coming back to configure, we
   20727 # need to make the FD available again.
   20728 if test "$no_create" != yes; then
   20729   ac_cs_success=:
   20730   ac_config_status_args=
   20731   test "$silent" = yes &&
   20732     ac_config_status_args="$ac_config_status_args --quiet"
   20733   exec 5>/dev/null
   20734   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20735   exec 5>>config.log
   20736   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20737   # would make configure fail if this is the last instruction.
   20738   $ac_cs_success || as_fn_exit 1
   20739 fi
   20740 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20741   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20742 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20743 fi
   20744 
   20745 
   20746