Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5.10.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXcursor 1.1.15.
      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 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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='libXcursor'
    593 PACKAGE_TARNAME='libXcursor'
    594 PACKAGE_VERSION='1.1.15'
    595 PACKAGE_STRING='libXcursor 1.1.15'
    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 LINT_FALSE
    641 LINT_TRUE
    642 LINT_FLAGS
    643 LINT
    644 XCURSOR_LIBS
    645 XCURSOR_CFLAGS
    646 XCURSORPATH
    647 ICONDIR
    648 MAN_SUBSTS
    649 XORG_MAN_PAGE
    650 ADMIN_MAN_DIR
    651 DRIVER_MAN_DIR
    652 MISC_MAN_DIR
    653 FILE_MAN_DIR
    654 LIB_MAN_DIR
    655 APP_MAN_DIR
    656 ADMIN_MAN_SUFFIX
    657 DRIVER_MAN_SUFFIX
    658 MISC_MAN_SUFFIX
    659 FILE_MAN_SUFFIX
    660 LIB_MAN_SUFFIX
    661 APP_MAN_SUFFIX
    662 INSTALL_CMD
    663 PKG_CONFIG_LIBDIR
    664 PKG_CONFIG_PATH
    665 PKG_CONFIG
    666 CHANGELOG_CMD
    667 STRICT_CFLAGS
    668 CWARNFLAGS
    669 BASE_CFLAGS
    670 LT_SYS_LIBRARY_PATH
    671 OTOOL64
    672 OTOOL
    673 LIPO
    674 NMEDIT
    675 DSYMUTIL
    676 MANIFEST_TOOL
    677 RANLIB
    678 ac_ct_AR
    679 AR
    680 DLLTOOL
    681 OBJDUMP
    682 LN_S
    683 NM
    684 ac_ct_DUMPBIN
    685 DUMPBIN
    686 LD
    687 FGREP
    688 SED
    689 host_os
    690 host_vendor
    691 host_cpu
    692 host
    693 build_os
    694 build_vendor
    695 build_cpu
    696 build
    697 LIBTOOL
    698 AM_BACKSLASH
    699 AM_DEFAULT_VERBOSITY
    700 AM_DEFAULT_V
    701 AM_V
    702 am__fastdepCC_FALSE
    703 am__fastdepCC_TRUE
    704 CCDEPMODE
    705 am__nodep
    706 AMDEPBACKSLASH
    707 AMDEP_FALSE
    708 AMDEP_TRUE
    709 am__quote
    710 am__include
    711 DEPDIR
    712 am__untar
    713 am__tar
    714 AMTAR
    715 am__leading_dot
    716 SET_MAKE
    717 AWK
    718 mkdir_p
    719 MKDIR_P
    720 INSTALL_STRIP_PROGRAM
    721 STRIP
    722 install_sh
    723 MAKEINFO
    724 AUTOHEADER
    725 AUTOMAKE
    726 AUTOCONF
    727 ACLOCAL
    728 VERSION
    729 PACKAGE
    730 CYGPATH_W
    731 am__isrc
    732 INSTALL_DATA
    733 INSTALL_SCRIPT
    734 INSTALL_PROGRAM
    735 EGREP
    736 GREP
    737 CPP
    738 OBJEXT
    739 EXEEXT
    740 ac_ct_CC
    741 CPPFLAGS
    742 LDFLAGS
    743 CFLAGS
    744 CC
    745 target_alias
    746 host_alias
    747 build_alias
    748 LIBS
    749 ECHO_T
    750 ECHO_N
    751 ECHO_C
    752 DEFS
    753 mandir
    754 localedir
    755 libdir
    756 psdir
    757 pdfdir
    758 dvidir
    759 htmldir
    760 infodir
    761 docdir
    762 oldincludedir
    763 includedir
    764 runstatedir
    765 localstatedir
    766 sharedstatedir
    767 sysconfdir
    768 datadir
    769 datarootdir
    770 libexecdir
    771 sbindir
    772 bindir
    773 program_transform_name
    774 prefix
    775 exec_prefix
    776 PACKAGE_URL
    777 PACKAGE_BUGREPORT
    778 PACKAGE_STRING
    779 PACKAGE_VERSION
    780 PACKAGE_TARNAME
    781 PACKAGE_NAME
    782 PATH_SEPARATOR
    783 SHELL'
    784 ac_subst_files=''
    785 ac_user_opts='
    786 enable_option_checking
    787 enable_dependency_tracking
    788 enable_silent_rules
    789 enable_shared
    790 enable_static
    791 with_pic
    792 enable_fast_install
    793 with_aix_soname
    794 with_gnu_ld
    795 with_sysroot
    796 enable_libtool_lock
    797 enable_selective_werror
    798 enable_strict_compilation
    799 with_icondir
    800 with_cursorpath
    801 with_lint
    802 '
    803       ac_precious_vars='build_alias
    804 host_alias
    805 target_alias
    806 CC
    807 CFLAGS
    808 LDFLAGS
    809 LIBS
    810 CPPFLAGS
    811 CPP
    812 LT_SYS_LIBRARY_PATH
    813 PKG_CONFIG
    814 PKG_CONFIG_PATH
    815 PKG_CONFIG_LIBDIR
    816 XCURSOR_CFLAGS
    817 XCURSOR_LIBS
    818 LINT
    819 LINT_FLAGS'
    820 
    821 
    822 # Initialize some variables set by options.
    823 ac_init_help=
    824 ac_init_version=false
    825 ac_unrecognized_opts=
    826 ac_unrecognized_sep=
    827 # The variables have the same names as the options, with
    828 # dashes changed to underlines.
    829 cache_file=/dev/null
    830 exec_prefix=NONE
    831 no_create=
    832 no_recursion=
    833 prefix=NONE
    834 program_prefix=NONE
    835 program_suffix=NONE
    836 program_transform_name=s,x,x,
    837 silent=
    838 site=
    839 srcdir=
    840 verbose=
    841 x_includes=NONE
    842 x_libraries=NONE
    843 
    844 # Installation directory options.
    845 # These are left unexpanded so users can "make install exec_prefix=/foo"
    846 # and all the variables that are supposed to be based on exec_prefix
    847 # by default will actually change.
    848 # Use braces instead of parens because sh, perl, etc. also accept them.
    849 # (The list follows the same order as the GNU Coding Standards.)
    850 bindir='${exec_prefix}/bin'
    851 sbindir='${exec_prefix}/sbin'
    852 libexecdir='${exec_prefix}/libexec'
    853 datarootdir='${prefix}/share'
    854 datadir='${datarootdir}'
    855 sysconfdir='${prefix}/etc'
    856 sharedstatedir='${prefix}/com'
    857 localstatedir='${prefix}/var'
    858 runstatedir='${localstatedir}/run'
    859 includedir='${prefix}/include'
    860 oldincludedir='/usr/include'
    861 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    862 infodir='${datarootdir}/info'
    863 htmldir='${docdir}'
    864 dvidir='${docdir}'
    865 pdfdir='${docdir}'
    866 psdir='${docdir}'
    867 libdir='${exec_prefix}/lib'
    868 localedir='${datarootdir}/locale'
    869 mandir='${datarootdir}/man'
    870 
    871 ac_prev=
    872 ac_dashdash=
    873 for ac_option
    874 do
    875   # If the previous option needs an argument, assign it.
    876   if test -n "$ac_prev"; then
    877     eval $ac_prev=\$ac_option
    878     ac_prev=
    879     continue
    880   fi
    881 
    882   case $ac_option in
    883   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    884   *=)   ac_optarg= ;;
    885   *)    ac_optarg=yes ;;
    886   esac
    887 
    888   # Accept the important Cygnus configure options, so we can diagnose typos.
    889 
    890   case $ac_dashdash$ac_option in
    891   --)
    892     ac_dashdash=yes ;;
    893 
    894   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    895     ac_prev=bindir ;;
    896   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    897     bindir=$ac_optarg ;;
    898 
    899   -build | --build | --buil | --bui | --bu)
    900     ac_prev=build_alias ;;
    901   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    902     build_alias=$ac_optarg ;;
    903 
    904   -cache-file | --cache-file | --cache-fil | --cache-fi \
    905   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    906     ac_prev=cache_file ;;
    907   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    908   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    909     cache_file=$ac_optarg ;;
    910 
    911   --config-cache | -C)
    912     cache_file=config.cache ;;
    913 
    914   -datadir | --datadir | --datadi | --datad)
    915     ac_prev=datadir ;;
    916   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    917     datadir=$ac_optarg ;;
    918 
    919   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    920   | --dataroo | --dataro | --datar)
    921     ac_prev=datarootdir ;;
    922   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    923   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    924     datarootdir=$ac_optarg ;;
    925 
    926   -disable-* | --disable-*)
    927     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    928     # Reject names that are not valid shell variable names.
    929     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    930       as_fn_error $? "invalid feature name: $ac_useropt"
    931     ac_useropt_orig=$ac_useropt
    932     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    933     case $ac_user_opts in
    934       *"
    935 "enable_$ac_useropt"
    936 "*) ;;
    937       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    938 	 ac_unrecognized_sep=', ';;
    939     esac
    940     eval enable_$ac_useropt=no ;;
    941 
    942   -docdir | --docdir | --docdi | --doc | --do)
    943     ac_prev=docdir ;;
    944   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    945     docdir=$ac_optarg ;;
    946 
    947   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    948     ac_prev=dvidir ;;
    949   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    950     dvidir=$ac_optarg ;;
    951 
    952   -enable-* | --enable-*)
    953     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    954     # Reject names that are not valid shell variable names.
    955     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    956       as_fn_error $? "invalid feature name: $ac_useropt"
    957     ac_useropt_orig=$ac_useropt
    958     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    959     case $ac_user_opts in
    960       *"
    961 "enable_$ac_useropt"
    962 "*) ;;
    963       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    964 	 ac_unrecognized_sep=', ';;
    965     esac
    966     eval enable_$ac_useropt=\$ac_optarg ;;
    967 
    968   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    969   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    970   | --exec | --exe | --ex)
    971     ac_prev=exec_prefix ;;
    972   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    973   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    974   | --exec=* | --exe=* | --ex=*)
    975     exec_prefix=$ac_optarg ;;
    976 
    977   -gas | --gas | --ga | --g)
    978     # Obsolete; use --with-gas.
    979     with_gas=yes ;;
    980 
    981   -help | --help | --hel | --he | -h)
    982     ac_init_help=long ;;
    983   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    984     ac_init_help=recursive ;;
    985   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    986     ac_init_help=short ;;
    987 
    988   -host | --host | --hos | --ho)
    989     ac_prev=host_alias ;;
    990   -host=* | --host=* | --hos=* | --ho=*)
    991     host_alias=$ac_optarg ;;
    992 
    993   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    994     ac_prev=htmldir ;;
    995   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    996   | --ht=*)
    997     htmldir=$ac_optarg ;;
    998 
    999   -includedir | --includedir | --includedi | --included | --include \
   1000   | --includ | --inclu | --incl | --inc)
   1001     ac_prev=includedir ;;
   1002   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1003   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1004     includedir=$ac_optarg ;;
   1005 
   1006   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1007     ac_prev=infodir ;;
   1008   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1009     infodir=$ac_optarg ;;
   1010 
   1011   -libdir | --libdir | --libdi | --libd)
   1012     ac_prev=libdir ;;
   1013   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1014     libdir=$ac_optarg ;;
   1015 
   1016   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1017   | --libexe | --libex | --libe)
   1018     ac_prev=libexecdir ;;
   1019   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1020   | --libexe=* | --libex=* | --libe=*)
   1021     libexecdir=$ac_optarg ;;
   1022 
   1023   -localedir | --localedir | --localedi | --localed | --locale)
   1024     ac_prev=localedir ;;
   1025   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1026     localedir=$ac_optarg ;;
   1027 
   1028   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1029   | --localstate | --localstat | --localsta | --localst | --locals)
   1030     ac_prev=localstatedir ;;
   1031   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1032   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1033     localstatedir=$ac_optarg ;;
   1034 
   1035   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1036     ac_prev=mandir ;;
   1037   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1038     mandir=$ac_optarg ;;
   1039 
   1040   -nfp | --nfp | --nf)
   1041     # Obsolete; use --without-fp.
   1042     with_fp=no ;;
   1043 
   1044   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1045   | --no-cr | --no-c | -n)
   1046     no_create=yes ;;
   1047 
   1048   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1049   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1050     no_recursion=yes ;;
   1051 
   1052   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1053   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1054   | --oldin | --oldi | --old | --ol | --o)
   1055     ac_prev=oldincludedir ;;
   1056   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1057   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1058   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1059     oldincludedir=$ac_optarg ;;
   1060 
   1061   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1062     ac_prev=prefix ;;
   1063   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1064     prefix=$ac_optarg ;;
   1065 
   1066   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1067   | --program-pre | --program-pr | --program-p)
   1068     ac_prev=program_prefix ;;
   1069   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1070   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1071     program_prefix=$ac_optarg ;;
   1072 
   1073   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1074   | --program-suf | --program-su | --program-s)
   1075     ac_prev=program_suffix ;;
   1076   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1077   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1078     program_suffix=$ac_optarg ;;
   1079 
   1080   -program-transform-name | --program-transform-name \
   1081   | --program-transform-nam | --program-transform-na \
   1082   | --program-transform-n | --program-transform- \
   1083   | --program-transform | --program-transfor \
   1084   | --program-transfo | --program-transf \
   1085   | --program-trans | --program-tran \
   1086   | --progr-tra | --program-tr | --program-t)
   1087     ac_prev=program_transform_name ;;
   1088   -program-transform-name=* | --program-transform-name=* \
   1089   | --program-transform-nam=* | --program-transform-na=* \
   1090   | --program-transform-n=* | --program-transform-=* \
   1091   | --program-transform=* | --program-transfor=* \
   1092   | --program-transfo=* | --program-transf=* \
   1093   | --program-trans=* | --program-tran=* \
   1094   | --progr-tra=* | --program-tr=* | --program-t=*)
   1095     program_transform_name=$ac_optarg ;;
   1096 
   1097   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1098     ac_prev=pdfdir ;;
   1099   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1100     pdfdir=$ac_optarg ;;
   1101 
   1102   -psdir | --psdir | --psdi | --psd | --ps)
   1103     ac_prev=psdir ;;
   1104   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1105     psdir=$ac_optarg ;;
   1106 
   1107   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1108   | -silent | --silent | --silen | --sile | --sil)
   1109     silent=yes ;;
   1110 
   1111   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1112   | --runstate | --runstat | --runsta | --runst | --runs \
   1113   | --run | --ru | --r)
   1114     ac_prev=runstatedir ;;
   1115   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1116   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1117   | --run=* | --ru=* | --r=*)
   1118     runstatedir=$ac_optarg ;;
   1119 
   1120   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1121     ac_prev=sbindir ;;
   1122   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1123   | --sbi=* | --sb=*)
   1124     sbindir=$ac_optarg ;;
   1125 
   1126   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1127   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1128   | --sharedst | --shareds | --shared | --share | --shar \
   1129   | --sha | --sh)
   1130     ac_prev=sharedstatedir ;;
   1131   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1132   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1133   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1134   | --sha=* | --sh=*)
   1135     sharedstatedir=$ac_optarg ;;
   1136 
   1137   -site | --site | --sit)
   1138     ac_prev=site ;;
   1139   -site=* | --site=* | --sit=*)
   1140     site=$ac_optarg ;;
   1141 
   1142   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1143     ac_prev=srcdir ;;
   1144   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1145     srcdir=$ac_optarg ;;
   1146 
   1147   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1148   | --syscon | --sysco | --sysc | --sys | --sy)
   1149     ac_prev=sysconfdir ;;
   1150   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1151   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1152     sysconfdir=$ac_optarg ;;
   1153 
   1154   -target | --target | --targe | --targ | --tar | --ta | --t)
   1155     ac_prev=target_alias ;;
   1156   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1157     target_alias=$ac_optarg ;;
   1158 
   1159   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1160     verbose=yes ;;
   1161 
   1162   -version | --version | --versio | --versi | --vers | -V)
   1163     ac_init_version=: ;;
   1164 
   1165   -with-* | --with-*)
   1166     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1167     # Reject names that are not valid shell variable names.
   1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1169       as_fn_error $? "invalid package name: $ac_useropt"
   1170     ac_useropt_orig=$ac_useropt
   1171     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1172     case $ac_user_opts in
   1173       *"
   1174 "with_$ac_useropt"
   1175 "*) ;;
   1176       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1177 	 ac_unrecognized_sep=', ';;
   1178     esac
   1179     eval with_$ac_useropt=\$ac_optarg ;;
   1180 
   1181   -without-* | --without-*)
   1182     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1183     # Reject names that are not valid shell variable names.
   1184     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1185       as_fn_error $? "invalid package name: $ac_useropt"
   1186     ac_useropt_orig=$ac_useropt
   1187     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1188     case $ac_user_opts in
   1189       *"
   1190 "with_$ac_useropt"
   1191 "*) ;;
   1192       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1193 	 ac_unrecognized_sep=', ';;
   1194     esac
   1195     eval with_$ac_useropt=no ;;
   1196 
   1197   --x)
   1198     # Obsolete; use --with-x.
   1199     with_x=yes ;;
   1200 
   1201   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1202   | --x-incl | --x-inc | --x-in | --x-i)
   1203     ac_prev=x_includes ;;
   1204   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1205   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1206     x_includes=$ac_optarg ;;
   1207 
   1208   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1209   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1210     ac_prev=x_libraries ;;
   1211   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1212   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1213     x_libraries=$ac_optarg ;;
   1214 
   1215   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1216 Try \`$0 --help' for more information"
   1217     ;;
   1218 
   1219   *=*)
   1220     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1221     # Reject names that are not valid shell variable names.
   1222     case $ac_envvar in #(
   1223       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1224       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1225     esac
   1226     eval $ac_envvar=\$ac_optarg
   1227     export $ac_envvar ;;
   1228 
   1229   *)
   1230     # FIXME: should be removed in autoconf 3.0.
   1231     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1232     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1233       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1234     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1235     ;;
   1236 
   1237   esac
   1238 done
   1239 
   1240 if test -n "$ac_prev"; then
   1241   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1242   as_fn_error $? "missing argument to $ac_option"
   1243 fi
   1244 
   1245 if test -n "$ac_unrecognized_opts"; then
   1246   case $enable_option_checking in
   1247     no) ;;
   1248     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1249     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1250   esac
   1251 fi
   1252 
   1253 # Check all directory arguments for consistency.
   1254 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1255 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1256 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1257 		libdir localedir mandir runstatedir
   1258 do
   1259   eval ac_val=\$$ac_var
   1260   # Remove trailing slashes.
   1261   case $ac_val in
   1262     */ )
   1263       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1264       eval $ac_var=\$ac_val;;
   1265   esac
   1266   # Be sure to have absolute directory names.
   1267   case $ac_val in
   1268     [\\/$]* | ?:[\\/]* )  continue;;
   1269     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1270   esac
   1271   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1272 done
   1273 
   1274 # There might be people who depend on the old broken behavior: `$host'
   1275 # used to hold the argument of --host etc.
   1276 # FIXME: To remove some day.
   1277 build=$build_alias
   1278 host=$host_alias
   1279 target=$target_alias
   1280 
   1281 # FIXME: To remove some day.
   1282 if test "x$host_alias" != x; then
   1283   if test "x$build_alias" = x; then
   1284     cross_compiling=maybe
   1285   elif test "x$build_alias" != "x$host_alias"; then
   1286     cross_compiling=yes
   1287   fi
   1288 fi
   1289 
   1290 ac_tool_prefix=
   1291 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1292 
   1293 test "$silent" = yes && exec 6>/dev/null
   1294 
   1295 
   1296 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1297 ac_ls_di=`ls -di .` &&
   1298 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1299   as_fn_error $? "working directory cannot be determined"
   1300 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1301   as_fn_error $? "pwd does not report name of working directory"
   1302 
   1303 
   1304 # Find the source files, if location was not specified.
   1305 if test -z "$srcdir"; then
   1306   ac_srcdir_defaulted=yes
   1307   # Try the directory containing this script, then the parent directory.
   1308   ac_confdir=`$as_dirname -- "$as_myself" ||
   1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1310 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1311 	 X"$as_myself" : 'X\(//\)$' \| \
   1312 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1313 $as_echo X"$as_myself" |
   1314     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1315 	    s//\1/
   1316 	    q
   1317 	  }
   1318 	  /^X\(\/\/\)[^/].*/{
   1319 	    s//\1/
   1320 	    q
   1321 	  }
   1322 	  /^X\(\/\/\)$/{
   1323 	    s//\1/
   1324 	    q
   1325 	  }
   1326 	  /^X\(\/\).*/{
   1327 	    s//\1/
   1328 	    q
   1329 	  }
   1330 	  s/.*/./; q'`
   1331   srcdir=$ac_confdir
   1332   if test ! -r "$srcdir/$ac_unique_file"; then
   1333     srcdir=..
   1334   fi
   1335 else
   1336   ac_srcdir_defaulted=no
   1337 fi
   1338 if test ! -r "$srcdir/$ac_unique_file"; then
   1339   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1340   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1341 fi
   1342 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1343 ac_abs_confdir=`(
   1344 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1345 	pwd)`
   1346 # When building in place, set srcdir=.
   1347 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1348   srcdir=.
   1349 fi
   1350 # Remove unnecessary trailing slashes from srcdir.
   1351 # Double slashes in file names in object file debugging info
   1352 # mess up M-x gdb in Emacs.
   1353 case $srcdir in
   1354 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1355 esac
   1356 for ac_var in $ac_precious_vars; do
   1357   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1358   eval ac_env_${ac_var}_value=\$${ac_var}
   1359   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1360   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1361 done
   1362 
   1363 #
   1364 # Report the --help message.
   1365 #
   1366 if test "$ac_init_help" = "long"; then
   1367   # Omit some internal or obsolete options to make the list less imposing.
   1368   # This message is too long to be a string in the A/UX 3.1 sh.
   1369   cat <<_ACEOF
   1370 \`configure' configures libXcursor 1.1.15 to adapt to many kinds of systems.
   1371 
   1372 Usage: $0 [OPTION]... [VAR=VALUE]...
   1373 
   1374 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1375 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1376 
   1377 Defaults for the options are specified in brackets.
   1378 
   1379 Configuration:
   1380   -h, --help              display this help and exit
   1381       --help=short        display options specific to this package
   1382       --help=recursive    display the short help of all the included packages
   1383   -V, --version           display version information and exit
   1384   -q, --quiet, --silent   do not print \`checking ...' messages
   1385       --cache-file=FILE   cache test results in FILE [disabled]
   1386   -C, --config-cache      alias for \`--cache-file=config.cache'
   1387   -n, --no-create         do not create output files
   1388       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1389 
   1390 Installation directories:
   1391   --prefix=PREFIX         install architecture-independent files in PREFIX
   1392                           [$ac_default_prefix]
   1393   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1394                           [PREFIX]
   1395 
   1396 By default, \`make install' will install all the files in
   1397 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1398 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1399 for instance \`--prefix=\$HOME'.
   1400 
   1401 For better control, use the options below.
   1402 
   1403 Fine tuning of the installation directories:
   1404   --bindir=DIR            user executables [EPREFIX/bin]
   1405   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1406   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1407   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1408   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1409   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1410   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1411   --libdir=DIR            object code libraries [EPREFIX/lib]
   1412   --includedir=DIR        C header files [PREFIX/include]
   1413   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1414   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1415   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1416   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1417   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1418   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1419   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXcursor]
   1420   --htmldir=DIR           html documentation [DOCDIR]
   1421   --dvidir=DIR            dvi documentation [DOCDIR]
   1422   --pdfdir=DIR            pdf documentation [DOCDIR]
   1423   --psdir=DIR             ps documentation [DOCDIR]
   1424 _ACEOF
   1425 
   1426   cat <<\_ACEOF
   1427 
   1428 Program names:
   1429   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1430   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1431   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1432 
   1433 System types:
   1434   --build=BUILD     configure for building on BUILD [guessed]
   1435   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1436 _ACEOF
   1437 fi
   1438 
   1439 if test -n "$ac_init_help"; then
   1440   case $ac_init_help in
   1441      short | recursive ) echo "Configuration of libXcursor 1.1.15:";;
   1442    esac
   1443   cat <<\_ACEOF
   1444 
   1445 Optional Features:
   1446   --disable-option-checking  ignore unrecognized --enable/--with options
   1447   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1448   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1449   --enable-dependency-tracking
   1450                           do not reject slow dependency extractors
   1451   --disable-dependency-tracking
   1452                           speeds up one-time build
   1453   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1454   --disable-silent-rules  verbose build output (undo: "make V=0")
   1455   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1456   --enable-static[=PKGS]  build static libraries [default=yes]
   1457   --enable-fast-install[=PKGS]
   1458                           optimize for fast installation [default=yes]
   1459   --disable-libtool-lock  avoid locking (might break parallel builds)
   1460   --disable-selective-werror
   1461                           Turn off selective compiler errors. (default:
   1462                           enabled)
   1463   --enable-strict-compilation
   1464                           Enable all warnings from compiler and make them
   1465                           errors (default: disabled)
   1466 
   1467 Optional Packages:
   1468   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1469   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1470   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1471                           both]
   1472   --with-aix-soname=aix|svr4|both
   1473                           shared library versioning (aka "SONAME") variant to
   1474                           provide on AIX, [default=aix].
   1475   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1476   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1477                           compiler's sysroot if not specified).
   1478   --with-icondir=<path>   Set default icon directory (default:
   1479                           ${datadir}/icons)
   1480   --with-cursorpath=<paths>
   1481                           Set default search path for cursors
   1482   --with-lint             Use a lint-style source code checker (default:
   1483                           disabled)
   1484 
   1485 Some influential environment variables:
   1486   CC          C compiler command
   1487   CFLAGS      C compiler flags
   1488   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1489               nonstandard directory <lib dir>
   1490   LIBS        libraries to pass to the linker, e.g. -l<library>
   1491   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1492               you have headers in a nonstandard directory <include dir>
   1493   CPP         C preprocessor
   1494   LT_SYS_LIBRARY_PATH
   1495               User-defined run-time library search path.
   1496   PKG_CONFIG  path to pkg-config utility
   1497   PKG_CONFIG_PATH
   1498               directories to add to pkg-config's search path
   1499   PKG_CONFIG_LIBDIR
   1500               path overriding pkg-config's built-in search path
   1501   XCURSOR_CFLAGS
   1502               C compiler flags for XCURSOR, overriding pkg-config
   1503   XCURSOR_LIBS
   1504               linker flags for XCURSOR, overriding pkg-config
   1505   LINT        Path to a lint-style command
   1506   LINT_FLAGS  Flags for the lint-style command
   1507 
   1508 Use these variables to override the choices made by `configure' or to help
   1509 it to find libraries and programs with nonstandard names/locations.
   1510 
   1511 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1512 _ACEOF
   1513 ac_status=$?
   1514 fi
   1515 
   1516 if test "$ac_init_help" = "recursive"; then
   1517   # If there are subdirs, report their specific --help.
   1518   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1519     test -d "$ac_dir" ||
   1520       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1521       continue
   1522     ac_builddir=.
   1523 
   1524 case "$ac_dir" in
   1525 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1526 *)
   1527   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1528   # A ".." for each directory in $ac_dir_suffix.
   1529   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1530   case $ac_top_builddir_sub in
   1531   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1532   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1533   esac ;;
   1534 esac
   1535 ac_abs_top_builddir=$ac_pwd
   1536 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1537 # for backward compatibility:
   1538 ac_top_builddir=$ac_top_build_prefix
   1539 
   1540 case $srcdir in
   1541   .)  # We are building in place.
   1542     ac_srcdir=.
   1543     ac_top_srcdir=$ac_top_builddir_sub
   1544     ac_abs_top_srcdir=$ac_pwd ;;
   1545   [\\/]* | ?:[\\/]* )  # Absolute name.
   1546     ac_srcdir=$srcdir$ac_dir_suffix;
   1547     ac_top_srcdir=$srcdir
   1548     ac_abs_top_srcdir=$srcdir ;;
   1549   *) # Relative name.
   1550     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1551     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1552     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1553 esac
   1554 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1555 
   1556     cd "$ac_dir" || { ac_status=$?; continue; }
   1557     # Check for guested configure.
   1558     if test -f "$ac_srcdir/configure.gnu"; then
   1559       echo &&
   1560       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1561     elif test -f "$ac_srcdir/configure"; then
   1562       echo &&
   1563       $SHELL "$ac_srcdir/configure" --help=recursive
   1564     else
   1565       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1566     fi || ac_status=$?
   1567     cd "$ac_pwd" || { ac_status=$?; break; }
   1568   done
   1569 fi
   1570 
   1571 test -n "$ac_init_help" && exit $ac_status
   1572 if $ac_init_version; then
   1573   cat <<\_ACEOF
   1574 libXcursor configure 1.1.15
   1575 generated by GNU Autoconf 2.69
   1576 
   1577 Copyright (C) 2012 Free Software Foundation, Inc.
   1578 This configure script is free software; the Free Software Foundation
   1579 gives unlimited permission to copy, distribute and modify it.
   1580 _ACEOF
   1581   exit
   1582 fi
   1583 
   1584 ## ------------------------ ##
   1585 ## Autoconf initialization. ##
   1586 ## ------------------------ ##
   1587 
   1588 # ac_fn_c_try_compile LINENO
   1589 # --------------------------
   1590 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1591 ac_fn_c_try_compile ()
   1592 {
   1593   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1594   rm -f conftest.$ac_objext
   1595   if { { ac_try="$ac_compile"
   1596 case "(($ac_try" in
   1597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1598   *) ac_try_echo=$ac_try;;
   1599 esac
   1600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1601 $as_echo "$ac_try_echo"; } >&5
   1602   (eval "$ac_compile") 2>conftest.err
   1603   ac_status=$?
   1604   if test -s conftest.err; then
   1605     grep -v '^ *+' conftest.err >conftest.er1
   1606     cat conftest.er1 >&5
   1607     mv -f conftest.er1 conftest.err
   1608   fi
   1609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1610   test $ac_status = 0; } && {
   1611 	 test -z "$ac_c_werror_flag" ||
   1612 	 test ! -s conftest.err
   1613        } && test -s conftest.$ac_objext; then :
   1614   ac_retval=0
   1615 else
   1616   $as_echo "$as_me: failed program was:" >&5
   1617 sed 's/^/| /' conftest.$ac_ext >&5
   1618 
   1619 	ac_retval=1
   1620 fi
   1621   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1622   as_fn_set_status $ac_retval
   1623 
   1624 } # ac_fn_c_try_compile
   1625 
   1626 # ac_fn_c_try_cpp LINENO
   1627 # ----------------------
   1628 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1629 ac_fn_c_try_cpp ()
   1630 {
   1631   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1632   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1633 case "(($ac_try" in
   1634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1635   *) ac_try_echo=$ac_try;;
   1636 esac
   1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1638 $as_echo "$ac_try_echo"; } >&5
   1639   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1640   ac_status=$?
   1641   if test -s conftest.err; then
   1642     grep -v '^ *+' conftest.err >conftest.er1
   1643     cat conftest.er1 >&5
   1644     mv -f conftest.er1 conftest.err
   1645   fi
   1646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1647   test $ac_status = 0; } > conftest.i && {
   1648 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1649 	 test ! -s conftest.err
   1650        }; then :
   1651   ac_retval=0
   1652 else
   1653   $as_echo "$as_me: failed program was:" >&5
   1654 sed 's/^/| /' conftest.$ac_ext >&5
   1655 
   1656     ac_retval=1
   1657 fi
   1658   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1659   as_fn_set_status $ac_retval
   1660 
   1661 } # ac_fn_c_try_cpp
   1662 
   1663 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1664 # -------------------------------------------------------
   1665 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1666 # the include files in INCLUDES and setting the cache variable VAR
   1667 # accordingly.
   1668 ac_fn_c_check_header_mongrel ()
   1669 {
   1670   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1671   if eval \${$3+:} false; then :
   1672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1673 $as_echo_n "checking for $2... " >&6; }
   1674 if eval \${$3+:} false; then :
   1675   $as_echo_n "(cached) " >&6
   1676 fi
   1677 eval ac_res=\$$3
   1678 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1679 $as_echo "$ac_res" >&6; }
   1680 else
   1681   # Is the header compilable?
   1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1683 $as_echo_n "checking $2 usability... " >&6; }
   1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1685 /* end confdefs.h.  */
   1686 $4
   1687 #include <$2>
   1688 _ACEOF
   1689 if ac_fn_c_try_compile "$LINENO"; then :
   1690   ac_header_compiler=yes
   1691 else
   1692   ac_header_compiler=no
   1693 fi
   1694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1696 $as_echo "$ac_header_compiler" >&6; }
   1697 
   1698 # Is the header present?
   1699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1700 $as_echo_n "checking $2 presence... " >&6; }
   1701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1702 /* end confdefs.h.  */
   1703 #include <$2>
   1704 _ACEOF
   1705 if ac_fn_c_try_cpp "$LINENO"; then :
   1706   ac_header_preproc=yes
   1707 else
   1708   ac_header_preproc=no
   1709 fi
   1710 rm -f conftest.err conftest.i conftest.$ac_ext
   1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1712 $as_echo "$ac_header_preproc" >&6; }
   1713 
   1714 # So?  What about this header?
   1715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1716   yes:no: )
   1717     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1718 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1719     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1720 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1721     ;;
   1722   no:yes:* )
   1723     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1724 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1725     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1726 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1727     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1728 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1729     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1730 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1731     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1732 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1733 ( $as_echo "## ---------------------------------------------------------------------- ##
   1734 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1735 ## ---------------------------------------------------------------------- ##"
   1736      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1737     ;;
   1738 esac
   1739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1740 $as_echo_n "checking for $2... " >&6; }
   1741 if eval \${$3+:} false; then :
   1742   $as_echo_n "(cached) " >&6
   1743 else
   1744   eval "$3=\$ac_header_compiler"
   1745 fi
   1746 eval ac_res=\$$3
   1747 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1748 $as_echo "$ac_res" >&6; }
   1749 fi
   1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1751 
   1752 } # ac_fn_c_check_header_mongrel
   1753 
   1754 # ac_fn_c_try_run LINENO
   1755 # ----------------------
   1756 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1757 # that executables *can* be run.
   1758 ac_fn_c_try_run ()
   1759 {
   1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1761   if { { ac_try="$ac_link"
   1762 case "(($ac_try" in
   1763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1764   *) ac_try_echo=$ac_try;;
   1765 esac
   1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1767 $as_echo "$ac_try_echo"; } >&5
   1768   (eval "$ac_link") 2>&5
   1769   ac_status=$?
   1770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1771   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1772   { { case "(($ac_try" in
   1773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1774   *) ac_try_echo=$ac_try;;
   1775 esac
   1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1777 $as_echo "$ac_try_echo"; } >&5
   1778   (eval "$ac_try") 2>&5
   1779   ac_status=$?
   1780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1781   test $ac_status = 0; }; }; then :
   1782   ac_retval=0
   1783 else
   1784   $as_echo "$as_me: program exited with status $ac_status" >&5
   1785        $as_echo "$as_me: failed program was:" >&5
   1786 sed 's/^/| /' conftest.$ac_ext >&5
   1787 
   1788        ac_retval=$ac_status
   1789 fi
   1790   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1791   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1792   as_fn_set_status $ac_retval
   1793 
   1794 } # ac_fn_c_try_run
   1795 
   1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1797 # -------------------------------------------------------
   1798 # Tests whether HEADER exists and can be compiled using the include files in
   1799 # INCLUDES, setting the cache variable VAR accordingly.
   1800 ac_fn_c_check_header_compile ()
   1801 {
   1802   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1804 $as_echo_n "checking for $2... " >&6; }
   1805 if eval \${$3+:} false; then :
   1806   $as_echo_n "(cached) " >&6
   1807 else
   1808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1809 /* end confdefs.h.  */
   1810 $4
   1811 #include <$2>
   1812 _ACEOF
   1813 if ac_fn_c_try_compile "$LINENO"; then :
   1814   eval "$3=yes"
   1815 else
   1816   eval "$3=no"
   1817 fi
   1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1819 fi
   1820 eval ac_res=\$$3
   1821 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1822 $as_echo "$ac_res" >&6; }
   1823   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1824 
   1825 } # ac_fn_c_check_header_compile
   1826 
   1827 # ac_fn_c_try_link LINENO
   1828 # -----------------------
   1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1830 ac_fn_c_try_link ()
   1831 {
   1832   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1833   rm -f conftest.$ac_objext conftest$ac_exeext
   1834   if { { ac_try="$ac_link"
   1835 case "(($ac_try" in
   1836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1837   *) ac_try_echo=$ac_try;;
   1838 esac
   1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1840 $as_echo "$ac_try_echo"; } >&5
   1841   (eval "$ac_link") 2>conftest.err
   1842   ac_status=$?
   1843   if test -s conftest.err; then
   1844     grep -v '^ *+' conftest.err >conftest.er1
   1845     cat conftest.er1 >&5
   1846     mv -f conftest.er1 conftest.err
   1847   fi
   1848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1849   test $ac_status = 0; } && {
   1850 	 test -z "$ac_c_werror_flag" ||
   1851 	 test ! -s conftest.err
   1852        } && test -s conftest$ac_exeext && {
   1853 	 test "$cross_compiling" = yes ||
   1854 	 test -x conftest$ac_exeext
   1855        }; then :
   1856   ac_retval=0
   1857 else
   1858   $as_echo "$as_me: failed program was:" >&5
   1859 sed 's/^/| /' conftest.$ac_ext >&5
   1860 
   1861 	ac_retval=1
   1862 fi
   1863   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1864   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1865   # interfere with the next link command; also delete a directory that is
   1866   # left behind by Apple's compiler.  We do this before executing the actions.
   1867   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1868   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1869   as_fn_set_status $ac_retval
   1870 
   1871 } # ac_fn_c_try_link
   1872 
   1873 # ac_fn_c_check_func LINENO FUNC VAR
   1874 # ----------------------------------
   1875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1876 ac_fn_c_check_func ()
   1877 {
   1878   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1880 $as_echo_n "checking for $2... " >&6; }
   1881 if eval \${$3+:} false; then :
   1882   $as_echo_n "(cached) " >&6
   1883 else
   1884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1885 /* end confdefs.h.  */
   1886 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1887    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1888 #define $2 innocuous_$2
   1889 
   1890 /* System header to define __stub macros and hopefully few prototypes,
   1891     which can conflict with char $2 (); below.
   1892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1893     <limits.h> exists even on freestanding compilers.  */
   1894 
   1895 #ifdef __STDC__
   1896 # include <limits.h>
   1897 #else
   1898 # include <assert.h>
   1899 #endif
   1900 
   1901 #undef $2
   1902 
   1903 /* Override any GCC internal prototype to avoid an error.
   1904    Use char because int might match the return type of a GCC
   1905    builtin and then its argument prototype would still apply.  */
   1906 #ifdef __cplusplus
   1907 extern "C"
   1908 #endif
   1909 char $2 ();
   1910 /* The GNU C library defines this for functions which it implements
   1911     to always fail with ENOSYS.  Some functions are actually named
   1912     something starting with __ and the normal name is an alias.  */
   1913 #if defined __stub_$2 || defined __stub___$2
   1914 choke me
   1915 #endif
   1916 
   1917 int
   1918 main ()
   1919 {
   1920 return $2 ();
   1921   ;
   1922   return 0;
   1923 }
   1924 _ACEOF
   1925 if ac_fn_c_try_link "$LINENO"; then :
   1926   eval "$3=yes"
   1927 else
   1928   eval "$3=no"
   1929 fi
   1930 rm -f core conftest.err conftest.$ac_objext \
   1931     conftest$ac_exeext conftest.$ac_ext
   1932 fi
   1933 eval ac_res=\$$3
   1934 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1935 $as_echo "$ac_res" >&6; }
   1936   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1937 
   1938 } # ac_fn_c_check_func
   1939 
   1940 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1941 # ---------------------------------------------
   1942 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1943 # accordingly.
   1944 ac_fn_c_check_decl ()
   1945 {
   1946   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1947   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1948   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1950 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1951 if eval \${$3+:} false; then :
   1952   $as_echo_n "(cached) " >&6
   1953 else
   1954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1955 /* end confdefs.h.  */
   1956 $4
   1957 int
   1958 main ()
   1959 {
   1960 #ifndef $as_decl_name
   1961 #ifdef __cplusplus
   1962   (void) $as_decl_use;
   1963 #else
   1964   (void) $as_decl_name;
   1965 #endif
   1966 #endif
   1967 
   1968   ;
   1969   return 0;
   1970 }
   1971 _ACEOF
   1972 if ac_fn_c_try_compile "$LINENO"; then :
   1973   eval "$3=yes"
   1974 else
   1975   eval "$3=no"
   1976 fi
   1977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1978 fi
   1979 eval ac_res=\$$3
   1980 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1981 $as_echo "$ac_res" >&6; }
   1982   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1983 
   1984 } # ac_fn_c_check_decl
   1985 cat >config.log <<_ACEOF
   1986 This file contains any messages produced by compilers while
   1987 running configure, to aid debugging if configure makes a mistake.
   1988 
   1989 It was created by libXcursor $as_me 1.1.15, which was
   1990 generated by GNU Autoconf 2.69.  Invocation command line was
   1991 
   1992   $ $0 $@
   1993 
   1994 _ACEOF
   1995 exec 5>>config.log
   1996 {
   1997 cat <<_ASUNAME
   1998 ## --------- ##
   1999 ## Platform. ##
   2000 ## --------- ##
   2001 
   2002 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2003 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2004 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2005 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2006 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2007 
   2008 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2009 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2010 
   2011 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2012 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2013 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2014 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2015 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2016 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2017 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2018 
   2019 _ASUNAME
   2020 
   2021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2022 for as_dir in $PATH
   2023 do
   2024   IFS=$as_save_IFS
   2025   test -z "$as_dir" && as_dir=.
   2026     $as_echo "PATH: $as_dir"
   2027   done
   2028 IFS=$as_save_IFS
   2029 
   2030 } >&5
   2031 
   2032 cat >&5 <<_ACEOF
   2033 
   2034 
   2035 ## ----------- ##
   2036 ## Core tests. ##
   2037 ## ----------- ##
   2038 
   2039 _ACEOF
   2040 
   2041 
   2042 # Keep a trace of the command line.
   2043 # Strip out --no-create and --no-recursion so they do not pile up.
   2044 # Strip out --silent because we don't want to record it for future runs.
   2045 # Also quote any args containing shell meta-characters.
   2046 # Make two passes to allow for proper duplicate-argument suppression.
   2047 ac_configure_args=
   2048 ac_configure_args0=
   2049 ac_configure_args1=
   2050 ac_must_keep_next=false
   2051 for ac_pass in 1 2
   2052 do
   2053   for ac_arg
   2054   do
   2055     case $ac_arg in
   2056     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2057     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2058     | -silent | --silent | --silen | --sile | --sil)
   2059       continue ;;
   2060     *\'*)
   2061       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2062     esac
   2063     case $ac_pass in
   2064     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2065     2)
   2066       as_fn_append ac_configure_args1 " '$ac_arg'"
   2067       if test $ac_must_keep_next = true; then
   2068 	ac_must_keep_next=false # Got value, back to normal.
   2069       else
   2070 	case $ac_arg in
   2071 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2072 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2073 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2074 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2075 	    case "$ac_configure_args0 " in
   2076 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2077 	    esac
   2078 	    ;;
   2079 	  -* ) ac_must_keep_next=true ;;
   2080 	esac
   2081       fi
   2082       as_fn_append ac_configure_args " '$ac_arg'"
   2083       ;;
   2084     esac
   2085   done
   2086 done
   2087 { ac_configure_args0=; unset ac_configure_args0;}
   2088 { ac_configure_args1=; unset ac_configure_args1;}
   2089 
   2090 # When interrupted or exit'd, cleanup temporary files, and complete
   2091 # config.log.  We remove comments because anyway the quotes in there
   2092 # would cause problems or look ugly.
   2093 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2094 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2095 trap 'exit_status=$?
   2096   # Save into config.log some information that might help in debugging.
   2097   {
   2098     echo
   2099 
   2100     $as_echo "## ---------------- ##
   2101 ## Cache variables. ##
   2102 ## ---------------- ##"
   2103     echo
   2104     # The following way of writing the cache mishandles newlines in values,
   2105 (
   2106   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2107     eval ac_val=\$$ac_var
   2108     case $ac_val in #(
   2109     *${as_nl}*)
   2110       case $ac_var in #(
   2111       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2112 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2113       esac
   2114       case $ac_var in #(
   2115       _ | IFS | as_nl) ;; #(
   2116       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2117       *) { eval $ac_var=; unset $ac_var;} ;;
   2118       esac ;;
   2119     esac
   2120   done
   2121   (set) 2>&1 |
   2122     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2123     *${as_nl}ac_space=\ *)
   2124       sed -n \
   2125 	"s/'\''/'\''\\\\'\'''\''/g;
   2126 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2127       ;; #(
   2128     *)
   2129       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2130       ;;
   2131     esac |
   2132     sort
   2133 )
   2134     echo
   2135 
   2136     $as_echo "## ----------------- ##
   2137 ## Output variables. ##
   2138 ## ----------------- ##"
   2139     echo
   2140     for ac_var in $ac_subst_vars
   2141     do
   2142       eval ac_val=\$$ac_var
   2143       case $ac_val in
   2144       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2145       esac
   2146       $as_echo "$ac_var='\''$ac_val'\''"
   2147     done | sort
   2148     echo
   2149 
   2150     if test -n "$ac_subst_files"; then
   2151       $as_echo "## ------------------- ##
   2152 ## File substitutions. ##
   2153 ## ------------------- ##"
   2154       echo
   2155       for ac_var in $ac_subst_files
   2156       do
   2157 	eval ac_val=\$$ac_var
   2158 	case $ac_val in
   2159 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2160 	esac
   2161 	$as_echo "$ac_var='\''$ac_val'\''"
   2162       done | sort
   2163       echo
   2164     fi
   2165 
   2166     if test -s confdefs.h; then
   2167       $as_echo "## ----------- ##
   2168 ## confdefs.h. ##
   2169 ## ----------- ##"
   2170       echo
   2171       cat confdefs.h
   2172       echo
   2173     fi
   2174     test "$ac_signal" != 0 &&
   2175       $as_echo "$as_me: caught signal $ac_signal"
   2176     $as_echo "$as_me: exit $exit_status"
   2177   } >&5
   2178   rm -f core *.core core.conftest.* &&
   2179     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2180     exit $exit_status
   2181 ' 0
   2182 for ac_signal in 1 2 13 15; do
   2183   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2184 done
   2185 ac_signal=0
   2186 
   2187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2188 rm -f -r conftest* confdefs.h
   2189 
   2190 $as_echo "/* confdefs.h */" > confdefs.h
   2191 
   2192 # Predefined preprocessor variables.
   2193 
   2194 cat >>confdefs.h <<_ACEOF
   2195 #define PACKAGE_NAME "$PACKAGE_NAME"
   2196 _ACEOF
   2197 
   2198 cat >>confdefs.h <<_ACEOF
   2199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2200 _ACEOF
   2201 
   2202 cat >>confdefs.h <<_ACEOF
   2203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2204 _ACEOF
   2205 
   2206 cat >>confdefs.h <<_ACEOF
   2207 #define PACKAGE_STRING "$PACKAGE_STRING"
   2208 _ACEOF
   2209 
   2210 cat >>confdefs.h <<_ACEOF
   2211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2212 _ACEOF
   2213 
   2214 cat >>confdefs.h <<_ACEOF
   2215 #define PACKAGE_URL "$PACKAGE_URL"
   2216 _ACEOF
   2217 
   2218 
   2219 # Let the site file select an alternate cache file if it wants to.
   2220 # Prefer an explicitly selected file to automatically selected ones.
   2221 ac_site_file1=NONE
   2222 ac_site_file2=NONE
   2223 if test -n "$CONFIG_SITE"; then
   2224   # We do not want a PATH search for config.site.
   2225   case $CONFIG_SITE in #((
   2226     -*)  ac_site_file1=./$CONFIG_SITE;;
   2227     */*) ac_site_file1=$CONFIG_SITE;;
   2228     *)   ac_site_file1=./$CONFIG_SITE;;
   2229   esac
   2230 elif test "x$prefix" != xNONE; then
   2231   ac_site_file1=$prefix/share/config.site
   2232   ac_site_file2=$prefix/etc/config.site
   2233 else
   2234   ac_site_file1=$ac_default_prefix/share/config.site
   2235   ac_site_file2=$ac_default_prefix/etc/config.site
   2236 fi
   2237 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2238 do
   2239   test "x$ac_site_file" = xNONE && continue
   2240   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2241     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2242 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2243     sed 's/^/| /' "$ac_site_file" >&5
   2244     . "$ac_site_file" \
   2245       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2247 as_fn_error $? "failed to load site script $ac_site_file
   2248 See \`config.log' for more details" "$LINENO" 5; }
   2249   fi
   2250 done
   2251 
   2252 if test -r "$cache_file"; then
   2253   # Some versions of bash will fail to source /dev/null (special files
   2254   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2255   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2256     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2257 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2258     case $cache_file in
   2259       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2260       *)                      . "./$cache_file";;
   2261     esac
   2262   fi
   2263 else
   2264   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2265 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2266   >$cache_file
   2267 fi
   2268 
   2269 # Check that the precious variables saved in the cache have kept the same
   2270 # value.
   2271 ac_cache_corrupted=false
   2272 for ac_var in $ac_precious_vars; do
   2273   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2274   eval ac_new_set=\$ac_env_${ac_var}_set
   2275   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2276   eval ac_new_val=\$ac_env_${ac_var}_value
   2277   case $ac_old_set,$ac_new_set in
   2278     set,)
   2279       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2280 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2281       ac_cache_corrupted=: ;;
   2282     ,set)
   2283       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2284 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2285       ac_cache_corrupted=: ;;
   2286     ,);;
   2287     *)
   2288       if test "x$ac_old_val" != "x$ac_new_val"; then
   2289 	# differences in whitespace do not lead to failure.
   2290 	ac_old_val_w=`echo x $ac_old_val`
   2291 	ac_new_val_w=`echo x $ac_new_val`
   2292 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2293 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2294 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2295 	  ac_cache_corrupted=:
   2296 	else
   2297 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2298 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2299 	  eval $ac_var=\$ac_old_val
   2300 	fi
   2301 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2302 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2303 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2304 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2305       fi;;
   2306   esac
   2307   # Pass precious variables to config.status.
   2308   if test "$ac_new_set" = set; then
   2309     case $ac_new_val in
   2310     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2311     *) ac_arg=$ac_var=$ac_new_val ;;
   2312     esac
   2313     case " $ac_configure_args " in
   2314       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2315       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2316     esac
   2317   fi
   2318 done
   2319 if $ac_cache_corrupted; then
   2320   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2322   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2323 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2324   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2325 fi
   2326 ## -------------------- ##
   2327 ## Main body of script. ##
   2328 ## -------------------- ##
   2329 
   2330 ac_ext=c
   2331 ac_cpp='$CPP $CPPFLAGS'
   2332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2335 
   2336 
   2337 
   2338 ac_config_headers="$ac_config_headers config.h include/X11/Xcursor/Xcursor.h"
   2339 
   2340 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2341 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   2342 # to avoid autoconf errors.
   2343 ac_aux_dir=
   2344 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2345   if test -f "$ac_dir/install-sh"; then
   2346     ac_aux_dir=$ac_dir
   2347     ac_install_sh="$ac_aux_dir/install-sh -c"
   2348     break
   2349   elif test -f "$ac_dir/install.sh"; then
   2350     ac_aux_dir=$ac_dir
   2351     ac_install_sh="$ac_aux_dir/install.sh -c"
   2352     break
   2353   elif test -f "$ac_dir/shtool"; then
   2354     ac_aux_dir=$ac_dir
   2355     ac_install_sh="$ac_aux_dir/shtool install -c"
   2356     break
   2357   fi
   2358 done
   2359 if test -z "$ac_aux_dir"; then
   2360   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2361 fi
   2362 
   2363 # These three variables are undocumented and unsupported,
   2364 # and are intended to be withdrawn in a future Autoconf release.
   2365 # They can cause serious problems if a builder's source tree is in a directory
   2366 # whose full name contains unusual characters.
   2367 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2368 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2369 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2370 
   2371 
   2372 # Expand $ac_aux_dir to an absolute path.
   2373 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2374 
   2375 ac_ext=c
   2376 ac_cpp='$CPP $CPPFLAGS'
   2377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2380 if test -n "$ac_tool_prefix"; then
   2381   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2382 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2384 $as_echo_n "checking for $ac_word... " >&6; }
   2385 if ${ac_cv_prog_CC+:} false; then :
   2386   $as_echo_n "(cached) " >&6
   2387 else
   2388   if test -n "$CC"; then
   2389   ac_cv_prog_CC="$CC" # Let the user override the test.
   2390 else
   2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2392 for as_dir in $PATH
   2393 do
   2394   IFS=$as_save_IFS
   2395   test -z "$as_dir" && as_dir=.
   2396     for ac_exec_ext in '' $ac_executable_extensions; do
   2397   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2398     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2399     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2400     break 2
   2401   fi
   2402 done
   2403   done
   2404 IFS=$as_save_IFS
   2405 
   2406 fi
   2407 fi
   2408 CC=$ac_cv_prog_CC
   2409 if test -n "$CC"; then
   2410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2411 $as_echo "$CC" >&6; }
   2412 else
   2413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2414 $as_echo "no" >&6; }
   2415 fi
   2416 
   2417 
   2418 fi
   2419 if test -z "$ac_cv_prog_CC"; then
   2420   ac_ct_CC=$CC
   2421   # Extract the first word of "gcc", so it can be a program name with args.
   2422 set dummy gcc; ac_word=$2
   2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2424 $as_echo_n "checking for $ac_word... " >&6; }
   2425 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2426   $as_echo_n "(cached) " >&6
   2427 else
   2428   if test -n "$ac_ct_CC"; then
   2429   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2430 else
   2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2432 for as_dir in $PATH
   2433 do
   2434   IFS=$as_save_IFS
   2435   test -z "$as_dir" && as_dir=.
   2436     for ac_exec_ext in '' $ac_executable_extensions; do
   2437   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2438     ac_cv_prog_ac_ct_CC="gcc"
   2439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2440     break 2
   2441   fi
   2442 done
   2443   done
   2444 IFS=$as_save_IFS
   2445 
   2446 fi
   2447 fi
   2448 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2449 if test -n "$ac_ct_CC"; then
   2450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2451 $as_echo "$ac_ct_CC" >&6; }
   2452 else
   2453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2454 $as_echo "no" >&6; }
   2455 fi
   2456 
   2457   if test "x$ac_ct_CC" = x; then
   2458     CC=""
   2459   else
   2460     case $cross_compiling:$ac_tool_warned in
   2461 yes:)
   2462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2464 ac_tool_warned=yes ;;
   2465 esac
   2466     CC=$ac_ct_CC
   2467   fi
   2468 else
   2469   CC="$ac_cv_prog_CC"
   2470 fi
   2471 
   2472 if test -z "$CC"; then
   2473           if test -n "$ac_tool_prefix"; then
   2474     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2475 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2477 $as_echo_n "checking for $ac_word... " >&6; }
   2478 if ${ac_cv_prog_CC+:} false; then :
   2479   $as_echo_n "(cached) " >&6
   2480 else
   2481   if test -n "$CC"; then
   2482   ac_cv_prog_CC="$CC" # Let the user override the test.
   2483 else
   2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2485 for as_dir in $PATH
   2486 do
   2487   IFS=$as_save_IFS
   2488   test -z "$as_dir" && as_dir=.
   2489     for ac_exec_ext in '' $ac_executable_extensions; do
   2490   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2491     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2493     break 2
   2494   fi
   2495 done
   2496   done
   2497 IFS=$as_save_IFS
   2498 
   2499 fi
   2500 fi
   2501 CC=$ac_cv_prog_CC
   2502 if test -n "$CC"; then
   2503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2504 $as_echo "$CC" >&6; }
   2505 else
   2506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2507 $as_echo "no" >&6; }
   2508 fi
   2509 
   2510 
   2511   fi
   2512 fi
   2513 if test -z "$CC"; then
   2514   # Extract the first word of "cc", so it can be a program name with args.
   2515 set dummy cc; ac_word=$2
   2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2517 $as_echo_n "checking for $ac_word... " >&6; }
   2518 if ${ac_cv_prog_CC+:} false; then :
   2519   $as_echo_n "(cached) " >&6
   2520 else
   2521   if test -n "$CC"; then
   2522   ac_cv_prog_CC="$CC" # Let the user override the test.
   2523 else
   2524   ac_prog_rejected=no
   2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2526 for as_dir in $PATH
   2527 do
   2528   IFS=$as_save_IFS
   2529   test -z "$as_dir" && as_dir=.
   2530     for ac_exec_ext in '' $ac_executable_extensions; do
   2531   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2532     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2533        ac_prog_rejected=yes
   2534        continue
   2535      fi
   2536     ac_cv_prog_CC="cc"
   2537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2538     break 2
   2539   fi
   2540 done
   2541   done
   2542 IFS=$as_save_IFS
   2543 
   2544 if test $ac_prog_rejected = yes; then
   2545   # We found a bogon in the path, so make sure we never use it.
   2546   set dummy $ac_cv_prog_CC
   2547   shift
   2548   if test $# != 0; then
   2549     # We chose a different compiler from the bogus one.
   2550     # However, it has the same basename, so the bogon will be chosen
   2551     # first if we set CC to just the basename; use the full file name.
   2552     shift
   2553     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2554   fi
   2555 fi
   2556 fi
   2557 fi
   2558 CC=$ac_cv_prog_CC
   2559 if test -n "$CC"; then
   2560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2561 $as_echo "$CC" >&6; }
   2562 else
   2563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2564 $as_echo "no" >&6; }
   2565 fi
   2566 
   2567 
   2568 fi
   2569 if test -z "$CC"; then
   2570   if test -n "$ac_tool_prefix"; then
   2571   for ac_prog in cl.exe
   2572   do
   2573     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2574 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2576 $as_echo_n "checking for $ac_word... " >&6; }
   2577 if ${ac_cv_prog_CC+:} false; then :
   2578   $as_echo_n "(cached) " >&6
   2579 else
   2580   if test -n "$CC"; then
   2581   ac_cv_prog_CC="$CC" # Let the user override the test.
   2582 else
   2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2584 for as_dir in $PATH
   2585 do
   2586   IFS=$as_save_IFS
   2587   test -z "$as_dir" && as_dir=.
   2588     for ac_exec_ext in '' $ac_executable_extensions; do
   2589   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2590     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2592     break 2
   2593   fi
   2594 done
   2595   done
   2596 IFS=$as_save_IFS
   2597 
   2598 fi
   2599 fi
   2600 CC=$ac_cv_prog_CC
   2601 if test -n "$CC"; then
   2602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2603 $as_echo "$CC" >&6; }
   2604 else
   2605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2606 $as_echo "no" >&6; }
   2607 fi
   2608 
   2609 
   2610     test -n "$CC" && break
   2611   done
   2612 fi
   2613 if test -z "$CC"; then
   2614   ac_ct_CC=$CC
   2615   for ac_prog in cl.exe
   2616 do
   2617   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2618 set dummy $ac_prog; ac_word=$2
   2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2620 $as_echo_n "checking for $ac_word... " >&6; }
   2621 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2622   $as_echo_n "(cached) " >&6
   2623 else
   2624   if test -n "$ac_ct_CC"; then
   2625   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2626 else
   2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2628 for as_dir in $PATH
   2629 do
   2630   IFS=$as_save_IFS
   2631   test -z "$as_dir" && as_dir=.
   2632     for ac_exec_ext in '' $ac_executable_extensions; do
   2633   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2634     ac_cv_prog_ac_ct_CC="$ac_prog"
   2635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2636     break 2
   2637   fi
   2638 done
   2639   done
   2640 IFS=$as_save_IFS
   2641 
   2642 fi
   2643 fi
   2644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2645 if test -n "$ac_ct_CC"; then
   2646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2647 $as_echo "$ac_ct_CC" >&6; }
   2648 else
   2649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2650 $as_echo "no" >&6; }
   2651 fi
   2652 
   2653 
   2654   test -n "$ac_ct_CC" && break
   2655 done
   2656 
   2657   if test "x$ac_ct_CC" = x; then
   2658     CC=""
   2659   else
   2660     case $cross_compiling:$ac_tool_warned in
   2661 yes:)
   2662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2664 ac_tool_warned=yes ;;
   2665 esac
   2666     CC=$ac_ct_CC
   2667   fi
   2668 fi
   2669 
   2670 fi
   2671 
   2672 
   2673 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2675 as_fn_error $? "no acceptable C compiler found in \$PATH
   2676 See \`config.log' for more details" "$LINENO" 5; }
   2677 
   2678 # Provide some information about the compiler.
   2679 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2680 set X $ac_compile
   2681 ac_compiler=$2
   2682 for ac_option in --version -v -V -qversion; do
   2683   { { ac_try="$ac_compiler $ac_option >&5"
   2684 case "(($ac_try" in
   2685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2686   *) ac_try_echo=$ac_try;;
   2687 esac
   2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2689 $as_echo "$ac_try_echo"; } >&5
   2690   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2691   ac_status=$?
   2692   if test -s conftest.err; then
   2693     sed '10a\
   2694 ... rest of stderr output deleted ...
   2695          10q' conftest.err >conftest.er1
   2696     cat conftest.er1 >&5
   2697   fi
   2698   rm -f conftest.er1 conftest.err
   2699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2700   test $ac_status = 0; }
   2701 done
   2702 
   2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2704 /* end confdefs.h.  */
   2705 
   2706 int
   2707 main ()
   2708 {
   2709 
   2710   ;
   2711   return 0;
   2712 }
   2713 _ACEOF
   2714 ac_clean_files_save=$ac_clean_files
   2715 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2716 # Try to create an executable without -o first, disregard a.out.
   2717 # It will help us diagnose broken compilers, and finding out an intuition
   2718 # of exeext.
   2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2720 $as_echo_n "checking whether the C compiler works... " >&6; }
   2721 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2722 
   2723 # The possible output files:
   2724 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2725 
   2726 ac_rmfiles=
   2727 for ac_file in $ac_files
   2728 do
   2729   case $ac_file in
   2730     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2731     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2732   esac
   2733 done
   2734 rm -f $ac_rmfiles
   2735 
   2736 if { { ac_try="$ac_link_default"
   2737 case "(($ac_try" in
   2738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2739   *) ac_try_echo=$ac_try;;
   2740 esac
   2741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2742 $as_echo "$ac_try_echo"; } >&5
   2743   (eval "$ac_link_default") 2>&5
   2744   ac_status=$?
   2745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2746   test $ac_status = 0; }; then :
   2747   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2748 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2749 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2750 # so that the user can short-circuit this test for compilers unknown to
   2751 # Autoconf.
   2752 for ac_file in $ac_files ''
   2753 do
   2754   test -f "$ac_file" || continue
   2755   case $ac_file in
   2756     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2757 	;;
   2758     [ab].out )
   2759 	# We found the default executable, but exeext='' is most
   2760 	# certainly right.
   2761 	break;;
   2762     *.* )
   2763 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2764 	then :; else
   2765 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2766 	fi
   2767 	# We set ac_cv_exeext here because the later test for it is not
   2768 	# safe: cross compilers may not add the suffix if given an `-o'
   2769 	# argument, so we may need to know it at that point already.
   2770 	# Even if this section looks crufty: it has the advantage of
   2771 	# actually working.
   2772 	break;;
   2773     * )
   2774 	break;;
   2775   esac
   2776 done
   2777 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2778 
   2779 else
   2780   ac_file=''
   2781 fi
   2782 if test -z "$ac_file"; then :
   2783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2784 $as_echo "no" >&6; }
   2785 $as_echo "$as_me: failed program was:" >&5
   2786 sed 's/^/| /' conftest.$ac_ext >&5
   2787 
   2788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2790 as_fn_error 77 "C compiler cannot create executables
   2791 See \`config.log' for more details" "$LINENO" 5; }
   2792 else
   2793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2794 $as_echo "yes" >&6; }
   2795 fi
   2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2797 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2799 $as_echo "$ac_file" >&6; }
   2800 ac_exeext=$ac_cv_exeext
   2801 
   2802 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2803 ac_clean_files=$ac_clean_files_save
   2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2805 $as_echo_n "checking for suffix of executables... " >&6; }
   2806 if { { ac_try="$ac_link"
   2807 case "(($ac_try" in
   2808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2809   *) ac_try_echo=$ac_try;;
   2810 esac
   2811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2812 $as_echo "$ac_try_echo"; } >&5
   2813   (eval "$ac_link") 2>&5
   2814   ac_status=$?
   2815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2816   test $ac_status = 0; }; then :
   2817   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2818 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2819 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2820 # `rm'.
   2821 for ac_file in conftest.exe conftest conftest.*; do
   2822   test -f "$ac_file" || continue
   2823   case $ac_file in
   2824     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2825     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2826 	  break;;
   2827     * ) break;;
   2828   esac
   2829 done
   2830 else
   2831   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2833 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2834 See \`config.log' for more details" "$LINENO" 5; }
   2835 fi
   2836 rm -f conftest conftest$ac_cv_exeext
   2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2838 $as_echo "$ac_cv_exeext" >&6; }
   2839 
   2840 rm -f conftest.$ac_ext
   2841 EXEEXT=$ac_cv_exeext
   2842 ac_exeext=$EXEEXT
   2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2844 /* end confdefs.h.  */
   2845 #include <stdio.h>
   2846 int
   2847 main ()
   2848 {
   2849 FILE *f = fopen ("conftest.out", "w");
   2850  return ferror (f) || fclose (f) != 0;
   2851 
   2852   ;
   2853   return 0;
   2854 }
   2855 _ACEOF
   2856 ac_clean_files="$ac_clean_files conftest.out"
   2857 # Check that the compiler produces executables we can run.  If not, either
   2858 # the compiler is broken, or we cross compile.
   2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2860 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2861 if test "$cross_compiling" != yes; then
   2862   { { ac_try="$ac_link"
   2863 case "(($ac_try" in
   2864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2865   *) ac_try_echo=$ac_try;;
   2866 esac
   2867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2868 $as_echo "$ac_try_echo"; } >&5
   2869   (eval "$ac_link") 2>&5
   2870   ac_status=$?
   2871   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2872   test $ac_status = 0; }
   2873   if { ac_try='./conftest$ac_cv_exeext'
   2874   { { case "(($ac_try" in
   2875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2876   *) ac_try_echo=$ac_try;;
   2877 esac
   2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2879 $as_echo "$ac_try_echo"; } >&5
   2880   (eval "$ac_try") 2>&5
   2881   ac_status=$?
   2882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2883   test $ac_status = 0; }; }; then
   2884     cross_compiling=no
   2885   else
   2886     if test "$cross_compiling" = maybe; then
   2887 	cross_compiling=yes
   2888     else
   2889 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2891 as_fn_error $? "cannot run C compiled programs.
   2892 If you meant to cross compile, use \`--host'.
   2893 See \`config.log' for more details" "$LINENO" 5; }
   2894     fi
   2895   fi
   2896 fi
   2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2898 $as_echo "$cross_compiling" >&6; }
   2899 
   2900 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2901 ac_clean_files=$ac_clean_files_save
   2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2903 $as_echo_n "checking for suffix of object files... " >&6; }
   2904 if ${ac_cv_objext+:} false; then :
   2905   $as_echo_n "(cached) " >&6
   2906 else
   2907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2908 /* end confdefs.h.  */
   2909 
   2910 int
   2911 main ()
   2912 {
   2913 
   2914   ;
   2915   return 0;
   2916 }
   2917 _ACEOF
   2918 rm -f conftest.o conftest.obj
   2919 if { { ac_try="$ac_compile"
   2920 case "(($ac_try" in
   2921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2922   *) ac_try_echo=$ac_try;;
   2923 esac
   2924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2925 $as_echo "$ac_try_echo"; } >&5
   2926   (eval "$ac_compile") 2>&5
   2927   ac_status=$?
   2928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2929   test $ac_status = 0; }; then :
   2930   for ac_file in conftest.o conftest.obj conftest.*; do
   2931   test -f "$ac_file" || continue;
   2932   case $ac_file in
   2933     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2934     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2935        break;;
   2936   esac
   2937 done
   2938 else
   2939   $as_echo "$as_me: failed program was:" >&5
   2940 sed 's/^/| /' conftest.$ac_ext >&5
   2941 
   2942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2944 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2945 See \`config.log' for more details" "$LINENO" 5; }
   2946 fi
   2947 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2948 fi
   2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2950 $as_echo "$ac_cv_objext" >&6; }
   2951 OBJEXT=$ac_cv_objext
   2952 ac_objext=$OBJEXT
   2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2954 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2955 if ${ac_cv_c_compiler_gnu+:} false; then :
   2956   $as_echo_n "(cached) " >&6
   2957 else
   2958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2959 /* end confdefs.h.  */
   2960 
   2961 int
   2962 main ()
   2963 {
   2964 #ifndef __GNUC__
   2965        choke me
   2966 #endif
   2967 
   2968   ;
   2969   return 0;
   2970 }
   2971 _ACEOF
   2972 if ac_fn_c_try_compile "$LINENO"; then :
   2973   ac_compiler_gnu=yes
   2974 else
   2975   ac_compiler_gnu=no
   2976 fi
   2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2978 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2979 
   2980 fi
   2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2982 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2983 if test $ac_compiler_gnu = yes; then
   2984   GCC=yes
   2985 else
   2986   GCC=
   2987 fi
   2988 ac_test_CFLAGS=${CFLAGS+set}
   2989 ac_save_CFLAGS=$CFLAGS
   2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2991 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2992 if ${ac_cv_prog_cc_g+:} false; then :
   2993   $as_echo_n "(cached) " >&6
   2994 else
   2995   ac_save_c_werror_flag=$ac_c_werror_flag
   2996    ac_c_werror_flag=yes
   2997    ac_cv_prog_cc_g=no
   2998    CFLAGS="-g"
   2999    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3000 /* end confdefs.h.  */
   3001 
   3002 int
   3003 main ()
   3004 {
   3005 
   3006   ;
   3007   return 0;
   3008 }
   3009 _ACEOF
   3010 if ac_fn_c_try_compile "$LINENO"; then :
   3011   ac_cv_prog_cc_g=yes
   3012 else
   3013   CFLAGS=""
   3014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3015 /* end confdefs.h.  */
   3016 
   3017 int
   3018 main ()
   3019 {
   3020 
   3021   ;
   3022   return 0;
   3023 }
   3024 _ACEOF
   3025 if ac_fn_c_try_compile "$LINENO"; then :
   3026 
   3027 else
   3028   ac_c_werror_flag=$ac_save_c_werror_flag
   3029 	 CFLAGS="-g"
   3030 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3031 /* end confdefs.h.  */
   3032 
   3033 int
   3034 main ()
   3035 {
   3036 
   3037   ;
   3038   return 0;
   3039 }
   3040 _ACEOF
   3041 if ac_fn_c_try_compile "$LINENO"; then :
   3042   ac_cv_prog_cc_g=yes
   3043 fi
   3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3045 fi
   3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3047 fi
   3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3049    ac_c_werror_flag=$ac_save_c_werror_flag
   3050 fi
   3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3052 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3053 if test "$ac_test_CFLAGS" = set; then
   3054   CFLAGS=$ac_save_CFLAGS
   3055 elif test $ac_cv_prog_cc_g = yes; then
   3056   if test "$GCC" = yes; then
   3057     CFLAGS="-g -O2"
   3058   else
   3059     CFLAGS="-g"
   3060   fi
   3061 else
   3062   if test "$GCC" = yes; then
   3063     CFLAGS="-O2"
   3064   else
   3065     CFLAGS=
   3066   fi
   3067 fi
   3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3069 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3070 if ${ac_cv_prog_cc_c89+:} false; then :
   3071   $as_echo_n "(cached) " >&6
   3072 else
   3073   ac_cv_prog_cc_c89=no
   3074 ac_save_CC=$CC
   3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3076 /* end confdefs.h.  */
   3077 #include <stdarg.h>
   3078 #include <stdio.h>
   3079 struct stat;
   3080 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3081 struct buf { int x; };
   3082 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3083 static char *e (p, i)
   3084      char **p;
   3085      int i;
   3086 {
   3087   return p[i];
   3088 }
   3089 static char *f (char * (*g) (char **, int), char **p, ...)
   3090 {
   3091   char *s;
   3092   va_list v;
   3093   va_start (v,p);
   3094   s = g (p, va_arg (v,int));
   3095   va_end (v);
   3096   return s;
   3097 }
   3098 
   3099 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3100    function prototypes and stuff, but not '\xHH' hex character constants.
   3101    These don't provoke an error unfortunately, instead are silently treated
   3102    as 'x'.  The following induces an error, until -std is added to get
   3103    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3104    array size at least.  It's necessary to write '\x00'==0 to get something
   3105    that's true only with -std.  */
   3106 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3107 
   3108 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3109    inside strings and character constants.  */
   3110 #define FOO(x) 'x'
   3111 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3112 
   3113 int test (int i, double x);
   3114 struct s1 {int (*f) (int a);};
   3115 struct s2 {int (*f) (double a);};
   3116 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3117 int argc;
   3118 char **argv;
   3119 int
   3120 main ()
   3121 {
   3122 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3123   ;
   3124   return 0;
   3125 }
   3126 _ACEOF
   3127 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3128 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3129 do
   3130   CC="$ac_save_CC $ac_arg"
   3131   if ac_fn_c_try_compile "$LINENO"; then :
   3132   ac_cv_prog_cc_c89=$ac_arg
   3133 fi
   3134 rm -f core conftest.err conftest.$ac_objext
   3135   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3136 done
   3137 rm -f conftest.$ac_ext
   3138 CC=$ac_save_CC
   3139 
   3140 fi
   3141 # AC_CACHE_VAL
   3142 case "x$ac_cv_prog_cc_c89" in
   3143   x)
   3144     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3145 $as_echo "none needed" >&6; } ;;
   3146   xno)
   3147     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3148 $as_echo "unsupported" >&6; } ;;
   3149   *)
   3150     CC="$CC $ac_cv_prog_cc_c89"
   3151     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3152 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3153 esac
   3154 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3155 
   3156 fi
   3157 
   3158 ac_ext=c
   3159 ac_cpp='$CPP $CPPFLAGS'
   3160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3163 
   3164 ac_ext=c
   3165 ac_cpp='$CPP $CPPFLAGS'
   3166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3170 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3171 if ${am_cv_prog_cc_c_o+:} false; then :
   3172   $as_echo_n "(cached) " >&6
   3173 else
   3174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3175 /* end confdefs.h.  */
   3176 
   3177 int
   3178 main ()
   3179 {
   3180 
   3181   ;
   3182   return 0;
   3183 }
   3184 _ACEOF
   3185   # Make sure it works both with $CC and with simple cc.
   3186   # Following AC_PROG_CC_C_O, we do the test twice because some
   3187   # compilers refuse to overwrite an existing .o file with -o,
   3188   # though they will create one.
   3189   am_cv_prog_cc_c_o=yes
   3190   for am_i in 1 2; do
   3191     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3192    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3193    ac_status=$?
   3194    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3195    (exit $ac_status); } \
   3196          && test -f conftest2.$ac_objext; then
   3197       : OK
   3198     else
   3199       am_cv_prog_cc_c_o=no
   3200       break
   3201     fi
   3202   done
   3203   rm -f core conftest*
   3204   unset am_i
   3205 fi
   3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3207 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3208 if test "$am_cv_prog_cc_c_o" != yes; then
   3209    # Losing compiler, so override with the script.
   3210    # FIXME: It is wrong to rewrite CC.
   3211    # But if we don't then we get into trouble of one sort or another.
   3212    # A longer-term fix would be to have automake use am__CC in this case,
   3213    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3214    CC="$am_aux_dir/compile $CC"
   3215 fi
   3216 ac_ext=c
   3217 ac_cpp='$CPP $CPPFLAGS'
   3218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3221 
   3222 
   3223 
   3224 ac_ext=c
   3225 ac_cpp='$CPP $CPPFLAGS'
   3226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3230 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3231 # On Suns, sometimes $CPP names a directory.
   3232 if test -n "$CPP" && test -d "$CPP"; then
   3233   CPP=
   3234 fi
   3235 if test -z "$CPP"; then
   3236   if ${ac_cv_prog_CPP+:} false; then :
   3237   $as_echo_n "(cached) " >&6
   3238 else
   3239       # Double quotes because CPP needs to be expanded
   3240     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3241     do
   3242       ac_preproc_ok=false
   3243 for ac_c_preproc_warn_flag in '' yes
   3244 do
   3245   # Use a header file that comes with gcc, so configuring glibc
   3246   # with a fresh cross-compiler works.
   3247   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3248   # <limits.h> exists even on freestanding compilers.
   3249   # On the NeXT, cc -E runs the code through the compiler's parser,
   3250   # not just through cpp. "Syntax error" is here to catch this case.
   3251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3252 /* end confdefs.h.  */
   3253 #ifdef __STDC__
   3254 # include <limits.h>
   3255 #else
   3256 # include <assert.h>
   3257 #endif
   3258 		     Syntax error
   3259 _ACEOF
   3260 if ac_fn_c_try_cpp "$LINENO"; then :
   3261 
   3262 else
   3263   # Broken: fails on valid input.
   3264 continue
   3265 fi
   3266 rm -f conftest.err conftest.i conftest.$ac_ext
   3267 
   3268   # OK, works on sane cases.  Now check whether nonexistent headers
   3269   # can be detected and how.
   3270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3271 /* end confdefs.h.  */
   3272 #include <ac_nonexistent.h>
   3273 _ACEOF
   3274 if ac_fn_c_try_cpp "$LINENO"; then :
   3275   # Broken: success on invalid input.
   3276 continue
   3277 else
   3278   # Passes both tests.
   3279 ac_preproc_ok=:
   3280 break
   3281 fi
   3282 rm -f conftest.err conftest.i conftest.$ac_ext
   3283 
   3284 done
   3285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3286 rm -f conftest.i conftest.err conftest.$ac_ext
   3287 if $ac_preproc_ok; then :
   3288   break
   3289 fi
   3290 
   3291     done
   3292     ac_cv_prog_CPP=$CPP
   3293 
   3294 fi
   3295   CPP=$ac_cv_prog_CPP
   3296 else
   3297   ac_cv_prog_CPP=$CPP
   3298 fi
   3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3300 $as_echo "$CPP" >&6; }
   3301 ac_preproc_ok=false
   3302 for ac_c_preproc_warn_flag in '' yes
   3303 do
   3304   # Use a header file that comes with gcc, so configuring glibc
   3305   # with a fresh cross-compiler works.
   3306   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3307   # <limits.h> exists even on freestanding compilers.
   3308   # On the NeXT, cc -E runs the code through the compiler's parser,
   3309   # not just through cpp. "Syntax error" is here to catch this case.
   3310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3311 /* end confdefs.h.  */
   3312 #ifdef __STDC__
   3313 # include <limits.h>
   3314 #else
   3315 # include <assert.h>
   3316 #endif
   3317 		     Syntax error
   3318 _ACEOF
   3319 if ac_fn_c_try_cpp "$LINENO"; then :
   3320 
   3321 else
   3322   # Broken: fails on valid input.
   3323 continue
   3324 fi
   3325 rm -f conftest.err conftest.i conftest.$ac_ext
   3326 
   3327   # OK, works on sane cases.  Now check whether nonexistent headers
   3328   # can be detected and how.
   3329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3330 /* end confdefs.h.  */
   3331 #include <ac_nonexistent.h>
   3332 _ACEOF
   3333 if ac_fn_c_try_cpp "$LINENO"; then :
   3334   # Broken: success on invalid input.
   3335 continue
   3336 else
   3337   # Passes both tests.
   3338 ac_preproc_ok=:
   3339 break
   3340 fi
   3341 rm -f conftest.err conftest.i conftest.$ac_ext
   3342 
   3343 done
   3344 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3345 rm -f conftest.i conftest.err conftest.$ac_ext
   3346 if $ac_preproc_ok; then :
   3347 
   3348 else
   3349   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3351 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3352 See \`config.log' for more details" "$LINENO" 5; }
   3353 fi
   3354 
   3355 ac_ext=c
   3356 ac_cpp='$CPP $CPPFLAGS'
   3357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3360 
   3361 
   3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3363 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3364 if ${ac_cv_path_GREP+:} false; then :
   3365   $as_echo_n "(cached) " >&6
   3366 else
   3367   if test -z "$GREP"; then
   3368   ac_path_GREP_found=false
   3369   # Loop through the user's path and test for each of PROGNAME-LIST
   3370   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3371 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3372 do
   3373   IFS=$as_save_IFS
   3374   test -z "$as_dir" && as_dir=.
   3375     for ac_prog in grep ggrep; do
   3376     for ac_exec_ext in '' $ac_executable_extensions; do
   3377       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3378       as_fn_executable_p "$ac_path_GREP" || continue
   3379 # Check for GNU ac_path_GREP and select it if it is found.
   3380   # Check for GNU $ac_path_GREP
   3381 case `"$ac_path_GREP" --version 2>&1` in
   3382 *GNU*)
   3383   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3384 *)
   3385   ac_count=0
   3386   $as_echo_n 0123456789 >"conftest.in"
   3387   while :
   3388   do
   3389     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3390     mv "conftest.tmp" "conftest.in"
   3391     cp "conftest.in" "conftest.nl"
   3392     $as_echo 'GREP' >> "conftest.nl"
   3393     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3394     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3395     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3396     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3397       # Best one so far, save it but keep looking for a better one
   3398       ac_cv_path_GREP="$ac_path_GREP"
   3399       ac_path_GREP_max=$ac_count
   3400     fi
   3401     # 10*(2^10) chars as input seems more than enough
   3402     test $ac_count -gt 10 && break
   3403   done
   3404   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3405 esac
   3406 
   3407       $ac_path_GREP_found && break 3
   3408     done
   3409   done
   3410   done
   3411 IFS=$as_save_IFS
   3412   if test -z "$ac_cv_path_GREP"; then
   3413     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3414   fi
   3415 else
   3416   ac_cv_path_GREP=$GREP
   3417 fi
   3418 
   3419 fi
   3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3421 $as_echo "$ac_cv_path_GREP" >&6; }
   3422  GREP="$ac_cv_path_GREP"
   3423 
   3424 
   3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3426 $as_echo_n "checking for egrep... " >&6; }
   3427 if ${ac_cv_path_EGREP+:} false; then :
   3428   $as_echo_n "(cached) " >&6
   3429 else
   3430   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3431    then ac_cv_path_EGREP="$GREP -E"
   3432    else
   3433      if test -z "$EGREP"; then
   3434   ac_path_EGREP_found=false
   3435   # Loop through the user's path and test for each of PROGNAME-LIST
   3436   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3437 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3438 do
   3439   IFS=$as_save_IFS
   3440   test -z "$as_dir" && as_dir=.
   3441     for ac_prog in egrep; do
   3442     for ac_exec_ext in '' $ac_executable_extensions; do
   3443       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3444       as_fn_executable_p "$ac_path_EGREP" || continue
   3445 # Check for GNU ac_path_EGREP and select it if it is found.
   3446   # Check for GNU $ac_path_EGREP
   3447 case `"$ac_path_EGREP" --version 2>&1` in
   3448 *GNU*)
   3449   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3450 *)
   3451   ac_count=0
   3452   $as_echo_n 0123456789 >"conftest.in"
   3453   while :
   3454   do
   3455     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3456     mv "conftest.tmp" "conftest.in"
   3457     cp "conftest.in" "conftest.nl"
   3458     $as_echo 'EGREP' >> "conftest.nl"
   3459     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3460     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3461     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3462     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3463       # Best one so far, save it but keep looking for a better one
   3464       ac_cv_path_EGREP="$ac_path_EGREP"
   3465       ac_path_EGREP_max=$ac_count
   3466     fi
   3467     # 10*(2^10) chars as input seems more than enough
   3468     test $ac_count -gt 10 && break
   3469   done
   3470   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3471 esac
   3472 
   3473       $ac_path_EGREP_found && break 3
   3474     done
   3475   done
   3476   done
   3477 IFS=$as_save_IFS
   3478   if test -z "$ac_cv_path_EGREP"; then
   3479     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3480   fi
   3481 else
   3482   ac_cv_path_EGREP=$EGREP
   3483 fi
   3484 
   3485    fi
   3486 fi
   3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3488 $as_echo "$ac_cv_path_EGREP" >&6; }
   3489  EGREP="$ac_cv_path_EGREP"
   3490 
   3491 
   3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3493 $as_echo_n "checking for ANSI C header files... " >&6; }
   3494 if ${ac_cv_header_stdc+:} false; then :
   3495   $as_echo_n "(cached) " >&6
   3496 else
   3497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3498 /* end confdefs.h.  */
   3499 #include <stdlib.h>
   3500 #include <stdarg.h>
   3501 #include <string.h>
   3502 #include <float.h>
   3503 
   3504 int
   3505 main ()
   3506 {
   3507 
   3508   ;
   3509   return 0;
   3510 }
   3511 _ACEOF
   3512 if ac_fn_c_try_compile "$LINENO"; then :
   3513   ac_cv_header_stdc=yes
   3514 else
   3515   ac_cv_header_stdc=no
   3516 fi
   3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3518 
   3519 if test $ac_cv_header_stdc = yes; then
   3520   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3522 /* end confdefs.h.  */
   3523 #include <string.h>
   3524 
   3525 _ACEOF
   3526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3527   $EGREP "memchr" >/dev/null 2>&1; then :
   3528 
   3529 else
   3530   ac_cv_header_stdc=no
   3531 fi
   3532 rm -f conftest*
   3533 
   3534 fi
   3535 
   3536 if test $ac_cv_header_stdc = yes; then
   3537   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3539 /* end confdefs.h.  */
   3540 #include <stdlib.h>
   3541 
   3542 _ACEOF
   3543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3544   $EGREP "free" >/dev/null 2>&1; then :
   3545 
   3546 else
   3547   ac_cv_header_stdc=no
   3548 fi
   3549 rm -f conftest*
   3550 
   3551 fi
   3552 
   3553 if test $ac_cv_header_stdc = yes; then
   3554   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3555   if test "$cross_compiling" = yes; then :
   3556   :
   3557 else
   3558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3559 /* end confdefs.h.  */
   3560 #include <ctype.h>
   3561 #include <stdlib.h>
   3562 #if ((' ' & 0x0FF) == 0x020)
   3563 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3564 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3565 #else
   3566 # define ISLOWER(c) \
   3567 		   (('a' <= (c) && (c) <= 'i') \
   3568 		     || ('j' <= (c) && (c) <= 'r') \
   3569 		     || ('s' <= (c) && (c) <= 'z'))
   3570 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3571 #endif
   3572 
   3573 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3574 int
   3575 main ()
   3576 {
   3577   int i;
   3578   for (i = 0; i < 256; i++)
   3579     if (XOR (islower (i), ISLOWER (i))
   3580 	|| toupper (i) != TOUPPER (i))
   3581       return 2;
   3582   return 0;
   3583 }
   3584 _ACEOF
   3585 if ac_fn_c_try_run "$LINENO"; then :
   3586 
   3587 else
   3588   ac_cv_header_stdc=no
   3589 fi
   3590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3591   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3592 fi
   3593 
   3594 fi
   3595 fi
   3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3597 $as_echo "$ac_cv_header_stdc" >&6; }
   3598 if test $ac_cv_header_stdc = yes; then
   3599 
   3600 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3601 
   3602 fi
   3603 
   3604 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3605 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3606 		  inttypes.h stdint.h unistd.h
   3607 do :
   3608   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3609 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3610 "
   3611 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3612   cat >>confdefs.h <<_ACEOF
   3613 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3614 _ACEOF
   3615 
   3616 fi
   3617 
   3618 done
   3619 
   3620 
   3621 
   3622   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3623 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3624   MINIX=yes
   3625 else
   3626   MINIX=
   3627 fi
   3628 
   3629 
   3630   if test "$MINIX" = yes; then
   3631 
   3632 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3633 
   3634 
   3635 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3636 
   3637 
   3638 $as_echo "#define _MINIX 1" >>confdefs.h
   3639 
   3640   fi
   3641 
   3642 
   3643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3644 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3645 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3646   $as_echo_n "(cached) " >&6
   3647 else
   3648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3649 /* end confdefs.h.  */
   3650 
   3651 #         define __EXTENSIONS__ 1
   3652           $ac_includes_default
   3653 int
   3654 main ()
   3655 {
   3656 
   3657   ;
   3658   return 0;
   3659 }
   3660 _ACEOF
   3661 if ac_fn_c_try_compile "$LINENO"; then :
   3662   ac_cv_safe_to_define___extensions__=yes
   3663 else
   3664   ac_cv_safe_to_define___extensions__=no
   3665 fi
   3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3667 fi
   3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3669 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3670   test $ac_cv_safe_to_define___extensions__ = yes &&
   3671     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3672 
   3673   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3674 
   3675   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3676 
   3677   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3678 
   3679   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3680 
   3681 
   3682 
   3683 # Initialize Automake
   3684 am__api_version='1.15'
   3685 
   3686 # Find a good install program.  We prefer a C program (faster),
   3687 # so one script is as good as another.  But avoid the broken or
   3688 # incompatible versions:
   3689 # SysV /etc/install, /usr/sbin/install
   3690 # SunOS /usr/etc/install
   3691 # IRIX /sbin/install
   3692 # AIX /bin/install
   3693 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3694 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3695 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3696 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3697 # OS/2's system install, which has a completely different semantic
   3698 # ./install, which can be erroneously created by make from ./install.sh.
   3699 # Reject install programs that cannot install multiple files.
   3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3701 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3702 if test -z "$INSTALL"; then
   3703 if ${ac_cv_path_install+:} false; then :
   3704   $as_echo_n "(cached) " >&6
   3705 else
   3706   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3707 for as_dir in $PATH
   3708 do
   3709   IFS=$as_save_IFS
   3710   test -z "$as_dir" && as_dir=.
   3711     # Account for people who put trailing slashes in PATH elements.
   3712 case $as_dir/ in #((
   3713   ./ | .// | /[cC]/* | \
   3714   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3715   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3716   /usr/ucb/* ) ;;
   3717   *)
   3718     # OSF1 and SCO ODT 3.0 have their own names for install.
   3719     # Don't use installbsd from OSF since it installs stuff as root
   3720     # by default.
   3721     for ac_prog in ginstall scoinst install; do
   3722       for ac_exec_ext in '' $ac_executable_extensions; do
   3723 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3724 	  if test $ac_prog = install &&
   3725 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3726 	    # AIX install.  It has an incompatible calling convention.
   3727 	    :
   3728 	  elif test $ac_prog = install &&
   3729 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3730 	    # program-specific install script used by HP pwplus--don't use.
   3731 	    :
   3732 	  else
   3733 	    rm -rf conftest.one conftest.two conftest.dir
   3734 	    echo one > conftest.one
   3735 	    echo two > conftest.two
   3736 	    mkdir conftest.dir
   3737 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3738 	      test -s conftest.one && test -s conftest.two &&
   3739 	      test -s conftest.dir/conftest.one &&
   3740 	      test -s conftest.dir/conftest.two
   3741 	    then
   3742 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3743 	      break 3
   3744 	    fi
   3745 	  fi
   3746 	fi
   3747       done
   3748     done
   3749     ;;
   3750 esac
   3751 
   3752   done
   3753 IFS=$as_save_IFS
   3754 
   3755 rm -rf conftest.one conftest.two conftest.dir
   3756 
   3757 fi
   3758   if test "${ac_cv_path_install+set}" = set; then
   3759     INSTALL=$ac_cv_path_install
   3760   else
   3761     # As a last resort, use the slow shell script.  Don't cache a
   3762     # value for INSTALL within a source directory, because that will
   3763     # break other packages using the cache if that directory is
   3764     # removed, or if the value is a relative name.
   3765     INSTALL=$ac_install_sh
   3766   fi
   3767 fi
   3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3769 $as_echo "$INSTALL" >&6; }
   3770 
   3771 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3772 # It thinks the first close brace ends the variable substitution.
   3773 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3774 
   3775 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3776 
   3777 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3778 
   3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3780 $as_echo_n "checking whether build environment is sane... " >&6; }
   3781 # Reject unsafe characters in $srcdir or the absolute working directory
   3782 # name.  Accept space and tab only in the latter.
   3783 am_lf='
   3784 '
   3785 case `pwd` in
   3786   *[\\\"\#\$\&\'\`$am_lf]*)
   3787     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3788 esac
   3789 case $srcdir in
   3790   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3791     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3792 esac
   3793 
   3794 # Do 'set' in a subshell so we don't clobber the current shell's
   3795 # arguments.  Must try -L first in case configure is actually a
   3796 # symlink; some systems play weird games with the mod time of symlinks
   3797 # (eg FreeBSD returns the mod time of the symlink's containing
   3798 # directory).
   3799 if (
   3800    am_has_slept=no
   3801    for am_try in 1 2; do
   3802      echo "timestamp, slept: $am_has_slept" > conftest.file
   3803      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3804      if test "$*" = "X"; then
   3805 	# -L didn't work.
   3806 	set X `ls -t "$srcdir/configure" conftest.file`
   3807      fi
   3808      if test "$*" != "X $srcdir/configure conftest.file" \
   3809 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3810 
   3811 	# If neither matched, then we have a broken ls.  This can happen
   3812 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3813 	# broken ls alias from the environment.  This has actually
   3814 	# happened.  Such a system could not be considered "sane".
   3815 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3816   alias in your environment" "$LINENO" 5
   3817      fi
   3818      if test "$2" = conftest.file || test $am_try -eq 2; then
   3819        break
   3820      fi
   3821      # Just in case.
   3822      sleep 1
   3823      am_has_slept=yes
   3824    done
   3825    test "$2" = conftest.file
   3826    )
   3827 then
   3828    # Ok.
   3829    :
   3830 else
   3831    as_fn_error $? "newly created file is older than distributed files!
   3832 Check your system clock" "$LINENO" 5
   3833 fi
   3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3835 $as_echo "yes" >&6; }
   3836 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3837 # generated files are strictly newer.
   3838 am_sleep_pid=
   3839 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3840   ( sleep 1 ) &
   3841   am_sleep_pid=$!
   3842 fi
   3843 
   3844 rm -f conftest.file
   3845 
   3846 test "$program_prefix" != NONE &&
   3847   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3848 # Use a double $ so make ignores it.
   3849 test "$program_suffix" != NONE &&
   3850   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3851 # Double any \ or $.
   3852 # By default was `s,x,x', remove it if useless.
   3853 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3854 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3855 
   3856 if test x"${MISSING+set}" != xset; then
   3857   case $am_aux_dir in
   3858   *\ * | *\	*)
   3859     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3860   *)
   3861     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3862   esac
   3863 fi
   3864 # Use eval to expand $SHELL
   3865 if eval "$MISSING --is-lightweight"; then
   3866   am_missing_run="$MISSING "
   3867 else
   3868   am_missing_run=
   3869   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3870 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3871 fi
   3872 
   3873 if test x"${install_sh+set}" != xset; then
   3874   case $am_aux_dir in
   3875   *\ * | *\	*)
   3876     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3877   *)
   3878     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3879   esac
   3880 fi
   3881 
   3882 # Installed binaries are usually stripped using 'strip' when the user
   3883 # run "make install-strip".  However 'strip' might not be the right
   3884 # tool to use in cross-compilation environments, therefore Automake
   3885 # will honor the 'STRIP' environment variable to overrule this program.
   3886 if test "$cross_compiling" != no; then
   3887   if test -n "$ac_tool_prefix"; then
   3888   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3889 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3891 $as_echo_n "checking for $ac_word... " >&6; }
   3892 if ${ac_cv_prog_STRIP+:} false; then :
   3893   $as_echo_n "(cached) " >&6
   3894 else
   3895   if test -n "$STRIP"; then
   3896   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3897 else
   3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3899 for as_dir in $PATH
   3900 do
   3901   IFS=$as_save_IFS
   3902   test -z "$as_dir" && as_dir=.
   3903     for ac_exec_ext in '' $ac_executable_extensions; do
   3904   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3905     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3906     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3907     break 2
   3908   fi
   3909 done
   3910   done
   3911 IFS=$as_save_IFS
   3912 
   3913 fi
   3914 fi
   3915 STRIP=$ac_cv_prog_STRIP
   3916 if test -n "$STRIP"; then
   3917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3918 $as_echo "$STRIP" >&6; }
   3919 else
   3920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3921 $as_echo "no" >&6; }
   3922 fi
   3923 
   3924 
   3925 fi
   3926 if test -z "$ac_cv_prog_STRIP"; then
   3927   ac_ct_STRIP=$STRIP
   3928   # Extract the first word of "strip", so it can be a program name with args.
   3929 set dummy strip; ac_word=$2
   3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3931 $as_echo_n "checking for $ac_word... " >&6; }
   3932 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3933   $as_echo_n "(cached) " >&6
   3934 else
   3935   if test -n "$ac_ct_STRIP"; then
   3936   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3937 else
   3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3939 for as_dir in $PATH
   3940 do
   3941   IFS=$as_save_IFS
   3942   test -z "$as_dir" && as_dir=.
   3943     for ac_exec_ext in '' $ac_executable_extensions; do
   3944   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3945     ac_cv_prog_ac_ct_STRIP="strip"
   3946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3947     break 2
   3948   fi
   3949 done
   3950   done
   3951 IFS=$as_save_IFS
   3952 
   3953 fi
   3954 fi
   3955 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3956 if test -n "$ac_ct_STRIP"; then
   3957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3958 $as_echo "$ac_ct_STRIP" >&6; }
   3959 else
   3960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3961 $as_echo "no" >&6; }
   3962 fi
   3963 
   3964   if test "x$ac_ct_STRIP" = x; then
   3965     STRIP=":"
   3966   else
   3967     case $cross_compiling:$ac_tool_warned in
   3968 yes:)
   3969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3971 ac_tool_warned=yes ;;
   3972 esac
   3973     STRIP=$ac_ct_STRIP
   3974   fi
   3975 else
   3976   STRIP="$ac_cv_prog_STRIP"
   3977 fi
   3978 
   3979 fi
   3980 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3981 
   3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3983 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3984 if test -z "$MKDIR_P"; then
   3985   if ${ac_cv_path_mkdir+:} false; then :
   3986   $as_echo_n "(cached) " >&6
   3987 else
   3988   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3989 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3990 do
   3991   IFS=$as_save_IFS
   3992   test -z "$as_dir" && as_dir=.
   3993     for ac_prog in mkdir gmkdir; do
   3994 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3995 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3996 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3997 	     'mkdir (GNU coreutils) '* | \
   3998 	     'mkdir (coreutils) '* | \
   3999 	     'mkdir (fileutils) '4.1*)
   4000 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4001 	       break 3;;
   4002 	   esac
   4003 	 done
   4004        done
   4005   done
   4006 IFS=$as_save_IFS
   4007 
   4008 fi
   4009 
   4010   test -d ./--version && rmdir ./--version
   4011   if test "${ac_cv_path_mkdir+set}" = set; then
   4012     MKDIR_P="$ac_cv_path_mkdir -p"
   4013   else
   4014     # As a last resort, use the slow shell script.  Don't cache a
   4015     # value for MKDIR_P within a source directory, because that will
   4016     # break other packages using the cache if that directory is
   4017     # removed, or if the value is a relative name.
   4018     MKDIR_P="$ac_install_sh -d"
   4019   fi
   4020 fi
   4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4022 $as_echo "$MKDIR_P" >&6; }
   4023 
   4024 for ac_prog in gawk mawk nawk awk
   4025 do
   4026   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4027 set dummy $ac_prog; ac_word=$2
   4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4029 $as_echo_n "checking for $ac_word... " >&6; }
   4030 if ${ac_cv_prog_AWK+:} false; then :
   4031   $as_echo_n "(cached) " >&6
   4032 else
   4033   if test -n "$AWK"; then
   4034   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4035 else
   4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4037 for as_dir in $PATH
   4038 do
   4039   IFS=$as_save_IFS
   4040   test -z "$as_dir" && as_dir=.
   4041     for ac_exec_ext in '' $ac_executable_extensions; do
   4042   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4043     ac_cv_prog_AWK="$ac_prog"
   4044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4045     break 2
   4046   fi
   4047 done
   4048   done
   4049 IFS=$as_save_IFS
   4050 
   4051 fi
   4052 fi
   4053 AWK=$ac_cv_prog_AWK
   4054 if test -n "$AWK"; then
   4055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4056 $as_echo "$AWK" >&6; }
   4057 else
   4058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4059 $as_echo "no" >&6; }
   4060 fi
   4061 
   4062 
   4063   test -n "$AWK" && break
   4064 done
   4065 
   4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4067 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4068 set x ${MAKE-make}
   4069 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4070 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4071   $as_echo_n "(cached) " >&6
   4072 else
   4073   cat >conftest.make <<\_ACEOF
   4074 SHELL = /bin/sh
   4075 all:
   4076 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4077 _ACEOF
   4078 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4079 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4080   *@@@%%%=?*=@@@%%%*)
   4081     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4082   *)
   4083     eval ac_cv_prog_make_${ac_make}_set=no;;
   4084 esac
   4085 rm -f conftest.make
   4086 fi
   4087 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4089 $as_echo "yes" >&6; }
   4090   SET_MAKE=
   4091 else
   4092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4093 $as_echo "no" >&6; }
   4094   SET_MAKE="MAKE=${MAKE-make}"
   4095 fi
   4096 
   4097 rm -rf .tst 2>/dev/null
   4098 mkdir .tst 2>/dev/null
   4099 if test -d .tst; then
   4100   am__leading_dot=.
   4101 else
   4102   am__leading_dot=_
   4103 fi
   4104 rmdir .tst 2>/dev/null
   4105 
   4106 DEPDIR="${am__leading_dot}deps"
   4107 
   4108 ac_config_commands="$ac_config_commands depfiles"
   4109 
   4110 
   4111 am_make=${MAKE-make}
   4112 cat > confinc << 'END'
   4113 am__doit:
   4114 	@echo this is the am__doit target
   4115 .PHONY: am__doit
   4116 END
   4117 # If we don't find an include directive, just comment out the code.
   4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4119 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4120 am__include="#"
   4121 am__quote=
   4122 _am_result=none
   4123 # First try GNU make style include.
   4124 echo "include confinc" > confmf
   4125 # Ignore all kinds of additional output from 'make'.
   4126 case `$am_make -s -f confmf 2> /dev/null` in #(
   4127 *the\ am__doit\ target*)
   4128   am__include=include
   4129   am__quote=
   4130   _am_result=GNU
   4131   ;;
   4132 esac
   4133 # Now try BSD make style include.
   4134 if test "$am__include" = "#"; then
   4135    echo '.include "confinc"' > confmf
   4136    case `$am_make -s -f confmf 2> /dev/null` in #(
   4137    *the\ am__doit\ target*)
   4138      am__include=.include
   4139      am__quote="\""
   4140      _am_result=BSD
   4141      ;;
   4142    esac
   4143 fi
   4144 
   4145 
   4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4147 $as_echo "$_am_result" >&6; }
   4148 rm -f confinc confmf
   4149 
   4150 # Check whether --enable-dependency-tracking was given.
   4151 if test "${enable_dependency_tracking+set}" = set; then :
   4152   enableval=$enable_dependency_tracking;
   4153 fi
   4154 
   4155 if test "x$enable_dependency_tracking" != xno; then
   4156   am_depcomp="$ac_aux_dir/depcomp"
   4157   AMDEPBACKSLASH='\'
   4158   am__nodep='_no'
   4159 fi
   4160  if test "x$enable_dependency_tracking" != xno; then
   4161   AMDEP_TRUE=
   4162   AMDEP_FALSE='#'
   4163 else
   4164   AMDEP_TRUE='#'
   4165   AMDEP_FALSE=
   4166 fi
   4167 
   4168 
   4169 # Check whether --enable-silent-rules was given.
   4170 if test "${enable_silent_rules+set}" = set; then :
   4171   enableval=$enable_silent_rules;
   4172 fi
   4173 
   4174 case $enable_silent_rules in # (((
   4175   yes) AM_DEFAULT_VERBOSITY=0;;
   4176    no) AM_DEFAULT_VERBOSITY=1;;
   4177     *) AM_DEFAULT_VERBOSITY=1;;
   4178 esac
   4179 am_make=${MAKE-make}
   4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4181 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4182 if ${am_cv_make_support_nested_variables+:} false; then :
   4183   $as_echo_n "(cached) " >&6
   4184 else
   4185   if $as_echo 'TRUE=$(BAR$(V))
   4186 BAR0=false
   4187 BAR1=true
   4188 V=1
   4189 am__doit:
   4190 	@$(TRUE)
   4191 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4192   am_cv_make_support_nested_variables=yes
   4193 else
   4194   am_cv_make_support_nested_variables=no
   4195 fi
   4196 fi
   4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4198 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4199 if test $am_cv_make_support_nested_variables = yes; then
   4200     AM_V='$(V)'
   4201   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4202 else
   4203   AM_V=$AM_DEFAULT_VERBOSITY
   4204   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4205 fi
   4206 AM_BACKSLASH='\'
   4207 
   4208 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4209   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4210   # is not polluted with repeated "-I."
   4211   am__isrc=' -I$(srcdir)'
   4212   # test to see if srcdir already configured
   4213   if test -f $srcdir/config.status; then
   4214     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4215   fi
   4216 fi
   4217 
   4218 # test whether we have cygpath
   4219 if test -z "$CYGPATH_W"; then
   4220   if (cygpath --version) >/dev/null 2>/dev/null; then
   4221     CYGPATH_W='cygpath -w'
   4222   else
   4223     CYGPATH_W=echo
   4224   fi
   4225 fi
   4226 
   4227 
   4228 # Define the identity of the package.
   4229  PACKAGE='libXcursor'
   4230  VERSION='1.1.15'
   4231 
   4232 
   4233 cat >>confdefs.h <<_ACEOF
   4234 #define PACKAGE "$PACKAGE"
   4235 _ACEOF
   4236 
   4237 
   4238 cat >>confdefs.h <<_ACEOF
   4239 #define VERSION "$VERSION"
   4240 _ACEOF
   4241 
   4242 # Some tools Automake needs.
   4243 
   4244 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4245 
   4246 
   4247 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4248 
   4249 
   4250 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4251 
   4252 
   4253 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4254 
   4255 
   4256 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4257 
   4258 # For better backward compatibility.  To be removed once Automake 1.9.x
   4259 # dies out for good.  For more background, see:
   4260 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4261 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4262 mkdir_p='$(MKDIR_P)'
   4263 
   4264 # We need awk for the "check" target (and possibly the TAP driver).  The
   4265 # system "awk" is bad on some platforms.
   4266 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4267 # in the wild :-(  We should find a proper way to deprecate it ...
   4268 AMTAR='$${TAR-tar}'
   4269 
   4270 
   4271 # We'll loop over all known methods to create a tar archive until one works.
   4272 _am_tools='gnutar  pax cpio none'
   4273 
   4274 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4275 
   4276 
   4277 
   4278 
   4279 
   4280 depcc="$CC"   am_compiler_list=
   4281 
   4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4283 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4284 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4285   $as_echo_n "(cached) " >&6
   4286 else
   4287   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4288   # We make a subdir and do the tests there.  Otherwise we can end up
   4289   # making bogus files that we don't know about and never remove.  For
   4290   # instance it was reported that on HP-UX the gcc test will end up
   4291   # making a dummy file named 'D' -- because '-MD' means "put the output
   4292   # in D".
   4293   rm -rf conftest.dir
   4294   mkdir conftest.dir
   4295   # Copy depcomp to subdir because otherwise we won't find it if we're
   4296   # using a relative directory.
   4297   cp "$am_depcomp" conftest.dir
   4298   cd conftest.dir
   4299   # We will build objects and dependencies in a subdirectory because
   4300   # it helps to detect inapplicable dependency modes.  For instance
   4301   # both Tru64's cc and ICC support -MD to output dependencies as a
   4302   # side effect of compilation, but ICC will put the dependencies in
   4303   # the current directory while Tru64 will put them in the object
   4304   # directory.
   4305   mkdir sub
   4306 
   4307   am_cv_CC_dependencies_compiler_type=none
   4308   if test "$am_compiler_list" = ""; then
   4309      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4310   fi
   4311   am__universal=false
   4312   case " $depcc " in #(
   4313      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4314      esac
   4315 
   4316   for depmode in $am_compiler_list; do
   4317     # Setup a source with many dependencies, because some compilers
   4318     # like to wrap large dependency lists on column 80 (with \), and
   4319     # we should not choose a depcomp mode which is confused by this.
   4320     #
   4321     # We need to recreate these files for each test, as the compiler may
   4322     # overwrite some of them when testing with obscure command lines.
   4323     # This happens at least with the AIX C compiler.
   4324     : > sub/conftest.c
   4325     for i in 1 2 3 4 5 6; do
   4326       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4327       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4328       # Solaris 10 /bin/sh.
   4329       echo '/* dummy */' > sub/conftst$i.h
   4330     done
   4331     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4332 
   4333     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4334     # mode.  It turns out that the SunPro C++ compiler does not properly
   4335     # handle '-M -o', and we need to detect this.  Also, some Intel
   4336     # versions had trouble with output in subdirs.
   4337     am__obj=sub/conftest.${OBJEXT-o}
   4338     am__minus_obj="-o $am__obj"
   4339     case $depmode in
   4340     gcc)
   4341       # This depmode causes a compiler race in universal mode.
   4342       test "$am__universal" = false || continue
   4343       ;;
   4344     nosideeffect)
   4345       # After this tag, mechanisms are not by side-effect, so they'll
   4346       # only be used when explicitly requested.
   4347       if test "x$enable_dependency_tracking" = xyes; then
   4348 	continue
   4349       else
   4350 	break
   4351       fi
   4352       ;;
   4353     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4354       # This compiler won't grok '-c -o', but also, the minuso test has
   4355       # not run yet.  These depmodes are late enough in the game, and
   4356       # so weak that their functioning should not be impacted.
   4357       am__obj=conftest.${OBJEXT-o}
   4358       am__minus_obj=
   4359       ;;
   4360     none) break ;;
   4361     esac
   4362     if depmode=$depmode \
   4363        source=sub/conftest.c object=$am__obj \
   4364        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4365        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4366          >/dev/null 2>conftest.err &&
   4367        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4368        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4369        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4370        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4371       # icc doesn't choke on unknown options, it will just issue warnings
   4372       # or remarks (even with -Werror).  So we grep stderr for any message
   4373       # that says an option was ignored or not supported.
   4374       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4375       #   icc: Command line warning: ignoring option '-M'; no argument required
   4376       # The diagnosis changed in icc 8.0:
   4377       #   icc: Command line remark: option '-MP' not supported
   4378       if (grep 'ignoring option' conftest.err ||
   4379           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4380         am_cv_CC_dependencies_compiler_type=$depmode
   4381         break
   4382       fi
   4383     fi
   4384   done
   4385 
   4386   cd ..
   4387   rm -rf conftest.dir
   4388 else
   4389   am_cv_CC_dependencies_compiler_type=none
   4390 fi
   4391 
   4392 fi
   4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4394 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4395 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4396 
   4397  if
   4398   test "x$enable_dependency_tracking" != xno \
   4399   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4400   am__fastdepCC_TRUE=
   4401   am__fastdepCC_FALSE='#'
   4402 else
   4403   am__fastdepCC_TRUE='#'
   4404   am__fastdepCC_FALSE=
   4405 fi
   4406 
   4407 
   4408 
   4409 # POSIX will say in a future version that running "rm -f" with no argument
   4410 # is OK; and we want to be able to make that assumption in our Makefile
   4411 # recipes.  So use an aggressive probe to check that the usage we want is
   4412 # actually supported "in the wild" to an acceptable degree.
   4413 # See automake bug#10828.
   4414 # To make any issue more visible, cause the running configure to be aborted
   4415 # by default if the 'rm' program in use doesn't match our expectations; the
   4416 # user can still override this though.
   4417 if rm -f && rm -fr && rm -rf; then : OK; else
   4418   cat >&2 <<'END'
   4419 Oops!
   4420 
   4421 Your 'rm' program seems unable to run without file operands specified
   4422 on the command line, even when the '-f' option is present.  This is contrary
   4423 to the behaviour of most rm programs out there, and not conforming with
   4424 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4425 
   4426 Please tell bug-automake@gnu.org about your system, including the value
   4427 of your $PATH and any error possibly output before this message.  This
   4428 can help us improve future automake versions.
   4429 
   4430 END
   4431   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4432     echo 'Configuration will proceed anyway, since you have set the' >&2
   4433     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4434     echo >&2
   4435   else
   4436     cat >&2 <<'END'
   4437 Aborting the configuration process, to ensure you take notice of the issue.
   4438 
   4439 You can download and install GNU coreutils to get an 'rm' implementation
   4440 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4441 
   4442 If you want to complete the configuration process using your problematic
   4443 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4444 to "yes", and re-run configure.
   4445 
   4446 END
   4447     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4448   fi
   4449 fi
   4450 
   4451 
   4452 # Initialize libtool
   4453 case `pwd` in
   4454   *\ * | *\	*)
   4455     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4456 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4457 esac
   4458 
   4459 
   4460 
   4461 macro_version='2.4.6'
   4462 macro_revision='2.4.6'
   4463 
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 
   4470 
   4471 
   4472 
   4473 
   4474 
   4475 
   4476 ltmain=$ac_aux_dir/ltmain.sh
   4477 
   4478 # Make sure we can run config.sub.
   4479 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4480   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4481 
   4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4483 $as_echo_n "checking build system type... " >&6; }
   4484 if ${ac_cv_build+:} false; then :
   4485   $as_echo_n "(cached) " >&6
   4486 else
   4487   ac_build_alias=$build_alias
   4488 test "x$ac_build_alias" = x &&
   4489   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4490 test "x$ac_build_alias" = x &&
   4491   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4492 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4493   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4494 
   4495 fi
   4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4497 $as_echo "$ac_cv_build" >&6; }
   4498 case $ac_cv_build in
   4499 *-*-*) ;;
   4500 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4501 esac
   4502 build=$ac_cv_build
   4503 ac_save_IFS=$IFS; IFS='-'
   4504 set x $ac_cv_build
   4505 shift
   4506 build_cpu=$1
   4507 build_vendor=$2
   4508 shift; shift
   4509 # Remember, the first character of IFS is used to create $*,
   4510 # except with old shells:
   4511 build_os=$*
   4512 IFS=$ac_save_IFS
   4513 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4514 
   4515 
   4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4517 $as_echo_n "checking host system type... " >&6; }
   4518 if ${ac_cv_host+:} false; then :
   4519   $as_echo_n "(cached) " >&6
   4520 else
   4521   if test "x$host_alias" = x; then
   4522   ac_cv_host=$ac_cv_build
   4523 else
   4524   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4525     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4526 fi
   4527 
   4528 fi
   4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4530 $as_echo "$ac_cv_host" >&6; }
   4531 case $ac_cv_host in
   4532 *-*-*) ;;
   4533 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4534 esac
   4535 host=$ac_cv_host
   4536 ac_save_IFS=$IFS; IFS='-'
   4537 set x $ac_cv_host
   4538 shift
   4539 host_cpu=$1
   4540 host_vendor=$2
   4541 shift; shift
   4542 # Remember, the first character of IFS is used to create $*,
   4543 # except with old shells:
   4544 host_os=$*
   4545 IFS=$ac_save_IFS
   4546 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4547 
   4548 
   4549 # Backslashify metacharacters that are still active within
   4550 # double-quoted strings.
   4551 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4552 
   4553 # Same as above, but do not quote variable references.
   4554 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4555 
   4556 # Sed substitution to delay expansion of an escaped shell variable in a
   4557 # double_quote_subst'ed string.
   4558 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4559 
   4560 # Sed substitution to delay expansion of an escaped single quote.
   4561 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4562 
   4563 # Sed substitution to avoid accidental globbing in evaled expressions
   4564 no_glob_subst='s/\*/\\\*/g'
   4565 
   4566 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4567 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4568 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4569 
   4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4571 $as_echo_n "checking how to print strings... " >&6; }
   4572 # Test print first, because it will be a builtin if present.
   4573 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4574    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4575   ECHO='print -r --'
   4576 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4577   ECHO='printf %s\n'
   4578 else
   4579   # Use this function as a fallback that always works.
   4580   func_fallback_echo ()
   4581   {
   4582     eval 'cat <<_LTECHO_EOF
   4583 $1
   4584 _LTECHO_EOF'
   4585   }
   4586   ECHO='func_fallback_echo'
   4587 fi
   4588 
   4589 # func_echo_all arg...
   4590 # Invoke $ECHO with all args, space-separated.
   4591 func_echo_all ()
   4592 {
   4593     $ECHO ""
   4594 }
   4595 
   4596 case $ECHO in
   4597   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4598 $as_echo "printf" >&6; } ;;
   4599   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4600 $as_echo "print -r" >&6; } ;;
   4601   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4602 $as_echo "cat" >&6; } ;;
   4603 esac
   4604 
   4605 
   4606 
   4607 
   4608 
   4609 
   4610 
   4611 
   4612 
   4613 
   4614 
   4615 
   4616 
   4617 
   4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4619 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4620 if ${ac_cv_path_SED+:} false; then :
   4621   $as_echo_n "(cached) " >&6
   4622 else
   4623             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4624      for ac_i in 1 2 3 4 5 6 7; do
   4625        ac_script="$ac_script$as_nl$ac_script"
   4626      done
   4627      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4628      { ac_script=; unset ac_script;}
   4629      if test -z "$SED"; then
   4630   ac_path_SED_found=false
   4631   # Loop through the user's path and test for each of PROGNAME-LIST
   4632   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4633 for as_dir in $PATH
   4634 do
   4635   IFS=$as_save_IFS
   4636   test -z "$as_dir" && as_dir=.
   4637     for ac_prog in sed gsed; do
   4638     for ac_exec_ext in '' $ac_executable_extensions; do
   4639       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4640       as_fn_executable_p "$ac_path_SED" || continue
   4641 # Check for GNU ac_path_SED and select it if it is found.
   4642   # Check for GNU $ac_path_SED
   4643 case `"$ac_path_SED" --version 2>&1` in
   4644 *GNU*)
   4645   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4646 *)
   4647   ac_count=0
   4648   $as_echo_n 0123456789 >"conftest.in"
   4649   while :
   4650   do
   4651     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4652     mv "conftest.tmp" "conftest.in"
   4653     cp "conftest.in" "conftest.nl"
   4654     $as_echo '' >> "conftest.nl"
   4655     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4656     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4657     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4658     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4659       # Best one so far, save it but keep looking for a better one
   4660       ac_cv_path_SED="$ac_path_SED"
   4661       ac_path_SED_max=$ac_count
   4662     fi
   4663     # 10*(2^10) chars as input seems more than enough
   4664     test $ac_count -gt 10 && break
   4665   done
   4666   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4667 esac
   4668 
   4669       $ac_path_SED_found && break 3
   4670     done
   4671   done
   4672   done
   4673 IFS=$as_save_IFS
   4674   if test -z "$ac_cv_path_SED"; then
   4675     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4676   fi
   4677 else
   4678   ac_cv_path_SED=$SED
   4679 fi
   4680 
   4681 fi
   4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4683 $as_echo "$ac_cv_path_SED" >&6; }
   4684  SED="$ac_cv_path_SED"
   4685   rm -f conftest.sed
   4686 
   4687 test -z "$SED" && SED=sed
   4688 Xsed="$SED -e 1s/^X//"
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4701 $as_echo_n "checking for fgrep... " >&6; }
   4702 if ${ac_cv_path_FGREP+:} false; then :
   4703   $as_echo_n "(cached) " >&6
   4704 else
   4705   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4706    then ac_cv_path_FGREP="$GREP -F"
   4707    else
   4708      if test -z "$FGREP"; then
   4709   ac_path_FGREP_found=false
   4710   # Loop through the user's path and test for each of PROGNAME-LIST
   4711   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4712 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4713 do
   4714   IFS=$as_save_IFS
   4715   test -z "$as_dir" && as_dir=.
   4716     for ac_prog in fgrep; do
   4717     for ac_exec_ext in '' $ac_executable_extensions; do
   4718       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4719       as_fn_executable_p "$ac_path_FGREP" || continue
   4720 # Check for GNU ac_path_FGREP and select it if it is found.
   4721   # Check for GNU $ac_path_FGREP
   4722 case `"$ac_path_FGREP" --version 2>&1` in
   4723 *GNU*)
   4724   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4725 *)
   4726   ac_count=0
   4727   $as_echo_n 0123456789 >"conftest.in"
   4728   while :
   4729   do
   4730     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4731     mv "conftest.tmp" "conftest.in"
   4732     cp "conftest.in" "conftest.nl"
   4733     $as_echo 'FGREP' >> "conftest.nl"
   4734     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4735     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4736     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4737     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4738       # Best one so far, save it but keep looking for a better one
   4739       ac_cv_path_FGREP="$ac_path_FGREP"
   4740       ac_path_FGREP_max=$ac_count
   4741     fi
   4742     # 10*(2^10) chars as input seems more than enough
   4743     test $ac_count -gt 10 && break
   4744   done
   4745   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4746 esac
   4747 
   4748       $ac_path_FGREP_found && break 3
   4749     done
   4750   done
   4751   done
   4752 IFS=$as_save_IFS
   4753   if test -z "$ac_cv_path_FGREP"; then
   4754     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4755   fi
   4756 else
   4757   ac_cv_path_FGREP=$FGREP
   4758 fi
   4759 
   4760    fi
   4761 fi
   4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4763 $as_echo "$ac_cv_path_FGREP" >&6; }
   4764  FGREP="$ac_cv_path_FGREP"
   4765 
   4766 
   4767 test -z "$GREP" && GREP=grep
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 
   4786 
   4787 # Check whether --with-gnu-ld was given.
   4788 if test "${with_gnu_ld+set}" = set; then :
   4789   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4790 else
   4791   with_gnu_ld=no
   4792 fi
   4793 
   4794 ac_prog=ld
   4795 if test yes = "$GCC"; then
   4796   # Check if gcc -print-prog-name=ld gives a path.
   4797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4798 $as_echo_n "checking for ld used by $CC... " >&6; }
   4799   case $host in
   4800   *-*-mingw*)
   4801     # gcc leaves a trailing carriage return, which upsets mingw
   4802     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4803   *)
   4804     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4805   esac
   4806   case $ac_prog in
   4807     # Accept absolute paths.
   4808     [\\/]* | ?:[\\/]*)
   4809       re_direlt='/[^/][^/]*/\.\./'
   4810       # Canonicalize the pathname of ld
   4811       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4812       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4813 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4814       done
   4815       test -z "$LD" && LD=$ac_prog
   4816       ;;
   4817   "")
   4818     # If it fails, then pretend we aren't using GCC.
   4819     ac_prog=ld
   4820     ;;
   4821   *)
   4822     # If it is relative, then search for the first ld in PATH.
   4823     with_gnu_ld=unknown
   4824     ;;
   4825   esac
   4826 elif test yes = "$with_gnu_ld"; then
   4827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4828 $as_echo_n "checking for GNU ld... " >&6; }
   4829 else
   4830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4831 $as_echo_n "checking for non-GNU ld... " >&6; }
   4832 fi
   4833 if ${lt_cv_path_LD+:} false; then :
   4834   $as_echo_n "(cached) " >&6
   4835 else
   4836   if test -z "$LD"; then
   4837   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4838   for ac_dir in $PATH; do
   4839     IFS=$lt_save_ifs
   4840     test -z "$ac_dir" && ac_dir=.
   4841     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4842       lt_cv_path_LD=$ac_dir/$ac_prog
   4843       # Check to see if the program is GNU ld.  I'd rather use --version,
   4844       # but apparently some variants of GNU ld only accept -v.
   4845       # Break only if it was the GNU/non-GNU ld that we prefer.
   4846       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4847       *GNU* | *'with BFD'*)
   4848 	test no != "$with_gnu_ld" && break
   4849 	;;
   4850       *)
   4851 	test yes != "$with_gnu_ld" && break
   4852 	;;
   4853       esac
   4854     fi
   4855   done
   4856   IFS=$lt_save_ifs
   4857 else
   4858   lt_cv_path_LD=$LD # Let the user override the test with a path.
   4859 fi
   4860 fi
   4861 
   4862 LD=$lt_cv_path_LD
   4863 if test -n "$LD"; then
   4864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4865 $as_echo "$LD" >&6; }
   4866 else
   4867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4868 $as_echo "no" >&6; }
   4869 fi
   4870 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4872 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4873 if ${lt_cv_prog_gnu_ld+:} false; then :
   4874   $as_echo_n "(cached) " >&6
   4875 else
   4876   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4877 case `$LD -v 2>&1 </dev/null` in
   4878 *GNU* | *'with BFD'*)
   4879   lt_cv_prog_gnu_ld=yes
   4880   ;;
   4881 *)
   4882   lt_cv_prog_gnu_ld=no
   4883   ;;
   4884 esac
   4885 fi
   4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4887 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4888 with_gnu_ld=$lt_cv_prog_gnu_ld
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4899 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4900 if ${lt_cv_path_NM+:} false; then :
   4901   $as_echo_n "(cached) " >&6
   4902 else
   4903   if test -n "$NM"; then
   4904   # Let the user override the test.
   4905   lt_cv_path_NM=$NM
   4906 else
   4907   lt_nm_to_check=${ac_tool_prefix}nm
   4908   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4909     lt_nm_to_check="$lt_nm_to_check nm"
   4910   fi
   4911   for lt_tmp_nm in $lt_nm_to_check; do
   4912     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4913     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4914       IFS=$lt_save_ifs
   4915       test -z "$ac_dir" && ac_dir=.
   4916       tmp_nm=$ac_dir/$lt_tmp_nm
   4917       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   4918 	# Check to see if the nm accepts a BSD-compat flag.
   4919 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   4920 	#   nm: unknown option "B" ignored
   4921 	# Tru64's nm complains that /dev/null is an invalid object file
   4922 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   4923 	case $build_os in
   4924 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   4925 	*) lt_bad_file=/dev/null ;;
   4926 	esac
   4927 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   4928 	*$lt_bad_file* | *'Invalid file or object type'*)
   4929 	  lt_cv_path_NM="$tmp_nm -B"
   4930 	  break 2
   4931 	  ;;
   4932 	*)
   4933 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4934 	  */dev/null*)
   4935 	    lt_cv_path_NM="$tmp_nm -p"
   4936 	    break 2
   4937 	    ;;
   4938 	  *)
   4939 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4940 	    continue # so that we can try to find one that supports BSD flags
   4941 	    ;;
   4942 	  esac
   4943 	  ;;
   4944 	esac
   4945       fi
   4946     done
   4947     IFS=$lt_save_ifs
   4948   done
   4949   : ${lt_cv_path_NM=no}
   4950 fi
   4951 fi
   4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4953 $as_echo "$lt_cv_path_NM" >&6; }
   4954 if test no != "$lt_cv_path_NM"; then
   4955   NM=$lt_cv_path_NM
   4956 else
   4957   # Didn't find any BSD compatible name lister, look for dumpbin.
   4958   if test -n "$DUMPBIN"; then :
   4959     # Let the user override the test.
   4960   else
   4961     if test -n "$ac_tool_prefix"; then
   4962   for ac_prog in dumpbin "link -dump"
   4963   do
   4964     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4965 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4967 $as_echo_n "checking for $ac_word... " >&6; }
   4968 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4969   $as_echo_n "(cached) " >&6
   4970 else
   4971   if test -n "$DUMPBIN"; then
   4972   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4973 else
   4974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4975 for as_dir in $PATH
   4976 do
   4977   IFS=$as_save_IFS
   4978   test -z "$as_dir" && as_dir=.
   4979     for ac_exec_ext in '' $ac_executable_extensions; do
   4980   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4981     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4983     break 2
   4984   fi
   4985 done
   4986   done
   4987 IFS=$as_save_IFS
   4988 
   4989 fi
   4990 fi
   4991 DUMPBIN=$ac_cv_prog_DUMPBIN
   4992 if test -n "$DUMPBIN"; then
   4993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4994 $as_echo "$DUMPBIN" >&6; }
   4995 else
   4996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4997 $as_echo "no" >&6; }
   4998 fi
   4999 
   5000 
   5001     test -n "$DUMPBIN" && break
   5002   done
   5003 fi
   5004 if test -z "$DUMPBIN"; then
   5005   ac_ct_DUMPBIN=$DUMPBIN
   5006   for ac_prog in dumpbin "link -dump"
   5007 do
   5008   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5009 set dummy $ac_prog; ac_word=$2
   5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5011 $as_echo_n "checking for $ac_word... " >&6; }
   5012 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5013   $as_echo_n "(cached) " >&6
   5014 else
   5015   if test -n "$ac_ct_DUMPBIN"; then
   5016   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5017 else
   5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5019 for as_dir in $PATH
   5020 do
   5021   IFS=$as_save_IFS
   5022   test -z "$as_dir" && as_dir=.
   5023     for ac_exec_ext in '' $ac_executable_extensions; do
   5024   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5025     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5027     break 2
   5028   fi
   5029 done
   5030   done
   5031 IFS=$as_save_IFS
   5032 
   5033 fi
   5034 fi
   5035 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5036 if test -n "$ac_ct_DUMPBIN"; then
   5037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5038 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5039 else
   5040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5041 $as_echo "no" >&6; }
   5042 fi
   5043 
   5044 
   5045   test -n "$ac_ct_DUMPBIN" && break
   5046 done
   5047 
   5048   if test "x$ac_ct_DUMPBIN" = x; then
   5049     DUMPBIN=":"
   5050   else
   5051     case $cross_compiling:$ac_tool_warned in
   5052 yes:)
   5053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5055 ac_tool_warned=yes ;;
   5056 esac
   5057     DUMPBIN=$ac_ct_DUMPBIN
   5058   fi
   5059 fi
   5060 
   5061     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5062     *COFF*)
   5063       DUMPBIN="$DUMPBIN -symbols -headers"
   5064       ;;
   5065     *)
   5066       DUMPBIN=:
   5067       ;;
   5068     esac
   5069   fi
   5070 
   5071   if test : != "$DUMPBIN"; then
   5072     NM=$DUMPBIN
   5073   fi
   5074 fi
   5075 test -z "$NM" && NM=nm
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5083 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5084 if ${lt_cv_nm_interface+:} false; then :
   5085   $as_echo_n "(cached) " >&6
   5086 else
   5087   lt_cv_nm_interface="BSD nm"
   5088   echo "int some_variable = 0;" > conftest.$ac_ext
   5089   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5090   (eval "$ac_compile" 2>conftest.err)
   5091   cat conftest.err >&5
   5092   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5093   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5094   cat conftest.err >&5
   5095   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5096   cat conftest.out >&5
   5097   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5098     lt_cv_nm_interface="MS dumpbin"
   5099   fi
   5100   rm -f conftest*
   5101 fi
   5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5103 $as_echo "$lt_cv_nm_interface" >&6; }
   5104 
   5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5106 $as_echo_n "checking whether ln -s works... " >&6; }
   5107 LN_S=$as_ln_s
   5108 if test "$LN_S" = "ln -s"; then
   5109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5110 $as_echo "yes" >&6; }
   5111 else
   5112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5113 $as_echo "no, using $LN_S" >&6; }
   5114 fi
   5115 
   5116 # find the maximum length of command line arguments
   5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5118 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5119 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5120   $as_echo_n "(cached) " >&6
   5121 else
   5122     i=0
   5123   teststring=ABCD
   5124 
   5125   case $build_os in
   5126   msdosdjgpp*)
   5127     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5128     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5129     # during glob expansion).  Even if it were fixed, the result of this
   5130     # check would be larger than it should be.
   5131     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5132     ;;
   5133 
   5134   gnu*)
   5135     # Under GNU Hurd, this test is not required because there is
   5136     # no limit to the length of command line arguments.
   5137     # Libtool will interpret -1 as no limit whatsoever
   5138     lt_cv_sys_max_cmd_len=-1;
   5139     ;;
   5140 
   5141   cygwin* | mingw* | cegcc*)
   5142     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5143     # about 5 minutes as the teststring grows exponentially.
   5144     # Worse, since 9x/ME are not pre-emptively multitasking,
   5145     # you end up with a "frozen" computer, even though with patience
   5146     # the test eventually succeeds (with a max line length of 256k).
   5147     # Instead, let's just punt: use the minimum linelength reported by
   5148     # all of the supported platforms: 8192 (on NT/2K/XP).
   5149     lt_cv_sys_max_cmd_len=8192;
   5150     ;;
   5151 
   5152   mint*)
   5153     # On MiNT this can take a long time and run out of memory.
   5154     lt_cv_sys_max_cmd_len=8192;
   5155     ;;
   5156 
   5157   amigaos*)
   5158     # On AmigaOS with pdksh, this test takes hours, literally.
   5159     # So we just punt and use a minimum line length of 8192.
   5160     lt_cv_sys_max_cmd_len=8192;
   5161     ;;
   5162 
   5163   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   5164     # This has been around since 386BSD, at least.  Likely further.
   5165     if test -x /sbin/sysctl; then
   5166       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5167     elif test -x /usr/sbin/sysctl; then
   5168       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5169     else
   5170       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5171     fi
   5172     # And add a safety zone
   5173     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5174     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5175     ;;
   5176 
   5177   interix*)
   5178     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5179     lt_cv_sys_max_cmd_len=196608
   5180     ;;
   5181 
   5182   os2*)
   5183     # The test takes a long time on OS/2.
   5184     lt_cv_sys_max_cmd_len=8192
   5185     ;;
   5186 
   5187   osf*)
   5188     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5189     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5190     # nice to cause kernel panics so lets avoid the loop below.
   5191     # First set a reasonable default.
   5192     lt_cv_sys_max_cmd_len=16384
   5193     #
   5194     if test -x /sbin/sysconfig; then
   5195       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5196         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5197       esac
   5198     fi
   5199     ;;
   5200   sco3.2v5*)
   5201     lt_cv_sys_max_cmd_len=102400
   5202     ;;
   5203   sysv5* | sco5v6* | sysv4.2uw2*)
   5204     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5205     if test -n "$kargmax"; then
   5206       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5207     else
   5208       lt_cv_sys_max_cmd_len=32768
   5209     fi
   5210     ;;
   5211   *)
   5212     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5213     if test -n "$lt_cv_sys_max_cmd_len" && \
   5214        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5215       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5216       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5217     else
   5218       # Make teststring a little bigger before we do anything with it.
   5219       # a 1K string should be a reasonable start.
   5220       for i in 1 2 3 4 5 6 7 8; do
   5221         teststring=$teststring$teststring
   5222       done
   5223       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5224       # If test is not a shell built-in, we'll probably end up computing a
   5225       # maximum length that is only half of the actual maximum length, but
   5226       # we can't tell.
   5227       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5228 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5229 	      test 17 != "$i" # 1/2 MB should be enough
   5230       do
   5231         i=`expr $i + 1`
   5232         teststring=$teststring$teststring
   5233       done
   5234       # Only check the string length outside the loop.
   5235       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5236       teststring=
   5237       # Add a significant safety factor because C++ compilers can tack on
   5238       # massive amounts of additional arguments before passing them to the
   5239       # linker.  It appears as though 1/2 is a usable value.
   5240       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5241     fi
   5242     ;;
   5243   esac
   5244 
   5245 fi
   5246 
   5247 if test -n "$lt_cv_sys_max_cmd_len"; then
   5248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5249 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5250 else
   5251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5252 $as_echo "none" >&6; }
   5253 fi
   5254 max_cmd_len=$lt_cv_sys_max_cmd_len
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 : ${CP="cp -f"}
   5262 : ${MV="mv -f"}
   5263 : ${RM="rm -f"}
   5264 
   5265 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5266   lt_unset=unset
   5267 else
   5268   lt_unset=false
   5269 fi
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 # test EBCDIC or ASCII
   5276 case `echo X|tr X '\101'` in
   5277  A) # ASCII based system
   5278     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5279   lt_SP2NL='tr \040 \012'
   5280   lt_NL2SP='tr \015\012 \040\040'
   5281   ;;
   5282  *) # EBCDIC based system
   5283   lt_SP2NL='tr \100 \n'
   5284   lt_NL2SP='tr \r\n \100\100'
   5285   ;;
   5286 esac
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5297 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5298 if ${lt_cv_to_host_file_cmd+:} false; then :
   5299   $as_echo_n "(cached) " >&6
   5300 else
   5301   case $host in
   5302   *-*-mingw* )
   5303     case $build in
   5304       *-*-mingw* ) # actually msys
   5305         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5306         ;;
   5307       *-*-cygwin* )
   5308         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5309         ;;
   5310       * ) # otherwise, assume *nix
   5311         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5312         ;;
   5313     esac
   5314     ;;
   5315   *-*-cygwin* )
   5316     case $build in
   5317       *-*-mingw* ) # actually msys
   5318         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5319         ;;
   5320       *-*-cygwin* )
   5321         lt_cv_to_host_file_cmd=func_convert_file_noop
   5322         ;;
   5323       * ) # otherwise, assume *nix
   5324         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5325         ;;
   5326     esac
   5327     ;;
   5328   * ) # unhandled hosts (and "normal" native builds)
   5329     lt_cv_to_host_file_cmd=func_convert_file_noop
   5330     ;;
   5331 esac
   5332 
   5333 fi
   5334 
   5335 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5337 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5344 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5345 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5346   $as_echo_n "(cached) " >&6
   5347 else
   5348   #assume ordinary cross tools, or native build.
   5349 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5350 case $host in
   5351   *-*-mingw* )
   5352     case $build in
   5353       *-*-mingw* ) # actually msys
   5354         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5355         ;;
   5356     esac
   5357     ;;
   5358 esac
   5359 
   5360 fi
   5361 
   5362 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5364 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5371 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5372 if ${lt_cv_ld_reload_flag+:} false; then :
   5373   $as_echo_n "(cached) " >&6
   5374 else
   5375   lt_cv_ld_reload_flag='-r'
   5376 fi
   5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5378 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5379 reload_flag=$lt_cv_ld_reload_flag
   5380 case $reload_flag in
   5381 "" | " "*) ;;
   5382 *) reload_flag=" $reload_flag" ;;
   5383 esac
   5384 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5385 case $host_os in
   5386   cygwin* | mingw* | pw32* | cegcc*)
   5387     if test yes != "$GCC"; then
   5388       reload_cmds=false
   5389     fi
   5390     ;;
   5391   darwin*)
   5392     if test yes = "$GCC"; then
   5393       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5394     else
   5395       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5396     fi
   5397     ;;
   5398 esac
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 if test -n "$ac_tool_prefix"; then
   5409   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5410 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5412 $as_echo_n "checking for $ac_word... " >&6; }
   5413 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5414   $as_echo_n "(cached) " >&6
   5415 else
   5416   if test -n "$OBJDUMP"; then
   5417   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5418 else
   5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5420 for as_dir in $PATH
   5421 do
   5422   IFS=$as_save_IFS
   5423   test -z "$as_dir" && as_dir=.
   5424     for ac_exec_ext in '' $ac_executable_extensions; do
   5425   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5426     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5428     break 2
   5429   fi
   5430 done
   5431   done
   5432 IFS=$as_save_IFS
   5433 
   5434 fi
   5435 fi
   5436 OBJDUMP=$ac_cv_prog_OBJDUMP
   5437 if test -n "$OBJDUMP"; then
   5438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5439 $as_echo "$OBJDUMP" >&6; }
   5440 else
   5441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5442 $as_echo "no" >&6; }
   5443 fi
   5444 
   5445 
   5446 fi
   5447 if test -z "$ac_cv_prog_OBJDUMP"; then
   5448   ac_ct_OBJDUMP=$OBJDUMP
   5449   # Extract the first word of "objdump", so it can be a program name with args.
   5450 set dummy objdump; ac_word=$2
   5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5452 $as_echo_n "checking for $ac_word... " >&6; }
   5453 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5454   $as_echo_n "(cached) " >&6
   5455 else
   5456   if test -n "$ac_ct_OBJDUMP"; then
   5457   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5458 else
   5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5460 for as_dir in $PATH
   5461 do
   5462   IFS=$as_save_IFS
   5463   test -z "$as_dir" && as_dir=.
   5464     for ac_exec_ext in '' $ac_executable_extensions; do
   5465   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5466     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5468     break 2
   5469   fi
   5470 done
   5471   done
   5472 IFS=$as_save_IFS
   5473 
   5474 fi
   5475 fi
   5476 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5477 if test -n "$ac_ct_OBJDUMP"; then
   5478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5479 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5480 else
   5481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5482 $as_echo "no" >&6; }
   5483 fi
   5484 
   5485   if test "x$ac_ct_OBJDUMP" = x; then
   5486     OBJDUMP="false"
   5487   else
   5488     case $cross_compiling:$ac_tool_warned in
   5489 yes:)
   5490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5492 ac_tool_warned=yes ;;
   5493 esac
   5494     OBJDUMP=$ac_ct_OBJDUMP
   5495   fi
   5496 else
   5497   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5498 fi
   5499 
   5500 test -z "$OBJDUMP" && OBJDUMP=objdump
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5511 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5512 if ${lt_cv_deplibs_check_method+:} false; then :
   5513   $as_echo_n "(cached) " >&6
   5514 else
   5515   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5516 lt_cv_file_magic_test_file=
   5517 lt_cv_deplibs_check_method='unknown'
   5518 # Need to set the preceding variable on all platforms that support
   5519 # interlibrary dependencies.
   5520 # 'none' -- dependencies not supported.
   5521 # 'unknown' -- same as none, but documents that we really don't know.
   5522 # 'pass_all' -- all dependencies passed with no checks.
   5523 # 'test_compile' -- check by making test program.
   5524 # 'file_magic [[regex]]' -- check by looking for files in library path
   5525 # that responds to the $file_magic_cmd with a given extended regex.
   5526 # If you have 'file' or equivalent on your system and you're not sure
   5527 # whether 'pass_all' will *always* work, you probably want this one.
   5528 
   5529 case $host_os in
   5530 aix[4-9]*)
   5531   lt_cv_deplibs_check_method=pass_all
   5532   ;;
   5533 
   5534 beos*)
   5535   lt_cv_deplibs_check_method=pass_all
   5536   ;;
   5537 
   5538 bsdi[45]*)
   5539   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5540   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5541   lt_cv_file_magic_test_file=/shlib/libc.so
   5542   ;;
   5543 
   5544 cygwin*)
   5545   # func_win32_libid is a shell function defined in ltmain.sh
   5546   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5547   lt_cv_file_magic_cmd='func_win32_libid'
   5548   ;;
   5549 
   5550 mingw* | pw32*)
   5551   # Base MSYS/MinGW do not provide the 'file' command needed by
   5552   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5553   # unless we find 'file', for example because we are cross-compiling.
   5554   if ( file / ) >/dev/null 2>&1; then
   5555     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5556     lt_cv_file_magic_cmd='func_win32_libid'
   5557   else
   5558     # Keep this pattern in sync with the one in func_win32_libid.
   5559     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5560     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5561   fi
   5562   ;;
   5563 
   5564 cegcc*)
   5565   # use the weaker test based on 'objdump'. See mingw*.
   5566   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5567   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5568   ;;
   5569 
   5570 darwin* | rhapsody*)
   5571   lt_cv_deplibs_check_method=pass_all
   5572   ;;
   5573 
   5574 freebsd* | dragonfly*)
   5575   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5576     case $host_cpu in
   5577     i*86 )
   5578       # Not sure whether the presence of OpenBSD here was a mistake.
   5579       # Let's accept both of them until this is cleared up.
   5580       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5581       lt_cv_file_magic_cmd=/usr/bin/file
   5582       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5583       ;;
   5584     esac
   5585   else
   5586     lt_cv_deplibs_check_method=pass_all
   5587   fi
   5588   ;;
   5589 
   5590 haiku*)
   5591   lt_cv_deplibs_check_method=pass_all
   5592   ;;
   5593 
   5594 hpux10.20* | hpux11*)
   5595   lt_cv_file_magic_cmd=/usr/bin/file
   5596   case $host_cpu in
   5597   ia64*)
   5598     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5599     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5600     ;;
   5601   hppa*64*)
   5602     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]'
   5603     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5604     ;;
   5605   *)
   5606     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5607     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5608     ;;
   5609   esac
   5610   ;;
   5611 
   5612 interix[3-9]*)
   5613   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5614   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5615   ;;
   5616 
   5617 irix5* | irix6* | nonstopux*)
   5618   case $LD in
   5619   *-32|*"-32 ") libmagic=32-bit;;
   5620   *-n32|*"-n32 ") libmagic=N32;;
   5621   *-64|*"-64 ") libmagic=64-bit;;
   5622   *) libmagic=never-match;;
   5623   esac
   5624   lt_cv_deplibs_check_method=pass_all
   5625   ;;
   5626 
   5627 # This must be glibc/ELF.
   5628 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5629   lt_cv_deplibs_check_method=pass_all
   5630   ;;
   5631 
   5632 netbsd* | netbsdelf*-gnu)
   5633   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5634     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5635   else
   5636     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5637   fi
   5638   ;;
   5639 
   5640 newos6*)
   5641   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5642   lt_cv_file_magic_cmd=/usr/bin/file
   5643   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5644   ;;
   5645 
   5646 *nto* | *qnx*)
   5647   lt_cv_deplibs_check_method=pass_all
   5648   ;;
   5649 
   5650 openbsd* | bitrig*)
   5651   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5652     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5653   else
   5654     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5655   fi
   5656   ;;
   5657 
   5658 osf3* | osf4* | osf5*)
   5659   lt_cv_deplibs_check_method=pass_all
   5660   ;;
   5661 
   5662 rdos*)
   5663   lt_cv_deplibs_check_method=pass_all
   5664   ;;
   5665 
   5666 solaris*)
   5667   lt_cv_deplibs_check_method=pass_all
   5668   ;;
   5669 
   5670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5671   lt_cv_deplibs_check_method=pass_all
   5672   ;;
   5673 
   5674 sysv4 | sysv4.3*)
   5675   case $host_vendor in
   5676   motorola)
   5677     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]'
   5678     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5679     ;;
   5680   ncr)
   5681     lt_cv_deplibs_check_method=pass_all
   5682     ;;
   5683   sequent)
   5684     lt_cv_file_magic_cmd='/bin/file'
   5685     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5686     ;;
   5687   sni)
   5688     lt_cv_file_magic_cmd='/bin/file'
   5689     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5690     lt_cv_file_magic_test_file=/lib/libc.so
   5691     ;;
   5692   siemens)
   5693     lt_cv_deplibs_check_method=pass_all
   5694     ;;
   5695   pc)
   5696     lt_cv_deplibs_check_method=pass_all
   5697     ;;
   5698   esac
   5699   ;;
   5700 
   5701 tpf*)
   5702   lt_cv_deplibs_check_method=pass_all
   5703   ;;
   5704 os2*)
   5705   lt_cv_deplibs_check_method=pass_all
   5706   ;;
   5707 esac
   5708 
   5709 fi
   5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5711 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5712 
   5713 file_magic_glob=
   5714 want_nocaseglob=no
   5715 if test "$build" = "$host"; then
   5716   case $host_os in
   5717   mingw* | pw32*)
   5718     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5719       want_nocaseglob=yes
   5720     else
   5721       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5722     fi
   5723     ;;
   5724   esac
   5725 fi
   5726 
   5727 file_magic_cmd=$lt_cv_file_magic_cmd
   5728 deplibs_check_method=$lt_cv_deplibs_check_method
   5729 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 if test -n "$ac_tool_prefix"; then
   5753   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5754 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5756 $as_echo_n "checking for $ac_word... " >&6; }
   5757 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5758   $as_echo_n "(cached) " >&6
   5759 else
   5760   if test -n "$DLLTOOL"; then
   5761   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5762 else
   5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5764 for as_dir in $PATH
   5765 do
   5766   IFS=$as_save_IFS
   5767   test -z "$as_dir" && as_dir=.
   5768     for ac_exec_ext in '' $ac_executable_extensions; do
   5769   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5770     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5772     break 2
   5773   fi
   5774 done
   5775   done
   5776 IFS=$as_save_IFS
   5777 
   5778 fi
   5779 fi
   5780 DLLTOOL=$ac_cv_prog_DLLTOOL
   5781 if test -n "$DLLTOOL"; then
   5782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5783 $as_echo "$DLLTOOL" >&6; }
   5784 else
   5785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5786 $as_echo "no" >&6; }
   5787 fi
   5788 
   5789 
   5790 fi
   5791 if test -z "$ac_cv_prog_DLLTOOL"; then
   5792   ac_ct_DLLTOOL=$DLLTOOL
   5793   # Extract the first word of "dlltool", so it can be a program name with args.
   5794 set dummy dlltool; ac_word=$2
   5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5796 $as_echo_n "checking for $ac_word... " >&6; }
   5797 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5798   $as_echo_n "(cached) " >&6
   5799 else
   5800   if test -n "$ac_ct_DLLTOOL"; then
   5801   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5802 else
   5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5804 for as_dir in $PATH
   5805 do
   5806   IFS=$as_save_IFS
   5807   test -z "$as_dir" && as_dir=.
   5808     for ac_exec_ext in '' $ac_executable_extensions; do
   5809   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5810     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5812     break 2
   5813   fi
   5814 done
   5815   done
   5816 IFS=$as_save_IFS
   5817 
   5818 fi
   5819 fi
   5820 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5821 if test -n "$ac_ct_DLLTOOL"; then
   5822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5823 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5824 else
   5825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5826 $as_echo "no" >&6; }
   5827 fi
   5828 
   5829   if test "x$ac_ct_DLLTOOL" = x; then
   5830     DLLTOOL="false"
   5831   else
   5832     case $cross_compiling:$ac_tool_warned in
   5833 yes:)
   5834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5836 ac_tool_warned=yes ;;
   5837 esac
   5838     DLLTOOL=$ac_ct_DLLTOOL
   5839   fi
   5840 else
   5841   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5842 fi
   5843 
   5844 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5856 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5857 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5858   $as_echo_n "(cached) " >&6
   5859 else
   5860   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5861 
   5862 case $host_os in
   5863 cygwin* | mingw* | pw32* | cegcc*)
   5864   # two different shell functions defined in ltmain.sh;
   5865   # decide which one to use based on capabilities of $DLLTOOL
   5866   case `$DLLTOOL --help 2>&1` in
   5867   *--identify-strict*)
   5868     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5869     ;;
   5870   *)
   5871     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5872     ;;
   5873   esac
   5874   ;;
   5875 *)
   5876   # fallback: assume linklib IS sharedlib
   5877   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   5878   ;;
   5879 esac
   5880 
   5881 fi
   5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5883 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5884 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5885 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 if test -n "$ac_tool_prefix"; then
   5894   for ac_prog in ar
   5895   do
   5896     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5899 $as_echo_n "checking for $ac_word... " >&6; }
   5900 if ${ac_cv_prog_AR+:} false; then :
   5901   $as_echo_n "(cached) " >&6
   5902 else
   5903   if test -n "$AR"; then
   5904   ac_cv_prog_AR="$AR" # Let the user override the test.
   5905 else
   5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5907 for as_dir in $PATH
   5908 do
   5909   IFS=$as_save_IFS
   5910   test -z "$as_dir" && as_dir=.
   5911     for ac_exec_ext in '' $ac_executable_extensions; do
   5912   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5913     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5915     break 2
   5916   fi
   5917 done
   5918   done
   5919 IFS=$as_save_IFS
   5920 
   5921 fi
   5922 fi
   5923 AR=$ac_cv_prog_AR
   5924 if test -n "$AR"; then
   5925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5926 $as_echo "$AR" >&6; }
   5927 else
   5928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5929 $as_echo "no" >&6; }
   5930 fi
   5931 
   5932 
   5933     test -n "$AR" && break
   5934   done
   5935 fi
   5936 if test -z "$AR"; then
   5937   ac_ct_AR=$AR
   5938   for ac_prog in ar
   5939 do
   5940   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5941 set dummy $ac_prog; ac_word=$2
   5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5943 $as_echo_n "checking for $ac_word... " >&6; }
   5944 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5945   $as_echo_n "(cached) " >&6
   5946 else
   5947   if test -n "$ac_ct_AR"; then
   5948   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5949 else
   5950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5951 for as_dir in $PATH
   5952 do
   5953   IFS=$as_save_IFS
   5954   test -z "$as_dir" && as_dir=.
   5955     for ac_exec_ext in '' $ac_executable_extensions; do
   5956   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5957     ac_cv_prog_ac_ct_AR="$ac_prog"
   5958     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5959     break 2
   5960   fi
   5961 done
   5962   done
   5963 IFS=$as_save_IFS
   5964 
   5965 fi
   5966 fi
   5967 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5968 if test -n "$ac_ct_AR"; then
   5969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5970 $as_echo "$ac_ct_AR" >&6; }
   5971 else
   5972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5973 $as_echo "no" >&6; }
   5974 fi
   5975 
   5976 
   5977   test -n "$ac_ct_AR" && break
   5978 done
   5979 
   5980   if test "x$ac_ct_AR" = x; then
   5981     AR="false"
   5982   else
   5983     case $cross_compiling:$ac_tool_warned in
   5984 yes:)
   5985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5987 ac_tool_warned=yes ;;
   5988 esac
   5989     AR=$ac_ct_AR
   5990   fi
   5991 fi
   5992 
   5993 : ${AR=ar}
   5994 : ${AR_FLAGS=cru}
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6007 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6008 if ${lt_cv_ar_at_file+:} false; then :
   6009   $as_echo_n "(cached) " >&6
   6010 else
   6011   lt_cv_ar_at_file=no
   6012    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6013 /* end confdefs.h.  */
   6014 
   6015 int
   6016 main ()
   6017 {
   6018 
   6019   ;
   6020   return 0;
   6021 }
   6022 _ACEOF
   6023 if ac_fn_c_try_compile "$LINENO"; then :
   6024   echo conftest.$ac_objext > conftest.lst
   6025       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6026       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6027   (eval $lt_ar_try) 2>&5
   6028   ac_status=$?
   6029   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6030   test $ac_status = 0; }
   6031       if test 0 -eq "$ac_status"; then
   6032 	# Ensure the archiver fails upon bogus file names.
   6033 	rm -f conftest.$ac_objext libconftest.a
   6034 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6035   (eval $lt_ar_try) 2>&5
   6036   ac_status=$?
   6037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6038   test $ac_status = 0; }
   6039 	if test 0 -ne "$ac_status"; then
   6040           lt_cv_ar_at_file=@
   6041         fi
   6042       fi
   6043       rm -f conftest.* libconftest.a
   6044 
   6045 fi
   6046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6047 
   6048 fi
   6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6050 $as_echo "$lt_cv_ar_at_file" >&6; }
   6051 
   6052 if test no = "$lt_cv_ar_at_file"; then
   6053   archiver_list_spec=
   6054 else
   6055   archiver_list_spec=$lt_cv_ar_at_file
   6056 fi
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 if test -n "$ac_tool_prefix"; then
   6065   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6066 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6068 $as_echo_n "checking for $ac_word... " >&6; }
   6069 if ${ac_cv_prog_STRIP+:} false; then :
   6070   $as_echo_n "(cached) " >&6
   6071 else
   6072   if test -n "$STRIP"; then
   6073   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6074 else
   6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6076 for as_dir in $PATH
   6077 do
   6078   IFS=$as_save_IFS
   6079   test -z "$as_dir" && as_dir=.
   6080     for ac_exec_ext in '' $ac_executable_extensions; do
   6081   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6082     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6084     break 2
   6085   fi
   6086 done
   6087   done
   6088 IFS=$as_save_IFS
   6089 
   6090 fi
   6091 fi
   6092 STRIP=$ac_cv_prog_STRIP
   6093 if test -n "$STRIP"; then
   6094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6095 $as_echo "$STRIP" >&6; }
   6096 else
   6097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6098 $as_echo "no" >&6; }
   6099 fi
   6100 
   6101 
   6102 fi
   6103 if test -z "$ac_cv_prog_STRIP"; then
   6104   ac_ct_STRIP=$STRIP
   6105   # Extract the first word of "strip", so it can be a program name with args.
   6106 set dummy strip; ac_word=$2
   6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6108 $as_echo_n "checking for $ac_word... " >&6; }
   6109 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6110   $as_echo_n "(cached) " >&6
   6111 else
   6112   if test -n "$ac_ct_STRIP"; then
   6113   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6114 else
   6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6116 for as_dir in $PATH
   6117 do
   6118   IFS=$as_save_IFS
   6119   test -z "$as_dir" && as_dir=.
   6120     for ac_exec_ext in '' $ac_executable_extensions; do
   6121   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6122     ac_cv_prog_ac_ct_STRIP="strip"
   6123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6124     break 2
   6125   fi
   6126 done
   6127   done
   6128 IFS=$as_save_IFS
   6129 
   6130 fi
   6131 fi
   6132 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6133 if test -n "$ac_ct_STRIP"; then
   6134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6135 $as_echo "$ac_ct_STRIP" >&6; }
   6136 else
   6137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6138 $as_echo "no" >&6; }
   6139 fi
   6140 
   6141   if test "x$ac_ct_STRIP" = x; then
   6142     STRIP=":"
   6143   else
   6144     case $cross_compiling:$ac_tool_warned in
   6145 yes:)
   6146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6148 ac_tool_warned=yes ;;
   6149 esac
   6150     STRIP=$ac_ct_STRIP
   6151   fi
   6152 else
   6153   STRIP="$ac_cv_prog_STRIP"
   6154 fi
   6155 
   6156 test -z "$STRIP" && STRIP=:
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 if test -n "$ac_tool_prefix"; then
   6164   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6165 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6167 $as_echo_n "checking for $ac_word... " >&6; }
   6168 if ${ac_cv_prog_RANLIB+:} false; then :
   6169   $as_echo_n "(cached) " >&6
   6170 else
   6171   if test -n "$RANLIB"; then
   6172   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6173 else
   6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6175 for as_dir in $PATH
   6176 do
   6177   IFS=$as_save_IFS
   6178   test -z "$as_dir" && as_dir=.
   6179     for ac_exec_ext in '' $ac_executable_extensions; do
   6180   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6181     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6183     break 2
   6184   fi
   6185 done
   6186   done
   6187 IFS=$as_save_IFS
   6188 
   6189 fi
   6190 fi
   6191 RANLIB=$ac_cv_prog_RANLIB
   6192 if test -n "$RANLIB"; then
   6193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6194 $as_echo "$RANLIB" >&6; }
   6195 else
   6196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6197 $as_echo "no" >&6; }
   6198 fi
   6199 
   6200 
   6201 fi
   6202 if test -z "$ac_cv_prog_RANLIB"; then
   6203   ac_ct_RANLIB=$RANLIB
   6204   # Extract the first word of "ranlib", so it can be a program name with args.
   6205 set dummy ranlib; ac_word=$2
   6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6207 $as_echo_n "checking for $ac_word... " >&6; }
   6208 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6209   $as_echo_n "(cached) " >&6
   6210 else
   6211   if test -n "$ac_ct_RANLIB"; then
   6212   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6213 else
   6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6215 for as_dir in $PATH
   6216 do
   6217   IFS=$as_save_IFS
   6218   test -z "$as_dir" && as_dir=.
   6219     for ac_exec_ext in '' $ac_executable_extensions; do
   6220   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6221     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6223     break 2
   6224   fi
   6225 done
   6226   done
   6227 IFS=$as_save_IFS
   6228 
   6229 fi
   6230 fi
   6231 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6232 if test -n "$ac_ct_RANLIB"; then
   6233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6234 $as_echo "$ac_ct_RANLIB" >&6; }
   6235 else
   6236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6237 $as_echo "no" >&6; }
   6238 fi
   6239 
   6240   if test "x$ac_ct_RANLIB" = x; then
   6241     RANLIB=":"
   6242   else
   6243     case $cross_compiling:$ac_tool_warned in
   6244 yes:)
   6245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6247 ac_tool_warned=yes ;;
   6248 esac
   6249     RANLIB=$ac_ct_RANLIB
   6250   fi
   6251 else
   6252   RANLIB="$ac_cv_prog_RANLIB"
   6253 fi
   6254 
   6255 test -z "$RANLIB" && RANLIB=:
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 # Determine commands to create old-style static archives.
   6263 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6264 old_postinstall_cmds='chmod 644 $oldlib'
   6265 old_postuninstall_cmds=
   6266 
   6267 if test -n "$RANLIB"; then
   6268   case $host_os in
   6269   bitrig* | openbsd*)
   6270     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6271     ;;
   6272   *)
   6273     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6274     ;;
   6275   esac
   6276   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6277 fi
   6278 
   6279 case $host_os in
   6280   darwin*)
   6281     lock_old_archive_extraction=yes ;;
   6282   *)
   6283     lock_old_archive_extraction=no ;;
   6284 esac
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 # If no C compiler was specified, use CC.
   6325 LTCC=${LTCC-"$CC"}
   6326 
   6327 # If no C compiler flags were specified, use CFLAGS.
   6328 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6329 
   6330 # Allow CC to be a program name with arguments.
   6331 compiler=$CC
   6332 
   6333 
   6334 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6336 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6337 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6338   $as_echo_n "(cached) " >&6
   6339 else
   6340 
   6341 # These are sane defaults that work on at least a few old systems.
   6342 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6343 
   6344 # Character class describing NM global symbol codes.
   6345 symcode='[BCDEGRST]'
   6346 
   6347 # Regexp to match symbols that can be accessed directly from C.
   6348 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6349 
   6350 # Define system-specific variables.
   6351 case $host_os in
   6352 aix*)
   6353   symcode='[BCDT]'
   6354   ;;
   6355 cygwin* | mingw* | pw32* | cegcc*)
   6356   symcode='[ABCDGISTW]'
   6357   ;;
   6358 hpux*)
   6359   if test ia64 = "$host_cpu"; then
   6360     symcode='[ABCDEGRST]'
   6361   fi
   6362   ;;
   6363 irix* | nonstopux*)
   6364   symcode='[BCDEGRST]'
   6365   ;;
   6366 osf*)
   6367   symcode='[BCDEGQRST]'
   6368   ;;
   6369 solaris*)
   6370   symcode='[BDRT]'
   6371   ;;
   6372 sco3.2v5*)
   6373   symcode='[DT]'
   6374   ;;
   6375 sysv4.2uw2*)
   6376   symcode='[DT]'
   6377   ;;
   6378 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6379   symcode='[ABDT]'
   6380   ;;
   6381 sysv4)
   6382   symcode='[DFNSTU]'
   6383   ;;
   6384 esac
   6385 
   6386 # If we're using GNU nm, then use its standard symbol codes.
   6387 case `$NM -V 2>&1` in
   6388 *GNU* | *'with BFD'*)
   6389   symcode='[ABCDGIRSTW]' ;;
   6390 esac
   6391 
   6392 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6393   # Gets list of data symbols to import.
   6394   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6395   # Adjust the below global symbol transforms to fixup imported variables.
   6396   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6397   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6398   lt_c_name_lib_hook="\
   6399   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6400   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6401 else
   6402   # Disable hooks by default.
   6403   lt_cv_sys_global_symbol_to_import=
   6404   lt_cdecl_hook=
   6405   lt_c_name_hook=
   6406   lt_c_name_lib_hook=
   6407 fi
   6408 
   6409 # Transform an extracted symbol line into a proper C declaration.
   6410 # Some systems (esp. on ia64) link data and code symbols differently,
   6411 # so use this general approach.
   6412 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6413 $lt_cdecl_hook\
   6414 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6415 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6416 
   6417 # Transform an extracted symbol line into symbol name and symbol address
   6418 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6419 $lt_c_name_hook\
   6420 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6421 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6422 
   6423 # Transform an extracted symbol line into symbol name with lib prefix and
   6424 # symbol address.
   6425 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6426 $lt_c_name_lib_hook\
   6427 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6428 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6429 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6430 
   6431 # Handle CRLF in mingw tool chain
   6432 opt_cr=
   6433 case $build_os in
   6434 mingw*)
   6435   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6436   ;;
   6437 esac
   6438 
   6439 # Try without a prefix underscore, then with it.
   6440 for ac_symprfx in "" "_"; do
   6441 
   6442   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6443   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6444 
   6445   # Write the raw and C identifiers.
   6446   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6447     # Fake it for dumpbin and say T for any non-static function,
   6448     # D for any global variable and I for any imported variable.
   6449     # Also find C++ and __fastcall symbols from MSVC++,
   6450     # which start with @ or ?.
   6451     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6452 "     {last_section=section; section=\$ 3};"\
   6453 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6454 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6455 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6456 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6457 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6458 "     \$ 0!~/External *\|/{next};"\
   6459 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6460 "     {if(hide[section]) next};"\
   6461 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6462 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6463 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6464 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6465 "     ' prfx=^$ac_symprfx"
   6466   else
   6467     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6468   fi
   6469   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6470 
   6471   # Check to see that the pipe works correctly.
   6472   pipe_works=no
   6473 
   6474   rm -f conftest*
   6475   cat > conftest.$ac_ext <<_LT_EOF
   6476 #ifdef __cplusplus
   6477 extern "C" {
   6478 #endif
   6479 char nm_test_var;
   6480 void nm_test_func(void);
   6481 void nm_test_func(void){}
   6482 #ifdef __cplusplus
   6483 }
   6484 #endif
   6485 int main(){nm_test_var='a';nm_test_func();return(0);}
   6486 _LT_EOF
   6487 
   6488   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6489   (eval $ac_compile) 2>&5
   6490   ac_status=$?
   6491   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6492   test $ac_status = 0; }; then
   6493     # Now try to grab the symbols.
   6494     nlist=conftest.nm
   6495     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6496   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6497   ac_status=$?
   6498   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6499   test $ac_status = 0; } && test -s "$nlist"; then
   6500       # Try sorting and uniquifying the output.
   6501       if sort "$nlist" | uniq > "$nlist"T; then
   6502 	mv -f "$nlist"T "$nlist"
   6503       else
   6504 	rm -f "$nlist"T
   6505       fi
   6506 
   6507       # Make sure that we snagged all the symbols we need.
   6508       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6509 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6510 	  cat <<_LT_EOF > conftest.$ac_ext
   6511 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6512 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6513 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6514    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6515 # define LT_DLSYM_CONST
   6516 #elif defined __osf__
   6517 /* This system does not cope well with relocations in const data.  */
   6518 # define LT_DLSYM_CONST
   6519 #else
   6520 # define LT_DLSYM_CONST const
   6521 #endif
   6522 
   6523 #ifdef __cplusplus
   6524 extern "C" {
   6525 #endif
   6526 
   6527 _LT_EOF
   6528 	  # Now generate the symbol file.
   6529 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6530 
   6531 	  cat <<_LT_EOF >> conftest.$ac_ext
   6532 
   6533 /* The mapping between symbol names and symbols.  */
   6534 LT_DLSYM_CONST struct {
   6535   const char *name;
   6536   void       *address;
   6537 }
   6538 lt__PROGRAM__LTX_preloaded_symbols[] =
   6539 {
   6540   { "@PROGRAM@", (void *) 0 },
   6541 _LT_EOF
   6542 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6543 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6544   {0, (void *) 0}
   6545 };
   6546 
   6547 /* This works around a problem in FreeBSD linker */
   6548 #ifdef FREEBSD_WORKAROUND
   6549 static const void *lt_preloaded_setup() {
   6550   return lt__PROGRAM__LTX_preloaded_symbols;
   6551 }
   6552 #endif
   6553 
   6554 #ifdef __cplusplus
   6555 }
   6556 #endif
   6557 _LT_EOF
   6558 	  # Now try linking the two files.
   6559 	  mv conftest.$ac_objext conftstm.$ac_objext
   6560 	  lt_globsym_save_LIBS=$LIBS
   6561 	  lt_globsym_save_CFLAGS=$CFLAGS
   6562 	  LIBS=conftstm.$ac_objext
   6563 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6564 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6565   (eval $ac_link) 2>&5
   6566   ac_status=$?
   6567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6568   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6569 	    pipe_works=yes
   6570 	  fi
   6571 	  LIBS=$lt_globsym_save_LIBS
   6572 	  CFLAGS=$lt_globsym_save_CFLAGS
   6573 	else
   6574 	  echo "cannot find nm_test_func in $nlist" >&5
   6575 	fi
   6576       else
   6577 	echo "cannot find nm_test_var in $nlist" >&5
   6578       fi
   6579     else
   6580       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6581     fi
   6582   else
   6583     echo "$progname: failed program was:" >&5
   6584     cat conftest.$ac_ext >&5
   6585   fi
   6586   rm -rf conftest* conftst*
   6587 
   6588   # Do not use the global_symbol_pipe unless it works.
   6589   if test yes = "$pipe_works"; then
   6590     break
   6591   else
   6592     lt_cv_sys_global_symbol_pipe=
   6593   fi
   6594 done
   6595 
   6596 fi
   6597 
   6598 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6599   lt_cv_sys_global_symbol_to_cdecl=
   6600 fi
   6601 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6603 $as_echo "failed" >&6; }
   6604 else
   6605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6606 $as_echo "ok" >&6; }
   6607 fi
   6608 
   6609 # Response file support.
   6610 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6611   nm_file_list_spec='@'
   6612 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6613   nm_file_list_spec='@'
   6614 fi
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6653 $as_echo_n "checking for sysroot... " >&6; }
   6654 
   6655 # Check whether --with-sysroot was given.
   6656 if test "${with_sysroot+set}" = set; then :
   6657   withval=$with_sysroot;
   6658 else
   6659   with_sysroot=no
   6660 fi
   6661 
   6662 
   6663 lt_sysroot=
   6664 case $with_sysroot in #(
   6665  yes)
   6666    if test yes = "$GCC"; then
   6667      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6668    fi
   6669    ;; #(
   6670  /*)
   6671    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6672    ;; #(
   6673  no|'')
   6674    ;; #(
   6675  *)
   6676    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6677 $as_echo "$with_sysroot" >&6; }
   6678    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6679    ;;
   6680 esac
   6681 
   6682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6683 $as_echo "${lt_sysroot:-no}" >&6; }
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6690 $as_echo_n "checking for a working dd... " >&6; }
   6691 if ${ac_cv_path_lt_DD+:} false; then :
   6692   $as_echo_n "(cached) " >&6
   6693 else
   6694   printf 0123456789abcdef0123456789abcdef >conftest.i
   6695 cat conftest.i conftest.i >conftest2.i
   6696 : ${lt_DD:=$DD}
   6697 if test -z "$lt_DD"; then
   6698   ac_path_lt_DD_found=false
   6699   # Loop through the user's path and test for each of PROGNAME-LIST
   6700   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6701 for as_dir in $PATH
   6702 do
   6703   IFS=$as_save_IFS
   6704   test -z "$as_dir" && as_dir=.
   6705     for ac_prog in dd; do
   6706     for ac_exec_ext in '' $ac_executable_extensions; do
   6707       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6708       as_fn_executable_p "$ac_path_lt_DD" || continue
   6709 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6710   cmp -s conftest.i conftest.out \
   6711   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6712 fi
   6713       $ac_path_lt_DD_found && break 3
   6714     done
   6715   done
   6716   done
   6717 IFS=$as_save_IFS
   6718   if test -z "$ac_cv_path_lt_DD"; then
   6719     :
   6720   fi
   6721 else
   6722   ac_cv_path_lt_DD=$lt_DD
   6723 fi
   6724 
   6725 rm -f conftest.i conftest2.i conftest.out
   6726 fi
   6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6728 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6729 
   6730 
   6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6732 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6733 if ${lt_cv_truncate_bin+:} false; then :
   6734   $as_echo_n "(cached) " >&6
   6735 else
   6736   printf 0123456789abcdef0123456789abcdef >conftest.i
   6737 cat conftest.i conftest.i >conftest2.i
   6738 lt_cv_truncate_bin=
   6739 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6740   cmp -s conftest.i conftest.out \
   6741   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6742 fi
   6743 rm -f conftest.i conftest2.i conftest.out
   6744 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6745 fi
   6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6747 $as_echo "$lt_cv_truncate_bin" >&6; }
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6756 func_cc_basename ()
   6757 {
   6758     for cc_temp in $*""; do
   6759       case $cc_temp in
   6760         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6761         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6762         \-*) ;;
   6763         *) break;;
   6764       esac
   6765     done
   6766     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6767 }
   6768 
   6769 # Check whether --enable-libtool-lock was given.
   6770 if test "${enable_libtool_lock+set}" = set; then :
   6771   enableval=$enable_libtool_lock;
   6772 fi
   6773 
   6774 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   6775 
   6776 # Some flags need to be propagated to the compiler or linker for good
   6777 # libtool support.
   6778 case $host in
   6779 ia64-*-hpux*)
   6780   # Find out what ABI is being produced by ac_compile, and set mode
   6781   # options accordingly.
   6782   echo 'int i;' > conftest.$ac_ext
   6783   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6784   (eval $ac_compile) 2>&5
   6785   ac_status=$?
   6786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6787   test $ac_status = 0; }; then
   6788     case `/usr/bin/file conftest.$ac_objext` in
   6789       *ELF-32*)
   6790 	HPUX_IA64_MODE=32
   6791 	;;
   6792       *ELF-64*)
   6793 	HPUX_IA64_MODE=64
   6794 	;;
   6795     esac
   6796   fi
   6797   rm -rf conftest*
   6798   ;;
   6799 *-*-irix6*)
   6800   # Find out what ABI is being produced by ac_compile, and set linker
   6801   # options accordingly.
   6802   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6803   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6804   (eval $ac_compile) 2>&5
   6805   ac_status=$?
   6806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6807   test $ac_status = 0; }; then
   6808     if test yes = "$lt_cv_prog_gnu_ld"; then
   6809       case `/usr/bin/file conftest.$ac_objext` in
   6810 	*32-bit*)
   6811 	  LD="${LD-ld} -melf32bsmip"
   6812 	  ;;
   6813 	*N32*)
   6814 	  LD="${LD-ld} -melf32bmipn32"
   6815 	  ;;
   6816 	*64-bit*)
   6817 	  LD="${LD-ld} -melf64bmip"
   6818 	;;
   6819       esac
   6820     else
   6821       case `/usr/bin/file conftest.$ac_objext` in
   6822 	*32-bit*)
   6823 	  LD="${LD-ld} -32"
   6824 	  ;;
   6825 	*N32*)
   6826 	  LD="${LD-ld} -n32"
   6827 	  ;;
   6828 	*64-bit*)
   6829 	  LD="${LD-ld} -64"
   6830 	  ;;
   6831       esac
   6832     fi
   6833   fi
   6834   rm -rf conftest*
   6835   ;;
   6836 
   6837 mips64*-*linux*)
   6838   # Find out what ABI is being produced by ac_compile, and set linker
   6839   # options accordingly.
   6840   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6841   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6842   (eval $ac_compile) 2>&5
   6843   ac_status=$?
   6844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6845   test $ac_status = 0; }; then
   6846     emul=elf
   6847     case `/usr/bin/file conftest.$ac_objext` in
   6848       *32-bit*)
   6849 	emul="${emul}32"
   6850 	;;
   6851       *64-bit*)
   6852 	emul="${emul}64"
   6853 	;;
   6854     esac
   6855     case `/usr/bin/file conftest.$ac_objext` in
   6856       *MSB*)
   6857 	emul="${emul}btsmip"
   6858 	;;
   6859       *LSB*)
   6860 	emul="${emul}ltsmip"
   6861 	;;
   6862     esac
   6863     case `/usr/bin/file conftest.$ac_objext` in
   6864       *N32*)
   6865 	emul="${emul}n32"
   6866 	;;
   6867     esac
   6868     LD="${LD-ld} -m $emul"
   6869   fi
   6870   rm -rf conftest*
   6871   ;;
   6872 
   6873 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6874 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6875   # Find out what ABI is being produced by ac_compile, and set linker
   6876   # options accordingly.  Note that the listed cases only cover the
   6877   # situations where additional linker options are needed (such as when
   6878   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   6879   # vice versa); the common cases where no linker options are needed do
   6880   # not appear in the list.
   6881   echo 'int i;' > conftest.$ac_ext
   6882   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6883   (eval $ac_compile) 2>&5
   6884   ac_status=$?
   6885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6886   test $ac_status = 0; }; then
   6887     case `/usr/bin/file conftest.o` in
   6888       *32-bit*)
   6889 	case $host in
   6890 	  x86_64-*kfreebsd*-gnu)
   6891 	    LD="${LD-ld} -m elf_i386_fbsd"
   6892 	    ;;
   6893 	  x86_64-*linux*)
   6894 	    case `/usr/bin/file conftest.o` in
   6895 	      *x86-64*)
   6896 		LD="${LD-ld} -m elf32_x86_64"
   6897 		;;
   6898 	      *)
   6899 		LD="${LD-ld} -m elf_i386"
   6900 		;;
   6901 	    esac
   6902 	    ;;
   6903 	  powerpc64le-*linux*)
   6904 	    LD="${LD-ld} -m elf32lppclinux"
   6905 	    ;;
   6906 	  powerpc64-*linux*)
   6907 	    LD="${LD-ld} -m elf32ppclinux"
   6908 	    ;;
   6909 	  s390x-*linux*)
   6910 	    LD="${LD-ld} -m elf_s390"
   6911 	    ;;
   6912 	  sparc64-*linux*)
   6913 	    LD="${LD-ld} -m elf32_sparc"
   6914 	    ;;
   6915 	esac
   6916 	;;
   6917       *64-bit*)
   6918 	case $host in
   6919 	  x86_64-*kfreebsd*-gnu)
   6920 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6921 	    ;;
   6922 	  x86_64-*linux*)
   6923 	    LD="${LD-ld} -m elf_x86_64"
   6924 	    ;;
   6925 	  powerpcle-*linux*)
   6926 	    LD="${LD-ld} -m elf64lppc"
   6927 	    ;;
   6928 	  powerpc-*linux*)
   6929 	    LD="${LD-ld} -m elf64ppc"
   6930 	    ;;
   6931 	  s390*-*linux*|s390*-*tpf*)
   6932 	    LD="${LD-ld} -m elf64_s390"
   6933 	    ;;
   6934 	  sparc*-*linux*)
   6935 	    LD="${LD-ld} -m elf64_sparc"
   6936 	    ;;
   6937 	esac
   6938 	;;
   6939     esac
   6940   fi
   6941   rm -rf conftest*
   6942   ;;
   6943 
   6944 *-*-sco3.2v5*)
   6945   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6946   SAVE_CFLAGS=$CFLAGS
   6947   CFLAGS="$CFLAGS -belf"
   6948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6949 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6950 if ${lt_cv_cc_needs_belf+:} false; then :
   6951   $as_echo_n "(cached) " >&6
   6952 else
   6953   ac_ext=c
   6954 ac_cpp='$CPP $CPPFLAGS'
   6955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6958 
   6959      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6960 /* end confdefs.h.  */
   6961 
   6962 int
   6963 main ()
   6964 {
   6965 
   6966   ;
   6967   return 0;
   6968 }
   6969 _ACEOF
   6970 if ac_fn_c_try_link "$LINENO"; then :
   6971   lt_cv_cc_needs_belf=yes
   6972 else
   6973   lt_cv_cc_needs_belf=no
   6974 fi
   6975 rm -f core conftest.err conftest.$ac_objext \
   6976     conftest$ac_exeext conftest.$ac_ext
   6977      ac_ext=c
   6978 ac_cpp='$CPP $CPPFLAGS'
   6979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6982 
   6983 fi
   6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6985 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6986   if test yes != "$lt_cv_cc_needs_belf"; then
   6987     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6988     CFLAGS=$SAVE_CFLAGS
   6989   fi
   6990   ;;
   6991 *-*solaris*)
   6992   # Find out what ABI is being produced by ac_compile, and set linker
   6993   # options accordingly.
   6994   echo 'int i;' > conftest.$ac_ext
   6995   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6996   (eval $ac_compile) 2>&5
   6997   ac_status=$?
   6998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6999   test $ac_status = 0; }; then
   7000     case `/usr/bin/file conftest.o` in
   7001     *64-bit*)
   7002       case $lt_cv_prog_gnu_ld in
   7003       yes*)
   7004         case $host in
   7005         i?86-*-solaris*|x86_64-*-solaris*)
   7006           LD="${LD-ld} -m elf_x86_64"
   7007           ;;
   7008         sparc*-*-solaris*)
   7009           LD="${LD-ld} -m elf64_sparc"
   7010           ;;
   7011         esac
   7012         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7013         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7014           LD=${LD-ld}_sol2
   7015         fi
   7016         ;;
   7017       *)
   7018 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7019 	  LD="${LD-ld} -64"
   7020 	fi
   7021 	;;
   7022       esac
   7023       ;;
   7024     esac
   7025   fi
   7026   rm -rf conftest*
   7027   ;;
   7028 esac
   7029 
   7030 need_locks=$enable_libtool_lock
   7031 
   7032 if test -n "$ac_tool_prefix"; then
   7033   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7034 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7036 $as_echo_n "checking for $ac_word... " >&6; }
   7037 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7038   $as_echo_n "(cached) " >&6
   7039 else
   7040   if test -n "$MANIFEST_TOOL"; then
   7041   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7042 else
   7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7044 for as_dir in $PATH
   7045 do
   7046   IFS=$as_save_IFS
   7047   test -z "$as_dir" && as_dir=.
   7048     for ac_exec_ext in '' $ac_executable_extensions; do
   7049   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7050     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7052     break 2
   7053   fi
   7054 done
   7055   done
   7056 IFS=$as_save_IFS
   7057 
   7058 fi
   7059 fi
   7060 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7061 if test -n "$MANIFEST_TOOL"; then
   7062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7063 $as_echo "$MANIFEST_TOOL" >&6; }
   7064 else
   7065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7066 $as_echo "no" >&6; }
   7067 fi
   7068 
   7069 
   7070 fi
   7071 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7072   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7073   # Extract the first word of "mt", so it can be a program name with args.
   7074 set dummy mt; ac_word=$2
   7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7076 $as_echo_n "checking for $ac_word... " >&6; }
   7077 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7078   $as_echo_n "(cached) " >&6
   7079 else
   7080   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7081   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7082 else
   7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7084 for as_dir in $PATH
   7085 do
   7086   IFS=$as_save_IFS
   7087   test -z "$as_dir" && as_dir=.
   7088     for ac_exec_ext in '' $ac_executable_extensions; do
   7089   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7090     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7092     break 2
   7093   fi
   7094 done
   7095   done
   7096 IFS=$as_save_IFS
   7097 
   7098 fi
   7099 fi
   7100 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7101 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7103 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7104 else
   7105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7106 $as_echo "no" >&6; }
   7107 fi
   7108 
   7109   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7110     MANIFEST_TOOL=":"
   7111   else
   7112     case $cross_compiling:$ac_tool_warned in
   7113 yes:)
   7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7116 ac_tool_warned=yes ;;
   7117 esac
   7118     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7119   fi
   7120 else
   7121   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7122 fi
   7123 
   7124 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7126 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7127 if ${lt_cv_path_mainfest_tool+:} false; then :
   7128   $as_echo_n "(cached) " >&6
   7129 else
   7130   lt_cv_path_mainfest_tool=no
   7131   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7132   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7133   cat conftest.err >&5
   7134   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7135     lt_cv_path_mainfest_tool=yes
   7136   fi
   7137   rm -f conftest*
   7138 fi
   7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7140 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7141 if test yes != "$lt_cv_path_mainfest_tool"; then
   7142   MANIFEST_TOOL=:
   7143 fi
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 
   7150   case $host_os in
   7151     rhapsody* | darwin*)
   7152     if test -n "$ac_tool_prefix"; then
   7153   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7154 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7156 $as_echo_n "checking for $ac_word... " >&6; }
   7157 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7158   $as_echo_n "(cached) " >&6
   7159 else
   7160   if test -n "$DSYMUTIL"; then
   7161   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7162 else
   7163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7164 for as_dir in $PATH
   7165 do
   7166   IFS=$as_save_IFS
   7167   test -z "$as_dir" && as_dir=.
   7168     for ac_exec_ext in '' $ac_executable_extensions; do
   7169   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7170     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7172     break 2
   7173   fi
   7174 done
   7175   done
   7176 IFS=$as_save_IFS
   7177 
   7178 fi
   7179 fi
   7180 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7181 if test -n "$DSYMUTIL"; then
   7182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7183 $as_echo "$DSYMUTIL" >&6; }
   7184 else
   7185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7186 $as_echo "no" >&6; }
   7187 fi
   7188 
   7189 
   7190 fi
   7191 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7192   ac_ct_DSYMUTIL=$DSYMUTIL
   7193   # Extract the first word of "dsymutil", so it can be a program name with args.
   7194 set dummy dsymutil; ac_word=$2
   7195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7196 $as_echo_n "checking for $ac_word... " >&6; }
   7197 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7198   $as_echo_n "(cached) " >&6
   7199 else
   7200   if test -n "$ac_ct_DSYMUTIL"; then
   7201   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7202 else
   7203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7204 for as_dir in $PATH
   7205 do
   7206   IFS=$as_save_IFS
   7207   test -z "$as_dir" && as_dir=.
   7208     for ac_exec_ext in '' $ac_executable_extensions; do
   7209   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7210     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7212     break 2
   7213   fi
   7214 done
   7215   done
   7216 IFS=$as_save_IFS
   7217 
   7218 fi
   7219 fi
   7220 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7221 if test -n "$ac_ct_DSYMUTIL"; then
   7222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7223 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7224 else
   7225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7226 $as_echo "no" >&6; }
   7227 fi
   7228 
   7229   if test "x$ac_ct_DSYMUTIL" = x; then
   7230     DSYMUTIL=":"
   7231   else
   7232     case $cross_compiling:$ac_tool_warned in
   7233 yes:)
   7234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7236 ac_tool_warned=yes ;;
   7237 esac
   7238     DSYMUTIL=$ac_ct_DSYMUTIL
   7239   fi
   7240 else
   7241   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7242 fi
   7243 
   7244     if test -n "$ac_tool_prefix"; then
   7245   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7246 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7248 $as_echo_n "checking for $ac_word... " >&6; }
   7249 if ${ac_cv_prog_NMEDIT+:} false; then :
   7250   $as_echo_n "(cached) " >&6
   7251 else
   7252   if test -n "$NMEDIT"; then
   7253   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7254 else
   7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7256 for as_dir in $PATH
   7257 do
   7258   IFS=$as_save_IFS
   7259   test -z "$as_dir" && as_dir=.
   7260     for ac_exec_ext in '' $ac_executable_extensions; do
   7261   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7262     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7263     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7264     break 2
   7265   fi
   7266 done
   7267   done
   7268 IFS=$as_save_IFS
   7269 
   7270 fi
   7271 fi
   7272 NMEDIT=$ac_cv_prog_NMEDIT
   7273 if test -n "$NMEDIT"; then
   7274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7275 $as_echo "$NMEDIT" >&6; }
   7276 else
   7277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7278 $as_echo "no" >&6; }
   7279 fi
   7280 
   7281 
   7282 fi
   7283 if test -z "$ac_cv_prog_NMEDIT"; then
   7284   ac_ct_NMEDIT=$NMEDIT
   7285   # Extract the first word of "nmedit", so it can be a program name with args.
   7286 set dummy nmedit; ac_word=$2
   7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7288 $as_echo_n "checking for $ac_word... " >&6; }
   7289 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7290   $as_echo_n "(cached) " >&6
   7291 else
   7292   if test -n "$ac_ct_NMEDIT"; then
   7293   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7294 else
   7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7296 for as_dir in $PATH
   7297 do
   7298   IFS=$as_save_IFS
   7299   test -z "$as_dir" && as_dir=.
   7300     for ac_exec_ext in '' $ac_executable_extensions; do
   7301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7302     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7304     break 2
   7305   fi
   7306 done
   7307   done
   7308 IFS=$as_save_IFS
   7309 
   7310 fi
   7311 fi
   7312 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7313 if test -n "$ac_ct_NMEDIT"; then
   7314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7315 $as_echo "$ac_ct_NMEDIT" >&6; }
   7316 else
   7317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7318 $as_echo "no" >&6; }
   7319 fi
   7320 
   7321   if test "x$ac_ct_NMEDIT" = x; then
   7322     NMEDIT=":"
   7323   else
   7324     case $cross_compiling:$ac_tool_warned in
   7325 yes:)
   7326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7328 ac_tool_warned=yes ;;
   7329 esac
   7330     NMEDIT=$ac_ct_NMEDIT
   7331   fi
   7332 else
   7333   NMEDIT="$ac_cv_prog_NMEDIT"
   7334 fi
   7335 
   7336     if test -n "$ac_tool_prefix"; then
   7337   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7338 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7340 $as_echo_n "checking for $ac_word... " >&6; }
   7341 if ${ac_cv_prog_LIPO+:} false; then :
   7342   $as_echo_n "(cached) " >&6
   7343 else
   7344   if test -n "$LIPO"; then
   7345   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7346 else
   7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7348 for as_dir in $PATH
   7349 do
   7350   IFS=$as_save_IFS
   7351   test -z "$as_dir" && as_dir=.
   7352     for ac_exec_ext in '' $ac_executable_extensions; do
   7353   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7354     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7356     break 2
   7357   fi
   7358 done
   7359   done
   7360 IFS=$as_save_IFS
   7361 
   7362 fi
   7363 fi
   7364 LIPO=$ac_cv_prog_LIPO
   7365 if test -n "$LIPO"; then
   7366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7367 $as_echo "$LIPO" >&6; }
   7368 else
   7369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7370 $as_echo "no" >&6; }
   7371 fi
   7372 
   7373 
   7374 fi
   7375 if test -z "$ac_cv_prog_LIPO"; then
   7376   ac_ct_LIPO=$LIPO
   7377   # Extract the first word of "lipo", so it can be a program name with args.
   7378 set dummy lipo; ac_word=$2
   7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7380 $as_echo_n "checking for $ac_word... " >&6; }
   7381 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7382   $as_echo_n "(cached) " >&6
   7383 else
   7384   if test -n "$ac_ct_LIPO"; then
   7385   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7386 else
   7387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7388 for as_dir in $PATH
   7389 do
   7390   IFS=$as_save_IFS
   7391   test -z "$as_dir" && as_dir=.
   7392     for ac_exec_ext in '' $ac_executable_extensions; do
   7393   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7394     ac_cv_prog_ac_ct_LIPO="lipo"
   7395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7396     break 2
   7397   fi
   7398 done
   7399   done
   7400 IFS=$as_save_IFS
   7401 
   7402 fi
   7403 fi
   7404 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7405 if test -n "$ac_ct_LIPO"; then
   7406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7407 $as_echo "$ac_ct_LIPO" >&6; }
   7408 else
   7409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7410 $as_echo "no" >&6; }
   7411 fi
   7412 
   7413   if test "x$ac_ct_LIPO" = x; then
   7414     LIPO=":"
   7415   else
   7416     case $cross_compiling:$ac_tool_warned in
   7417 yes:)
   7418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7420 ac_tool_warned=yes ;;
   7421 esac
   7422     LIPO=$ac_ct_LIPO
   7423   fi
   7424 else
   7425   LIPO="$ac_cv_prog_LIPO"
   7426 fi
   7427 
   7428     if test -n "$ac_tool_prefix"; then
   7429   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7430 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7432 $as_echo_n "checking for $ac_word... " >&6; }
   7433 if ${ac_cv_prog_OTOOL+:} false; then :
   7434   $as_echo_n "(cached) " >&6
   7435 else
   7436   if test -n "$OTOOL"; then
   7437   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7438 else
   7439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7440 for as_dir in $PATH
   7441 do
   7442   IFS=$as_save_IFS
   7443   test -z "$as_dir" && as_dir=.
   7444     for ac_exec_ext in '' $ac_executable_extensions; do
   7445   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7446     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7448     break 2
   7449   fi
   7450 done
   7451   done
   7452 IFS=$as_save_IFS
   7453 
   7454 fi
   7455 fi
   7456 OTOOL=$ac_cv_prog_OTOOL
   7457 if test -n "$OTOOL"; then
   7458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7459 $as_echo "$OTOOL" >&6; }
   7460 else
   7461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7462 $as_echo "no" >&6; }
   7463 fi
   7464 
   7465 
   7466 fi
   7467 if test -z "$ac_cv_prog_OTOOL"; then
   7468   ac_ct_OTOOL=$OTOOL
   7469   # Extract the first word of "otool", so it can be a program name with args.
   7470 set dummy otool; ac_word=$2
   7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7472 $as_echo_n "checking for $ac_word... " >&6; }
   7473 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7474   $as_echo_n "(cached) " >&6
   7475 else
   7476   if test -n "$ac_ct_OTOOL"; then
   7477   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7478 else
   7479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7480 for as_dir in $PATH
   7481 do
   7482   IFS=$as_save_IFS
   7483   test -z "$as_dir" && as_dir=.
   7484     for ac_exec_ext in '' $ac_executable_extensions; do
   7485   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7486     ac_cv_prog_ac_ct_OTOOL="otool"
   7487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7488     break 2
   7489   fi
   7490 done
   7491   done
   7492 IFS=$as_save_IFS
   7493 
   7494 fi
   7495 fi
   7496 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7497 if test -n "$ac_ct_OTOOL"; then
   7498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7499 $as_echo "$ac_ct_OTOOL" >&6; }
   7500 else
   7501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7502 $as_echo "no" >&6; }
   7503 fi
   7504 
   7505   if test "x$ac_ct_OTOOL" = x; then
   7506     OTOOL=":"
   7507   else
   7508     case $cross_compiling:$ac_tool_warned in
   7509 yes:)
   7510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7512 ac_tool_warned=yes ;;
   7513 esac
   7514     OTOOL=$ac_ct_OTOOL
   7515   fi
   7516 else
   7517   OTOOL="$ac_cv_prog_OTOOL"
   7518 fi
   7519 
   7520     if test -n "$ac_tool_prefix"; then
   7521   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7522 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7524 $as_echo_n "checking for $ac_word... " >&6; }
   7525 if ${ac_cv_prog_OTOOL64+:} false; then :
   7526   $as_echo_n "(cached) " >&6
   7527 else
   7528   if test -n "$OTOOL64"; then
   7529   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7530 else
   7531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7532 for as_dir in $PATH
   7533 do
   7534   IFS=$as_save_IFS
   7535   test -z "$as_dir" && as_dir=.
   7536     for ac_exec_ext in '' $ac_executable_extensions; do
   7537   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7538     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7540     break 2
   7541   fi
   7542 done
   7543   done
   7544 IFS=$as_save_IFS
   7545 
   7546 fi
   7547 fi
   7548 OTOOL64=$ac_cv_prog_OTOOL64
   7549 if test -n "$OTOOL64"; then
   7550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7551 $as_echo "$OTOOL64" >&6; }
   7552 else
   7553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7554 $as_echo "no" >&6; }
   7555 fi
   7556 
   7557 
   7558 fi
   7559 if test -z "$ac_cv_prog_OTOOL64"; then
   7560   ac_ct_OTOOL64=$OTOOL64
   7561   # Extract the first word of "otool64", so it can be a program name with args.
   7562 set dummy otool64; ac_word=$2
   7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7564 $as_echo_n "checking for $ac_word... " >&6; }
   7565 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7566   $as_echo_n "(cached) " >&6
   7567 else
   7568   if test -n "$ac_ct_OTOOL64"; then
   7569   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7570 else
   7571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7572 for as_dir in $PATH
   7573 do
   7574   IFS=$as_save_IFS
   7575   test -z "$as_dir" && as_dir=.
   7576     for ac_exec_ext in '' $ac_executable_extensions; do
   7577   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7578     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7580     break 2
   7581   fi
   7582 done
   7583   done
   7584 IFS=$as_save_IFS
   7585 
   7586 fi
   7587 fi
   7588 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7589 if test -n "$ac_ct_OTOOL64"; then
   7590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7591 $as_echo "$ac_ct_OTOOL64" >&6; }
   7592 else
   7593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7594 $as_echo "no" >&6; }
   7595 fi
   7596 
   7597   if test "x$ac_ct_OTOOL64" = x; then
   7598     OTOOL64=":"
   7599   else
   7600     case $cross_compiling:$ac_tool_warned in
   7601 yes:)
   7602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7604 ac_tool_warned=yes ;;
   7605 esac
   7606     OTOOL64=$ac_ct_OTOOL64
   7607   fi
   7608 else
   7609   OTOOL64="$ac_cv_prog_OTOOL64"
   7610 fi
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7639 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7640 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7641   $as_echo_n "(cached) " >&6
   7642 else
   7643   lt_cv_apple_cc_single_mod=no
   7644       if test -z "$LT_MULTI_MODULE"; then
   7645 	# By default we will add the -single_module flag. You can override
   7646 	# by either setting the environment variable LT_MULTI_MODULE
   7647 	# non-empty at configure time, or by adding -multi_module to the
   7648 	# link flags.
   7649 	rm -rf libconftest.dylib*
   7650 	echo "int foo(void){return 1;}" > conftest.c
   7651 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7652 -dynamiclib -Wl,-single_module conftest.c" >&5
   7653 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7654 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7655         _lt_result=$?
   7656 	# If there is a non-empty error log, and "single_module"
   7657 	# appears in it, assume the flag caused a linker warning
   7658         if test -s conftest.err && $GREP single_module conftest.err; then
   7659 	  cat conftest.err >&5
   7660 	# Otherwise, if the output was created with a 0 exit code from
   7661 	# the compiler, it worked.
   7662 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7663 	  lt_cv_apple_cc_single_mod=yes
   7664 	else
   7665 	  cat conftest.err >&5
   7666 	fi
   7667 	rm -rf libconftest.dylib*
   7668 	rm -f conftest.*
   7669       fi
   7670 fi
   7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7672 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7673 
   7674     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7675 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7676 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7677   $as_echo_n "(cached) " >&6
   7678 else
   7679   lt_cv_ld_exported_symbols_list=no
   7680       save_LDFLAGS=$LDFLAGS
   7681       echo "_main" > conftest.sym
   7682       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7684 /* end confdefs.h.  */
   7685 
   7686 int
   7687 main ()
   7688 {
   7689 
   7690   ;
   7691   return 0;
   7692 }
   7693 _ACEOF
   7694 if ac_fn_c_try_link "$LINENO"; then :
   7695   lt_cv_ld_exported_symbols_list=yes
   7696 else
   7697   lt_cv_ld_exported_symbols_list=no
   7698 fi
   7699 rm -f core conftest.err conftest.$ac_objext \
   7700     conftest$ac_exeext conftest.$ac_ext
   7701 	LDFLAGS=$save_LDFLAGS
   7702 
   7703 fi
   7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7705 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7706 
   7707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7708 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7709 if ${lt_cv_ld_force_load+:} false; then :
   7710   $as_echo_n "(cached) " >&6
   7711 else
   7712   lt_cv_ld_force_load=no
   7713       cat > conftest.c << _LT_EOF
   7714 int forced_loaded() { return 2;}
   7715 _LT_EOF
   7716       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7717       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7718       echo "$AR cru libconftest.a conftest.o" >&5
   7719       $AR cru libconftest.a conftest.o 2>&5
   7720       echo "$RANLIB libconftest.a" >&5
   7721       $RANLIB libconftest.a 2>&5
   7722       cat > conftest.c << _LT_EOF
   7723 int main() { return 0;}
   7724 _LT_EOF
   7725       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7726       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7727       _lt_result=$?
   7728       if test -s conftest.err && $GREP force_load conftest.err; then
   7729 	cat conftest.err >&5
   7730       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7731 	lt_cv_ld_force_load=yes
   7732       else
   7733 	cat conftest.err >&5
   7734       fi
   7735         rm -f conftest.err libconftest.a conftest conftest.c
   7736         rm -rf conftest.dSYM
   7737 
   7738 fi
   7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7740 $as_echo "$lt_cv_ld_force_load" >&6; }
   7741     case $host_os in
   7742     rhapsody* | darwin1.[012])
   7743       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7744     darwin1.*)
   7745       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7746     darwin*) # darwin 5.x on
   7747       # if running on 10.5 or later, the deployment target defaults
   7748       # to the OS version, if on x86, and 10.4, the deployment
   7749       # target defaults to 10.4. Don't you love it?
   7750       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7751 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7752 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7753 	10.[012][,.]*)
   7754 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7755 	10.*)
   7756 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7757       esac
   7758     ;;
   7759   esac
   7760     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7761       _lt_dar_single_mod='$single_module'
   7762     fi
   7763     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7764       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7765     else
   7766       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7767     fi
   7768     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7769       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7770     else
   7771       _lt_dsymutil=
   7772     fi
   7773     ;;
   7774   esac
   7775 
   7776 # func_munge_path_list VARIABLE PATH
   7777 # -----------------------------------
   7778 # VARIABLE is name of variable containing _space_ separated list of
   7779 # directories to be munged by the contents of PATH, which is string
   7780 # having a format:
   7781 # "DIR[:DIR]:"
   7782 #       string "DIR[ DIR]" will be prepended to VARIABLE
   7783 # ":DIR[:DIR]"
   7784 #       string "DIR[ DIR]" will be appended to VARIABLE
   7785 # "DIRP[:DIRP]::[DIRA:]DIRA"
   7786 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   7787 #       "DIRA[ DIRA]" will be appended to VARIABLE
   7788 # "DIR[:DIR]"
   7789 #       VARIABLE will be replaced by "DIR[ DIR]"
   7790 func_munge_path_list ()
   7791 {
   7792     case x$2 in
   7793     x)
   7794         ;;
   7795     *:)
   7796         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   7797         ;;
   7798     x:*)
   7799         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   7800         ;;
   7801     *::*)
   7802         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   7803         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   7804         ;;
   7805     *)
   7806         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   7807         ;;
   7808     esac
   7809 }
   7810 
   7811 for ac_header in dlfcn.h
   7812 do :
   7813   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7814 "
   7815 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7816   cat >>confdefs.h <<_ACEOF
   7817 #define HAVE_DLFCN_H 1
   7818 _ACEOF
   7819 
   7820 fi
   7821 
   7822 done
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 # Set options
   7829 
   7830 
   7831 
   7832         enable_dlopen=no
   7833 
   7834 
   7835   enable_win32_dll=no
   7836 
   7837 
   7838             # Check whether --enable-shared was given.
   7839 if test "${enable_shared+set}" = set; then :
   7840   enableval=$enable_shared; p=${PACKAGE-default}
   7841     case $enableval in
   7842     yes) enable_shared=yes ;;
   7843     no) enable_shared=no ;;
   7844     *)
   7845       enable_shared=no
   7846       # Look at the argument we got.  We use all the common list separators.
   7847       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7848       for pkg in $enableval; do
   7849 	IFS=$lt_save_ifs
   7850 	if test "X$pkg" = "X$p"; then
   7851 	  enable_shared=yes
   7852 	fi
   7853       done
   7854       IFS=$lt_save_ifs
   7855       ;;
   7856     esac
   7857 else
   7858   enable_shared=yes
   7859 fi
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869   # Check whether --enable-static was given.
   7870 if test "${enable_static+set}" = set; then :
   7871   enableval=$enable_static; p=${PACKAGE-default}
   7872     case $enableval in
   7873     yes) enable_static=yes ;;
   7874     no) enable_static=no ;;
   7875     *)
   7876      enable_static=no
   7877       # Look at the argument we got.  We use all the common list separators.
   7878       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7879       for pkg in $enableval; do
   7880 	IFS=$lt_save_ifs
   7881 	if test "X$pkg" = "X$p"; then
   7882 	  enable_static=yes
   7883 	fi
   7884       done
   7885       IFS=$lt_save_ifs
   7886       ;;
   7887     esac
   7888 else
   7889   enable_static=yes
   7890 fi
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 # Check whether --with-pic was given.
   7902 if test "${with_pic+set}" = set; then :
   7903   withval=$with_pic; lt_p=${PACKAGE-default}
   7904     case $withval in
   7905     yes|no) pic_mode=$withval ;;
   7906     *)
   7907       pic_mode=default
   7908       # Look at the argument we got.  We use all the common list separators.
   7909       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7910       for lt_pkg in $withval; do
   7911 	IFS=$lt_save_ifs
   7912 	if test "X$lt_pkg" = "X$lt_p"; then
   7913 	  pic_mode=yes
   7914 	fi
   7915       done
   7916       IFS=$lt_save_ifs
   7917       ;;
   7918     esac
   7919 else
   7920   pic_mode=default
   7921 fi
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930   # Check whether --enable-fast-install was given.
   7931 if test "${enable_fast_install+set}" = set; then :
   7932   enableval=$enable_fast_install; p=${PACKAGE-default}
   7933     case $enableval in
   7934     yes) enable_fast_install=yes ;;
   7935     no) enable_fast_install=no ;;
   7936     *)
   7937       enable_fast_install=no
   7938       # Look at the argument we got.  We use all the common list separators.
   7939       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7940       for pkg in $enableval; do
   7941 	IFS=$lt_save_ifs
   7942 	if test "X$pkg" = "X$p"; then
   7943 	  enable_fast_install=yes
   7944 	fi
   7945       done
   7946       IFS=$lt_save_ifs
   7947       ;;
   7948     esac
   7949 else
   7950   enable_fast_install=yes
   7951 fi
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960   shared_archive_member_spec=
   7961 case $host,$enable_shared in
   7962 power*-*-aix[5-9]*,yes)
   7963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   7964 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   7965 
   7966 # Check whether --with-aix-soname was given.
   7967 if test "${with_aix_soname+set}" = set; then :
   7968   withval=$with_aix_soname; case $withval in
   7969     aix|svr4|both)
   7970       ;;
   7971     *)
   7972       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   7973       ;;
   7974     esac
   7975     lt_cv_with_aix_soname=$with_aix_soname
   7976 else
   7977   if ${lt_cv_with_aix_soname+:} false; then :
   7978   $as_echo_n "(cached) " >&6
   7979 else
   7980   lt_cv_with_aix_soname=aix
   7981 fi
   7982 
   7983     with_aix_soname=$lt_cv_with_aix_soname
   7984 fi
   7985 
   7986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   7987 $as_echo "$with_aix_soname" >&6; }
   7988   if test aix != "$with_aix_soname"; then
   7989     # For the AIX way of multilib, we name the shared archive member
   7990     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   7991     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   7992     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   7993     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   7994     if test 64 = "${OBJECT_MODE-32}"; then
   7995       shared_archive_member_spec=shr_64
   7996     else
   7997       shared_archive_member_spec=shr
   7998     fi
   7999   fi
   8000   ;;
   8001 *)
   8002   with_aix_soname=aix
   8003   ;;
   8004 esac
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 # This can be used to rebuild libtool when needed
   8016 LIBTOOL_DEPS=$ltmain
   8017 
   8018 # Always use our own libtool.
   8019 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 test -z "$LN_S" && LN_S="ln -s"
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 if test -n "${ZSH_VERSION+set}"; then
   8066    setopt NO_GLOB_SUBST
   8067 fi
   8068 
   8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8070 $as_echo_n "checking for objdir... " >&6; }
   8071 if ${lt_cv_objdir+:} false; then :
   8072   $as_echo_n "(cached) " >&6
   8073 else
   8074   rm -f .libs 2>/dev/null
   8075 mkdir .libs 2>/dev/null
   8076 if test -d .libs; then
   8077   lt_cv_objdir=.libs
   8078 else
   8079   # MS-DOS does not allow filenames that begin with a dot.
   8080   lt_cv_objdir=_libs
   8081 fi
   8082 rmdir .libs 2>/dev/null
   8083 fi
   8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8085 $as_echo "$lt_cv_objdir" >&6; }
   8086 objdir=$lt_cv_objdir
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 cat >>confdefs.h <<_ACEOF
   8093 #define LT_OBJDIR "$lt_cv_objdir/"
   8094 _ACEOF
   8095 
   8096 
   8097 
   8098 
   8099 case $host_os in
   8100 aix3*)
   8101   # AIX sometimes has problems with the GCC collect2 program.  For some
   8102   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8103   # vanish in a puff of smoke.
   8104   if test set != "${COLLECT_NAMES+set}"; then
   8105     COLLECT_NAMES=
   8106     export COLLECT_NAMES
   8107   fi
   8108   ;;
   8109 esac
   8110 
   8111 # Global variables:
   8112 ofile=libtool
   8113 can_build_shared=yes
   8114 
   8115 # All known linkers require a '.a' archive for static linking (except MSVC,
   8116 # which needs '.lib').
   8117 libext=a
   8118 
   8119 with_gnu_ld=$lt_cv_prog_gnu_ld
   8120 
   8121 old_CC=$CC
   8122 old_CFLAGS=$CFLAGS
   8123 
   8124 # Set sane defaults for various variables
   8125 test -z "$CC" && CC=cc
   8126 test -z "$LTCC" && LTCC=$CC
   8127 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8128 test -z "$LD" && LD=ld
   8129 test -z "$ac_objext" && ac_objext=o
   8130 
   8131 func_cc_basename $compiler
   8132 cc_basename=$func_cc_basename_result
   8133 
   8134 
   8135 # Only perform the check for file, if the check method requires it
   8136 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8137 case $deplibs_check_method in
   8138 file_magic*)
   8139   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8140     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8141 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8142 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8143   $as_echo_n "(cached) " >&6
   8144 else
   8145   case $MAGIC_CMD in
   8146 [\\/*] |  ?:[\\/]*)
   8147   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8148   ;;
   8149 *)
   8150   lt_save_MAGIC_CMD=$MAGIC_CMD
   8151   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8152   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8153   for ac_dir in $ac_dummy; do
   8154     IFS=$lt_save_ifs
   8155     test -z "$ac_dir" && ac_dir=.
   8156     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8157       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8158       if test -n "$file_magic_test_file"; then
   8159 	case $deplibs_check_method in
   8160 	"file_magic "*)
   8161 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8162 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8163 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8164 	    $EGREP "$file_magic_regex" > /dev/null; then
   8165 	    :
   8166 	  else
   8167 	    cat <<_LT_EOF 1>&2
   8168 
   8169 *** Warning: the command libtool uses to detect shared libraries,
   8170 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8171 *** The result is that libtool may fail to recognize shared libraries
   8172 *** as such.  This will affect the creation of libtool libraries that
   8173 *** depend on shared libraries, but programs linked with such libtool
   8174 *** libraries will work regardless of this problem.  Nevertheless, you
   8175 *** may want to report the problem to your system manager and/or to
   8176 *** bug-libtool (at] gnu.org
   8177 
   8178 _LT_EOF
   8179 	  fi ;;
   8180 	esac
   8181       fi
   8182       break
   8183     fi
   8184   done
   8185   IFS=$lt_save_ifs
   8186   MAGIC_CMD=$lt_save_MAGIC_CMD
   8187   ;;
   8188 esac
   8189 fi
   8190 
   8191 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8192 if test -n "$MAGIC_CMD"; then
   8193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8194 $as_echo "$MAGIC_CMD" >&6; }
   8195 else
   8196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8197 $as_echo "no" >&6; }
   8198 fi
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8205   if test -n "$ac_tool_prefix"; then
   8206     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8207 $as_echo_n "checking for file... " >&6; }
   8208 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8209   $as_echo_n "(cached) " >&6
   8210 else
   8211   case $MAGIC_CMD in
   8212 [\\/*] |  ?:[\\/]*)
   8213   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8214   ;;
   8215 *)
   8216   lt_save_MAGIC_CMD=$MAGIC_CMD
   8217   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8218   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8219   for ac_dir in $ac_dummy; do
   8220     IFS=$lt_save_ifs
   8221     test -z "$ac_dir" && ac_dir=.
   8222     if test -f "$ac_dir/file"; then
   8223       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8224       if test -n "$file_magic_test_file"; then
   8225 	case $deplibs_check_method in
   8226 	"file_magic "*)
   8227 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8228 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8229 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8230 	    $EGREP "$file_magic_regex" > /dev/null; then
   8231 	    :
   8232 	  else
   8233 	    cat <<_LT_EOF 1>&2
   8234 
   8235 *** Warning: the command libtool uses to detect shared libraries,
   8236 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8237 *** The result is that libtool may fail to recognize shared libraries
   8238 *** as such.  This will affect the creation of libtool libraries that
   8239 *** depend on shared libraries, but programs linked with such libtool
   8240 *** libraries will work regardless of this problem.  Nevertheless, you
   8241 *** may want to report the problem to your system manager and/or to
   8242 *** bug-libtool (at] gnu.org
   8243 
   8244 _LT_EOF
   8245 	  fi ;;
   8246 	esac
   8247       fi
   8248       break
   8249     fi
   8250   done
   8251   IFS=$lt_save_ifs
   8252   MAGIC_CMD=$lt_save_MAGIC_CMD
   8253   ;;
   8254 esac
   8255 fi
   8256 
   8257 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8258 if test -n "$MAGIC_CMD"; then
   8259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8260 $as_echo "$MAGIC_CMD" >&6; }
   8261 else
   8262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8263 $as_echo "no" >&6; }
   8264 fi
   8265 
   8266 
   8267   else
   8268     MAGIC_CMD=:
   8269   fi
   8270 fi
   8271 
   8272   fi
   8273   ;;
   8274 esac
   8275 
   8276 # Use C for the default configuration in the libtool script
   8277 
   8278 lt_save_CC=$CC
   8279 ac_ext=c
   8280 ac_cpp='$CPP $CPPFLAGS'
   8281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8284 
   8285 
   8286 # Source file extension for C test sources.
   8287 ac_ext=c
   8288 
   8289 # Object file extension for compiled C test sources.
   8290 objext=o
   8291 objext=$objext
   8292 
   8293 # Code to be used in simple compile tests
   8294 lt_simple_compile_test_code="int some_variable = 0;"
   8295 
   8296 # Code to be used in simple link tests
   8297 lt_simple_link_test_code='int main(){return(0);}'
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 # If no C compiler was specified, use CC.
   8306 LTCC=${LTCC-"$CC"}
   8307 
   8308 # If no C compiler flags were specified, use CFLAGS.
   8309 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8310 
   8311 # Allow CC to be a program name with arguments.
   8312 compiler=$CC
   8313 
   8314 # Save the default compiler, since it gets overwritten when the other
   8315 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8316 compiler_DEFAULT=$CC
   8317 
   8318 # save warnings/boilerplate of simple test code
   8319 ac_outfile=conftest.$ac_objext
   8320 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8321 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8322 _lt_compiler_boilerplate=`cat conftest.err`
   8323 $RM conftest*
   8324 
   8325 ac_outfile=conftest.$ac_objext
   8326 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8327 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8328 _lt_linker_boilerplate=`cat conftest.err`
   8329 $RM -r conftest*
   8330 
   8331 
   8332 if test -n "$compiler"; then
   8333 
   8334 lt_prog_compiler_no_builtin_flag=
   8335 
   8336 if test yes = "$GCC"; then
   8337   case $cc_basename in
   8338   nvcc*)
   8339     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8340   *)
   8341     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8342   esac
   8343 
   8344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8345 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8346 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8347   $as_echo_n "(cached) " >&6
   8348 else
   8349   lt_cv_prog_compiler_rtti_exceptions=no
   8350    ac_outfile=conftest.$ac_objext
   8351    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8352    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8353    # Insert the option either (1) after the last *FLAGS variable, or
   8354    # (2) before a word containing "conftest.", or (3) at the end.
   8355    # Note that $ac_compile itself does not contain backslashes and begins
   8356    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8357    # The option is referenced via a variable to avoid confusing sed.
   8358    lt_compile=`echo "$ac_compile" | $SED \
   8359    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8360    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8361    -e 's:$: $lt_compiler_flag:'`
   8362    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8363    (eval "$lt_compile" 2>conftest.err)
   8364    ac_status=$?
   8365    cat conftest.err >&5
   8366    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8367    if (exit $ac_status) && test -s "$ac_outfile"; then
   8368      # The compiler can only warn and ignore the option if not recognized
   8369      # So say no if there are warnings other than the usual output.
   8370      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8371      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8372      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8373        lt_cv_prog_compiler_rtti_exceptions=yes
   8374      fi
   8375    fi
   8376    $RM conftest*
   8377 
   8378 fi
   8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8380 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8381 
   8382 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8383     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8384 else
   8385     :
   8386 fi
   8387 
   8388 fi
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395   lt_prog_compiler_wl=
   8396 lt_prog_compiler_pic=
   8397 lt_prog_compiler_static=
   8398 
   8399 
   8400   if test yes = "$GCC"; then
   8401     lt_prog_compiler_wl='-Wl,'
   8402     lt_prog_compiler_static='-static'
   8403 
   8404     case $host_os in
   8405       aix*)
   8406       # All AIX code is PIC.
   8407       if test ia64 = "$host_cpu"; then
   8408 	# AIX 5 now supports IA64 processor
   8409 	lt_prog_compiler_static='-Bstatic'
   8410       fi
   8411       lt_prog_compiler_pic='-fPIC'
   8412       ;;
   8413 
   8414     amigaos*)
   8415       case $host_cpu in
   8416       powerpc)
   8417             # see comment about AmigaOS4 .so support
   8418             lt_prog_compiler_pic='-fPIC'
   8419         ;;
   8420       m68k)
   8421             # FIXME: we need at least 68020 code to build shared libraries, but
   8422             # adding the '-m68020' flag to GCC prevents building anything better,
   8423             # like '-m68040'.
   8424             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8425         ;;
   8426       esac
   8427       ;;
   8428 
   8429     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8430       # PIC is the default for these OSes.
   8431       ;;
   8432 
   8433     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8434       # This hack is so that the source file can tell whether it is being
   8435       # built for inclusion in a dll (and should export symbols for example).
   8436       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8437       # (--disable-auto-import) libraries
   8438       lt_prog_compiler_pic='-DDLL_EXPORT'
   8439       case $host_os in
   8440       os2*)
   8441 	lt_prog_compiler_static='$wl-static'
   8442 	;;
   8443       esac
   8444       ;;
   8445 
   8446     darwin* | rhapsody*)
   8447       # PIC is the default on this platform
   8448       # Common symbols not allowed in MH_DYLIB files
   8449       lt_prog_compiler_pic='-fno-common'
   8450       ;;
   8451 
   8452     haiku*)
   8453       # PIC is the default for Haiku.
   8454       # The "-static" flag exists, but is broken.
   8455       lt_prog_compiler_static=
   8456       ;;
   8457 
   8458     hpux*)
   8459       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8460       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8461       # sets the default TLS model and affects inlining.
   8462       case $host_cpu in
   8463       hppa*64*)
   8464 	# +Z the default
   8465 	;;
   8466       *)
   8467 	lt_prog_compiler_pic='-fPIC'
   8468 	;;
   8469       esac
   8470       ;;
   8471 
   8472     interix[3-9]*)
   8473       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8474       # Instead, we relocate shared libraries at runtime.
   8475       ;;
   8476 
   8477     msdosdjgpp*)
   8478       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8479       # on systems that don't support them.
   8480       lt_prog_compiler_can_build_shared=no
   8481       enable_shared=no
   8482       ;;
   8483 
   8484     *nto* | *qnx*)
   8485       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8486       # it will coredump.
   8487       lt_prog_compiler_pic='-fPIC -shared'
   8488       ;;
   8489 
   8490     sysv4*MP*)
   8491       if test -d /usr/nec; then
   8492 	lt_prog_compiler_pic=-Kconform_pic
   8493       fi
   8494       ;;
   8495 
   8496     *)
   8497       lt_prog_compiler_pic='-fPIC'
   8498       ;;
   8499     esac
   8500 
   8501     case $cc_basename in
   8502     nvcc*) # Cuda Compiler Driver 2.2
   8503       lt_prog_compiler_wl='-Xlinker '
   8504       if test -n "$lt_prog_compiler_pic"; then
   8505         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8506       fi
   8507       ;;
   8508     esac
   8509   else
   8510     # PORTME Check for flag to pass linker flags through the system compiler.
   8511     case $host_os in
   8512     aix*)
   8513       lt_prog_compiler_wl='-Wl,'
   8514       if test ia64 = "$host_cpu"; then
   8515 	# AIX 5 now supports IA64 processor
   8516 	lt_prog_compiler_static='-Bstatic'
   8517       else
   8518 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8519       fi
   8520       ;;
   8521 
   8522     darwin* | rhapsody*)
   8523       # PIC is the default on this platform
   8524       # Common symbols not allowed in MH_DYLIB files
   8525       lt_prog_compiler_pic='-fno-common'
   8526       case $cc_basename in
   8527       nagfor*)
   8528         # NAG Fortran compiler
   8529         lt_prog_compiler_wl='-Wl,-Wl,,'
   8530         lt_prog_compiler_pic='-PIC'
   8531         lt_prog_compiler_static='-Bstatic'
   8532         ;;
   8533       esac
   8534       ;;
   8535 
   8536     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8537       # This hack is so that the source file can tell whether it is being
   8538       # built for inclusion in a dll (and should export symbols for example).
   8539       lt_prog_compiler_pic='-DDLL_EXPORT'
   8540       case $host_os in
   8541       os2*)
   8542 	lt_prog_compiler_static='$wl-static'
   8543 	;;
   8544       esac
   8545       ;;
   8546 
   8547     hpux9* | hpux10* | hpux11*)
   8548       lt_prog_compiler_wl='-Wl,'
   8549       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8550       # not for PA HP-UX.
   8551       case $host_cpu in
   8552       hppa*64*|ia64*)
   8553 	# +Z the default
   8554 	;;
   8555       *)
   8556 	lt_prog_compiler_pic='+Z'
   8557 	;;
   8558       esac
   8559       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8560       lt_prog_compiler_static='$wl-a ${wl}archive'
   8561       ;;
   8562 
   8563     irix5* | irix6* | nonstopux*)
   8564       lt_prog_compiler_wl='-Wl,'
   8565       # PIC (with -KPIC) is the default.
   8566       lt_prog_compiler_static='-non_shared'
   8567       ;;
   8568 
   8569     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8570       case $cc_basename in
   8571       # old Intel for x86_64, which still supported -KPIC.
   8572       ecc*)
   8573 	lt_prog_compiler_wl='-Wl,'
   8574 	lt_prog_compiler_pic='-KPIC'
   8575 	lt_prog_compiler_static='-static'
   8576         ;;
   8577       # icc used to be incompatible with GCC.
   8578       # ICC 10 doesn't accept -KPIC any more.
   8579       icc* | ifort*)
   8580 	lt_prog_compiler_wl='-Wl,'
   8581 	lt_prog_compiler_pic='-fPIC'
   8582 	lt_prog_compiler_static='-static'
   8583         ;;
   8584       # Lahey Fortran 8.1.
   8585       lf95*)
   8586 	lt_prog_compiler_wl='-Wl,'
   8587 	lt_prog_compiler_pic='--shared'
   8588 	lt_prog_compiler_static='--static'
   8589 	;;
   8590       nagfor*)
   8591 	# NAG Fortran compiler
   8592 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8593 	lt_prog_compiler_pic='-PIC'
   8594 	lt_prog_compiler_static='-Bstatic'
   8595 	;;
   8596       tcc*)
   8597 	# Fabrice Bellard et al's Tiny C Compiler
   8598 	lt_prog_compiler_wl='-Wl,'
   8599 	lt_prog_compiler_pic='-fPIC'
   8600 	lt_prog_compiler_static='-static'
   8601 	;;
   8602       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8603         # Portland Group compilers (*not* the Pentium gcc compiler,
   8604 	# which looks to be a dead project)
   8605 	lt_prog_compiler_wl='-Wl,'
   8606 	lt_prog_compiler_pic='-fpic'
   8607 	lt_prog_compiler_static='-Bstatic'
   8608         ;;
   8609       ccc*)
   8610         lt_prog_compiler_wl='-Wl,'
   8611         # All Alpha code is PIC.
   8612         lt_prog_compiler_static='-non_shared'
   8613         ;;
   8614       xl* | bgxl* | bgf* | mpixl*)
   8615 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8616 	lt_prog_compiler_wl='-Wl,'
   8617 	lt_prog_compiler_pic='-qpic'
   8618 	lt_prog_compiler_static='-qstaticlink'
   8619 	;;
   8620       *)
   8621 	case `$CC -V 2>&1 | sed 5q` in
   8622 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8623 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8624 	  lt_prog_compiler_pic='-KPIC'
   8625 	  lt_prog_compiler_static='-Bstatic'
   8626 	  lt_prog_compiler_wl=''
   8627 	  ;;
   8628 	*Sun\ F* | *Sun*Fortran*)
   8629 	  lt_prog_compiler_pic='-KPIC'
   8630 	  lt_prog_compiler_static='-Bstatic'
   8631 	  lt_prog_compiler_wl='-Qoption ld '
   8632 	  ;;
   8633 	*Sun\ C*)
   8634 	  # Sun C 5.9
   8635 	  lt_prog_compiler_pic='-KPIC'
   8636 	  lt_prog_compiler_static='-Bstatic'
   8637 	  lt_prog_compiler_wl='-Wl,'
   8638 	  ;;
   8639         *Intel*\ [CF]*Compiler*)
   8640 	  lt_prog_compiler_wl='-Wl,'
   8641 	  lt_prog_compiler_pic='-fPIC'
   8642 	  lt_prog_compiler_static='-static'
   8643 	  ;;
   8644 	*Portland\ Group*)
   8645 	  lt_prog_compiler_wl='-Wl,'
   8646 	  lt_prog_compiler_pic='-fpic'
   8647 	  lt_prog_compiler_static='-Bstatic'
   8648 	  ;;
   8649 	esac
   8650 	;;
   8651       esac
   8652       ;;
   8653 
   8654     newsos6)
   8655       lt_prog_compiler_pic='-KPIC'
   8656       lt_prog_compiler_static='-Bstatic'
   8657       ;;
   8658 
   8659     *nto* | *qnx*)
   8660       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8661       # it will coredump.
   8662       lt_prog_compiler_pic='-fPIC -shared'
   8663       ;;
   8664 
   8665     osf3* | osf4* | osf5*)
   8666       lt_prog_compiler_wl='-Wl,'
   8667       # All OSF/1 code is PIC.
   8668       lt_prog_compiler_static='-non_shared'
   8669       ;;
   8670 
   8671     rdos*)
   8672       lt_prog_compiler_static='-non_shared'
   8673       ;;
   8674 
   8675     solaris*)
   8676       lt_prog_compiler_pic='-KPIC'
   8677       lt_prog_compiler_static='-Bstatic'
   8678       case $cc_basename in
   8679       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8680 	lt_prog_compiler_wl='-Qoption ld ';;
   8681       *)
   8682 	lt_prog_compiler_wl='-Wl,';;
   8683       esac
   8684       ;;
   8685 
   8686     sunos4*)
   8687       lt_prog_compiler_wl='-Qoption ld '
   8688       lt_prog_compiler_pic='-PIC'
   8689       lt_prog_compiler_static='-Bstatic'
   8690       ;;
   8691 
   8692     sysv4 | sysv4.2uw2* | sysv4.3*)
   8693       lt_prog_compiler_wl='-Wl,'
   8694       lt_prog_compiler_pic='-KPIC'
   8695       lt_prog_compiler_static='-Bstatic'
   8696       ;;
   8697 
   8698     sysv4*MP*)
   8699       if test -d /usr/nec; then
   8700 	lt_prog_compiler_pic='-Kconform_pic'
   8701 	lt_prog_compiler_static='-Bstatic'
   8702       fi
   8703       ;;
   8704 
   8705     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8706       lt_prog_compiler_wl='-Wl,'
   8707       lt_prog_compiler_pic='-KPIC'
   8708       lt_prog_compiler_static='-Bstatic'
   8709       ;;
   8710 
   8711     unicos*)
   8712       lt_prog_compiler_wl='-Wl,'
   8713       lt_prog_compiler_can_build_shared=no
   8714       ;;
   8715 
   8716     uts4*)
   8717       lt_prog_compiler_pic='-pic'
   8718       lt_prog_compiler_static='-Bstatic'
   8719       ;;
   8720 
   8721     *)
   8722       lt_prog_compiler_can_build_shared=no
   8723       ;;
   8724     esac
   8725   fi
   8726 
   8727 case $host_os in
   8728   # For platforms that do not support PIC, -DPIC is meaningless:
   8729   *djgpp*)
   8730     lt_prog_compiler_pic=
   8731     ;;
   8732   *)
   8733     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8734     ;;
   8735 esac
   8736 
   8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8738 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8739 if ${lt_cv_prog_compiler_pic+:} false; then :
   8740   $as_echo_n "(cached) " >&6
   8741 else
   8742   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8743 fi
   8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8745 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8746 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8747 
   8748 #
   8749 # Check to make sure the PIC flag actually works.
   8750 #
   8751 if test -n "$lt_prog_compiler_pic"; then
   8752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8753 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8754 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8755   $as_echo_n "(cached) " >&6
   8756 else
   8757   lt_cv_prog_compiler_pic_works=no
   8758    ac_outfile=conftest.$ac_objext
   8759    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8760    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   8761    # Insert the option either (1) after the last *FLAGS variable, or
   8762    # (2) before a word containing "conftest.", or (3) at the end.
   8763    # Note that $ac_compile itself does not contain backslashes and begins
   8764    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8765    # The option is referenced via a variable to avoid confusing sed.
   8766    lt_compile=`echo "$ac_compile" | $SED \
   8767    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8768    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8769    -e 's:$: $lt_compiler_flag:'`
   8770    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8771    (eval "$lt_compile" 2>conftest.err)
   8772    ac_status=$?
   8773    cat conftest.err >&5
   8774    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8775    if (exit $ac_status) && test -s "$ac_outfile"; then
   8776      # The compiler can only warn and ignore the option if not recognized
   8777      # So say no if there are warnings other than the usual output.
   8778      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8779      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8780      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8781        lt_cv_prog_compiler_pic_works=yes
   8782      fi
   8783    fi
   8784    $RM conftest*
   8785 
   8786 fi
   8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8788 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8789 
   8790 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   8791     case $lt_prog_compiler_pic in
   8792      "" | " "*) ;;
   8793      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8794      esac
   8795 else
   8796     lt_prog_compiler_pic=
   8797      lt_prog_compiler_can_build_shared=no
   8798 fi
   8799 
   8800 fi
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 #
   8813 # Check to make sure the static flag actually works.
   8814 #
   8815 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8817 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8818 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8819   $as_echo_n "(cached) " >&6
   8820 else
   8821   lt_cv_prog_compiler_static_works=no
   8822    save_LDFLAGS=$LDFLAGS
   8823    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8824    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8825    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8826      # The linker can only warn and ignore the option if not recognized
   8827      # So say no if there are warnings
   8828      if test -s conftest.err; then
   8829        # Append any errors to the config.log.
   8830        cat conftest.err 1>&5
   8831        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8832        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8833        if diff conftest.exp conftest.er2 >/dev/null; then
   8834          lt_cv_prog_compiler_static_works=yes
   8835        fi
   8836      else
   8837        lt_cv_prog_compiler_static_works=yes
   8838      fi
   8839    fi
   8840    $RM -r conftest*
   8841    LDFLAGS=$save_LDFLAGS
   8842 
   8843 fi
   8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8845 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8846 
   8847 if test yes = "$lt_cv_prog_compiler_static_works"; then
   8848     :
   8849 else
   8850     lt_prog_compiler_static=
   8851 fi
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8860 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8861 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8862   $as_echo_n "(cached) " >&6
   8863 else
   8864   lt_cv_prog_compiler_c_o=no
   8865    $RM -r conftest 2>/dev/null
   8866    mkdir conftest
   8867    cd conftest
   8868    mkdir out
   8869    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8870 
   8871    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8872    # Insert the option either (1) after the last *FLAGS variable, or
   8873    # (2) before a word containing "conftest.", or (3) at the end.
   8874    # Note that $ac_compile itself does not contain backslashes and begins
   8875    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8876    lt_compile=`echo "$ac_compile" | $SED \
   8877    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8878    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8879    -e 's:$: $lt_compiler_flag:'`
   8880    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8881    (eval "$lt_compile" 2>out/conftest.err)
   8882    ac_status=$?
   8883    cat out/conftest.err >&5
   8884    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8885    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8886    then
   8887      # The compiler can only warn and ignore the option if not recognized
   8888      # So say no if there are warnings
   8889      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8890      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8891      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8892        lt_cv_prog_compiler_c_o=yes
   8893      fi
   8894    fi
   8895    chmod u+w . 2>&5
   8896    $RM conftest*
   8897    # SGI C++ compiler will create directory out/ii_files/ for
   8898    # template instantiation
   8899    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8900    $RM out/* && rmdir out
   8901    cd ..
   8902    $RM -r conftest
   8903    $RM conftest*
   8904 
   8905 fi
   8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8907 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8915 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8916 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8917   $as_echo_n "(cached) " >&6
   8918 else
   8919   lt_cv_prog_compiler_c_o=no
   8920    $RM -r conftest 2>/dev/null
   8921    mkdir conftest
   8922    cd conftest
   8923    mkdir out
   8924    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8925 
   8926    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8927    # Insert the option either (1) after the last *FLAGS variable, or
   8928    # (2) before a word containing "conftest.", or (3) at the end.
   8929    # Note that $ac_compile itself does not contain backslashes and begins
   8930    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8931    lt_compile=`echo "$ac_compile" | $SED \
   8932    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8933    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8934    -e 's:$: $lt_compiler_flag:'`
   8935    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8936    (eval "$lt_compile" 2>out/conftest.err)
   8937    ac_status=$?
   8938    cat out/conftest.err >&5
   8939    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8940    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8941    then
   8942      # The compiler can only warn and ignore the option if not recognized
   8943      # So say no if there are warnings
   8944      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8945      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8946      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8947        lt_cv_prog_compiler_c_o=yes
   8948      fi
   8949    fi
   8950    chmod u+w . 2>&5
   8951    $RM conftest*
   8952    # SGI C++ compiler will create directory out/ii_files/ for
   8953    # template instantiation
   8954    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8955    $RM out/* && rmdir out
   8956    cd ..
   8957    $RM -r conftest
   8958    $RM conftest*
   8959 
   8960 fi
   8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8962 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8963 
   8964 
   8965 
   8966 
   8967 hard_links=nottested
   8968 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   8969   # do not overwrite the value of need_locks provided by the user
   8970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8971 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8972   hard_links=yes
   8973   $RM conftest*
   8974   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8975   touch conftest.a
   8976   ln conftest.a conftest.b 2>&5 || hard_links=no
   8977   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8979 $as_echo "$hard_links" >&6; }
   8980   if test no = "$hard_links"; then
   8981     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   8982 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   8983     need_locks=warn
   8984   fi
   8985 else
   8986   need_locks=no
   8987 fi
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8995 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8996 
   8997   runpath_var=
   8998   allow_undefined_flag=
   8999   always_export_symbols=no
   9000   archive_cmds=
   9001   archive_expsym_cmds=
   9002   compiler_needs_object=no
   9003   enable_shared_with_static_runtimes=no
   9004   export_dynamic_flag_spec=
   9005   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9006   hardcode_automatic=no
   9007   hardcode_direct=no
   9008   hardcode_direct_absolute=no
   9009   hardcode_libdir_flag_spec=
   9010   hardcode_libdir_separator=
   9011   hardcode_minus_L=no
   9012   hardcode_shlibpath_var=unsupported
   9013   inherit_rpath=no
   9014   link_all_deplibs=unknown
   9015   module_cmds=
   9016   module_expsym_cmds=
   9017   old_archive_from_new_cmds=
   9018   old_archive_from_expsyms_cmds=
   9019   thread_safe_flag_spec=
   9020   whole_archive_flag_spec=
   9021   # include_expsyms should be a list of space-separated symbols to be *always*
   9022   # included in the symbol list
   9023   include_expsyms=
   9024   # exclude_expsyms can be an extended regexp of symbols to exclude
   9025   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9026   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9027   # as well as any symbol that contains 'd'.
   9028   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9029   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9030   # platforms (ab)use it in PIC code, but their linkers get confused if
   9031   # the symbol is explicitly referenced.  Since portable code cannot
   9032   # rely on this symbol name, it's probably fine to never include it in
   9033   # preloaded symbol tables.
   9034   # Exclude shared library initialization/finalization symbols.
   9035   extract_expsyms_cmds=
   9036 
   9037   case $host_os in
   9038   cygwin* | mingw* | pw32* | cegcc*)
   9039     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9040     # When not using gcc, we currently assume that we are using
   9041     # Microsoft Visual C++.
   9042     if test yes != "$GCC"; then
   9043       with_gnu_ld=no
   9044     fi
   9045     ;;
   9046   interix*)
   9047     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9048     with_gnu_ld=yes
   9049     ;;
   9050   openbsd* | bitrig*)
   9051     with_gnu_ld=no
   9052     ;;
   9053   linux* | k*bsd*-gnu | gnu*)
   9054     link_all_deplibs=no
   9055     ;;
   9056   esac
   9057 
   9058   ld_shlibs=yes
   9059 
   9060   # On some targets, GNU ld is compatible enough with the native linker
   9061   # that we're better off using the native interface for both.
   9062   lt_use_gnu_ld_interface=no
   9063   if test yes = "$with_gnu_ld"; then
   9064     case $host_os in
   9065       aix*)
   9066 	# The AIX port of GNU ld has always aspired to compatibility
   9067 	# with the native linker.  However, as the warning in the GNU ld
   9068 	# block says, versions before 2.19.5* couldn't really create working
   9069 	# shared libraries, regardless of the interface used.
   9070 	case `$LD -v 2>&1` in
   9071 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9072 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9073 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9074 	  *)
   9075 	    lt_use_gnu_ld_interface=yes
   9076 	    ;;
   9077 	esac
   9078 	;;
   9079       *)
   9080 	lt_use_gnu_ld_interface=yes
   9081 	;;
   9082     esac
   9083   fi
   9084 
   9085   if test yes = "$lt_use_gnu_ld_interface"; then
   9086     # If archive_cmds runs LD, not CC, wlarc should be empty
   9087     wlarc='$wl'
   9088 
   9089     # Set some defaults for GNU ld with shared library support. These
   9090     # are reset later if shared libraries are not supported. Putting them
   9091     # here allows them to be overridden if necessary.
   9092     runpath_var=LD_RUN_PATH
   9093     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9094     export_dynamic_flag_spec='$wl--export-dynamic'
   9095     # ancient GNU ld didn't support --whole-archive et. al.
   9096     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9097       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9098     else
   9099       whole_archive_flag_spec=
   9100     fi
   9101     supports_anon_versioning=no
   9102     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9103       *GNU\ gold*) supports_anon_versioning=yes ;;
   9104       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9105       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9106       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9107       *\ 2.11.*) ;; # other 2.11 versions
   9108       *) supports_anon_versioning=yes ;;
   9109     esac
   9110 
   9111     # See if GNU ld supports shared libraries.
   9112     case $host_os in
   9113     aix[3-9]*)
   9114       # On AIX/PPC, the GNU linker is very broken
   9115       if test ia64 != "$host_cpu"; then
   9116 	ld_shlibs=no
   9117 	cat <<_LT_EOF 1>&2
   9118 
   9119 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9120 *** to be unable to reliably create shared libraries on AIX.
   9121 *** Therefore, libtool is disabling shared libraries support.  If you
   9122 *** really care for shared libraries, you may want to install binutils
   9123 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9124 *** You will then need to restart the configuration process.
   9125 
   9126 _LT_EOF
   9127       fi
   9128       ;;
   9129 
   9130     amigaos*)
   9131       case $host_cpu in
   9132       powerpc)
   9133             # see comment about AmigaOS4 .so support
   9134             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9135             archive_expsym_cmds=''
   9136         ;;
   9137       m68k)
   9138             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)'
   9139             hardcode_libdir_flag_spec='-L$libdir'
   9140             hardcode_minus_L=yes
   9141         ;;
   9142       esac
   9143       ;;
   9144 
   9145     beos*)
   9146       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9147 	allow_undefined_flag=unsupported
   9148 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9149 	# support --undefined.  This deserves some investigation.  FIXME
   9150 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9151       else
   9152 	ld_shlibs=no
   9153       fi
   9154       ;;
   9155 
   9156     cygwin* | mingw* | pw32* | cegcc*)
   9157       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9158       # as there is no search path for DLLs.
   9159       hardcode_libdir_flag_spec='-L$libdir'
   9160       export_dynamic_flag_spec='$wl--export-all-symbols'
   9161       allow_undefined_flag=unsupported
   9162       always_export_symbols=no
   9163       enable_shared_with_static_runtimes=yes
   9164       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'
   9165       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9166 
   9167       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9168         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9169 	# If the export-symbols file already is a .def file, use it as
   9170 	# is; otherwise, prepend EXPORTS...
   9171 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9172           cp $export_symbols $output_objdir/$soname.def;
   9173         else
   9174           echo EXPORTS > $output_objdir/$soname.def;
   9175           cat $export_symbols >> $output_objdir/$soname.def;
   9176         fi~
   9177         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9178       else
   9179 	ld_shlibs=no
   9180       fi
   9181       ;;
   9182 
   9183     haiku*)
   9184       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9185       link_all_deplibs=yes
   9186       ;;
   9187 
   9188     os2*)
   9189       hardcode_libdir_flag_spec='-L$libdir'
   9190       hardcode_minus_L=yes
   9191       allow_undefined_flag=unsupported
   9192       shrext_cmds=.dll
   9193       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9194 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9195 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9196 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9197 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9198 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9199 	emximp -o $lib $output_objdir/$libname.def'
   9200       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9201 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9202 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9203 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9204 	prefix_cmds="$SED"~
   9205 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9206 	  prefix_cmds="$prefix_cmds -e 1d";
   9207 	fi~
   9208 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9209 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9210 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9211 	emximp -o $lib $output_objdir/$libname.def'
   9212       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9213       enable_shared_with_static_runtimes=yes
   9214       ;;
   9215 
   9216     interix[3-9]*)
   9217       hardcode_direct=no
   9218       hardcode_shlibpath_var=no
   9219       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9220       export_dynamic_flag_spec='$wl-E'
   9221       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9222       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9223       # default) and relocated if they conflict, which is a slow very memory
   9224       # consuming and fragmenting process.  To avoid this, we pick a random,
   9225       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9226       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9227       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9228       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'
   9229       ;;
   9230 
   9231     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9232       tmp_diet=no
   9233       if test linux-dietlibc = "$host_os"; then
   9234 	case $cc_basename in
   9235 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9236 	esac
   9237       fi
   9238       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9239 	 && test no = "$tmp_diet"
   9240       then
   9241 	tmp_addflag=' $pic_flag'
   9242 	tmp_sharedflag='-shared'
   9243 	case $cc_basename,$host_cpu in
   9244         pgcc*)				# Portland Group C compiler
   9245 	  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'
   9246 	  tmp_addflag=' $pic_flag'
   9247 	  ;;
   9248 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9249 					# Portland Group f77 and f90 compilers
   9250 	  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'
   9251 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9252 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9253 	  tmp_addflag=' -i_dynamic' ;;
   9254 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9255 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9256 	ifc* | ifort*)			# Intel Fortran compiler
   9257 	  tmp_addflag=' -nofor_main' ;;
   9258 	lf95*)				# Lahey Fortran 8.1
   9259 	  whole_archive_flag_spec=
   9260 	  tmp_sharedflag='--shared' ;;
   9261         nagfor*)                        # NAGFOR 5.3
   9262           tmp_sharedflag='-Wl,-shared' ;;
   9263 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9264 	  tmp_sharedflag='-qmkshrobj'
   9265 	  tmp_addflag= ;;
   9266 	nvcc*)	# Cuda Compiler Driver 2.2
   9267 	  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'
   9268 	  compiler_needs_object=yes
   9269 	  ;;
   9270 	esac
   9271 	case `$CC -V 2>&1 | sed 5q` in
   9272 	*Sun\ C*)			# Sun C 5.9
   9273 	  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'
   9274 	  compiler_needs_object=yes
   9275 	  tmp_sharedflag='-G' ;;
   9276 	*Sun\ F*)			# Sun Fortran 8.3
   9277 	  tmp_sharedflag='-G' ;;
   9278 	esac
   9279 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9280 
   9281         if test yes = "$supports_anon_versioning"; then
   9282           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9283             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9284             echo "local: *; };" >> $output_objdir/$libname.ver~
   9285             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9286         fi
   9287 
   9288 	case $cc_basename in
   9289 	tcc*)
   9290 	  export_dynamic_flag_spec='-rdynamic'
   9291 	  ;;
   9292 	xlf* | bgf* | bgxlf* | mpixlf*)
   9293 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9294 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9295 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9296 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9297 	  if test yes = "$supports_anon_versioning"; then
   9298 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9299               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9300               echo "local: *; };" >> $output_objdir/$libname.ver~
   9301               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9302 	  fi
   9303 	  ;;
   9304 	esac
   9305       else
   9306         ld_shlibs=no
   9307       fi
   9308       ;;
   9309 
   9310     netbsd* | netbsdelf*-gnu)
   9311       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9312 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9313 	wlarc=
   9314       else
   9315 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9316 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9317       fi
   9318       ;;
   9319 
   9320     solaris*)
   9321       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9322 	ld_shlibs=no
   9323 	cat <<_LT_EOF 1>&2
   9324 
   9325 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9326 *** create shared libraries on Solaris systems.  Therefore, libtool
   9327 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9328 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9329 *** your PATH or compiler configuration so that the native linker is
   9330 *** used, and then restart.
   9331 
   9332 _LT_EOF
   9333       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9334 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9335 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9336       else
   9337 	ld_shlibs=no
   9338       fi
   9339       ;;
   9340 
   9341     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9342       case `$LD -v 2>&1` in
   9343         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9344 	ld_shlibs=no
   9345 	cat <<_LT_EOF 1>&2
   9346 
   9347 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9348 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9349 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9350 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9351 *** your PATH or compiler configuration so that the native linker is
   9352 *** used, and then restart.
   9353 
   9354 _LT_EOF
   9355 	;;
   9356 	*)
   9357 	  # For security reasons, it is highly recommended that you always
   9358 	  # use absolute paths for naming shared libraries, and exclude the
   9359 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9360 	  # requires that you compile everything twice, which is a pain.
   9361 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9362 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9363 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9364 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9365 	  else
   9366 	    ld_shlibs=no
   9367 	  fi
   9368 	;;
   9369       esac
   9370       ;;
   9371 
   9372     sunos4*)
   9373       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9374       wlarc=
   9375       hardcode_direct=yes
   9376       hardcode_shlibpath_var=no
   9377       ;;
   9378 
   9379     *)
   9380       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9381 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9382 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9383       else
   9384 	ld_shlibs=no
   9385       fi
   9386       ;;
   9387     esac
   9388 
   9389     if test no = "$ld_shlibs"; then
   9390       runpath_var=
   9391       hardcode_libdir_flag_spec=
   9392       export_dynamic_flag_spec=
   9393       whole_archive_flag_spec=
   9394     fi
   9395   else
   9396     # PORTME fill in a description of your system's linker (not GNU ld)
   9397     case $host_os in
   9398     aix3*)
   9399       allow_undefined_flag=unsupported
   9400       always_export_symbols=yes
   9401       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'
   9402       # Note: this linker hardcodes the directories in LIBPATH if there
   9403       # are no directories specified by -L.
   9404       hardcode_minus_L=yes
   9405       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9406 	# Neither direct hardcoding nor static linking is supported with a
   9407 	# broken collect2.
   9408 	hardcode_direct=unsupported
   9409       fi
   9410       ;;
   9411 
   9412     aix[4-9]*)
   9413       if test ia64 = "$host_cpu"; then
   9414 	# On IA64, the linker does run time linking by default, so we don't
   9415 	# have to do anything special.
   9416 	aix_use_runtimelinking=no
   9417 	exp_sym_flag='-Bexport'
   9418 	no_entry_flag=
   9419       else
   9420 	# If we're using GNU nm, then we don't want the "-C" option.
   9421 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9422 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9423 	# weak defined symbols like other global defined symbols, whereas
   9424 	# GNU nm marks them as "W".
   9425 	# While the 'weak' keyword is ignored in the Export File, we need
   9426 	# it in the Import File for the 'aix-soname' feature, so we have
   9427 	# to replace the "-B" option with "-P" for AIX nm.
   9428 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9429 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   9430 	else
   9431 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   9432 	fi
   9433 	aix_use_runtimelinking=no
   9434 
   9435 	# Test if we are trying to use run time linking or normal
   9436 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9437 	# have runtime linking enabled, and use it for executables.
   9438 	# For shared libraries, we enable/disable runtime linking
   9439 	# depending on the kind of the shared library created -
   9440 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9441 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9442 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9443 	#            lib.a           static archive
   9444 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9445 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9446 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9447 	#            lib.a(lib.so.V) shared, rtl:no
   9448 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9449 	#            lib.a           static archive
   9450 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9451 	  for ld_flag in $LDFLAGS; do
   9452 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9453 	    aix_use_runtimelinking=yes
   9454 	    break
   9455 	  fi
   9456 	  done
   9457 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9458 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9459 	    # so we don't have lib.a shared libs to link our executables.
   9460 	    # We have to force runtime linking in this case.
   9461 	    aix_use_runtimelinking=yes
   9462 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9463 	  fi
   9464 	  ;;
   9465 	esac
   9466 
   9467 	exp_sym_flag='-bexport'
   9468 	no_entry_flag='-bnoentry'
   9469       fi
   9470 
   9471       # When large executables or shared objects are built, AIX ld can
   9472       # have problems creating the table of contents.  If linking a library
   9473       # or program results in "error TOC overflow" add -mminimal-toc to
   9474       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9475       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9476 
   9477       archive_cmds=''
   9478       hardcode_direct=yes
   9479       hardcode_direct_absolute=yes
   9480       hardcode_libdir_separator=':'
   9481       link_all_deplibs=yes
   9482       file_list_spec='$wl-f,'
   9483       case $with_aix_soname,$aix_use_runtimelinking in
   9484       aix,*) ;; # traditional, no import file
   9485       svr4,* | *,yes) # use import file
   9486 	# The Import File defines what to hardcode.
   9487 	hardcode_direct=no
   9488 	hardcode_direct_absolute=no
   9489 	;;
   9490       esac
   9491 
   9492       if test yes = "$GCC"; then
   9493 	case $host_os in aix4.[012]|aix4.[012].*)
   9494 	# We only want to do this on AIX 4.2 and lower, the check
   9495 	# below for broken collect2 doesn't work under 4.3+
   9496 	  collect2name=`$CC -print-prog-name=collect2`
   9497 	  if test -f "$collect2name" &&
   9498 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9499 	  then
   9500 	  # We have reworked collect2
   9501 	  :
   9502 	  else
   9503 	  # We have old collect2
   9504 	  hardcode_direct=unsupported
   9505 	  # It fails to find uninstalled libraries when the uninstalled
   9506 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9507 	  # to unsupported forces relinking
   9508 	  hardcode_minus_L=yes
   9509 	  hardcode_libdir_flag_spec='-L$libdir'
   9510 	  hardcode_libdir_separator=
   9511 	  fi
   9512 	  ;;
   9513 	esac
   9514 	shared_flag='-shared'
   9515 	if test yes = "$aix_use_runtimelinking"; then
   9516 	  shared_flag="$shared_flag "'$wl-G'
   9517 	fi
   9518 	# Need to ensure runtime linking is disabled for the traditional
   9519 	# shared library, or the linker may eventually find shared libraries
   9520 	# /with/ Import File - we do not want to mix them.
   9521 	shared_flag_aix='-shared'
   9522 	shared_flag_svr4='-shared $wl-G'
   9523       else
   9524 	# not using gcc
   9525 	if test ia64 = "$host_cpu"; then
   9526 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9527 	# chokes on -Wl,-G. The following line is correct:
   9528 	  shared_flag='-G'
   9529 	else
   9530 	  if test yes = "$aix_use_runtimelinking"; then
   9531 	    shared_flag='$wl-G'
   9532 	  else
   9533 	    shared_flag='$wl-bM:SRE'
   9534 	  fi
   9535 	  shared_flag_aix='$wl-bM:SRE'
   9536 	  shared_flag_svr4='$wl-G'
   9537 	fi
   9538       fi
   9539 
   9540       export_dynamic_flag_spec='$wl-bexpall'
   9541       # It seems that -bexpall does not export symbols beginning with
   9542       # underscore (_), so it is better to generate a list of symbols to export.
   9543       always_export_symbols=yes
   9544       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9545 	# Warning - without using the other runtime loading flags (-brtl),
   9546 	# -berok will link without error, but may produce a broken library.
   9547 	allow_undefined_flag='-berok'
   9548         # Determine the default libpath from the value encoded in an
   9549         # empty executable.
   9550         if test set = "${lt_cv_aix_libpath+set}"; then
   9551   aix_libpath=$lt_cv_aix_libpath
   9552 else
   9553   if ${lt_cv_aix_libpath_+:} false; then :
   9554   $as_echo_n "(cached) " >&6
   9555 else
   9556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9557 /* end confdefs.h.  */
   9558 
   9559 int
   9560 main ()
   9561 {
   9562 
   9563   ;
   9564   return 0;
   9565 }
   9566 _ACEOF
   9567 if ac_fn_c_try_link "$LINENO"; then :
   9568 
   9569   lt_aix_libpath_sed='
   9570       /Import File Strings/,/^$/ {
   9571 	  /^0/ {
   9572 	      s/^0  *\([^ ]*\) *$/\1/
   9573 	      p
   9574 	  }
   9575       }'
   9576   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9577   # Check for a 64-bit object if we didn't find anything.
   9578   if test -z "$lt_cv_aix_libpath_"; then
   9579     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9580   fi
   9581 fi
   9582 rm -f core conftest.err conftest.$ac_objext \
   9583     conftest$ac_exeext conftest.$ac_ext
   9584   if test -z "$lt_cv_aix_libpath_"; then
   9585     lt_cv_aix_libpath_=/usr/lib:/lib
   9586   fi
   9587 
   9588 fi
   9589 
   9590   aix_libpath=$lt_cv_aix_libpath_
   9591 fi
   9592 
   9593         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9594         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   9595       else
   9596 	if test ia64 = "$host_cpu"; then
   9597 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9598 	  allow_undefined_flag="-z nodefs"
   9599 	  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"
   9600 	else
   9601 	 # Determine the default libpath from the value encoded in an
   9602 	 # empty executable.
   9603 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9604   aix_libpath=$lt_cv_aix_libpath
   9605 else
   9606   if ${lt_cv_aix_libpath_+:} false; then :
   9607   $as_echo_n "(cached) " >&6
   9608 else
   9609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9610 /* end confdefs.h.  */
   9611 
   9612 int
   9613 main ()
   9614 {
   9615 
   9616   ;
   9617   return 0;
   9618 }
   9619 _ACEOF
   9620 if ac_fn_c_try_link "$LINENO"; then :
   9621 
   9622   lt_aix_libpath_sed='
   9623       /Import File Strings/,/^$/ {
   9624 	  /^0/ {
   9625 	      s/^0  *\([^ ]*\) *$/\1/
   9626 	      p
   9627 	  }
   9628       }'
   9629   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9630   # Check for a 64-bit object if we didn't find anything.
   9631   if test -z "$lt_cv_aix_libpath_"; then
   9632     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9633   fi
   9634 fi
   9635 rm -f core conftest.err conftest.$ac_objext \
   9636     conftest$ac_exeext conftest.$ac_ext
   9637   if test -z "$lt_cv_aix_libpath_"; then
   9638     lt_cv_aix_libpath_=/usr/lib:/lib
   9639   fi
   9640 
   9641 fi
   9642 
   9643   aix_libpath=$lt_cv_aix_libpath_
   9644 fi
   9645 
   9646 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9647 	  # Warning - without using the other run time loading flags,
   9648 	  # -berok will link without error, but may produce a broken library.
   9649 	  no_undefined_flag=' $wl-bernotok'
   9650 	  allow_undefined_flag=' $wl-berok'
   9651 	  if test yes = "$with_gnu_ld"; then
   9652 	    # We only use this code for GNU lds that support --whole-archive.
   9653 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   9654 	  else
   9655 	    # Exported symbols can be pulled into shared objects from archives
   9656 	    whole_archive_flag_spec='$convenience'
   9657 	  fi
   9658 	  archive_cmds_need_lc=yes
   9659 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   9660 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   9661 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   9662 	  if test svr4 != "$with_aix_soname"; then
   9663 	    # This is similar to how AIX traditionally builds its shared libraries.
   9664 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   9665 	  fi
   9666 	  if test aix != "$with_aix_soname"; then
   9667 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   9668 	  else
   9669 	    # used by -dlpreopen to get the symbols
   9670 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   9671 	  fi
   9672 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   9673 	fi
   9674       fi
   9675       ;;
   9676 
   9677     amigaos*)
   9678       case $host_cpu in
   9679       powerpc)
   9680             # see comment about AmigaOS4 .so support
   9681             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9682             archive_expsym_cmds=''
   9683         ;;
   9684       m68k)
   9685             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)'
   9686             hardcode_libdir_flag_spec='-L$libdir'
   9687             hardcode_minus_L=yes
   9688         ;;
   9689       esac
   9690       ;;
   9691 
   9692     bsdi[45]*)
   9693       export_dynamic_flag_spec=-rdynamic
   9694       ;;
   9695 
   9696     cygwin* | mingw* | pw32* | cegcc*)
   9697       # When not using gcc, we currently assume that we are using
   9698       # Microsoft Visual C++.
   9699       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9700       # no search path for DLLs.
   9701       case $cc_basename in
   9702       cl*)
   9703 	# Native MSVC
   9704 	hardcode_libdir_flag_spec=' '
   9705 	allow_undefined_flag=unsupported
   9706 	always_export_symbols=yes
   9707 	file_list_spec='@'
   9708 	# Tell ltmain to make .lib files, not .a files.
   9709 	libext=lib
   9710 	# Tell ltmain to make .dll files, not .so files.
   9711 	shrext_cmds=.dll
   9712 	# FIXME: Setting linknames here is a bad hack.
   9713 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   9714 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9715             cp "$export_symbols" "$output_objdir/$soname.def";
   9716             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   9717           else
   9718             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   9719           fi~
   9720           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9721           linknames='
   9722 	# The linker will not automatically build a static lib if we build a DLL.
   9723 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9724 	enable_shared_with_static_runtimes=yes
   9725 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9726 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9727 	# Don't use ranlib
   9728 	old_postinstall_cmds='chmod 644 $oldlib'
   9729 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9730           lt_tool_outputfile="@TOOL_OUTPUT@"~
   9731           case $lt_outputfile in
   9732             *.exe|*.EXE) ;;
   9733             *)
   9734               lt_outputfile=$lt_outputfile.exe
   9735               lt_tool_outputfile=$lt_tool_outputfile.exe
   9736               ;;
   9737           esac~
   9738           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   9739             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9740             $RM "$lt_outputfile.manifest";
   9741           fi'
   9742 	;;
   9743       *)
   9744 	# Assume MSVC wrapper
   9745 	hardcode_libdir_flag_spec=' '
   9746 	allow_undefined_flag=unsupported
   9747 	# Tell ltmain to make .lib files, not .a files.
   9748 	libext=lib
   9749 	# Tell ltmain to make .dll files, not .so files.
   9750 	shrext_cmds=.dll
   9751 	# FIXME: Setting linknames here is a bad hack.
   9752 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9753 	# The linker will automatically build a .lib file if we build a DLL.
   9754 	old_archive_from_new_cmds='true'
   9755 	# FIXME: Should let the user specify the lib program.
   9756 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9757 	enable_shared_with_static_runtimes=yes
   9758 	;;
   9759       esac
   9760       ;;
   9761 
   9762     darwin* | rhapsody*)
   9763 
   9764 
   9765   archive_cmds_need_lc=no
   9766   hardcode_direct=no
   9767   hardcode_automatic=yes
   9768   hardcode_shlibpath_var=unsupported
   9769   if test yes = "$lt_cv_ld_force_load"; then
   9770     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\"`'
   9771 
   9772   else
   9773     whole_archive_flag_spec=''
   9774   fi
   9775   link_all_deplibs=yes
   9776   allow_undefined_flag=$_lt_dar_allow_undefined
   9777   case $cc_basename in
   9778      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   9779      *) _lt_dar_can_shared=$GCC ;;
   9780   esac
   9781   if test yes = "$_lt_dar_can_shared"; then
   9782     output_verbose_link_cmd=func_echo_all
   9783     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   9784     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   9785     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"
   9786     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"
   9787 
   9788   else
   9789   ld_shlibs=no
   9790   fi
   9791 
   9792       ;;
   9793 
   9794     dgux*)
   9795       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9796       hardcode_libdir_flag_spec='-L$libdir'
   9797       hardcode_shlibpath_var=no
   9798       ;;
   9799 
   9800     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9801     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9802     # does not break anything, and helps significantly (at the cost of a little
   9803     # extra space).
   9804     freebsd2.2*)
   9805       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9806       hardcode_libdir_flag_spec='-R$libdir'
   9807       hardcode_direct=yes
   9808       hardcode_shlibpath_var=no
   9809       ;;
   9810 
   9811     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9812     freebsd2.*)
   9813       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9814       hardcode_direct=yes
   9815       hardcode_minus_L=yes
   9816       hardcode_shlibpath_var=no
   9817       ;;
   9818 
   9819     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9820     freebsd* | dragonfly*)
   9821       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9822       hardcode_libdir_flag_spec='-R$libdir'
   9823       hardcode_direct=yes
   9824       hardcode_shlibpath_var=no
   9825       ;;
   9826 
   9827     hpux9*)
   9828       if test yes = "$GCC"; then
   9829 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9830       else
   9831 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9832       fi
   9833       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9834       hardcode_libdir_separator=:
   9835       hardcode_direct=yes
   9836 
   9837       # hardcode_minus_L: Not really in the search PATH,
   9838       # but as the default location of the library.
   9839       hardcode_minus_L=yes
   9840       export_dynamic_flag_spec='$wl-E'
   9841       ;;
   9842 
   9843     hpux10*)
   9844       if test yes,no = "$GCC,$with_gnu_ld"; then
   9845 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9846       else
   9847 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9848       fi
   9849       if test no = "$with_gnu_ld"; then
   9850 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9851 	hardcode_libdir_separator=:
   9852 	hardcode_direct=yes
   9853 	hardcode_direct_absolute=yes
   9854 	export_dynamic_flag_spec='$wl-E'
   9855 	# hardcode_minus_L: Not really in the search PATH,
   9856 	# but as the default location of the library.
   9857 	hardcode_minus_L=yes
   9858       fi
   9859       ;;
   9860 
   9861     hpux11*)
   9862       if test yes,no = "$GCC,$with_gnu_ld"; then
   9863 	case $host_cpu in
   9864 	hppa*64*)
   9865 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9866 	  ;;
   9867 	ia64*)
   9868 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9869 	  ;;
   9870 	*)
   9871 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9872 	  ;;
   9873 	esac
   9874       else
   9875 	case $host_cpu in
   9876 	hppa*64*)
   9877 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9878 	  ;;
   9879 	ia64*)
   9880 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9881 	  ;;
   9882 	*)
   9883 
   9884 	  # Older versions of the 11.00 compiler do not understand -b yet
   9885 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9886 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9887 $as_echo_n "checking if $CC understands -b... " >&6; }
   9888 if ${lt_cv_prog_compiler__b+:} false; then :
   9889   $as_echo_n "(cached) " >&6
   9890 else
   9891   lt_cv_prog_compiler__b=no
   9892    save_LDFLAGS=$LDFLAGS
   9893    LDFLAGS="$LDFLAGS -b"
   9894    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9895    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9896      # The linker can only warn and ignore the option if not recognized
   9897      # So say no if there are warnings
   9898      if test -s conftest.err; then
   9899        # Append any errors to the config.log.
   9900        cat conftest.err 1>&5
   9901        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9902        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9903        if diff conftest.exp conftest.er2 >/dev/null; then
   9904          lt_cv_prog_compiler__b=yes
   9905        fi
   9906      else
   9907        lt_cv_prog_compiler__b=yes
   9908      fi
   9909    fi
   9910    $RM -r conftest*
   9911    LDFLAGS=$save_LDFLAGS
   9912 
   9913 fi
   9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9915 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9916 
   9917 if test yes = "$lt_cv_prog_compiler__b"; then
   9918     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9919 else
   9920     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9921 fi
   9922 
   9923 	  ;;
   9924 	esac
   9925       fi
   9926       if test no = "$with_gnu_ld"; then
   9927 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9928 	hardcode_libdir_separator=:
   9929 
   9930 	case $host_cpu in
   9931 	hppa*64*|ia64*)
   9932 	  hardcode_direct=no
   9933 	  hardcode_shlibpath_var=no
   9934 	  ;;
   9935 	*)
   9936 	  hardcode_direct=yes
   9937 	  hardcode_direct_absolute=yes
   9938 	  export_dynamic_flag_spec='$wl-E'
   9939 
   9940 	  # hardcode_minus_L: Not really in the search PATH,
   9941 	  # but as the default location of the library.
   9942 	  hardcode_minus_L=yes
   9943 	  ;;
   9944 	esac
   9945       fi
   9946       ;;
   9947 
   9948     irix5* | irix6* | nonstopux*)
   9949       if test yes = "$GCC"; then
   9950 	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'
   9951 	# Try to use the -exported_symbol ld option, if it does not
   9952 	# work, assume that -exports_file does not work either and
   9953 	# implicitly export all symbols.
   9954 	# This should be the same for all languages, so no per-tag cache variable.
   9955 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9956 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9957 if ${lt_cv_irix_exported_symbol+:} false; then :
   9958   $as_echo_n "(cached) " >&6
   9959 else
   9960   save_LDFLAGS=$LDFLAGS
   9961 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   9962 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9963 /* end confdefs.h.  */
   9964 int foo (void) { return 0; }
   9965 _ACEOF
   9966 if ac_fn_c_try_link "$LINENO"; then :
   9967   lt_cv_irix_exported_symbol=yes
   9968 else
   9969   lt_cv_irix_exported_symbol=no
   9970 fi
   9971 rm -f core conftest.err conftest.$ac_objext \
   9972     conftest$ac_exeext conftest.$ac_ext
   9973            LDFLAGS=$save_LDFLAGS
   9974 fi
   9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9976 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9977 	if test yes = "$lt_cv_irix_exported_symbol"; then
   9978           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'
   9979 	fi
   9980 	link_all_deplibs=no
   9981       else
   9982 	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'
   9983 	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'
   9984       fi
   9985       archive_cmds_need_lc='no'
   9986       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9987       hardcode_libdir_separator=:
   9988       inherit_rpath=yes
   9989       link_all_deplibs=yes
   9990       ;;
   9991 
   9992     linux*)
   9993       case $cc_basename in
   9994       tcc*)
   9995 	# Fabrice Bellard et al's Tiny C Compiler
   9996 	ld_shlibs=yes
   9997 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9998 	;;
   9999       esac
   10000       ;;
   10001 
   10002     netbsd* | netbsdelf*-gnu)
   10003       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10004 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10005       else
   10006 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10007       fi
   10008       hardcode_libdir_flag_spec='-R$libdir'
   10009       hardcode_direct=yes
   10010       hardcode_shlibpath_var=no
   10011       ;;
   10012 
   10013     newsos6)
   10014       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10015       hardcode_direct=yes
   10016       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10017       hardcode_libdir_separator=:
   10018       hardcode_shlibpath_var=no
   10019       ;;
   10020 
   10021     *nto* | *qnx*)
   10022       ;;
   10023 
   10024     openbsd* | bitrig*)
   10025       if test -f /usr/libexec/ld.so; then
   10026 	hardcode_direct=yes
   10027 	hardcode_shlibpath_var=no
   10028 	hardcode_direct_absolute=yes
   10029 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10030 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10031 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10032 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10033 	  export_dynamic_flag_spec='$wl-E'
   10034 	else
   10035 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10036 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10037 	fi
   10038       else
   10039 	ld_shlibs=no
   10040       fi
   10041       ;;
   10042 
   10043     os2*)
   10044       hardcode_libdir_flag_spec='-L$libdir'
   10045       hardcode_minus_L=yes
   10046       allow_undefined_flag=unsupported
   10047       shrext_cmds=.dll
   10048       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10049 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10050 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10051 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10052 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10053 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10054 	emximp -o $lib $output_objdir/$libname.def'
   10055       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10056 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10057 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10058 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10059 	prefix_cmds="$SED"~
   10060 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10061 	  prefix_cmds="$prefix_cmds -e 1d";
   10062 	fi~
   10063 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10064 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10065 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10066 	emximp -o $lib $output_objdir/$libname.def'
   10067       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10068       enable_shared_with_static_runtimes=yes
   10069       ;;
   10070 
   10071     osf3*)
   10072       if test yes = "$GCC"; then
   10073 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10074 	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'
   10075       else
   10076 	allow_undefined_flag=' -expect_unresolved \*'
   10077 	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'
   10078       fi
   10079       archive_cmds_need_lc='no'
   10080       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10081       hardcode_libdir_separator=:
   10082       ;;
   10083 
   10084     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10085       if test yes = "$GCC"; then
   10086 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10087 	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'
   10088 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10089       else
   10090 	allow_undefined_flag=' -expect_unresolved \*'
   10091 	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'
   10092 	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~
   10093           $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'
   10094 
   10095 	# Both c and cxx compiler support -rpath directly
   10096 	hardcode_libdir_flag_spec='-rpath $libdir'
   10097       fi
   10098       archive_cmds_need_lc='no'
   10099       hardcode_libdir_separator=:
   10100       ;;
   10101 
   10102     solaris*)
   10103       no_undefined_flag=' -z defs'
   10104       if test yes = "$GCC"; then
   10105 	wlarc='$wl'
   10106 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10107 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10108           $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'
   10109       else
   10110 	case `$CC -V 2>&1` in
   10111 	*"Compilers 5.0"*)
   10112 	  wlarc=''
   10113 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10114 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10115             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10116 	  ;;
   10117 	*)
   10118 	  wlarc='$wl'
   10119 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10120 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10121             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10122 	  ;;
   10123 	esac
   10124       fi
   10125       hardcode_libdir_flag_spec='-R$libdir'
   10126       hardcode_shlibpath_var=no
   10127       case $host_os in
   10128       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10129       *)
   10130 	# The compiler driver will combine and reorder linker options,
   10131 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10132 	# but is careful enough not to reorder.
   10133 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10134 	if test yes = "$GCC"; then
   10135 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10136 	else
   10137 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10138 	fi
   10139 	;;
   10140       esac
   10141       link_all_deplibs=yes
   10142       ;;
   10143 
   10144     sunos4*)
   10145       if test sequent = "$host_vendor"; then
   10146 	# Use $CC to link under sequent, because it throws in some extra .o
   10147 	# files that make .init and .fini sections work.
   10148 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10149       else
   10150 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10151       fi
   10152       hardcode_libdir_flag_spec='-L$libdir'
   10153       hardcode_direct=yes
   10154       hardcode_minus_L=yes
   10155       hardcode_shlibpath_var=no
   10156       ;;
   10157 
   10158     sysv4)
   10159       case $host_vendor in
   10160 	sni)
   10161 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10162 	  hardcode_direct=yes # is this really true???
   10163 	;;
   10164 	siemens)
   10165 	  ## LD is ld it makes a PLAMLIB
   10166 	  ## CC just makes a GrossModule.
   10167 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10168 	  reload_cmds='$CC -r -o $output$reload_objs'
   10169 	  hardcode_direct=no
   10170         ;;
   10171 	motorola)
   10172 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10173 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10174 	;;
   10175       esac
   10176       runpath_var='LD_RUN_PATH'
   10177       hardcode_shlibpath_var=no
   10178       ;;
   10179 
   10180     sysv4.3*)
   10181       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10182       hardcode_shlibpath_var=no
   10183       export_dynamic_flag_spec='-Bexport'
   10184       ;;
   10185 
   10186     sysv4*MP*)
   10187       if test -d /usr/nec; then
   10188 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10189 	hardcode_shlibpath_var=no
   10190 	runpath_var=LD_RUN_PATH
   10191 	hardcode_runpath_var=yes
   10192 	ld_shlibs=yes
   10193       fi
   10194       ;;
   10195 
   10196     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10197       no_undefined_flag='$wl-z,text'
   10198       archive_cmds_need_lc=no
   10199       hardcode_shlibpath_var=no
   10200       runpath_var='LD_RUN_PATH'
   10201 
   10202       if test yes = "$GCC"; then
   10203 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10204 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10205       else
   10206 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10207 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10208       fi
   10209       ;;
   10210 
   10211     sysv5* | sco3.2v5* | sco5v6*)
   10212       # Note: We CANNOT use -z defs as we might desire, because we do not
   10213       # link with -lc, and that would cause any symbols used from libc to
   10214       # always be unresolved, which means just about no library would
   10215       # ever link correctly.  If we're not using GNU ld we use -z text
   10216       # though, which does catch some bad symbols but isn't as heavy-handed
   10217       # as -z defs.
   10218       no_undefined_flag='$wl-z,text'
   10219       allow_undefined_flag='$wl-z,nodefs'
   10220       archive_cmds_need_lc=no
   10221       hardcode_shlibpath_var=no
   10222       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10223       hardcode_libdir_separator=':'
   10224       link_all_deplibs=yes
   10225       export_dynamic_flag_spec='$wl-Bexport'
   10226       runpath_var='LD_RUN_PATH'
   10227 
   10228       if test yes = "$GCC"; then
   10229 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10230 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10231       else
   10232 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10233 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10234       fi
   10235       ;;
   10236 
   10237     uts4*)
   10238       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10239       hardcode_libdir_flag_spec='-L$libdir'
   10240       hardcode_shlibpath_var=no
   10241       ;;
   10242 
   10243     *)
   10244       ld_shlibs=no
   10245       ;;
   10246     esac
   10247 
   10248     if test sni = "$host_vendor"; then
   10249       case $host in
   10250       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10251 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10252 	;;
   10253       esac
   10254     fi
   10255   fi
   10256 
   10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10258 $as_echo "$ld_shlibs" >&6; }
   10259 test no = "$ld_shlibs" && can_build_shared=no
   10260 
   10261 with_gnu_ld=$with_gnu_ld
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 #
   10278 # Do we need to explicitly link libc?
   10279 #
   10280 case "x$archive_cmds_need_lc" in
   10281 x|xyes)
   10282   # Assume -lc should be added
   10283   archive_cmds_need_lc=yes
   10284 
   10285   if test yes,yes = "$GCC,$enable_shared"; then
   10286     case $archive_cmds in
   10287     *'~'*)
   10288       # FIXME: we may have to deal with multi-command sequences.
   10289       ;;
   10290     '$CC '*)
   10291       # Test whether the compiler implicitly links with -lc since on some
   10292       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10293       # to ld, don't add -lc before -lgcc.
   10294       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10295 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10296 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10297   $as_echo_n "(cached) " >&6
   10298 else
   10299   $RM conftest*
   10300 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10301 
   10302 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10303   (eval $ac_compile) 2>&5
   10304   ac_status=$?
   10305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10306   test $ac_status = 0; } 2>conftest.err; then
   10307 	  soname=conftest
   10308 	  lib=conftest
   10309 	  libobjs=conftest.$ac_objext
   10310 	  deplibs=
   10311 	  wl=$lt_prog_compiler_wl
   10312 	  pic_flag=$lt_prog_compiler_pic
   10313 	  compiler_flags=-v
   10314 	  linker_flags=-v
   10315 	  verstring=
   10316 	  output_objdir=.
   10317 	  libname=conftest
   10318 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10319 	  allow_undefined_flag=
   10320 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10321   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10322   ac_status=$?
   10323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10324   test $ac_status = 0; }
   10325 	  then
   10326 	    lt_cv_archive_cmds_need_lc=no
   10327 	  else
   10328 	    lt_cv_archive_cmds_need_lc=yes
   10329 	  fi
   10330 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10331 	else
   10332 	  cat conftest.err 1>&5
   10333 	fi
   10334 	$RM conftest*
   10335 
   10336 fi
   10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10338 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10339       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10340       ;;
   10341     esac
   10342   fi
   10343   ;;
   10344 esac
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10498 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10499 
   10500 if test yes = "$GCC"; then
   10501   case $host_os in
   10502     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10503     *) lt_awk_arg='/^libraries:/' ;;
   10504   esac
   10505   case $host_os in
   10506     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10507     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10508   esac
   10509   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10510   case $lt_search_path_spec in
   10511   *\;*)
   10512     # if the path contains ";" then we assume it to be the separator
   10513     # otherwise default to the standard path separator (i.e. ":") - it is
   10514     # assumed that no part of a normal pathname contains ";" but that should
   10515     # okay in the real world where ";" in dirpaths is itself problematic.
   10516     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10517     ;;
   10518   *)
   10519     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10520     ;;
   10521   esac
   10522   # Ok, now we have the path, separated by spaces, we can step through it
   10523   # and add multilib dir if necessary...
   10524   lt_tmp_lt_search_path_spec=
   10525   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10526   # ...but if some path component already ends with the multilib dir we assume
   10527   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10528   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10529   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10530     lt_multi_os_dir=
   10531     ;;
   10532   esac
   10533   for lt_sys_path in $lt_search_path_spec; do
   10534     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10535       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10536     elif test -n "$lt_multi_os_dir"; then
   10537       test -d "$lt_sys_path" && \
   10538 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10539     fi
   10540   done
   10541   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10542 BEGIN {RS = " "; FS = "/|\n";} {
   10543   lt_foo = "";
   10544   lt_count = 0;
   10545   for (lt_i = NF; lt_i > 0; lt_i--) {
   10546     if ($lt_i != "" && $lt_i != ".") {
   10547       if ($lt_i == "..") {
   10548         lt_count++;
   10549       } else {
   10550         if (lt_count == 0) {
   10551           lt_foo = "/" $lt_i lt_foo;
   10552         } else {
   10553           lt_count--;
   10554         }
   10555       }
   10556     }
   10557   }
   10558   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10559   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10560 }'`
   10561   # AWK program above erroneously prepends '/' to C:/dos/paths
   10562   # for these hosts.
   10563   case $host_os in
   10564     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10565       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10566   esac
   10567   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10568 else
   10569   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10570 fi
   10571 library_names_spec=
   10572 libname_spec='lib$name'
   10573 soname_spec=
   10574 shrext_cmds=.so
   10575 postinstall_cmds=
   10576 postuninstall_cmds=
   10577 finish_cmds=
   10578 finish_eval=
   10579 shlibpath_var=
   10580 shlibpath_overrides_runpath=unknown
   10581 version_type=none
   10582 dynamic_linker="$host_os ld.so"
   10583 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10584 need_lib_prefix=unknown
   10585 hardcode_into_libs=no
   10586 
   10587 # when you set need_version to no, make sure it does not cause -set_version
   10588 # flags to be left without arguments
   10589 need_version=unknown
   10590 
   10591 
   10592 
   10593 case $host_os in
   10594 aix3*)
   10595   version_type=linux # correct to gnu/linux during the next big refactor
   10596   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10597   shlibpath_var=LIBPATH
   10598 
   10599   # AIX 3 has no versioning support, so we append a major version to the name.
   10600   soname_spec='$libname$release$shared_ext$major'
   10601   ;;
   10602 
   10603 aix[4-9]*)
   10604   version_type=linux # correct to gnu/linux during the next big refactor
   10605   need_lib_prefix=no
   10606   need_version=no
   10607   hardcode_into_libs=yes
   10608   if test ia64 = "$host_cpu"; then
   10609     # AIX 5 supports IA64
   10610     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10611     shlibpath_var=LD_LIBRARY_PATH
   10612   else
   10613     # With GCC up to 2.95.x, collect2 would create an import file
   10614     # for dependence libraries.  The import file would start with
   10615     # the line '#! .'.  This would cause the generated library to
   10616     # depend on '.', always an invalid library.  This was fixed in
   10617     # development snapshots of GCC prior to 3.0.
   10618     case $host_os in
   10619       aix4 | aix4.[01] | aix4.[01].*)
   10620       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10621 	   echo ' yes '
   10622 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   10623 	:
   10624       else
   10625 	can_build_shared=no
   10626       fi
   10627       ;;
   10628     esac
   10629     # Using Import Files as archive members, it is possible to support
   10630     # filename-based versioning of shared library archives on AIX. While
   10631     # this would work for both with and without runtime linking, it will
   10632     # prevent static linking of such archives. So we do filename-based
   10633     # shared library versioning with .so extension only, which is used
   10634     # when both runtime linking and shared linking is enabled.
   10635     # Unfortunately, runtime linking may impact performance, so we do
   10636     # not want this to be the default eventually. Also, we use the
   10637     # versioned .so libs for executables only if there is the -brtl
   10638     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   10639     # To allow for filename-based versioning support, we need to create
   10640     # libNAME.so.V as an archive file, containing:
   10641     # *) an Import File, referring to the versioned filename of the
   10642     #    archive as well as the shared archive member, telling the
   10643     #    bitwidth (32 or 64) of that shared object, and providing the
   10644     #    list of exported symbols of that shared object, eventually
   10645     #    decorated with the 'weak' keyword
   10646     # *) the shared object with the F_LOADONLY flag set, to really avoid
   10647     #    it being seen by the linker.
   10648     # At run time we better use the real file rather than another symlink,
   10649     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   10650 
   10651     case $with_aix_soname,$aix_use_runtimelinking in
   10652     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   10653     # soname into executable. Probably we can add versioning support to
   10654     # collect2, so additional links can be useful in future.
   10655     aix,yes) # traditional libtool
   10656       dynamic_linker='AIX unversionable lib.so'
   10657       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10658       # instead of lib<name>.a to let people know that these are not
   10659       # typical AIX shared libraries.
   10660       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10661       ;;
   10662     aix,no) # traditional AIX only
   10663       dynamic_linker='AIX lib.a(lib.so.V)'
   10664       # We preserve .a as extension for shared libraries through AIX4.2
   10665       # and later when we are not doing run time linking.
   10666       library_names_spec='$libname$release.a $libname.a'
   10667       soname_spec='$libname$release$shared_ext$major'
   10668       ;;
   10669     svr4,*) # full svr4 only
   10670       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   10671       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10672       # We do not specify a path in Import Files, so LIBPATH fires.
   10673       shlibpath_overrides_runpath=yes
   10674       ;;
   10675     *,yes) # both, prefer svr4
   10676       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   10677       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10678       # unpreferred sharedlib libNAME.a needs extra handling
   10679       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   10680       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   10681       # We do not specify a path in Import Files, so LIBPATH fires.
   10682       shlibpath_overrides_runpath=yes
   10683       ;;
   10684     *,no) # both, prefer aix
   10685       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   10686       library_names_spec='$libname$release.a $libname.a'
   10687       soname_spec='$libname$release$shared_ext$major'
   10688       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   10689       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   10690       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   10691       ;;
   10692     esac
   10693     shlibpath_var=LIBPATH
   10694   fi
   10695   ;;
   10696 
   10697 amigaos*)
   10698   case $host_cpu in
   10699   powerpc)
   10700     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10701     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10702     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10703     ;;
   10704   m68k)
   10705     library_names_spec='$libname.ixlibrary $libname.a'
   10706     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10707     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
   10708     ;;
   10709   esac
   10710   ;;
   10711 
   10712 beos*)
   10713   library_names_spec='$libname$shared_ext'
   10714   dynamic_linker="$host_os ld.so"
   10715   shlibpath_var=LIBRARY_PATH
   10716   ;;
   10717 
   10718 bsdi[45]*)
   10719   version_type=linux # correct to gnu/linux during the next big refactor
   10720   need_version=no
   10721   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10722   soname_spec='$libname$release$shared_ext$major'
   10723   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10724   shlibpath_var=LD_LIBRARY_PATH
   10725   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10726   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10727   # the default ld.so.conf also contains /usr/contrib/lib and
   10728   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10729   # libtool to hard-code these into programs
   10730   ;;
   10731 
   10732 cygwin* | mingw* | pw32* | cegcc*)
   10733   version_type=windows
   10734   shrext_cmds=.dll
   10735   need_version=no
   10736   need_lib_prefix=no
   10737 
   10738   case $GCC,$cc_basename in
   10739   yes,*)
   10740     # gcc
   10741     library_names_spec='$libname.dll.a'
   10742     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10743     postinstall_cmds='base_file=`basename \$file`~
   10744       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10745       dldir=$destdir/`dirname \$dlpath`~
   10746       test -d \$dldir || mkdir -p \$dldir~
   10747       $install_prog $dir/$dlname \$dldir/$dlname~
   10748       chmod a+x \$dldir/$dlname~
   10749       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10750         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10751       fi'
   10752     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10753       dlpath=$dir/\$dldll~
   10754        $RM \$dlpath'
   10755     shlibpath_overrides_runpath=yes
   10756 
   10757     case $host_os in
   10758     cygwin*)
   10759       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10760       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10761 
   10762       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10763       ;;
   10764     mingw* | cegcc*)
   10765       # MinGW DLLs use traditional 'lib' prefix
   10766       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10767       ;;
   10768     pw32*)
   10769       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10770       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10771       ;;
   10772     esac
   10773     dynamic_linker='Win32 ld.exe'
   10774     ;;
   10775 
   10776   *,cl*)
   10777     # Native MSVC
   10778     libname_spec='$name'
   10779     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10780     library_names_spec='$libname.dll.lib'
   10781 
   10782     case $build_os in
   10783     mingw*)
   10784       sys_lib_search_path_spec=
   10785       lt_save_ifs=$IFS
   10786       IFS=';'
   10787       for lt_path in $LIB
   10788       do
   10789         IFS=$lt_save_ifs
   10790         # Let DOS variable expansion print the short 8.3 style file name.
   10791         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10792         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10793       done
   10794       IFS=$lt_save_ifs
   10795       # Convert to MSYS style.
   10796       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10797       ;;
   10798     cygwin*)
   10799       # Convert to unix form, then to dos form, then back to unix form
   10800       # but this time dos style (no spaces!) so that the unix form looks
   10801       # like /cygdrive/c/PROGRA~1:/cygdr...
   10802       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10803       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10804       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10805       ;;
   10806     *)
   10807       sys_lib_search_path_spec=$LIB
   10808       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10809         # It is most probably a Windows format PATH.
   10810         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10811       else
   10812         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10813       fi
   10814       # FIXME: find the short name or the path components, as spaces are
   10815       # common. (e.g. "Program Files" -> "PROGRA~1")
   10816       ;;
   10817     esac
   10818 
   10819     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10820     postinstall_cmds='base_file=`basename \$file`~
   10821       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10822       dldir=$destdir/`dirname \$dlpath`~
   10823       test -d \$dldir || mkdir -p \$dldir~
   10824       $install_prog $dir/$dlname \$dldir/$dlname'
   10825     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10826       dlpath=$dir/\$dldll~
   10827        $RM \$dlpath'
   10828     shlibpath_overrides_runpath=yes
   10829     dynamic_linker='Win32 link.exe'
   10830     ;;
   10831 
   10832   *)
   10833     # Assume MSVC wrapper
   10834     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   10835     dynamic_linker='Win32 ld.exe'
   10836     ;;
   10837   esac
   10838   # FIXME: first we should search . and the directory the executable is in
   10839   shlibpath_var=PATH
   10840   ;;
   10841 
   10842 darwin* | rhapsody*)
   10843   dynamic_linker="$host_os dyld"
   10844   version_type=darwin
   10845   need_lib_prefix=no
   10846   need_version=no
   10847   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   10848   soname_spec='$libname$release$major$shared_ext'
   10849   shlibpath_overrides_runpath=yes
   10850   shlibpath_var=DYLD_LIBRARY_PATH
   10851   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10852 
   10853   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10854   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10855   ;;
   10856 
   10857 dgux*)
   10858   version_type=linux # correct to gnu/linux during the next big refactor
   10859   need_lib_prefix=no
   10860   need_version=no
   10861   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10862   soname_spec='$libname$release$shared_ext$major'
   10863   shlibpath_var=LD_LIBRARY_PATH
   10864   ;;
   10865 
   10866 freebsd* | dragonfly*)
   10867   # DragonFly does not have aout.  When/if they implement a new
   10868   # versioning mechanism, adjust this.
   10869   if test -x /usr/bin/objformat; then
   10870     objformat=`/usr/bin/objformat`
   10871   else
   10872     case $host_os in
   10873     freebsd[23].*) objformat=aout ;;
   10874     *) objformat=elf ;;
   10875     esac
   10876   fi
   10877   version_type=freebsd-$objformat
   10878   case $version_type in
   10879     freebsd-elf*)
   10880       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10881       soname_spec='$libname$release$shared_ext$major'
   10882       need_version=no
   10883       need_lib_prefix=no
   10884       ;;
   10885     freebsd-*)
   10886       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10887       need_version=yes
   10888       ;;
   10889   esac
   10890   shlibpath_var=LD_LIBRARY_PATH
   10891   case $host_os in
   10892   freebsd2.*)
   10893     shlibpath_overrides_runpath=yes
   10894     ;;
   10895   freebsd3.[01]* | freebsdelf3.[01]*)
   10896     shlibpath_overrides_runpath=yes
   10897     hardcode_into_libs=yes
   10898     ;;
   10899   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10900   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10901     shlibpath_overrides_runpath=no
   10902     hardcode_into_libs=yes
   10903     ;;
   10904   *) # from 4.6 on, and DragonFly
   10905     shlibpath_overrides_runpath=yes
   10906     hardcode_into_libs=yes
   10907     ;;
   10908   esac
   10909   ;;
   10910 
   10911 haiku*)
   10912   version_type=linux # correct to gnu/linux during the next big refactor
   10913   need_lib_prefix=no
   10914   need_version=no
   10915   dynamic_linker="$host_os runtime_loader"
   10916   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10917   soname_spec='$libname$release$shared_ext$major'
   10918   shlibpath_var=LIBRARY_PATH
   10919   shlibpath_overrides_runpath=no
   10920   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10921   hardcode_into_libs=yes
   10922   ;;
   10923 
   10924 hpux9* | hpux10* | hpux11*)
   10925   # Give a soname corresponding to the major version so that dld.sl refuses to
   10926   # link against other versions.
   10927   version_type=sunos
   10928   need_lib_prefix=no
   10929   need_version=no
   10930   case $host_cpu in
   10931   ia64*)
   10932     shrext_cmds='.so'
   10933     hardcode_into_libs=yes
   10934     dynamic_linker="$host_os dld.so"
   10935     shlibpath_var=LD_LIBRARY_PATH
   10936     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10937     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10938     soname_spec='$libname$release$shared_ext$major'
   10939     if test 32 = "$HPUX_IA64_MODE"; then
   10940       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10941       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   10942     else
   10943       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10944       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   10945     fi
   10946     ;;
   10947   hppa*64*)
   10948     shrext_cmds='.sl'
   10949     hardcode_into_libs=yes
   10950     dynamic_linker="$host_os dld.sl"
   10951     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10952     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10953     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10954     soname_spec='$libname$release$shared_ext$major'
   10955     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10956     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10957     ;;
   10958   *)
   10959     shrext_cmds='.sl'
   10960     dynamic_linker="$host_os dld.sl"
   10961     shlibpath_var=SHLIB_PATH
   10962     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10963     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10964     soname_spec='$libname$release$shared_ext$major'
   10965     ;;
   10966   esac
   10967   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10968   postinstall_cmds='chmod 555 $lib'
   10969   # or fails outright, so override atomically:
   10970   install_override_mode=555
   10971   ;;
   10972 
   10973 interix[3-9]*)
   10974   version_type=linux # correct to gnu/linux during the next big refactor
   10975   need_lib_prefix=no
   10976   need_version=no
   10977   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10978   soname_spec='$libname$release$shared_ext$major'
   10979   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10980   shlibpath_var=LD_LIBRARY_PATH
   10981   shlibpath_overrides_runpath=no
   10982   hardcode_into_libs=yes
   10983   ;;
   10984 
   10985 irix5* | irix6* | nonstopux*)
   10986   case $host_os in
   10987     nonstopux*) version_type=nonstopux ;;
   10988     *)
   10989 	if test yes = "$lt_cv_prog_gnu_ld"; then
   10990 		version_type=linux # correct to gnu/linux during the next big refactor
   10991 	else
   10992 		version_type=irix
   10993 	fi ;;
   10994   esac
   10995   need_lib_prefix=no
   10996   need_version=no
   10997   soname_spec='$libname$release$shared_ext$major'
   10998   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   10999   case $host_os in
   11000   irix5* | nonstopux*)
   11001     libsuff= shlibsuff=
   11002     ;;
   11003   *)
   11004     case $LD in # libtool.m4 will add one of these switches to LD
   11005     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11006       libsuff= shlibsuff= libmagic=32-bit;;
   11007     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11008       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11009     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11010       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11011     *) libsuff= shlibsuff= libmagic=never-match;;
   11012     esac
   11013     ;;
   11014   esac
   11015   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11016   shlibpath_overrides_runpath=no
   11017   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11018   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11019   hardcode_into_libs=yes
   11020   ;;
   11021 
   11022 # No shared lib support for Linux oldld, aout, or coff.
   11023 linux*oldld* | linux*aout* | linux*coff*)
   11024   dynamic_linker=no
   11025   ;;
   11026 
   11027 linux*android*)
   11028   version_type=none # Android doesn't support versioned libraries.
   11029   need_lib_prefix=no
   11030   need_version=no
   11031   library_names_spec='$libname$release$shared_ext'
   11032   soname_spec='$libname$release$shared_ext'
   11033   finish_cmds=
   11034   shlibpath_var=LD_LIBRARY_PATH
   11035   shlibpath_overrides_runpath=yes
   11036 
   11037   # This implies no fast_install, which is unacceptable.
   11038   # Some rework will be needed to allow for fast_install
   11039   # before this can be enabled.
   11040   hardcode_into_libs=yes
   11041 
   11042   dynamic_linker='Android linker'
   11043   # Don't embed -rpath directories since the linker doesn't support them.
   11044   hardcode_libdir_flag_spec='-L$libdir'
   11045   ;;
   11046 
   11047 # This must be glibc/ELF.
   11048 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11049   version_type=linux # correct to gnu/linux during the next big refactor
   11050   need_lib_prefix=no
   11051   need_version=no
   11052   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11053   soname_spec='$libname$release$shared_ext$major'
   11054   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11055   shlibpath_var=LD_LIBRARY_PATH
   11056   shlibpath_overrides_runpath=no
   11057 
   11058   # Some binutils ld are patched to set DT_RUNPATH
   11059   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11060   $as_echo_n "(cached) " >&6
   11061 else
   11062   lt_cv_shlibpath_overrides_runpath=no
   11063     save_LDFLAGS=$LDFLAGS
   11064     save_libdir=$libdir
   11065     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11066 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11067     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11068 /* end confdefs.h.  */
   11069 
   11070 int
   11071 main ()
   11072 {
   11073 
   11074   ;
   11075   return 0;
   11076 }
   11077 _ACEOF
   11078 if ac_fn_c_try_link "$LINENO"; then :
   11079   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11080   lt_cv_shlibpath_overrides_runpath=yes
   11081 fi
   11082 fi
   11083 rm -f core conftest.err conftest.$ac_objext \
   11084     conftest$ac_exeext conftest.$ac_ext
   11085     LDFLAGS=$save_LDFLAGS
   11086     libdir=$save_libdir
   11087 
   11088 fi
   11089 
   11090   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11091 
   11092   # This implies no fast_install, which is unacceptable.
   11093   # Some rework will be needed to allow for fast_install
   11094   # before this can be enabled.
   11095   hardcode_into_libs=yes
   11096 
   11097   # Ideally, we could use ldconfig to report *all* directores which are
   11098   # searched for libraries, however this is still not possible.  Aside from not
   11099   # being certain /sbin/ldconfig is available, command
   11100   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11101   # even though it is searched at run-time.  Try to do the best guess by
   11102   # appending ld.so.conf contents (and includes) to the search path.
   11103   if test -f /etc/ld.so.conf; then
   11104     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' ' '`
   11105     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11106   fi
   11107 
   11108   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11109   # powerpc, because MkLinux only supported shared libraries with the
   11110   # GNU dynamic linker.  Since this was broken with cross compilers,
   11111   # most powerpc-linux boxes support dynamic linking these days and
   11112   # people can always --disable-shared, the test was removed, and we
   11113   # assume the GNU/Linux dynamic linker is in use.
   11114   dynamic_linker='GNU/Linux ld.so'
   11115   ;;
   11116 
   11117 netbsdelf*-gnu)
   11118   version_type=linux
   11119   need_lib_prefix=no
   11120   need_version=no
   11121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11122   soname_spec='${libname}${release}${shared_ext}$major'
   11123   shlibpath_var=LD_LIBRARY_PATH
   11124   shlibpath_overrides_runpath=no
   11125   hardcode_into_libs=yes
   11126   dynamic_linker='NetBSD ld.elf_so'
   11127   ;;
   11128 
   11129 netbsd*)
   11130   version_type=sunos
   11131   need_lib_prefix=no
   11132   need_version=no
   11133   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11134     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11135     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11136     dynamic_linker='NetBSD (a.out) ld.so'
   11137   else
   11138     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11139     soname_spec='$libname$release$shared_ext$major'
   11140     dynamic_linker='NetBSD ld.elf_so'
   11141   fi
   11142   shlibpath_var=LD_LIBRARY_PATH
   11143   shlibpath_overrides_runpath=yes
   11144   hardcode_into_libs=yes
   11145   ;;
   11146 
   11147 newsos6)
   11148   version_type=linux # correct to gnu/linux during the next big refactor
   11149   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11150   shlibpath_var=LD_LIBRARY_PATH
   11151   shlibpath_overrides_runpath=yes
   11152   ;;
   11153 
   11154 *nto* | *qnx*)
   11155   version_type=qnx
   11156   need_lib_prefix=no
   11157   need_version=no
   11158   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11159   soname_spec='$libname$release$shared_ext$major'
   11160   shlibpath_var=LD_LIBRARY_PATH
   11161   shlibpath_overrides_runpath=no
   11162   hardcode_into_libs=yes
   11163   dynamic_linker='ldqnx.so'
   11164   ;;
   11165 
   11166 openbsd* | bitrig*)
   11167   version_type=sunos
   11168   sys_lib_dlsearch_path_spec=/usr/lib
   11169   need_lib_prefix=no
   11170   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11171     need_version=no
   11172   else
   11173     need_version=yes
   11174   fi
   11175   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11176   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11177   shlibpath_var=LD_LIBRARY_PATH
   11178   shlibpath_overrides_runpath=yes
   11179   ;;
   11180 
   11181 os2*)
   11182   libname_spec='$name'
   11183   version_type=windows
   11184   shrext_cmds=.dll
   11185   need_version=no
   11186   need_lib_prefix=no
   11187   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11188   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11189     v=$($ECHO $release$versuffix | tr -d .-);
   11190     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11191     $ECHO $n$v`$shared_ext'
   11192   library_names_spec='${libname}_dll.$libext'
   11193   dynamic_linker='OS/2 ld.exe'
   11194   shlibpath_var=BEGINLIBPATH
   11195   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11196   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11197   postinstall_cmds='base_file=`basename \$file`~
   11198     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11199     dldir=$destdir/`dirname \$dlpath`~
   11200     test -d \$dldir || mkdir -p \$dldir~
   11201     $install_prog $dir/$dlname \$dldir/$dlname~
   11202     chmod a+x \$dldir/$dlname~
   11203     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11204       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11205     fi'
   11206   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11207     dlpath=$dir/\$dldll~
   11208     $RM \$dlpath'
   11209   ;;
   11210 
   11211 osf3* | osf4* | osf5*)
   11212   version_type=osf
   11213   need_lib_prefix=no
   11214   need_version=no
   11215   soname_spec='$libname$release$shared_ext$major'
   11216   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11217   shlibpath_var=LD_LIBRARY_PATH
   11218   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11219   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11220   ;;
   11221 
   11222 rdos*)
   11223   dynamic_linker=no
   11224   ;;
   11225 
   11226 solaris*)
   11227   version_type=linux # correct to gnu/linux during the next big refactor
   11228   need_lib_prefix=no
   11229   need_version=no
   11230   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11231   soname_spec='$libname$release$shared_ext$major'
   11232   shlibpath_var=LD_LIBRARY_PATH
   11233   shlibpath_overrides_runpath=yes
   11234   hardcode_into_libs=yes
   11235   # ldd complains unless libraries are executable
   11236   postinstall_cmds='chmod +x $lib'
   11237   ;;
   11238 
   11239 sunos4*)
   11240   version_type=sunos
   11241   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11242   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11243   shlibpath_var=LD_LIBRARY_PATH
   11244   shlibpath_overrides_runpath=yes
   11245   if test yes = "$with_gnu_ld"; then
   11246     need_lib_prefix=no
   11247   fi
   11248   need_version=yes
   11249   ;;
   11250 
   11251 sysv4 | sysv4.3*)
   11252   version_type=linux # correct to gnu/linux during the next big refactor
   11253   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11254   soname_spec='$libname$release$shared_ext$major'
   11255   shlibpath_var=LD_LIBRARY_PATH
   11256   case $host_vendor in
   11257     sni)
   11258       shlibpath_overrides_runpath=no
   11259       need_lib_prefix=no
   11260       runpath_var=LD_RUN_PATH
   11261       ;;
   11262     siemens)
   11263       need_lib_prefix=no
   11264       ;;
   11265     motorola)
   11266       need_lib_prefix=no
   11267       need_version=no
   11268       shlibpath_overrides_runpath=no
   11269       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11270       ;;
   11271   esac
   11272   ;;
   11273 
   11274 sysv4*MP*)
   11275   if test -d /usr/nec; then
   11276     version_type=linux # correct to gnu/linux during the next big refactor
   11277     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11278     soname_spec='$libname$shared_ext.$major'
   11279     shlibpath_var=LD_LIBRARY_PATH
   11280   fi
   11281   ;;
   11282 
   11283 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11284   version_type=sco
   11285   need_lib_prefix=no
   11286   need_version=no
   11287   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11288   soname_spec='$libname$release$shared_ext$major'
   11289   shlibpath_var=LD_LIBRARY_PATH
   11290   shlibpath_overrides_runpath=yes
   11291   hardcode_into_libs=yes
   11292   if test yes = "$with_gnu_ld"; then
   11293     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11294   else
   11295     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11296     case $host_os in
   11297       sco3.2v5*)
   11298         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11299 	;;
   11300     esac
   11301   fi
   11302   sys_lib_dlsearch_path_spec='/usr/lib'
   11303   ;;
   11304 
   11305 tpf*)
   11306   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11307   version_type=linux # correct to gnu/linux during the next big refactor
   11308   need_lib_prefix=no
   11309   need_version=no
   11310   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11311   shlibpath_var=LD_LIBRARY_PATH
   11312   shlibpath_overrides_runpath=no
   11313   hardcode_into_libs=yes
   11314   ;;
   11315 
   11316 uts4*)
   11317   version_type=linux # correct to gnu/linux during the next big refactor
   11318   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11319   soname_spec='$libname$release$shared_ext$major'
   11320   shlibpath_var=LD_LIBRARY_PATH
   11321   ;;
   11322 
   11323 *)
   11324   dynamic_linker=no
   11325   ;;
   11326 esac
   11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11328 $as_echo "$dynamic_linker" >&6; }
   11329 test no = "$dynamic_linker" && can_build_shared=no
   11330 
   11331 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11332 if test yes = "$GCC"; then
   11333   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11334 fi
   11335 
   11336 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11337   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11338 fi
   11339 
   11340 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11341   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11342 fi
   11343 
   11344 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11345 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11346 
   11347 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11348 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11349 
   11350 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11351 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11450 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11451 hardcode_action=
   11452 if test -n "$hardcode_libdir_flag_spec" ||
   11453    test -n "$runpath_var" ||
   11454    test yes = "$hardcode_automatic"; then
   11455 
   11456   # We can hardcode non-existent directories.
   11457   if test no != "$hardcode_direct" &&
   11458      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11459      # have to relink, otherwise we might link with an installed library
   11460      # when we should be linking with a yet-to-be-installed one
   11461      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11462      test no != "$hardcode_minus_L"; then
   11463     # Linking always hardcodes the temporary library directory.
   11464     hardcode_action=relink
   11465   else
   11466     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11467     hardcode_action=immediate
   11468   fi
   11469 else
   11470   # We cannot hardcode anything, or else we can only hardcode existing
   11471   # directories.
   11472   hardcode_action=unsupported
   11473 fi
   11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11475 $as_echo "$hardcode_action" >&6; }
   11476 
   11477 if test relink = "$hardcode_action" ||
   11478    test yes = "$inherit_rpath"; then
   11479   # Fast installation is not supported
   11480   enable_fast_install=no
   11481 elif test yes = "$shlibpath_overrides_runpath" ||
   11482      test no = "$enable_shared"; then
   11483   # Fast installation is not necessary
   11484   enable_fast_install=needless
   11485 fi
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492   if test yes != "$enable_dlopen"; then
   11493   enable_dlopen=unknown
   11494   enable_dlopen_self=unknown
   11495   enable_dlopen_self_static=unknown
   11496 else
   11497   lt_cv_dlopen=no
   11498   lt_cv_dlopen_libs=
   11499 
   11500   case $host_os in
   11501   beos*)
   11502     lt_cv_dlopen=load_add_on
   11503     lt_cv_dlopen_libs=
   11504     lt_cv_dlopen_self=yes
   11505     ;;
   11506 
   11507   mingw* | pw32* | cegcc*)
   11508     lt_cv_dlopen=LoadLibrary
   11509     lt_cv_dlopen_libs=
   11510     ;;
   11511 
   11512   cygwin*)
   11513     lt_cv_dlopen=dlopen
   11514     lt_cv_dlopen_libs=
   11515     ;;
   11516 
   11517   darwin*)
   11518     # if libdl is installed we need to link against it
   11519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11520 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11521 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11522   $as_echo_n "(cached) " >&6
   11523 else
   11524   ac_check_lib_save_LIBS=$LIBS
   11525 LIBS="-ldl  $LIBS"
   11526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11527 /* end confdefs.h.  */
   11528 
   11529 /* Override any GCC internal prototype to avoid an error.
   11530    Use char because int might match the return type of a GCC
   11531    builtin and then its argument prototype would still apply.  */
   11532 #ifdef __cplusplus
   11533 extern "C"
   11534 #endif
   11535 char dlopen ();
   11536 int
   11537 main ()
   11538 {
   11539 return dlopen ();
   11540   ;
   11541   return 0;
   11542 }
   11543 _ACEOF
   11544 if ac_fn_c_try_link "$LINENO"; then :
   11545   ac_cv_lib_dl_dlopen=yes
   11546 else
   11547   ac_cv_lib_dl_dlopen=no
   11548 fi
   11549 rm -f core conftest.err conftest.$ac_objext \
   11550     conftest$ac_exeext conftest.$ac_ext
   11551 LIBS=$ac_check_lib_save_LIBS
   11552 fi
   11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11554 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11555 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11556   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11557 else
   11558 
   11559     lt_cv_dlopen=dyld
   11560     lt_cv_dlopen_libs=
   11561     lt_cv_dlopen_self=yes
   11562 
   11563 fi
   11564 
   11565     ;;
   11566 
   11567   tpf*)
   11568     # Don't try to run any link tests for TPF.  We know it's impossible
   11569     # because TPF is a cross-compiler, and we know how we open DSOs.
   11570     lt_cv_dlopen=dlopen
   11571     lt_cv_dlopen_libs=
   11572     lt_cv_dlopen_self=no
   11573     ;;
   11574 
   11575   *)
   11576     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11577 if test "x$ac_cv_func_shl_load" = xyes; then :
   11578   lt_cv_dlopen=shl_load
   11579 else
   11580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11581 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11582 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11583   $as_echo_n "(cached) " >&6
   11584 else
   11585   ac_check_lib_save_LIBS=$LIBS
   11586 LIBS="-ldld  $LIBS"
   11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11588 /* end confdefs.h.  */
   11589 
   11590 /* Override any GCC internal prototype to avoid an error.
   11591    Use char because int might match the return type of a GCC
   11592    builtin and then its argument prototype would still apply.  */
   11593 #ifdef __cplusplus
   11594 extern "C"
   11595 #endif
   11596 char shl_load ();
   11597 int
   11598 main ()
   11599 {
   11600 return shl_load ();
   11601   ;
   11602   return 0;
   11603 }
   11604 _ACEOF
   11605 if ac_fn_c_try_link "$LINENO"; then :
   11606   ac_cv_lib_dld_shl_load=yes
   11607 else
   11608   ac_cv_lib_dld_shl_load=no
   11609 fi
   11610 rm -f core conftest.err conftest.$ac_objext \
   11611     conftest$ac_exeext conftest.$ac_ext
   11612 LIBS=$ac_check_lib_save_LIBS
   11613 fi
   11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11615 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11616 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11617   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11618 else
   11619   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11620 if test "x$ac_cv_func_dlopen" = xyes; then :
   11621   lt_cv_dlopen=dlopen
   11622 else
   11623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11624 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11625 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11626   $as_echo_n "(cached) " >&6
   11627 else
   11628   ac_check_lib_save_LIBS=$LIBS
   11629 LIBS="-ldl  $LIBS"
   11630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11631 /* end confdefs.h.  */
   11632 
   11633 /* Override any GCC internal prototype to avoid an error.
   11634    Use char because int might match the return type of a GCC
   11635    builtin and then its argument prototype would still apply.  */
   11636 #ifdef __cplusplus
   11637 extern "C"
   11638 #endif
   11639 char dlopen ();
   11640 int
   11641 main ()
   11642 {
   11643 return dlopen ();
   11644   ;
   11645   return 0;
   11646 }
   11647 _ACEOF
   11648 if ac_fn_c_try_link "$LINENO"; then :
   11649   ac_cv_lib_dl_dlopen=yes
   11650 else
   11651   ac_cv_lib_dl_dlopen=no
   11652 fi
   11653 rm -f core conftest.err conftest.$ac_objext \
   11654     conftest$ac_exeext conftest.$ac_ext
   11655 LIBS=$ac_check_lib_save_LIBS
   11656 fi
   11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11658 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11659 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11660   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11661 else
   11662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11663 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11664 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11665   $as_echo_n "(cached) " >&6
   11666 else
   11667   ac_check_lib_save_LIBS=$LIBS
   11668 LIBS="-lsvld  $LIBS"
   11669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11670 /* end confdefs.h.  */
   11671 
   11672 /* Override any GCC internal prototype to avoid an error.
   11673    Use char because int might match the return type of a GCC
   11674    builtin and then its argument prototype would still apply.  */
   11675 #ifdef __cplusplus
   11676 extern "C"
   11677 #endif
   11678 char dlopen ();
   11679 int
   11680 main ()
   11681 {
   11682 return dlopen ();
   11683   ;
   11684   return 0;
   11685 }
   11686 _ACEOF
   11687 if ac_fn_c_try_link "$LINENO"; then :
   11688   ac_cv_lib_svld_dlopen=yes
   11689 else
   11690   ac_cv_lib_svld_dlopen=no
   11691 fi
   11692 rm -f core conftest.err conftest.$ac_objext \
   11693     conftest$ac_exeext conftest.$ac_ext
   11694 LIBS=$ac_check_lib_save_LIBS
   11695 fi
   11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11697 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11698 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11699   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   11700 else
   11701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11702 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11703 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11704   $as_echo_n "(cached) " >&6
   11705 else
   11706   ac_check_lib_save_LIBS=$LIBS
   11707 LIBS="-ldld  $LIBS"
   11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11709 /* end confdefs.h.  */
   11710 
   11711 /* Override any GCC internal prototype to avoid an error.
   11712    Use char because int might match the return type of a GCC
   11713    builtin and then its argument prototype would still apply.  */
   11714 #ifdef __cplusplus
   11715 extern "C"
   11716 #endif
   11717 char dld_link ();
   11718 int
   11719 main ()
   11720 {
   11721 return dld_link ();
   11722   ;
   11723   return 0;
   11724 }
   11725 _ACEOF
   11726 if ac_fn_c_try_link "$LINENO"; then :
   11727   ac_cv_lib_dld_dld_link=yes
   11728 else
   11729   ac_cv_lib_dld_dld_link=no
   11730 fi
   11731 rm -f core conftest.err conftest.$ac_objext \
   11732     conftest$ac_exeext conftest.$ac_ext
   11733 LIBS=$ac_check_lib_save_LIBS
   11734 fi
   11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11736 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11737 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11738   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   11739 fi
   11740 
   11741 
   11742 fi
   11743 
   11744 
   11745 fi
   11746 
   11747 
   11748 fi
   11749 
   11750 
   11751 fi
   11752 
   11753 
   11754 fi
   11755 
   11756     ;;
   11757   esac
   11758 
   11759   if test no = "$lt_cv_dlopen"; then
   11760     enable_dlopen=no
   11761   else
   11762     enable_dlopen=yes
   11763   fi
   11764 
   11765   case $lt_cv_dlopen in
   11766   dlopen)
   11767     save_CPPFLAGS=$CPPFLAGS
   11768     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11769 
   11770     save_LDFLAGS=$LDFLAGS
   11771     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11772 
   11773     save_LIBS=$LIBS
   11774     LIBS="$lt_cv_dlopen_libs $LIBS"
   11775 
   11776     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11777 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11778 if ${lt_cv_dlopen_self+:} false; then :
   11779   $as_echo_n "(cached) " >&6
   11780 else
   11781   	  if test yes = "$cross_compiling"; then :
   11782   lt_cv_dlopen_self=cross
   11783 else
   11784   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11785   lt_status=$lt_dlunknown
   11786   cat > conftest.$ac_ext <<_LT_EOF
   11787 #line $LINENO "configure"
   11788 #include "confdefs.h"
   11789 
   11790 #if HAVE_DLFCN_H
   11791 #include <dlfcn.h>
   11792 #endif
   11793 
   11794 #include <stdio.h>
   11795 
   11796 #ifdef RTLD_GLOBAL
   11797 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11798 #else
   11799 #  ifdef DL_GLOBAL
   11800 #    define LT_DLGLOBAL		DL_GLOBAL
   11801 #  else
   11802 #    define LT_DLGLOBAL		0
   11803 #  endif
   11804 #endif
   11805 
   11806 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11807    find out it does not work in some platform. */
   11808 #ifndef LT_DLLAZY_OR_NOW
   11809 #  ifdef RTLD_LAZY
   11810 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11811 #  else
   11812 #    ifdef DL_LAZY
   11813 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11814 #    else
   11815 #      ifdef RTLD_NOW
   11816 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11817 #      else
   11818 #        ifdef DL_NOW
   11819 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11820 #        else
   11821 #          define LT_DLLAZY_OR_NOW	0
   11822 #        endif
   11823 #      endif
   11824 #    endif
   11825 #  endif
   11826 #endif
   11827 
   11828 /* When -fvisibility=hidden is used, assume the code has been annotated
   11829    correspondingly for the symbols needed.  */
   11830 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11831 int fnord () __attribute__((visibility("default")));
   11832 #endif
   11833 
   11834 int fnord () { return 42; }
   11835 int main ()
   11836 {
   11837   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11838   int status = $lt_dlunknown;
   11839 
   11840   if (self)
   11841     {
   11842       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11843       else
   11844         {
   11845 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11846           else puts (dlerror ());
   11847 	}
   11848       /* dlclose (self); */
   11849     }
   11850   else
   11851     puts (dlerror ());
   11852 
   11853   return status;
   11854 }
   11855 _LT_EOF
   11856   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11857   (eval $ac_link) 2>&5
   11858   ac_status=$?
   11859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11860   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11861     (./conftest; exit; ) >&5 2>/dev/null
   11862     lt_status=$?
   11863     case x$lt_status in
   11864       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11865       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11866       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11867     esac
   11868   else :
   11869     # compilation failed
   11870     lt_cv_dlopen_self=no
   11871   fi
   11872 fi
   11873 rm -fr conftest*
   11874 
   11875 
   11876 fi
   11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11878 $as_echo "$lt_cv_dlopen_self" >&6; }
   11879 
   11880     if test yes = "$lt_cv_dlopen_self"; then
   11881       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11882       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11883 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11884 if ${lt_cv_dlopen_self_static+:} false; then :
   11885   $as_echo_n "(cached) " >&6
   11886 else
   11887   	  if test yes = "$cross_compiling"; then :
   11888   lt_cv_dlopen_self_static=cross
   11889 else
   11890   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11891   lt_status=$lt_dlunknown
   11892   cat > conftest.$ac_ext <<_LT_EOF
   11893 #line $LINENO "configure"
   11894 #include "confdefs.h"
   11895 
   11896 #if HAVE_DLFCN_H
   11897 #include <dlfcn.h>
   11898 #endif
   11899 
   11900 #include <stdio.h>
   11901 
   11902 #ifdef RTLD_GLOBAL
   11903 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11904 #else
   11905 #  ifdef DL_GLOBAL
   11906 #    define LT_DLGLOBAL		DL_GLOBAL
   11907 #  else
   11908 #    define LT_DLGLOBAL		0
   11909 #  endif
   11910 #endif
   11911 
   11912 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11913    find out it does not work in some platform. */
   11914 #ifndef LT_DLLAZY_OR_NOW
   11915 #  ifdef RTLD_LAZY
   11916 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11917 #  else
   11918 #    ifdef DL_LAZY
   11919 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11920 #    else
   11921 #      ifdef RTLD_NOW
   11922 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11923 #      else
   11924 #        ifdef DL_NOW
   11925 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11926 #        else
   11927 #          define LT_DLLAZY_OR_NOW	0
   11928 #        endif
   11929 #      endif
   11930 #    endif
   11931 #  endif
   11932 #endif
   11933 
   11934 /* When -fvisibility=hidden is used, assume the code has been annotated
   11935    correspondingly for the symbols needed.  */
   11936 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11937 int fnord () __attribute__((visibility("default")));
   11938 #endif
   11939 
   11940 int fnord () { return 42; }
   11941 int main ()
   11942 {
   11943   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11944   int status = $lt_dlunknown;
   11945 
   11946   if (self)
   11947     {
   11948       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11949       else
   11950         {
   11951 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11952           else puts (dlerror ());
   11953 	}
   11954       /* dlclose (self); */
   11955     }
   11956   else
   11957     puts (dlerror ());
   11958 
   11959   return status;
   11960 }
   11961 _LT_EOF
   11962   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11963   (eval $ac_link) 2>&5
   11964   ac_status=$?
   11965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11966   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11967     (./conftest; exit; ) >&5 2>/dev/null
   11968     lt_status=$?
   11969     case x$lt_status in
   11970       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11971       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11972       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11973     esac
   11974   else :
   11975     # compilation failed
   11976     lt_cv_dlopen_self_static=no
   11977   fi
   11978 fi
   11979 rm -fr conftest*
   11980 
   11981 
   11982 fi
   11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11984 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11985     fi
   11986 
   11987     CPPFLAGS=$save_CPPFLAGS
   11988     LDFLAGS=$save_LDFLAGS
   11989     LIBS=$save_LIBS
   11990     ;;
   11991   esac
   11992 
   11993   case $lt_cv_dlopen_self in
   11994   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11995   *) enable_dlopen_self=unknown ;;
   11996   esac
   11997 
   11998   case $lt_cv_dlopen_self_static in
   11999   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12000   *) enable_dlopen_self_static=unknown ;;
   12001   esac
   12002 fi
   12003 
   12004 
   12005 
   12006 
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 striplib=
   12021 old_striplib=
   12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12023 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12024 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12025   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12026   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12028 $as_echo "yes" >&6; }
   12029 else
   12030 # FIXME - insert some real tests, host_os isn't really good enough
   12031   case $host_os in
   12032   darwin*)
   12033     if test -n "$STRIP"; then
   12034       striplib="$STRIP -x"
   12035       old_striplib="$STRIP -S"
   12036       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12037 $as_echo "yes" >&6; }
   12038     else
   12039       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12040 $as_echo "no" >&6; }
   12041     fi
   12042     ;;
   12043   *)
   12044     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12045 $as_echo "no" >&6; }
   12046     ;;
   12047   esac
   12048 fi
   12049 
   12050 
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 
   12061   # Report what library types will actually be built
   12062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12063 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12065 $as_echo "$can_build_shared" >&6; }
   12066 
   12067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12068 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12069   test no = "$can_build_shared" && enable_shared=no
   12070 
   12071   # On AIX, shared libraries and static libraries use the same namespace, and
   12072   # are all built from PIC.
   12073   case $host_os in
   12074   aix3*)
   12075     test yes = "$enable_shared" && enable_static=no
   12076     if test -n "$RANLIB"; then
   12077       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12078       postinstall_cmds='$RANLIB $lib'
   12079     fi
   12080     ;;
   12081 
   12082   aix[4-9]*)
   12083     if test ia64 != "$host_cpu"; then
   12084       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12085       yes,aix,yes) ;;			# shared object as lib.so file only
   12086       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12087       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12088       esac
   12089     fi
   12090     ;;
   12091   esac
   12092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12093 $as_echo "$enable_shared" >&6; }
   12094 
   12095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12096 $as_echo_n "checking whether to build static libraries... " >&6; }
   12097   # Make sure either enable_shared or enable_static is yes.
   12098   test yes = "$enable_shared" || enable_static=yes
   12099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12100 $as_echo "$enable_static" >&6; }
   12101 
   12102 
   12103 
   12104 
   12105 fi
   12106 ac_ext=c
   12107 ac_cpp='$CPP $CPPFLAGS'
   12108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12111 
   12112 CC=$lt_save_CC
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128         ac_config_commands="$ac_config_commands libtool"
   12129 
   12130 
   12131 
   12132 
   12133 # Only expand once:
   12134 
   12135 
   12136 
   12137 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 
   12147 
   12148 
   12149    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   12150 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   12151 if ${ac_cv_prog_cc_c99+:} false; then :
   12152   $as_echo_n "(cached) " >&6
   12153 else
   12154   ac_cv_prog_cc_c99=no
   12155 ac_save_CC=$CC
   12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12157 /* end confdefs.h.  */
   12158 #include <stdarg.h>
   12159 #include <stdbool.h>
   12160 #include <stdlib.h>
   12161 #include <wchar.h>
   12162 #include <stdio.h>
   12163 
   12164 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12165 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12166 #define showlist(...) puts (#__VA_ARGS__)
   12167 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12168 static void
   12169 test_varargs_macros (void)
   12170 {
   12171   int x = 1234;
   12172   int y = 5678;
   12173   debug ("Flag");
   12174   debug ("X = %d\n", x);
   12175   showlist (The first, second, and third items.);
   12176   report (x>y, "x is %d but y is %d", x, y);
   12177 }
   12178 
   12179 // Check long long types.
   12180 #define BIG64 18446744073709551615ull
   12181 #define BIG32 4294967295ul
   12182 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12183 #if !BIG_OK
   12184   your preprocessor is broken;
   12185 #endif
   12186 #if BIG_OK
   12187 #else
   12188   your preprocessor is broken;
   12189 #endif
   12190 static long long int bignum = -9223372036854775807LL;
   12191 static unsigned long long int ubignum = BIG64;
   12192 
   12193 struct incomplete_array
   12194 {
   12195   int datasize;
   12196   double data[];
   12197 };
   12198 
   12199 struct named_init {
   12200   int number;
   12201   const wchar_t *name;
   12202   double average;
   12203 };
   12204 
   12205 typedef const char *ccp;
   12206 
   12207 static inline int
   12208 test_restrict (ccp restrict text)
   12209 {
   12210   // See if C++-style comments work.
   12211   // Iterate through items via the restricted pointer.
   12212   // Also check for declarations in for loops.
   12213   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12214     continue;
   12215   return 0;
   12216 }
   12217 
   12218 // Check varargs and va_copy.
   12219 static void
   12220 test_varargs (const char *format, ...)
   12221 {
   12222   va_list args;
   12223   va_start (args, format);
   12224   va_list args_copy;
   12225   va_copy (args_copy, args);
   12226 
   12227   const char *str;
   12228   int number;
   12229   float fnumber;
   12230 
   12231   while (*format)
   12232     {
   12233       switch (*format++)
   12234 	{
   12235 	case 's': // string
   12236 	  str = va_arg (args_copy, const char *);
   12237 	  break;
   12238 	case 'd': // int
   12239 	  number = va_arg (args_copy, int);
   12240 	  break;
   12241 	case 'f': // float
   12242 	  fnumber = va_arg (args_copy, double);
   12243 	  break;
   12244 	default:
   12245 	  break;
   12246 	}
   12247     }
   12248   va_end (args_copy);
   12249   va_end (args);
   12250 }
   12251 
   12252 int
   12253 main ()
   12254 {
   12255 
   12256   // Check bool.
   12257   _Bool success = false;
   12258 
   12259   // Check restrict.
   12260   if (test_restrict ("String literal") == 0)
   12261     success = true;
   12262   char *restrict newvar = "Another string";
   12263 
   12264   // Check varargs.
   12265   test_varargs ("s, d' f .", "string", 65, 34.234);
   12266   test_varargs_macros ();
   12267 
   12268   // Check flexible array members.
   12269   struct incomplete_array *ia =
   12270     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12271   ia->datasize = 10;
   12272   for (int i = 0; i < ia->datasize; ++i)
   12273     ia->data[i] = i * 1.234;
   12274 
   12275   // Check named initializers.
   12276   struct named_init ni = {
   12277     .number = 34,
   12278     .name = L"Test wide string",
   12279     .average = 543.34343,
   12280   };
   12281 
   12282   ni.number = 58;
   12283 
   12284   int dynamic_array[ni.number];
   12285   dynamic_array[ni.number - 1] = 543;
   12286 
   12287   // work around unused variable warnings
   12288   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12289 	  || dynamic_array[ni.number - 1] != 543);
   12290 
   12291   ;
   12292   return 0;
   12293 }
   12294 _ACEOF
   12295 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12296 do
   12297   CC="$ac_save_CC $ac_arg"
   12298   if ac_fn_c_try_compile "$LINENO"; then :
   12299   ac_cv_prog_cc_c99=$ac_arg
   12300 fi
   12301 rm -f core conftest.err conftest.$ac_objext
   12302   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12303 done
   12304 rm -f conftest.$ac_ext
   12305 CC=$ac_save_CC
   12306 
   12307 fi
   12308 # AC_CACHE_VAL
   12309 case "x$ac_cv_prog_cc_c99" in
   12310   x)
   12311     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12312 $as_echo "none needed" >&6; } ;;
   12313   xno)
   12314     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12315 $as_echo "unsupported" >&6; } ;;
   12316   *)
   12317     CC="$CC $ac_cv_prog_cc_c99"
   12318     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12319 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12320 esac
   12321 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12322 
   12323 fi
   12324 
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12331 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12332   CLANGCC="yes"
   12333 else
   12334   CLANGCC="no"
   12335 fi
   12336 
   12337 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12338 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12339   INTELCC="yes"
   12340 else
   12341   INTELCC="no"
   12342 fi
   12343 
   12344 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12345 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12346   SUNCC="yes"
   12347 else
   12348   SUNCC="no"
   12349 fi
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12360 	if test -n "$ac_tool_prefix"; then
   12361   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12362 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12364 $as_echo_n "checking for $ac_word... " >&6; }
   12365 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12366   $as_echo_n "(cached) " >&6
   12367 else
   12368   case $PKG_CONFIG in
   12369   [\\/]* | ?:[\\/]*)
   12370   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12371   ;;
   12372   *)
   12373   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12374 for as_dir in $PATH
   12375 do
   12376   IFS=$as_save_IFS
   12377   test -z "$as_dir" && as_dir=.
   12378     for ac_exec_ext in '' $ac_executable_extensions; do
   12379   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12380     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12382     break 2
   12383   fi
   12384 done
   12385   done
   12386 IFS=$as_save_IFS
   12387 
   12388   ;;
   12389 esac
   12390 fi
   12391 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12392 if test -n "$PKG_CONFIG"; then
   12393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12394 $as_echo "$PKG_CONFIG" >&6; }
   12395 else
   12396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12397 $as_echo "no" >&6; }
   12398 fi
   12399 
   12400 
   12401 fi
   12402 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12403   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12404   # Extract the first word of "pkg-config", so it can be a program name with args.
   12405 set dummy pkg-config; ac_word=$2
   12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12407 $as_echo_n "checking for $ac_word... " >&6; }
   12408 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12409   $as_echo_n "(cached) " >&6
   12410 else
   12411   case $ac_pt_PKG_CONFIG in
   12412   [\\/]* | ?:[\\/]*)
   12413   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12414   ;;
   12415   *)
   12416   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12417 for as_dir in $PATH
   12418 do
   12419   IFS=$as_save_IFS
   12420   test -z "$as_dir" && as_dir=.
   12421     for ac_exec_ext in '' $ac_executable_extensions; do
   12422   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12423     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12425     break 2
   12426   fi
   12427 done
   12428   done
   12429 IFS=$as_save_IFS
   12430 
   12431   ;;
   12432 esac
   12433 fi
   12434 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12435 if test -n "$ac_pt_PKG_CONFIG"; then
   12436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12437 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12438 else
   12439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12440 $as_echo "no" >&6; }
   12441 fi
   12442 
   12443   if test "x$ac_pt_PKG_CONFIG" = x; then
   12444     PKG_CONFIG=""
   12445   else
   12446     case $cross_compiling:$ac_tool_warned in
   12447 yes:)
   12448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12450 ac_tool_warned=yes ;;
   12451 esac
   12452     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12453   fi
   12454 else
   12455   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12456 fi
   12457 
   12458 fi
   12459 if test -n "$PKG_CONFIG"; then
   12460 	_pkg_min_version=0.9.0
   12461 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12462 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12463 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12465 $as_echo "yes" >&6; }
   12466 	else
   12467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12468 $as_echo "no" >&6; }
   12469 		PKG_CONFIG=""
   12470 	fi
   12471 fi
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 # Check whether --enable-selective-werror was given.
   12478 if test "${enable_selective_werror+set}" = set; then :
   12479   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12480 else
   12481   SELECTIVE_WERROR=yes
   12482 fi
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12489 if test "x$SUNCC" = "xyes"; then
   12490     BASE_CFLAGS="-v"
   12491 else
   12492     BASE_CFLAGS=""
   12493 fi
   12494 
   12495 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12496 
   12497 
   12498 
   12499 
   12500 
   12501 
   12502 
   12503 
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 xorg_testset_save_CFLAGS="$CFLAGS"
   12510 
   12511 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12512 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12514 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12515 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12516   $as_echo_n "(cached) " >&6
   12517 else
   12518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12519 /* end confdefs.h.  */
   12520 int i;
   12521 _ACEOF
   12522 if ac_fn_c_try_compile "$LINENO"; then :
   12523   xorg_cv_cc_flag_unknown_warning_option=yes
   12524 else
   12525   xorg_cv_cc_flag_unknown_warning_option=no
   12526 fi
   12527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12528 fi
   12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12530 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12531 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12532 	CFLAGS="$xorg_testset_save_CFLAGS"
   12533 fi
   12534 
   12535 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12536 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12537 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12538 	fi
   12539 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12540 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12541 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12542 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12543   $as_echo_n "(cached) " >&6
   12544 else
   12545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12546 /* end confdefs.h.  */
   12547 int i;
   12548 _ACEOF
   12549 if ac_fn_c_try_compile "$LINENO"; then :
   12550   xorg_cv_cc_flag_unused_command_line_argument=yes
   12551 else
   12552   xorg_cv_cc_flag_unused_command_line_argument=no
   12553 fi
   12554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12555 fi
   12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12557 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12558 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12559 	CFLAGS="$xorg_testset_save_CFLAGS"
   12560 fi
   12561 
   12562 found="no"
   12563 
   12564 	if test $found = "no" ; then
   12565 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12566 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12567 		fi
   12568 
   12569 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12570 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12571 		fi
   12572 
   12573 		CFLAGS="$CFLAGS -Wall"
   12574 
   12575 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12576 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12577 		cacheid=xorg_cv_cc_flag__Wall
   12578 		if eval \${$cacheid+:} false; then :
   12579   $as_echo_n "(cached) " >&6
   12580 else
   12581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12582 /* end confdefs.h.  */
   12583 int i;
   12584 int
   12585 main ()
   12586 {
   12587 
   12588   ;
   12589   return 0;
   12590 }
   12591 _ACEOF
   12592 if ac_fn_c_try_link "$LINENO"; then :
   12593   eval $cacheid=yes
   12594 else
   12595   eval $cacheid=no
   12596 fi
   12597 rm -f core conftest.err conftest.$ac_objext \
   12598     conftest$ac_exeext conftest.$ac_ext
   12599 fi
   12600 
   12601 
   12602 		CFLAGS="$xorg_testset_save_CFLAGS"
   12603 
   12604 		eval supported=\$$cacheid
   12605 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12606 $as_echo "$supported" >&6; }
   12607 		if test "$supported" = "yes" ; then
   12608 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12609 			found="yes"
   12610 		fi
   12611 	fi
   12612 
   12613 
   12614 
   12615 
   12616 
   12617 
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 
   12624 
   12625 
   12626 
   12627 xorg_testset_save_CFLAGS="$CFLAGS"
   12628 
   12629 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12630 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12632 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12633 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12634   $as_echo_n "(cached) " >&6
   12635 else
   12636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12637 /* end confdefs.h.  */
   12638 int i;
   12639 _ACEOF
   12640 if ac_fn_c_try_compile "$LINENO"; then :
   12641   xorg_cv_cc_flag_unknown_warning_option=yes
   12642 else
   12643   xorg_cv_cc_flag_unknown_warning_option=no
   12644 fi
   12645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12646 fi
   12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12648 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12650 	CFLAGS="$xorg_testset_save_CFLAGS"
   12651 fi
   12652 
   12653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12656 	fi
   12657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12659 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12660 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12661   $as_echo_n "(cached) " >&6
   12662 else
   12663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12664 /* end confdefs.h.  */
   12665 int i;
   12666 _ACEOF
   12667 if ac_fn_c_try_compile "$LINENO"; then :
   12668   xorg_cv_cc_flag_unused_command_line_argument=yes
   12669 else
   12670   xorg_cv_cc_flag_unused_command_line_argument=no
   12671 fi
   12672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12673 fi
   12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12675 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12676 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12677 	CFLAGS="$xorg_testset_save_CFLAGS"
   12678 fi
   12679 
   12680 found="no"
   12681 
   12682 	if test $found = "no" ; then
   12683 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12685 		fi
   12686 
   12687 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12689 		fi
   12690 
   12691 		CFLAGS="$CFLAGS -Wpointer-arith"
   12692 
   12693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12694 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12695 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12696 		if eval \${$cacheid+:} false; then :
   12697   $as_echo_n "(cached) " >&6
   12698 else
   12699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12700 /* end confdefs.h.  */
   12701 int i;
   12702 int
   12703 main ()
   12704 {
   12705 
   12706   ;
   12707   return 0;
   12708 }
   12709 _ACEOF
   12710 if ac_fn_c_try_link "$LINENO"; then :
   12711   eval $cacheid=yes
   12712 else
   12713   eval $cacheid=no
   12714 fi
   12715 rm -f core conftest.err conftest.$ac_objext \
   12716     conftest$ac_exeext conftest.$ac_ext
   12717 fi
   12718 
   12719 
   12720 		CFLAGS="$xorg_testset_save_CFLAGS"
   12721 
   12722 		eval supported=\$$cacheid
   12723 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12724 $as_echo "$supported" >&6; }
   12725 		if test "$supported" = "yes" ; then
   12726 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12727 			found="yes"
   12728 		fi
   12729 	fi
   12730 
   12731 
   12732 
   12733 
   12734 
   12735 
   12736 
   12737 
   12738 
   12739 
   12740 
   12741 
   12742 
   12743 
   12744 
   12745 xorg_testset_save_CFLAGS="$CFLAGS"
   12746 
   12747 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12748 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12749 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12750 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12751 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12752   $as_echo_n "(cached) " >&6
   12753 else
   12754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12755 /* end confdefs.h.  */
   12756 int i;
   12757 _ACEOF
   12758 if ac_fn_c_try_compile "$LINENO"; then :
   12759   xorg_cv_cc_flag_unknown_warning_option=yes
   12760 else
   12761   xorg_cv_cc_flag_unknown_warning_option=no
   12762 fi
   12763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12764 fi
   12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12766 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12767 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12768 	CFLAGS="$xorg_testset_save_CFLAGS"
   12769 fi
   12770 
   12771 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12772 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12773 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12774 	fi
   12775 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12777 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12778 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12779   $as_echo_n "(cached) " >&6
   12780 else
   12781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12782 /* end confdefs.h.  */
   12783 int i;
   12784 _ACEOF
   12785 if ac_fn_c_try_compile "$LINENO"; then :
   12786   xorg_cv_cc_flag_unused_command_line_argument=yes
   12787 else
   12788   xorg_cv_cc_flag_unused_command_line_argument=no
   12789 fi
   12790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12791 fi
   12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12793 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12794 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12795 	CFLAGS="$xorg_testset_save_CFLAGS"
   12796 fi
   12797 
   12798 found="no"
   12799 
   12800 	if test $found = "no" ; then
   12801 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12802 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12803 		fi
   12804 
   12805 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12806 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12807 		fi
   12808 
   12809 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12810 
   12811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12812 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12813 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12814 		if eval \${$cacheid+:} false; then :
   12815   $as_echo_n "(cached) " >&6
   12816 else
   12817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12818 /* end confdefs.h.  */
   12819 int i;
   12820 int
   12821 main ()
   12822 {
   12823 
   12824   ;
   12825   return 0;
   12826 }
   12827 _ACEOF
   12828 if ac_fn_c_try_link "$LINENO"; then :
   12829   eval $cacheid=yes
   12830 else
   12831   eval $cacheid=no
   12832 fi
   12833 rm -f core conftest.err conftest.$ac_objext \
   12834     conftest$ac_exeext conftest.$ac_ext
   12835 fi
   12836 
   12837 
   12838 		CFLAGS="$xorg_testset_save_CFLAGS"
   12839 
   12840 		eval supported=\$$cacheid
   12841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12842 $as_echo "$supported" >&6; }
   12843 		if test "$supported" = "yes" ; then
   12844 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12845 			found="yes"
   12846 		fi
   12847 	fi
   12848 
   12849 
   12850 
   12851 
   12852 
   12853 
   12854 
   12855 
   12856 
   12857 
   12858 
   12859 
   12860 
   12861 
   12862 
   12863 xorg_testset_save_CFLAGS="$CFLAGS"
   12864 
   12865 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12866 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12867 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12868 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12869 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12870   $as_echo_n "(cached) " >&6
   12871 else
   12872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12873 /* end confdefs.h.  */
   12874 int i;
   12875 _ACEOF
   12876 if ac_fn_c_try_compile "$LINENO"; then :
   12877   xorg_cv_cc_flag_unknown_warning_option=yes
   12878 else
   12879   xorg_cv_cc_flag_unknown_warning_option=no
   12880 fi
   12881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12882 fi
   12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12884 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12886 	CFLAGS="$xorg_testset_save_CFLAGS"
   12887 fi
   12888 
   12889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12892 	fi
   12893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12895 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12896 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12897   $as_echo_n "(cached) " >&6
   12898 else
   12899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12900 /* end confdefs.h.  */
   12901 int i;
   12902 _ACEOF
   12903 if ac_fn_c_try_compile "$LINENO"; then :
   12904   xorg_cv_cc_flag_unused_command_line_argument=yes
   12905 else
   12906   xorg_cv_cc_flag_unused_command_line_argument=no
   12907 fi
   12908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12909 fi
   12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12911 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12912 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12913 	CFLAGS="$xorg_testset_save_CFLAGS"
   12914 fi
   12915 
   12916 found="no"
   12917 
   12918 	if test $found = "no" ; then
   12919 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12920 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12921 		fi
   12922 
   12923 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12924 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12925 		fi
   12926 
   12927 		CFLAGS="$CFLAGS -Wformat=2"
   12928 
   12929 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12930 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12931 		cacheid=xorg_cv_cc_flag__Wformat_2
   12932 		if eval \${$cacheid+:} false; then :
   12933   $as_echo_n "(cached) " >&6
   12934 else
   12935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12936 /* end confdefs.h.  */
   12937 int i;
   12938 int
   12939 main ()
   12940 {
   12941 
   12942   ;
   12943   return 0;
   12944 }
   12945 _ACEOF
   12946 if ac_fn_c_try_link "$LINENO"; then :
   12947   eval $cacheid=yes
   12948 else
   12949   eval $cacheid=no
   12950 fi
   12951 rm -f core conftest.err conftest.$ac_objext \
   12952     conftest$ac_exeext conftest.$ac_ext
   12953 fi
   12954 
   12955 
   12956 		CFLAGS="$xorg_testset_save_CFLAGS"
   12957 
   12958 		eval supported=\$$cacheid
   12959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12960 $as_echo "$supported" >&6; }
   12961 		if test "$supported" = "yes" ; then
   12962 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12963 			found="yes"
   12964 		fi
   12965 	fi
   12966 
   12967 	if test $found = "no" ; then
   12968 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12970 		fi
   12971 
   12972 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12974 		fi
   12975 
   12976 		CFLAGS="$CFLAGS -Wformat"
   12977 
   12978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12979 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12980 		cacheid=xorg_cv_cc_flag__Wformat
   12981 		if eval \${$cacheid+:} false; then :
   12982   $as_echo_n "(cached) " >&6
   12983 else
   12984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12985 /* end confdefs.h.  */
   12986 int i;
   12987 int
   12988 main ()
   12989 {
   12990 
   12991   ;
   12992   return 0;
   12993 }
   12994 _ACEOF
   12995 if ac_fn_c_try_link "$LINENO"; then :
   12996   eval $cacheid=yes
   12997 else
   12998   eval $cacheid=no
   12999 fi
   13000 rm -f core conftest.err conftest.$ac_objext \
   13001     conftest$ac_exeext conftest.$ac_ext
   13002 fi
   13003 
   13004 
   13005 		CFLAGS="$xorg_testset_save_CFLAGS"
   13006 
   13007 		eval supported=\$$cacheid
   13008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13009 $as_echo "$supported" >&6; }
   13010 		if test "$supported" = "yes" ; then
   13011 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13012 			found="yes"
   13013 		fi
   13014 	fi
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 xorg_testset_save_CFLAGS="$CFLAGS"
   13033 
   13034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13037 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13038 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13039   $as_echo_n "(cached) " >&6
   13040 else
   13041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13042 /* end confdefs.h.  */
   13043 int i;
   13044 _ACEOF
   13045 if ac_fn_c_try_compile "$LINENO"; then :
   13046   xorg_cv_cc_flag_unknown_warning_option=yes
   13047 else
   13048   xorg_cv_cc_flag_unknown_warning_option=no
   13049 fi
   13050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13051 fi
   13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13053 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13055 	CFLAGS="$xorg_testset_save_CFLAGS"
   13056 fi
   13057 
   13058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13061 	fi
   13062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13064 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13065 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13066   $as_echo_n "(cached) " >&6
   13067 else
   13068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13069 /* end confdefs.h.  */
   13070 int i;
   13071 _ACEOF
   13072 if ac_fn_c_try_compile "$LINENO"; then :
   13073   xorg_cv_cc_flag_unused_command_line_argument=yes
   13074 else
   13075   xorg_cv_cc_flag_unused_command_line_argument=no
   13076 fi
   13077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13078 fi
   13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13080 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13082 	CFLAGS="$xorg_testset_save_CFLAGS"
   13083 fi
   13084 
   13085 found="no"
   13086 
   13087 	if test $found = "no" ; then
   13088 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13090 		fi
   13091 
   13092 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13094 		fi
   13095 
   13096 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13097 
   13098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13099 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13100 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13101 		if eval \${$cacheid+:} false; then :
   13102   $as_echo_n "(cached) " >&6
   13103 else
   13104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13105 /* end confdefs.h.  */
   13106 int i;
   13107 int
   13108 main ()
   13109 {
   13110 
   13111   ;
   13112   return 0;
   13113 }
   13114 _ACEOF
   13115 if ac_fn_c_try_link "$LINENO"; then :
   13116   eval $cacheid=yes
   13117 else
   13118   eval $cacheid=no
   13119 fi
   13120 rm -f core conftest.err conftest.$ac_objext \
   13121     conftest$ac_exeext conftest.$ac_ext
   13122 fi
   13123 
   13124 
   13125 		CFLAGS="$xorg_testset_save_CFLAGS"
   13126 
   13127 		eval supported=\$$cacheid
   13128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13129 $as_echo "$supported" >&6; }
   13130 		if test "$supported" = "yes" ; then
   13131 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13132 			found="yes"
   13133 		fi
   13134 	fi
   13135 
   13136 
   13137 
   13138 
   13139 
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 xorg_testset_save_CFLAGS="$CFLAGS"
   13151 
   13152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13155 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13156 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13157   $as_echo_n "(cached) " >&6
   13158 else
   13159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13160 /* end confdefs.h.  */
   13161 int i;
   13162 _ACEOF
   13163 if ac_fn_c_try_compile "$LINENO"; then :
   13164   xorg_cv_cc_flag_unknown_warning_option=yes
   13165 else
   13166   xorg_cv_cc_flag_unknown_warning_option=no
   13167 fi
   13168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13169 fi
   13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13171 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13172 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13173 	CFLAGS="$xorg_testset_save_CFLAGS"
   13174 fi
   13175 
   13176 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13177 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13178 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13179 	fi
   13180 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13182 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13183 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13184   $as_echo_n "(cached) " >&6
   13185 else
   13186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13187 /* end confdefs.h.  */
   13188 int i;
   13189 _ACEOF
   13190 if ac_fn_c_try_compile "$LINENO"; then :
   13191   xorg_cv_cc_flag_unused_command_line_argument=yes
   13192 else
   13193   xorg_cv_cc_flag_unused_command_line_argument=no
   13194 fi
   13195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13196 fi
   13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13198 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13200 	CFLAGS="$xorg_testset_save_CFLAGS"
   13201 fi
   13202 
   13203 found="no"
   13204 
   13205 	if test $found = "no" ; then
   13206 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13208 		fi
   13209 
   13210 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13212 		fi
   13213 
   13214 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13215 
   13216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13217 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13218 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13219 		if eval \${$cacheid+:} false; then :
   13220   $as_echo_n "(cached) " >&6
   13221 else
   13222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13223 /* end confdefs.h.  */
   13224 int i;
   13225 int
   13226 main ()
   13227 {
   13228 
   13229   ;
   13230   return 0;
   13231 }
   13232 _ACEOF
   13233 if ac_fn_c_try_link "$LINENO"; then :
   13234   eval $cacheid=yes
   13235 else
   13236   eval $cacheid=no
   13237 fi
   13238 rm -f core conftest.err conftest.$ac_objext \
   13239     conftest$ac_exeext conftest.$ac_ext
   13240 fi
   13241 
   13242 
   13243 		CFLAGS="$xorg_testset_save_CFLAGS"
   13244 
   13245 		eval supported=\$$cacheid
   13246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13247 $as_echo "$supported" >&6; }
   13248 		if test "$supported" = "yes" ; then
   13249 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13250 			found="yes"
   13251 		fi
   13252 	fi
   13253 
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 xorg_testset_save_CFLAGS="$CFLAGS"
   13269 
   13270 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13271 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13273 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13274 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13275   $as_echo_n "(cached) " >&6
   13276 else
   13277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13278 /* end confdefs.h.  */
   13279 int i;
   13280 _ACEOF
   13281 if ac_fn_c_try_compile "$LINENO"; then :
   13282   xorg_cv_cc_flag_unknown_warning_option=yes
   13283 else
   13284   xorg_cv_cc_flag_unknown_warning_option=no
   13285 fi
   13286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13287 fi
   13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13289 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13290 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13291 	CFLAGS="$xorg_testset_save_CFLAGS"
   13292 fi
   13293 
   13294 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13295 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13297 	fi
   13298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13300 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13301 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13302   $as_echo_n "(cached) " >&6
   13303 else
   13304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13305 /* end confdefs.h.  */
   13306 int i;
   13307 _ACEOF
   13308 if ac_fn_c_try_compile "$LINENO"; then :
   13309   xorg_cv_cc_flag_unused_command_line_argument=yes
   13310 else
   13311   xorg_cv_cc_flag_unused_command_line_argument=no
   13312 fi
   13313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13314 fi
   13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13316 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13317 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13318 	CFLAGS="$xorg_testset_save_CFLAGS"
   13319 fi
   13320 
   13321 found="no"
   13322 
   13323 	if test $found = "no" ; then
   13324 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13325 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13326 		fi
   13327 
   13328 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13329 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13330 		fi
   13331 
   13332 		CFLAGS="$CFLAGS -Wnested-externs"
   13333 
   13334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13335 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13336 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13337 		if eval \${$cacheid+:} false; then :
   13338   $as_echo_n "(cached) " >&6
   13339 else
   13340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13341 /* end confdefs.h.  */
   13342 int i;
   13343 int
   13344 main ()
   13345 {
   13346 
   13347   ;
   13348   return 0;
   13349 }
   13350 _ACEOF
   13351 if ac_fn_c_try_link "$LINENO"; then :
   13352   eval $cacheid=yes
   13353 else
   13354   eval $cacheid=no
   13355 fi
   13356 rm -f core conftest.err conftest.$ac_objext \
   13357     conftest$ac_exeext conftest.$ac_ext
   13358 fi
   13359 
   13360 
   13361 		CFLAGS="$xorg_testset_save_CFLAGS"
   13362 
   13363 		eval supported=\$$cacheid
   13364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13365 $as_echo "$supported" >&6; }
   13366 		if test "$supported" = "yes" ; then
   13367 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13368 			found="yes"
   13369 		fi
   13370 	fi
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 xorg_testset_save_CFLAGS="$CFLAGS"
   13387 
   13388 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13389 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13391 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13392 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13393   $as_echo_n "(cached) " >&6
   13394 else
   13395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13396 /* end confdefs.h.  */
   13397 int i;
   13398 _ACEOF
   13399 if ac_fn_c_try_compile "$LINENO"; then :
   13400   xorg_cv_cc_flag_unknown_warning_option=yes
   13401 else
   13402   xorg_cv_cc_flag_unknown_warning_option=no
   13403 fi
   13404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13405 fi
   13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13407 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13408 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13409 	CFLAGS="$xorg_testset_save_CFLAGS"
   13410 fi
   13411 
   13412 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13413 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13414 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13415 	fi
   13416 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13418 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13419 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13420   $as_echo_n "(cached) " >&6
   13421 else
   13422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13423 /* end confdefs.h.  */
   13424 int i;
   13425 _ACEOF
   13426 if ac_fn_c_try_compile "$LINENO"; then :
   13427   xorg_cv_cc_flag_unused_command_line_argument=yes
   13428 else
   13429   xorg_cv_cc_flag_unused_command_line_argument=no
   13430 fi
   13431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13432 fi
   13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13434 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13435 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13436 	CFLAGS="$xorg_testset_save_CFLAGS"
   13437 fi
   13438 
   13439 found="no"
   13440 
   13441 	if test $found = "no" ; then
   13442 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13444 		fi
   13445 
   13446 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13448 		fi
   13449 
   13450 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13451 
   13452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13453 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13454 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13455 		if eval \${$cacheid+:} false; then :
   13456   $as_echo_n "(cached) " >&6
   13457 else
   13458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13459 /* end confdefs.h.  */
   13460 int i;
   13461 int
   13462 main ()
   13463 {
   13464 
   13465   ;
   13466   return 0;
   13467 }
   13468 _ACEOF
   13469 if ac_fn_c_try_link "$LINENO"; then :
   13470   eval $cacheid=yes
   13471 else
   13472   eval $cacheid=no
   13473 fi
   13474 rm -f core conftest.err conftest.$ac_objext \
   13475     conftest$ac_exeext conftest.$ac_ext
   13476 fi
   13477 
   13478 
   13479 		CFLAGS="$xorg_testset_save_CFLAGS"
   13480 
   13481 		eval supported=\$$cacheid
   13482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13483 $as_echo "$supported" >&6; }
   13484 		if test "$supported" = "yes" ; then
   13485 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13486 			found="yes"
   13487 		fi
   13488 	fi
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 xorg_testset_save_CFLAGS="$CFLAGS"
   13505 
   13506 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13507 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13509 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13510 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13511   $as_echo_n "(cached) " >&6
   13512 else
   13513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13514 /* end confdefs.h.  */
   13515 int i;
   13516 _ACEOF
   13517 if ac_fn_c_try_compile "$LINENO"; then :
   13518   xorg_cv_cc_flag_unknown_warning_option=yes
   13519 else
   13520   xorg_cv_cc_flag_unknown_warning_option=no
   13521 fi
   13522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13523 fi
   13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13525 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13526 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13527 	CFLAGS="$xorg_testset_save_CFLAGS"
   13528 fi
   13529 
   13530 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13531 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13532 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13533 	fi
   13534 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13536 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13537 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13538   $as_echo_n "(cached) " >&6
   13539 else
   13540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13541 /* end confdefs.h.  */
   13542 int i;
   13543 _ACEOF
   13544 if ac_fn_c_try_compile "$LINENO"; then :
   13545   xorg_cv_cc_flag_unused_command_line_argument=yes
   13546 else
   13547   xorg_cv_cc_flag_unused_command_line_argument=no
   13548 fi
   13549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13550 fi
   13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13552 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13553 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13554 	CFLAGS="$xorg_testset_save_CFLAGS"
   13555 fi
   13556 
   13557 found="no"
   13558 
   13559 	if test $found = "no" ; then
   13560 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13562 		fi
   13563 
   13564 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13566 		fi
   13567 
   13568 		CFLAGS="$CFLAGS -Wold-style-definition"
   13569 
   13570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13571 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13572 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13573 		if eval \${$cacheid+:} false; then :
   13574   $as_echo_n "(cached) " >&6
   13575 else
   13576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13577 /* end confdefs.h.  */
   13578 int i;
   13579 int
   13580 main ()
   13581 {
   13582 
   13583   ;
   13584   return 0;
   13585 }
   13586 _ACEOF
   13587 if ac_fn_c_try_link "$LINENO"; then :
   13588   eval $cacheid=yes
   13589 else
   13590   eval $cacheid=no
   13591 fi
   13592 rm -f core conftest.err conftest.$ac_objext \
   13593     conftest$ac_exeext conftest.$ac_ext
   13594 fi
   13595 
   13596 
   13597 		CFLAGS="$xorg_testset_save_CFLAGS"
   13598 
   13599 		eval supported=\$$cacheid
   13600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13601 $as_echo "$supported" >&6; }
   13602 		if test "$supported" = "yes" ; then
   13603 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13604 			found="yes"
   13605 		fi
   13606 	fi
   13607 
   13608 	if test $found = "no" ; then
   13609 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13611 		fi
   13612 
   13613 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13615 		fi
   13616 
   13617 		CFLAGS="$CFLAGS -fd"
   13618 
   13619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13620 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13621 		cacheid=xorg_cv_cc_flag__fd
   13622 		if eval \${$cacheid+:} false; then :
   13623   $as_echo_n "(cached) " >&6
   13624 else
   13625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13626 /* end confdefs.h.  */
   13627 int i;
   13628 int
   13629 main ()
   13630 {
   13631 
   13632   ;
   13633   return 0;
   13634 }
   13635 _ACEOF
   13636 if ac_fn_c_try_link "$LINENO"; then :
   13637   eval $cacheid=yes
   13638 else
   13639   eval $cacheid=no
   13640 fi
   13641 rm -f core conftest.err conftest.$ac_objext \
   13642     conftest$ac_exeext conftest.$ac_ext
   13643 fi
   13644 
   13645 
   13646 		CFLAGS="$xorg_testset_save_CFLAGS"
   13647 
   13648 		eval supported=\$$cacheid
   13649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13650 $as_echo "$supported" >&6; }
   13651 		if test "$supported" = "yes" ; then
   13652 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13653 			found="yes"
   13654 		fi
   13655 	fi
   13656 
   13657 
   13658 
   13659 
   13660 
   13661 
   13662 
   13663 
   13664 
   13665 
   13666 
   13667 
   13668 
   13669 
   13670 
   13671 xorg_testset_save_CFLAGS="$CFLAGS"
   13672 
   13673 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13674 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13676 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13677 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13678   $as_echo_n "(cached) " >&6
   13679 else
   13680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13681 /* end confdefs.h.  */
   13682 int i;
   13683 _ACEOF
   13684 if ac_fn_c_try_compile "$LINENO"; then :
   13685   xorg_cv_cc_flag_unknown_warning_option=yes
   13686 else
   13687   xorg_cv_cc_flag_unknown_warning_option=no
   13688 fi
   13689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13690 fi
   13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13692 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13694 	CFLAGS="$xorg_testset_save_CFLAGS"
   13695 fi
   13696 
   13697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13700 	fi
   13701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13703 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13704 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13705   $as_echo_n "(cached) " >&6
   13706 else
   13707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13708 /* end confdefs.h.  */
   13709 int i;
   13710 _ACEOF
   13711 if ac_fn_c_try_compile "$LINENO"; then :
   13712   xorg_cv_cc_flag_unused_command_line_argument=yes
   13713 else
   13714   xorg_cv_cc_flag_unused_command_line_argument=no
   13715 fi
   13716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13717 fi
   13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13719 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13721 	CFLAGS="$xorg_testset_save_CFLAGS"
   13722 fi
   13723 
   13724 found="no"
   13725 
   13726 	if test $found = "no" ; then
   13727 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13729 		fi
   13730 
   13731 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13733 		fi
   13734 
   13735 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13736 
   13737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13738 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13739 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13740 		if eval \${$cacheid+:} false; then :
   13741   $as_echo_n "(cached) " >&6
   13742 else
   13743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13744 /* end confdefs.h.  */
   13745 int i;
   13746 int
   13747 main ()
   13748 {
   13749 
   13750   ;
   13751   return 0;
   13752 }
   13753 _ACEOF
   13754 if ac_fn_c_try_link "$LINENO"; then :
   13755   eval $cacheid=yes
   13756 else
   13757   eval $cacheid=no
   13758 fi
   13759 rm -f core conftest.err conftest.$ac_objext \
   13760     conftest$ac_exeext conftest.$ac_ext
   13761 fi
   13762 
   13763 
   13764 		CFLAGS="$xorg_testset_save_CFLAGS"
   13765 
   13766 		eval supported=\$$cacheid
   13767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13768 $as_echo "$supported" >&6; }
   13769 		if test "$supported" = "yes" ; then
   13770 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13771 			found="yes"
   13772 		fi
   13773 	fi
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 # This chunk adds additional warnings that could catch undesired effects.
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 
   13790 
   13791 
   13792 
   13793 xorg_testset_save_CFLAGS="$CFLAGS"
   13794 
   13795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13798 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13799 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13800   $as_echo_n "(cached) " >&6
   13801 else
   13802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13803 /* end confdefs.h.  */
   13804 int i;
   13805 _ACEOF
   13806 if ac_fn_c_try_compile "$LINENO"; then :
   13807   xorg_cv_cc_flag_unknown_warning_option=yes
   13808 else
   13809   xorg_cv_cc_flag_unknown_warning_option=no
   13810 fi
   13811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13812 fi
   13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13814 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13815 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13816 	CFLAGS="$xorg_testset_save_CFLAGS"
   13817 fi
   13818 
   13819 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13820 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13821 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13822 	fi
   13823 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13825 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13826 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13827   $as_echo_n "(cached) " >&6
   13828 else
   13829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13830 /* end confdefs.h.  */
   13831 int i;
   13832 _ACEOF
   13833 if ac_fn_c_try_compile "$LINENO"; then :
   13834   xorg_cv_cc_flag_unused_command_line_argument=yes
   13835 else
   13836   xorg_cv_cc_flag_unused_command_line_argument=no
   13837 fi
   13838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13839 fi
   13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13841 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13842 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13843 	CFLAGS="$xorg_testset_save_CFLAGS"
   13844 fi
   13845 
   13846 found="no"
   13847 
   13848 	if test $found = "no" ; then
   13849 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13850 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13851 		fi
   13852 
   13853 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13854 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13855 		fi
   13856 
   13857 		CFLAGS="$CFLAGS -Wunused"
   13858 
   13859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13860 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13861 		cacheid=xorg_cv_cc_flag__Wunused
   13862 		if eval \${$cacheid+:} false; then :
   13863   $as_echo_n "(cached) " >&6
   13864 else
   13865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13866 /* end confdefs.h.  */
   13867 int i;
   13868 int
   13869 main ()
   13870 {
   13871 
   13872   ;
   13873   return 0;
   13874 }
   13875 _ACEOF
   13876 if ac_fn_c_try_link "$LINENO"; then :
   13877   eval $cacheid=yes
   13878 else
   13879   eval $cacheid=no
   13880 fi
   13881 rm -f core conftest.err conftest.$ac_objext \
   13882     conftest$ac_exeext conftest.$ac_ext
   13883 fi
   13884 
   13885 
   13886 		CFLAGS="$xorg_testset_save_CFLAGS"
   13887 
   13888 		eval supported=\$$cacheid
   13889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13890 $as_echo "$supported" >&6; }
   13891 		if test "$supported" = "yes" ; then
   13892 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13893 			found="yes"
   13894 		fi
   13895 	fi
   13896 
   13897 
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 
   13909 
   13910 
   13911 xorg_testset_save_CFLAGS="$CFLAGS"
   13912 
   13913 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13914 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13916 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13917 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13918   $as_echo_n "(cached) " >&6
   13919 else
   13920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13921 /* end confdefs.h.  */
   13922 int i;
   13923 _ACEOF
   13924 if ac_fn_c_try_compile "$LINENO"; then :
   13925   xorg_cv_cc_flag_unknown_warning_option=yes
   13926 else
   13927   xorg_cv_cc_flag_unknown_warning_option=no
   13928 fi
   13929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13930 fi
   13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13932 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13933 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13934 	CFLAGS="$xorg_testset_save_CFLAGS"
   13935 fi
   13936 
   13937 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13938 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13939 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13940 	fi
   13941 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13943 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13944 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   13951 if ac_fn_c_try_compile "$LINENO"; then :
   13952   xorg_cv_cc_flag_unused_command_line_argument=yes
   13953 else
   13954   xorg_cv_cc_flag_unused_command_line_argument=no
   13955 fi
   13956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13957 fi
   13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13959 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13960 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13961 	CFLAGS="$xorg_testset_save_CFLAGS"
   13962 fi
   13963 
   13964 found="no"
   13965 
   13966 	if test $found = "no" ; then
   13967 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13968 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13969 		fi
   13970 
   13971 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13972 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13973 		fi
   13974 
   13975 		CFLAGS="$CFLAGS -Wuninitialized"
   13976 
   13977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13978 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13979 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13980 		if eval \${$cacheid+:} false; then :
   13981   $as_echo_n "(cached) " >&6
   13982 else
   13983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13984 /* end confdefs.h.  */
   13985 int i;
   13986 int
   13987 main ()
   13988 {
   13989 
   13990   ;
   13991   return 0;
   13992 }
   13993 _ACEOF
   13994 if ac_fn_c_try_link "$LINENO"; then :
   13995   eval $cacheid=yes
   13996 else
   13997   eval $cacheid=no
   13998 fi
   13999 rm -f core conftest.err conftest.$ac_objext \
   14000     conftest$ac_exeext conftest.$ac_ext
   14001 fi
   14002 
   14003 
   14004 		CFLAGS="$xorg_testset_save_CFLAGS"
   14005 
   14006 		eval supported=\$$cacheid
   14007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14008 $as_echo "$supported" >&6; }
   14009 		if test "$supported" = "yes" ; then
   14010 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14011 			found="yes"
   14012 		fi
   14013 	fi
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 xorg_testset_save_CFLAGS="$CFLAGS"
   14030 
   14031 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14032 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14034 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14035 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14036   $as_echo_n "(cached) " >&6
   14037 else
   14038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14039 /* end confdefs.h.  */
   14040 int i;
   14041 _ACEOF
   14042 if ac_fn_c_try_compile "$LINENO"; then :
   14043   xorg_cv_cc_flag_unknown_warning_option=yes
   14044 else
   14045   xorg_cv_cc_flag_unknown_warning_option=no
   14046 fi
   14047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14048 fi
   14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14050 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14052 	CFLAGS="$xorg_testset_save_CFLAGS"
   14053 fi
   14054 
   14055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14058 	fi
   14059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14061 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14062 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   14069 if ac_fn_c_try_compile "$LINENO"; then :
   14070   xorg_cv_cc_flag_unused_command_line_argument=yes
   14071 else
   14072   xorg_cv_cc_flag_unused_command_line_argument=no
   14073 fi
   14074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14075 fi
   14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14077 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14078 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14079 	CFLAGS="$xorg_testset_save_CFLAGS"
   14080 fi
   14081 
   14082 found="no"
   14083 
   14084 	if test $found = "no" ; then
   14085 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14087 		fi
   14088 
   14089 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14091 		fi
   14092 
   14093 		CFLAGS="$CFLAGS -Wshadow"
   14094 
   14095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14096 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   14097 		cacheid=xorg_cv_cc_flag__Wshadow
   14098 		if eval \${$cacheid+:} false; then :
   14099   $as_echo_n "(cached) " >&6
   14100 else
   14101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14102 /* end confdefs.h.  */
   14103 int i;
   14104 int
   14105 main ()
   14106 {
   14107 
   14108   ;
   14109   return 0;
   14110 }
   14111 _ACEOF
   14112 if ac_fn_c_try_link "$LINENO"; then :
   14113   eval $cacheid=yes
   14114 else
   14115   eval $cacheid=no
   14116 fi
   14117 rm -f core conftest.err conftest.$ac_objext \
   14118     conftest$ac_exeext conftest.$ac_ext
   14119 fi
   14120 
   14121 
   14122 		CFLAGS="$xorg_testset_save_CFLAGS"
   14123 
   14124 		eval supported=\$$cacheid
   14125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14126 $as_echo "$supported" >&6; }
   14127 		if test "$supported" = "yes" ; then
   14128 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14129 			found="yes"
   14130 		fi
   14131 	fi
   14132 
   14133 
   14134 
   14135 
   14136 
   14137 
   14138 
   14139 
   14140 
   14141 
   14142 
   14143 
   14144 
   14145 
   14146 
   14147 xorg_testset_save_CFLAGS="$CFLAGS"
   14148 
   14149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14152 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14153 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14154   $as_echo_n "(cached) " >&6
   14155 else
   14156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14157 /* end confdefs.h.  */
   14158 int i;
   14159 _ACEOF
   14160 if ac_fn_c_try_compile "$LINENO"; then :
   14161   xorg_cv_cc_flag_unknown_warning_option=yes
   14162 else
   14163   xorg_cv_cc_flag_unknown_warning_option=no
   14164 fi
   14165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14166 fi
   14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14168 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14170 	CFLAGS="$xorg_testset_save_CFLAGS"
   14171 fi
   14172 
   14173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14176 	fi
   14177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14179 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14180 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   14187 if ac_fn_c_try_compile "$LINENO"; then :
   14188   xorg_cv_cc_flag_unused_command_line_argument=yes
   14189 else
   14190   xorg_cv_cc_flag_unused_command_line_argument=no
   14191 fi
   14192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14193 fi
   14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14195 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14196 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14197 	CFLAGS="$xorg_testset_save_CFLAGS"
   14198 fi
   14199 
   14200 found="no"
   14201 
   14202 	if test $found = "no" ; then
   14203 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14204 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14205 		fi
   14206 
   14207 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14208 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14209 		fi
   14210 
   14211 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14212 
   14213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14214 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14215 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14216 		if eval \${$cacheid+:} false; then :
   14217   $as_echo_n "(cached) " >&6
   14218 else
   14219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14220 /* end confdefs.h.  */
   14221 int i;
   14222 int
   14223 main ()
   14224 {
   14225 
   14226   ;
   14227   return 0;
   14228 }
   14229 _ACEOF
   14230 if ac_fn_c_try_link "$LINENO"; then :
   14231   eval $cacheid=yes
   14232 else
   14233   eval $cacheid=no
   14234 fi
   14235 rm -f core conftest.err conftest.$ac_objext \
   14236     conftest$ac_exeext conftest.$ac_ext
   14237 fi
   14238 
   14239 
   14240 		CFLAGS="$xorg_testset_save_CFLAGS"
   14241 
   14242 		eval supported=\$$cacheid
   14243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14244 $as_echo "$supported" >&6; }
   14245 		if test "$supported" = "yes" ; then
   14246 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14247 			found="yes"
   14248 		fi
   14249 	fi
   14250 
   14251 
   14252 
   14253 
   14254 
   14255 
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262 
   14263 
   14264 
   14265 xorg_testset_save_CFLAGS="$CFLAGS"
   14266 
   14267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14270 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14271 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14272   $as_echo_n "(cached) " >&6
   14273 else
   14274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14275 /* end confdefs.h.  */
   14276 int i;
   14277 _ACEOF
   14278 if ac_fn_c_try_compile "$LINENO"; then :
   14279   xorg_cv_cc_flag_unknown_warning_option=yes
   14280 else
   14281   xorg_cv_cc_flag_unknown_warning_option=no
   14282 fi
   14283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14284 fi
   14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14286 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14287 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14288 	CFLAGS="$xorg_testset_save_CFLAGS"
   14289 fi
   14290 
   14291 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14292 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14293 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14294 	fi
   14295 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14297 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14298 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   14305 if ac_fn_c_try_compile "$LINENO"; then :
   14306   xorg_cv_cc_flag_unused_command_line_argument=yes
   14307 else
   14308   xorg_cv_cc_flag_unused_command_line_argument=no
   14309 fi
   14310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14311 fi
   14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14313 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14314 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14315 	CFLAGS="$xorg_testset_save_CFLAGS"
   14316 fi
   14317 
   14318 found="no"
   14319 
   14320 	if test $found = "no" ; then
   14321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14323 		fi
   14324 
   14325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14327 		fi
   14328 
   14329 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14330 
   14331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14332 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14333 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14334 		if eval \${$cacheid+:} false; then :
   14335   $as_echo_n "(cached) " >&6
   14336 else
   14337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14338 /* end confdefs.h.  */
   14339 int i;
   14340 int
   14341 main ()
   14342 {
   14343 
   14344   ;
   14345   return 0;
   14346 }
   14347 _ACEOF
   14348 if ac_fn_c_try_link "$LINENO"; then :
   14349   eval $cacheid=yes
   14350 else
   14351   eval $cacheid=no
   14352 fi
   14353 rm -f core conftest.err conftest.$ac_objext \
   14354     conftest$ac_exeext conftest.$ac_ext
   14355 fi
   14356 
   14357 
   14358 		CFLAGS="$xorg_testset_save_CFLAGS"
   14359 
   14360 		eval supported=\$$cacheid
   14361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14362 $as_echo "$supported" >&6; }
   14363 		if test "$supported" = "yes" ; then
   14364 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14365 			found="yes"
   14366 		fi
   14367 	fi
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 xorg_testset_save_CFLAGS="$CFLAGS"
   14384 
   14385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14388 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14389 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14390   $as_echo_n "(cached) " >&6
   14391 else
   14392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14393 /* end confdefs.h.  */
   14394 int i;
   14395 _ACEOF
   14396 if ac_fn_c_try_compile "$LINENO"; then :
   14397   xorg_cv_cc_flag_unknown_warning_option=yes
   14398 else
   14399   xorg_cv_cc_flag_unknown_warning_option=no
   14400 fi
   14401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14402 fi
   14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14404 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14406 	CFLAGS="$xorg_testset_save_CFLAGS"
   14407 fi
   14408 
   14409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14412 	fi
   14413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14415 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14416 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   14423 if ac_fn_c_try_compile "$LINENO"; then :
   14424   xorg_cv_cc_flag_unused_command_line_argument=yes
   14425 else
   14426   xorg_cv_cc_flag_unused_command_line_argument=no
   14427 fi
   14428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14429 fi
   14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14431 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14432 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14433 	CFLAGS="$xorg_testset_save_CFLAGS"
   14434 fi
   14435 
   14436 found="no"
   14437 
   14438 	if test $found = "no" ; then
   14439 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14440 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14441 		fi
   14442 
   14443 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14444 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14445 		fi
   14446 
   14447 		CFLAGS="$CFLAGS -Wredundant-decls"
   14448 
   14449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14450 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14451 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14452 		if eval \${$cacheid+:} false; then :
   14453   $as_echo_n "(cached) " >&6
   14454 else
   14455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14456 /* end confdefs.h.  */
   14457 int i;
   14458 int
   14459 main ()
   14460 {
   14461 
   14462   ;
   14463   return 0;
   14464 }
   14465 _ACEOF
   14466 if ac_fn_c_try_link "$LINENO"; then :
   14467   eval $cacheid=yes
   14468 else
   14469   eval $cacheid=no
   14470 fi
   14471 rm -f core conftest.err conftest.$ac_objext \
   14472     conftest$ac_exeext conftest.$ac_ext
   14473 fi
   14474 
   14475 
   14476 		CFLAGS="$xorg_testset_save_CFLAGS"
   14477 
   14478 		eval supported=\$$cacheid
   14479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14480 $as_echo "$supported" >&6; }
   14481 		if test "$supported" = "yes" ; then
   14482 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14483 			found="yes"
   14484 		fi
   14485 	fi
   14486 
   14487 
   14488 
   14489 
   14490 
   14491 
   14492 
   14493 
   14494 
   14495 
   14496 
   14497 
   14498 
   14499 
   14500 
   14501 xorg_testset_save_CFLAGS="$CFLAGS"
   14502 
   14503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14506 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14507 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14508   $as_echo_n "(cached) " >&6
   14509 else
   14510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14511 /* end confdefs.h.  */
   14512 int i;
   14513 _ACEOF
   14514 if ac_fn_c_try_compile "$LINENO"; then :
   14515   xorg_cv_cc_flag_unknown_warning_option=yes
   14516 else
   14517   xorg_cv_cc_flag_unknown_warning_option=no
   14518 fi
   14519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14520 fi
   14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14522 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14523 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14524 	CFLAGS="$xorg_testset_save_CFLAGS"
   14525 fi
   14526 
   14527 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14528 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14530 	fi
   14531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14533 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14534 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   14541 if ac_fn_c_try_compile "$LINENO"; then :
   14542   xorg_cv_cc_flag_unused_command_line_argument=yes
   14543 else
   14544   xorg_cv_cc_flag_unused_command_line_argument=no
   14545 fi
   14546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14547 fi
   14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14549 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14551 	CFLAGS="$xorg_testset_save_CFLAGS"
   14552 fi
   14553 
   14554 found="no"
   14555 
   14556 	if test $found = "no" ; then
   14557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14559 		fi
   14560 
   14561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14563 		fi
   14564 
   14565 		CFLAGS="$CFLAGS -Wlogical-op"
   14566 
   14567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14568 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14569 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14570 		if eval \${$cacheid+:} false; then :
   14571   $as_echo_n "(cached) " >&6
   14572 else
   14573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14574 /* end confdefs.h.  */
   14575 int i;
   14576 int
   14577 main ()
   14578 {
   14579 
   14580   ;
   14581   return 0;
   14582 }
   14583 _ACEOF
   14584 if ac_fn_c_try_link "$LINENO"; then :
   14585   eval $cacheid=yes
   14586 else
   14587   eval $cacheid=no
   14588 fi
   14589 rm -f core conftest.err conftest.$ac_objext \
   14590     conftest$ac_exeext conftest.$ac_ext
   14591 fi
   14592 
   14593 
   14594 		CFLAGS="$xorg_testset_save_CFLAGS"
   14595 
   14596 		eval supported=\$$cacheid
   14597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14598 $as_echo "$supported" >&6; }
   14599 		if test "$supported" = "yes" ; then
   14600 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14601 			found="yes"
   14602 		fi
   14603 	fi
   14604 
   14605 
   14606 
   14607 # These are currently disabled because they are noisy.  They will be enabled
   14608 # in the future once the codebase is sufficiently modernized to silence
   14609 # them.  For now, I don't want them to drown out the other warnings.
   14610 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14611 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14612 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14613 
   14614 # Turn some warnings into errors, so we don't accidently get successful builds
   14615 # when there are problems that should be fixed.
   14616 
   14617 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14618 
   14619 
   14620 
   14621 
   14622 
   14623 
   14624 
   14625 
   14626 
   14627 
   14628 
   14629 
   14630 
   14631 xorg_testset_save_CFLAGS="$CFLAGS"
   14632 
   14633 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14634 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14636 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14637 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14638   $as_echo_n "(cached) " >&6
   14639 else
   14640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14641 /* end confdefs.h.  */
   14642 int i;
   14643 _ACEOF
   14644 if ac_fn_c_try_compile "$LINENO"; then :
   14645   xorg_cv_cc_flag_unknown_warning_option=yes
   14646 else
   14647   xorg_cv_cc_flag_unknown_warning_option=no
   14648 fi
   14649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14650 fi
   14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14652 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14654 	CFLAGS="$xorg_testset_save_CFLAGS"
   14655 fi
   14656 
   14657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14660 	fi
   14661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14662 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14663 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14664 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14665   $as_echo_n "(cached) " >&6
   14666 else
   14667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14668 /* end confdefs.h.  */
   14669 int i;
   14670 _ACEOF
   14671 if ac_fn_c_try_compile "$LINENO"; then :
   14672   xorg_cv_cc_flag_unused_command_line_argument=yes
   14673 else
   14674   xorg_cv_cc_flag_unused_command_line_argument=no
   14675 fi
   14676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14677 fi
   14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14679 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14681 	CFLAGS="$xorg_testset_save_CFLAGS"
   14682 fi
   14683 
   14684 found="no"
   14685 
   14686 	if test $found = "no" ; then
   14687 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14689 		fi
   14690 
   14691 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14693 		fi
   14694 
   14695 		CFLAGS="$CFLAGS -Werror=implicit"
   14696 
   14697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14698 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14699 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14700 		if eval \${$cacheid+:} false; then :
   14701   $as_echo_n "(cached) " >&6
   14702 else
   14703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14704 /* end confdefs.h.  */
   14705 int i;
   14706 int
   14707 main ()
   14708 {
   14709 
   14710   ;
   14711   return 0;
   14712 }
   14713 _ACEOF
   14714 if ac_fn_c_try_link "$LINENO"; then :
   14715   eval $cacheid=yes
   14716 else
   14717   eval $cacheid=no
   14718 fi
   14719 rm -f core conftest.err conftest.$ac_objext \
   14720     conftest$ac_exeext conftest.$ac_ext
   14721 fi
   14722 
   14723 
   14724 		CFLAGS="$xorg_testset_save_CFLAGS"
   14725 
   14726 		eval supported=\$$cacheid
   14727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14728 $as_echo "$supported" >&6; }
   14729 		if test "$supported" = "yes" ; then
   14730 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14731 			found="yes"
   14732 		fi
   14733 	fi
   14734 
   14735 	if test $found = "no" ; then
   14736 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14738 		fi
   14739 
   14740 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14742 		fi
   14743 
   14744 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14745 
   14746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14747 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14748 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14749 		if eval \${$cacheid+:} false; then :
   14750   $as_echo_n "(cached) " >&6
   14751 else
   14752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14753 /* end confdefs.h.  */
   14754 int i;
   14755 int
   14756 main ()
   14757 {
   14758 
   14759   ;
   14760   return 0;
   14761 }
   14762 _ACEOF
   14763 if ac_fn_c_try_link "$LINENO"; then :
   14764   eval $cacheid=yes
   14765 else
   14766   eval $cacheid=no
   14767 fi
   14768 rm -f core conftest.err conftest.$ac_objext \
   14769     conftest$ac_exeext conftest.$ac_ext
   14770 fi
   14771 
   14772 
   14773 		CFLAGS="$xorg_testset_save_CFLAGS"
   14774 
   14775 		eval supported=\$$cacheid
   14776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14777 $as_echo "$supported" >&6; }
   14778 		if test "$supported" = "yes" ; then
   14779 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14780 			found="yes"
   14781 		fi
   14782 	fi
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791 
   14792 
   14793 
   14794 
   14795 
   14796 
   14797 
   14798 xorg_testset_save_CFLAGS="$CFLAGS"
   14799 
   14800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14803 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14804 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14805   $as_echo_n "(cached) " >&6
   14806 else
   14807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14808 /* end confdefs.h.  */
   14809 int i;
   14810 _ACEOF
   14811 if ac_fn_c_try_compile "$LINENO"; then :
   14812   xorg_cv_cc_flag_unknown_warning_option=yes
   14813 else
   14814   xorg_cv_cc_flag_unknown_warning_option=no
   14815 fi
   14816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14817 fi
   14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14819 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14821 	CFLAGS="$xorg_testset_save_CFLAGS"
   14822 fi
   14823 
   14824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14827 	fi
   14828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14830 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14831 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14832   $as_echo_n "(cached) " >&6
   14833 else
   14834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14835 /* end confdefs.h.  */
   14836 int i;
   14837 _ACEOF
   14838 if ac_fn_c_try_compile "$LINENO"; then :
   14839   xorg_cv_cc_flag_unused_command_line_argument=yes
   14840 else
   14841   xorg_cv_cc_flag_unused_command_line_argument=no
   14842 fi
   14843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14844 fi
   14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14846 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14848 	CFLAGS="$xorg_testset_save_CFLAGS"
   14849 fi
   14850 
   14851 found="no"
   14852 
   14853 	if test $found = "no" ; then
   14854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14856 		fi
   14857 
   14858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14860 		fi
   14861 
   14862 		CFLAGS="$CFLAGS -Werror=nonnull"
   14863 
   14864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14865 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14866 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14867 		if eval \${$cacheid+:} false; then :
   14868   $as_echo_n "(cached) " >&6
   14869 else
   14870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14871 /* end confdefs.h.  */
   14872 int i;
   14873 int
   14874 main ()
   14875 {
   14876 
   14877   ;
   14878   return 0;
   14879 }
   14880 _ACEOF
   14881 if ac_fn_c_try_link "$LINENO"; then :
   14882   eval $cacheid=yes
   14883 else
   14884   eval $cacheid=no
   14885 fi
   14886 rm -f core conftest.err conftest.$ac_objext \
   14887     conftest$ac_exeext conftest.$ac_ext
   14888 fi
   14889 
   14890 
   14891 		CFLAGS="$xorg_testset_save_CFLAGS"
   14892 
   14893 		eval supported=\$$cacheid
   14894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14895 $as_echo "$supported" >&6; }
   14896 		if test "$supported" = "yes" ; then
   14897 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14898 			found="yes"
   14899 		fi
   14900 	fi
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 xorg_testset_save_CFLAGS="$CFLAGS"
   14917 
   14918 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14919 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14921 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14922 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14923   $as_echo_n "(cached) " >&6
   14924 else
   14925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14926 /* end confdefs.h.  */
   14927 int i;
   14928 _ACEOF
   14929 if ac_fn_c_try_compile "$LINENO"; then :
   14930   xorg_cv_cc_flag_unknown_warning_option=yes
   14931 else
   14932   xorg_cv_cc_flag_unknown_warning_option=no
   14933 fi
   14934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14935 fi
   14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14937 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14939 	CFLAGS="$xorg_testset_save_CFLAGS"
   14940 fi
   14941 
   14942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14945 	fi
   14946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14948 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14949 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14950   $as_echo_n "(cached) " >&6
   14951 else
   14952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14953 /* end confdefs.h.  */
   14954 int i;
   14955 _ACEOF
   14956 if ac_fn_c_try_compile "$LINENO"; then :
   14957   xorg_cv_cc_flag_unused_command_line_argument=yes
   14958 else
   14959   xorg_cv_cc_flag_unused_command_line_argument=no
   14960 fi
   14961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14962 fi
   14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14964 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14965 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14966 	CFLAGS="$xorg_testset_save_CFLAGS"
   14967 fi
   14968 
   14969 found="no"
   14970 
   14971 	if test $found = "no" ; then
   14972 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14974 		fi
   14975 
   14976 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14978 		fi
   14979 
   14980 		CFLAGS="$CFLAGS -Werror=init-self"
   14981 
   14982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14983 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14984 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14985 		if eval \${$cacheid+:} false; then :
   14986   $as_echo_n "(cached) " >&6
   14987 else
   14988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14989 /* end confdefs.h.  */
   14990 int i;
   14991 int
   14992 main ()
   14993 {
   14994 
   14995   ;
   14996   return 0;
   14997 }
   14998 _ACEOF
   14999 if ac_fn_c_try_link "$LINENO"; then :
   15000   eval $cacheid=yes
   15001 else
   15002   eval $cacheid=no
   15003 fi
   15004 rm -f core conftest.err conftest.$ac_objext \
   15005     conftest$ac_exeext conftest.$ac_ext
   15006 fi
   15007 
   15008 
   15009 		CFLAGS="$xorg_testset_save_CFLAGS"
   15010 
   15011 		eval supported=\$$cacheid
   15012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15013 $as_echo "$supported" >&6; }
   15014 		if test "$supported" = "yes" ; then
   15015 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15016 			found="yes"
   15017 		fi
   15018 	fi
   15019 
   15020 
   15021 
   15022 
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 xorg_testset_save_CFLAGS="$CFLAGS"
   15035 
   15036 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15039 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15040 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15041   $as_echo_n "(cached) " >&6
   15042 else
   15043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15044 /* end confdefs.h.  */
   15045 int i;
   15046 _ACEOF
   15047 if ac_fn_c_try_compile "$LINENO"; then :
   15048   xorg_cv_cc_flag_unknown_warning_option=yes
   15049 else
   15050   xorg_cv_cc_flag_unknown_warning_option=no
   15051 fi
   15052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15053 fi
   15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15055 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15056 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15057 	CFLAGS="$xorg_testset_save_CFLAGS"
   15058 fi
   15059 
   15060 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15061 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15062 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15063 	fi
   15064 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15066 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15067 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15068   $as_echo_n "(cached) " >&6
   15069 else
   15070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15071 /* end confdefs.h.  */
   15072 int i;
   15073 _ACEOF
   15074 if ac_fn_c_try_compile "$LINENO"; then :
   15075   xorg_cv_cc_flag_unused_command_line_argument=yes
   15076 else
   15077   xorg_cv_cc_flag_unused_command_line_argument=no
   15078 fi
   15079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15080 fi
   15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15082 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15084 	CFLAGS="$xorg_testset_save_CFLAGS"
   15085 fi
   15086 
   15087 found="no"
   15088 
   15089 	if test $found = "no" ; then
   15090 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15092 		fi
   15093 
   15094 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15096 		fi
   15097 
   15098 		CFLAGS="$CFLAGS -Werror=main"
   15099 
   15100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15101 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   15102 		cacheid=xorg_cv_cc_flag__Werror_main
   15103 		if eval \${$cacheid+:} false; then :
   15104   $as_echo_n "(cached) " >&6
   15105 else
   15106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15107 /* end confdefs.h.  */
   15108 int i;
   15109 int
   15110 main ()
   15111 {
   15112 
   15113   ;
   15114   return 0;
   15115 }
   15116 _ACEOF
   15117 if ac_fn_c_try_link "$LINENO"; then :
   15118   eval $cacheid=yes
   15119 else
   15120   eval $cacheid=no
   15121 fi
   15122 rm -f core conftest.err conftest.$ac_objext \
   15123     conftest$ac_exeext conftest.$ac_ext
   15124 fi
   15125 
   15126 
   15127 		CFLAGS="$xorg_testset_save_CFLAGS"
   15128 
   15129 		eval supported=\$$cacheid
   15130 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15131 $as_echo "$supported" >&6; }
   15132 		if test "$supported" = "yes" ; then
   15133 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15134 			found="yes"
   15135 		fi
   15136 	fi
   15137 
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 xorg_testset_save_CFLAGS="$CFLAGS"
   15153 
   15154 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15155 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15157 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15158 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15159   $as_echo_n "(cached) " >&6
   15160 else
   15161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15162 /* end confdefs.h.  */
   15163 int i;
   15164 _ACEOF
   15165 if ac_fn_c_try_compile "$LINENO"; then :
   15166   xorg_cv_cc_flag_unknown_warning_option=yes
   15167 else
   15168   xorg_cv_cc_flag_unknown_warning_option=no
   15169 fi
   15170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15171 fi
   15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15173 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15175 	CFLAGS="$xorg_testset_save_CFLAGS"
   15176 fi
   15177 
   15178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15181 	fi
   15182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15184 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15185 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15186   $as_echo_n "(cached) " >&6
   15187 else
   15188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15189 /* end confdefs.h.  */
   15190 int i;
   15191 _ACEOF
   15192 if ac_fn_c_try_compile "$LINENO"; then :
   15193   xorg_cv_cc_flag_unused_command_line_argument=yes
   15194 else
   15195   xorg_cv_cc_flag_unused_command_line_argument=no
   15196 fi
   15197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15198 fi
   15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15200 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15201 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15202 	CFLAGS="$xorg_testset_save_CFLAGS"
   15203 fi
   15204 
   15205 found="no"
   15206 
   15207 	if test $found = "no" ; then
   15208 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15209 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15210 		fi
   15211 
   15212 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15213 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15214 		fi
   15215 
   15216 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15217 
   15218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15219 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15220 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15221 		if eval \${$cacheid+:} false; then :
   15222   $as_echo_n "(cached) " >&6
   15223 else
   15224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15225 /* end confdefs.h.  */
   15226 int i;
   15227 int
   15228 main ()
   15229 {
   15230 
   15231   ;
   15232   return 0;
   15233 }
   15234 _ACEOF
   15235 if ac_fn_c_try_link "$LINENO"; then :
   15236   eval $cacheid=yes
   15237 else
   15238   eval $cacheid=no
   15239 fi
   15240 rm -f core conftest.err conftest.$ac_objext \
   15241     conftest$ac_exeext conftest.$ac_ext
   15242 fi
   15243 
   15244 
   15245 		CFLAGS="$xorg_testset_save_CFLAGS"
   15246 
   15247 		eval supported=\$$cacheid
   15248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15249 $as_echo "$supported" >&6; }
   15250 		if test "$supported" = "yes" ; then
   15251 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15252 			found="yes"
   15253 		fi
   15254 	fi
   15255 
   15256 
   15257 
   15258 
   15259 
   15260 
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 xorg_testset_save_CFLAGS="$CFLAGS"
   15271 
   15272 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15273 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15275 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15276 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15277   $as_echo_n "(cached) " >&6
   15278 else
   15279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15280 /* end confdefs.h.  */
   15281 int i;
   15282 _ACEOF
   15283 if ac_fn_c_try_compile "$LINENO"; then :
   15284   xorg_cv_cc_flag_unknown_warning_option=yes
   15285 else
   15286   xorg_cv_cc_flag_unknown_warning_option=no
   15287 fi
   15288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15289 fi
   15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15291 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15292 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15293 	CFLAGS="$xorg_testset_save_CFLAGS"
   15294 fi
   15295 
   15296 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15297 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15298 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15299 	fi
   15300 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15302 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15303 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15304   $as_echo_n "(cached) " >&6
   15305 else
   15306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15307 /* end confdefs.h.  */
   15308 int i;
   15309 _ACEOF
   15310 if ac_fn_c_try_compile "$LINENO"; then :
   15311   xorg_cv_cc_flag_unused_command_line_argument=yes
   15312 else
   15313   xorg_cv_cc_flag_unused_command_line_argument=no
   15314 fi
   15315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15316 fi
   15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15318 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15319 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15320 	CFLAGS="$xorg_testset_save_CFLAGS"
   15321 fi
   15322 
   15323 found="no"
   15324 
   15325 	if test $found = "no" ; then
   15326 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15327 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15328 		fi
   15329 
   15330 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15331 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15332 		fi
   15333 
   15334 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15335 
   15336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15337 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15338 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15339 		if eval \${$cacheid+:} false; then :
   15340   $as_echo_n "(cached) " >&6
   15341 else
   15342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15343 /* end confdefs.h.  */
   15344 int i;
   15345 int
   15346 main ()
   15347 {
   15348 
   15349   ;
   15350   return 0;
   15351 }
   15352 _ACEOF
   15353 if ac_fn_c_try_link "$LINENO"; then :
   15354   eval $cacheid=yes
   15355 else
   15356   eval $cacheid=no
   15357 fi
   15358 rm -f core conftest.err conftest.$ac_objext \
   15359     conftest$ac_exeext conftest.$ac_ext
   15360 fi
   15361 
   15362 
   15363 		CFLAGS="$xorg_testset_save_CFLAGS"
   15364 
   15365 		eval supported=\$$cacheid
   15366 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15367 $as_echo "$supported" >&6; }
   15368 		if test "$supported" = "yes" ; then
   15369 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15370 			found="yes"
   15371 		fi
   15372 	fi
   15373 
   15374 
   15375 
   15376 
   15377 
   15378 
   15379 
   15380 
   15381 
   15382 
   15383 
   15384 
   15385 
   15386 
   15387 
   15388 xorg_testset_save_CFLAGS="$CFLAGS"
   15389 
   15390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15393 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15394 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15395   $as_echo_n "(cached) " >&6
   15396 else
   15397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15398 /* end confdefs.h.  */
   15399 int i;
   15400 _ACEOF
   15401 if ac_fn_c_try_compile "$LINENO"; then :
   15402   xorg_cv_cc_flag_unknown_warning_option=yes
   15403 else
   15404   xorg_cv_cc_flag_unknown_warning_option=no
   15405 fi
   15406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15407 fi
   15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15409 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15410 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15411 	CFLAGS="$xorg_testset_save_CFLAGS"
   15412 fi
   15413 
   15414 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15415 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15416 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15417 	fi
   15418 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15420 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15421 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15422   $as_echo_n "(cached) " >&6
   15423 else
   15424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15425 /* end confdefs.h.  */
   15426 int i;
   15427 _ACEOF
   15428 if ac_fn_c_try_compile "$LINENO"; then :
   15429   xorg_cv_cc_flag_unused_command_line_argument=yes
   15430 else
   15431   xorg_cv_cc_flag_unused_command_line_argument=no
   15432 fi
   15433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15434 fi
   15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15436 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15437 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15438 	CFLAGS="$xorg_testset_save_CFLAGS"
   15439 fi
   15440 
   15441 found="no"
   15442 
   15443 	if test $found = "no" ; then
   15444 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15446 		fi
   15447 
   15448 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15450 		fi
   15451 
   15452 		CFLAGS="$CFLAGS -Werror=return-type"
   15453 
   15454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15455 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15456 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15457 		if eval \${$cacheid+:} false; then :
   15458   $as_echo_n "(cached) " >&6
   15459 else
   15460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15461 /* end confdefs.h.  */
   15462 int i;
   15463 int
   15464 main ()
   15465 {
   15466 
   15467   ;
   15468   return 0;
   15469 }
   15470 _ACEOF
   15471 if ac_fn_c_try_link "$LINENO"; then :
   15472   eval $cacheid=yes
   15473 else
   15474   eval $cacheid=no
   15475 fi
   15476 rm -f core conftest.err conftest.$ac_objext \
   15477     conftest$ac_exeext conftest.$ac_ext
   15478 fi
   15479 
   15480 
   15481 		CFLAGS="$xorg_testset_save_CFLAGS"
   15482 
   15483 		eval supported=\$$cacheid
   15484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15485 $as_echo "$supported" >&6; }
   15486 		if test "$supported" = "yes" ; then
   15487 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15488 			found="yes"
   15489 		fi
   15490 	fi
   15491 
   15492 	if test $found = "no" ; then
   15493 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15494 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15495 		fi
   15496 
   15497 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15498 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15499 		fi
   15500 
   15501 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15502 
   15503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15504 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15505 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15506 		if eval \${$cacheid+:} false; then :
   15507   $as_echo_n "(cached) " >&6
   15508 else
   15509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15510 /* end confdefs.h.  */
   15511 int i;
   15512 int
   15513 main ()
   15514 {
   15515 
   15516   ;
   15517   return 0;
   15518 }
   15519 _ACEOF
   15520 if ac_fn_c_try_link "$LINENO"; then :
   15521   eval $cacheid=yes
   15522 else
   15523   eval $cacheid=no
   15524 fi
   15525 rm -f core conftest.err conftest.$ac_objext \
   15526     conftest$ac_exeext conftest.$ac_ext
   15527 fi
   15528 
   15529 
   15530 		CFLAGS="$xorg_testset_save_CFLAGS"
   15531 
   15532 		eval supported=\$$cacheid
   15533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15534 $as_echo "$supported" >&6; }
   15535 		if test "$supported" = "yes" ; then
   15536 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15537 			found="yes"
   15538 		fi
   15539 	fi
   15540 
   15541 
   15542 
   15543 
   15544 
   15545 
   15546 
   15547 
   15548 
   15549 
   15550 
   15551 
   15552 
   15553 
   15554 
   15555 xorg_testset_save_CFLAGS="$CFLAGS"
   15556 
   15557 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15558 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15560 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15561 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15562   $as_echo_n "(cached) " >&6
   15563 else
   15564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15565 /* end confdefs.h.  */
   15566 int i;
   15567 _ACEOF
   15568 if ac_fn_c_try_compile "$LINENO"; then :
   15569   xorg_cv_cc_flag_unknown_warning_option=yes
   15570 else
   15571   xorg_cv_cc_flag_unknown_warning_option=no
   15572 fi
   15573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15574 fi
   15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15576 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15577 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15578 	CFLAGS="$xorg_testset_save_CFLAGS"
   15579 fi
   15580 
   15581 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15582 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15583 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15584 	fi
   15585 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15587 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15588 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15589   $as_echo_n "(cached) " >&6
   15590 else
   15591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15592 /* end confdefs.h.  */
   15593 int i;
   15594 _ACEOF
   15595 if ac_fn_c_try_compile "$LINENO"; then :
   15596   xorg_cv_cc_flag_unused_command_line_argument=yes
   15597 else
   15598   xorg_cv_cc_flag_unused_command_line_argument=no
   15599 fi
   15600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15601 fi
   15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15603 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15604 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15605 	CFLAGS="$xorg_testset_save_CFLAGS"
   15606 fi
   15607 
   15608 found="no"
   15609 
   15610 	if test $found = "no" ; then
   15611 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15612 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15613 		fi
   15614 
   15615 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15616 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15617 		fi
   15618 
   15619 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15620 
   15621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15622 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15623 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15624 		if eval \${$cacheid+:} false; then :
   15625   $as_echo_n "(cached) " >&6
   15626 else
   15627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15628 /* end confdefs.h.  */
   15629 int i;
   15630 int
   15631 main ()
   15632 {
   15633 
   15634   ;
   15635   return 0;
   15636 }
   15637 _ACEOF
   15638 if ac_fn_c_try_link "$LINENO"; then :
   15639   eval $cacheid=yes
   15640 else
   15641   eval $cacheid=no
   15642 fi
   15643 rm -f core conftest.err conftest.$ac_objext \
   15644     conftest$ac_exeext conftest.$ac_ext
   15645 fi
   15646 
   15647 
   15648 		CFLAGS="$xorg_testset_save_CFLAGS"
   15649 
   15650 		eval supported=\$$cacheid
   15651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15652 $as_echo "$supported" >&6; }
   15653 		if test "$supported" = "yes" ; then
   15654 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15655 			found="yes"
   15656 		fi
   15657 	fi
   15658 
   15659 
   15660 
   15661 
   15662 
   15663 
   15664 
   15665 
   15666 
   15667 
   15668 
   15669 
   15670 
   15671 
   15672 
   15673 xorg_testset_save_CFLAGS="$CFLAGS"
   15674 
   15675 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15676 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15678 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15679 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15680   $as_echo_n "(cached) " >&6
   15681 else
   15682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15683 /* end confdefs.h.  */
   15684 int i;
   15685 _ACEOF
   15686 if ac_fn_c_try_compile "$LINENO"; then :
   15687   xorg_cv_cc_flag_unknown_warning_option=yes
   15688 else
   15689   xorg_cv_cc_flag_unknown_warning_option=no
   15690 fi
   15691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15692 fi
   15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15694 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15696 	CFLAGS="$xorg_testset_save_CFLAGS"
   15697 fi
   15698 
   15699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15702 	fi
   15703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15704 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15705 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15706 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15707   $as_echo_n "(cached) " >&6
   15708 else
   15709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15710 /* end confdefs.h.  */
   15711 int i;
   15712 _ACEOF
   15713 if ac_fn_c_try_compile "$LINENO"; then :
   15714   xorg_cv_cc_flag_unused_command_line_argument=yes
   15715 else
   15716   xorg_cv_cc_flag_unused_command_line_argument=no
   15717 fi
   15718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15719 fi
   15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15721 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15723 	CFLAGS="$xorg_testset_save_CFLAGS"
   15724 fi
   15725 
   15726 found="no"
   15727 
   15728 	if test $found = "no" ; then
   15729 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15731 		fi
   15732 
   15733 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15735 		fi
   15736 
   15737 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15738 
   15739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15740 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15741 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15742 		if eval \${$cacheid+:} false; then :
   15743   $as_echo_n "(cached) " >&6
   15744 else
   15745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15746 /* end confdefs.h.  */
   15747 int i;
   15748 int
   15749 main ()
   15750 {
   15751 
   15752   ;
   15753   return 0;
   15754 }
   15755 _ACEOF
   15756 if ac_fn_c_try_link "$LINENO"; then :
   15757   eval $cacheid=yes
   15758 else
   15759   eval $cacheid=no
   15760 fi
   15761 rm -f core conftest.err conftest.$ac_objext \
   15762     conftest$ac_exeext conftest.$ac_ext
   15763 fi
   15764 
   15765 
   15766 		CFLAGS="$xorg_testset_save_CFLAGS"
   15767 
   15768 		eval supported=\$$cacheid
   15769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15770 $as_echo "$supported" >&6; }
   15771 		if test "$supported" = "yes" ; then
   15772 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15773 			found="yes"
   15774 		fi
   15775 	fi
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 
   15783 
   15784 
   15785 
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 xorg_testset_save_CFLAGS="$CFLAGS"
   15792 
   15793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15796 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15797 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15798   $as_echo_n "(cached) " >&6
   15799 else
   15800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15801 /* end confdefs.h.  */
   15802 int i;
   15803 _ACEOF
   15804 if ac_fn_c_try_compile "$LINENO"; then :
   15805   xorg_cv_cc_flag_unknown_warning_option=yes
   15806 else
   15807   xorg_cv_cc_flag_unknown_warning_option=no
   15808 fi
   15809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15810 fi
   15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15812 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15813 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15814 	CFLAGS="$xorg_testset_save_CFLAGS"
   15815 fi
   15816 
   15817 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15818 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15820 	fi
   15821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15823 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15824 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15825   $as_echo_n "(cached) " >&6
   15826 else
   15827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15828 /* end confdefs.h.  */
   15829 int i;
   15830 _ACEOF
   15831 if ac_fn_c_try_compile "$LINENO"; then :
   15832   xorg_cv_cc_flag_unused_command_line_argument=yes
   15833 else
   15834   xorg_cv_cc_flag_unused_command_line_argument=no
   15835 fi
   15836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15837 fi
   15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15839 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15841 	CFLAGS="$xorg_testset_save_CFLAGS"
   15842 fi
   15843 
   15844 found="no"
   15845 
   15846 	if test $found = "no" ; then
   15847 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15849 		fi
   15850 
   15851 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15853 		fi
   15854 
   15855 		CFLAGS="$CFLAGS -Werror=write-strings"
   15856 
   15857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15858 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15859 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15860 		if eval \${$cacheid+:} false; then :
   15861   $as_echo_n "(cached) " >&6
   15862 else
   15863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15864 /* end confdefs.h.  */
   15865 int i;
   15866 int
   15867 main ()
   15868 {
   15869 
   15870   ;
   15871   return 0;
   15872 }
   15873 _ACEOF
   15874 if ac_fn_c_try_link "$LINENO"; then :
   15875   eval $cacheid=yes
   15876 else
   15877   eval $cacheid=no
   15878 fi
   15879 rm -f core conftest.err conftest.$ac_objext \
   15880     conftest$ac_exeext conftest.$ac_ext
   15881 fi
   15882 
   15883 
   15884 		CFLAGS="$xorg_testset_save_CFLAGS"
   15885 
   15886 		eval supported=\$$cacheid
   15887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15888 $as_echo "$supported" >&6; }
   15889 		if test "$supported" = "yes" ; then
   15890 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15891 			found="yes"
   15892 		fi
   15893 	fi
   15894 
   15895 
   15896 
   15897 
   15898 
   15899 
   15900 
   15901 
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 
   15908 
   15909 xorg_testset_save_CFLAGS="$CFLAGS"
   15910 
   15911 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15912 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15914 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15915 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15916   $as_echo_n "(cached) " >&6
   15917 else
   15918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15919 /* end confdefs.h.  */
   15920 int i;
   15921 _ACEOF
   15922 if ac_fn_c_try_compile "$LINENO"; then :
   15923   xorg_cv_cc_flag_unknown_warning_option=yes
   15924 else
   15925   xorg_cv_cc_flag_unknown_warning_option=no
   15926 fi
   15927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15928 fi
   15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15930 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15931 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15932 	CFLAGS="$xorg_testset_save_CFLAGS"
   15933 fi
   15934 
   15935 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15936 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15937 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15938 	fi
   15939 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15941 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15942 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15943   $as_echo_n "(cached) " >&6
   15944 else
   15945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15946 /* end confdefs.h.  */
   15947 int i;
   15948 _ACEOF
   15949 if ac_fn_c_try_compile "$LINENO"; then :
   15950   xorg_cv_cc_flag_unused_command_line_argument=yes
   15951 else
   15952   xorg_cv_cc_flag_unused_command_line_argument=no
   15953 fi
   15954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15955 fi
   15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15957 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15958 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15959 	CFLAGS="$xorg_testset_save_CFLAGS"
   15960 fi
   15961 
   15962 found="no"
   15963 
   15964 	if test $found = "no" ; then
   15965 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15966 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15967 		fi
   15968 
   15969 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15970 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15971 		fi
   15972 
   15973 		CFLAGS="$CFLAGS -Werror=address"
   15974 
   15975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15976 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15977 		cacheid=xorg_cv_cc_flag__Werror_address
   15978 		if eval \${$cacheid+:} false; then :
   15979   $as_echo_n "(cached) " >&6
   15980 else
   15981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15982 /* end confdefs.h.  */
   15983 int i;
   15984 int
   15985 main ()
   15986 {
   15987 
   15988   ;
   15989   return 0;
   15990 }
   15991 _ACEOF
   15992 if ac_fn_c_try_link "$LINENO"; then :
   15993   eval $cacheid=yes
   15994 else
   15995   eval $cacheid=no
   15996 fi
   15997 rm -f core conftest.err conftest.$ac_objext \
   15998     conftest$ac_exeext conftest.$ac_ext
   15999 fi
   16000 
   16001 
   16002 		CFLAGS="$xorg_testset_save_CFLAGS"
   16003 
   16004 		eval supported=\$$cacheid
   16005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16006 $as_echo "$supported" >&6; }
   16007 		if test "$supported" = "yes" ; then
   16008 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16009 			found="yes"
   16010 		fi
   16011 	fi
   16012 
   16013 
   16014 
   16015 
   16016 
   16017 
   16018 
   16019 
   16020 
   16021 
   16022 
   16023 
   16024 
   16025 
   16026 
   16027 xorg_testset_save_CFLAGS="$CFLAGS"
   16028 
   16029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16030 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16032 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16033 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16034   $as_echo_n "(cached) " >&6
   16035 else
   16036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16037 /* end confdefs.h.  */
   16038 int i;
   16039 _ACEOF
   16040 if ac_fn_c_try_compile "$LINENO"; then :
   16041   xorg_cv_cc_flag_unknown_warning_option=yes
   16042 else
   16043   xorg_cv_cc_flag_unknown_warning_option=no
   16044 fi
   16045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16046 fi
   16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16048 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16049 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16050 	CFLAGS="$xorg_testset_save_CFLAGS"
   16051 fi
   16052 
   16053 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16054 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16055 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16056 	fi
   16057 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16059 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16060 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16061   $as_echo_n "(cached) " >&6
   16062 else
   16063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16064 /* end confdefs.h.  */
   16065 int i;
   16066 _ACEOF
   16067 if ac_fn_c_try_compile "$LINENO"; then :
   16068   xorg_cv_cc_flag_unused_command_line_argument=yes
   16069 else
   16070   xorg_cv_cc_flag_unused_command_line_argument=no
   16071 fi
   16072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16073 fi
   16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16075 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16077 	CFLAGS="$xorg_testset_save_CFLAGS"
   16078 fi
   16079 
   16080 found="no"
   16081 
   16082 	if test $found = "no" ; then
   16083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16085 		fi
   16086 
   16087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16089 		fi
   16090 
   16091 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16092 
   16093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16094 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16095 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16096 		if eval \${$cacheid+:} false; then :
   16097   $as_echo_n "(cached) " >&6
   16098 else
   16099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16100 /* end confdefs.h.  */
   16101 int i;
   16102 int
   16103 main ()
   16104 {
   16105 
   16106   ;
   16107   return 0;
   16108 }
   16109 _ACEOF
   16110 if ac_fn_c_try_link "$LINENO"; then :
   16111   eval $cacheid=yes
   16112 else
   16113   eval $cacheid=no
   16114 fi
   16115 rm -f core conftest.err conftest.$ac_objext \
   16116     conftest$ac_exeext conftest.$ac_ext
   16117 fi
   16118 
   16119 
   16120 		CFLAGS="$xorg_testset_save_CFLAGS"
   16121 
   16122 		eval supported=\$$cacheid
   16123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16124 $as_echo "$supported" >&6; }
   16125 		if test "$supported" = "yes" ; then
   16126 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16127 			found="yes"
   16128 		fi
   16129 	fi
   16130 
   16131 	if test $found = "no" ; then
   16132 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16134 		fi
   16135 
   16136 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16138 		fi
   16139 
   16140 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16141 
   16142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16143 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16144 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16145 		if eval \${$cacheid+:} false; then :
   16146   $as_echo_n "(cached) " >&6
   16147 else
   16148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16149 /* end confdefs.h.  */
   16150 int i;
   16151 int
   16152 main ()
   16153 {
   16154 
   16155   ;
   16156   return 0;
   16157 }
   16158 _ACEOF
   16159 if ac_fn_c_try_link "$LINENO"; then :
   16160   eval $cacheid=yes
   16161 else
   16162   eval $cacheid=no
   16163 fi
   16164 rm -f core conftest.err conftest.$ac_objext \
   16165     conftest$ac_exeext conftest.$ac_ext
   16166 fi
   16167 
   16168 
   16169 		CFLAGS="$xorg_testset_save_CFLAGS"
   16170 
   16171 		eval supported=\$$cacheid
   16172 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16173 $as_echo "$supported" >&6; }
   16174 		if test "$supported" = "yes" ; then
   16175 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16176 			found="yes"
   16177 		fi
   16178 	fi
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 xorg_testset_save_CFLAGS="$CFLAGS"
   16195 
   16196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16198 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16199 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16200 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16201   $as_echo_n "(cached) " >&6
   16202 else
   16203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16204 /* end confdefs.h.  */
   16205 int i;
   16206 _ACEOF
   16207 if ac_fn_c_try_compile "$LINENO"; then :
   16208   xorg_cv_cc_flag_unknown_warning_option=yes
   16209 else
   16210   xorg_cv_cc_flag_unknown_warning_option=no
   16211 fi
   16212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16213 fi
   16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16215 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16216 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16217 	CFLAGS="$xorg_testset_save_CFLAGS"
   16218 fi
   16219 
   16220 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16221 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16222 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16223 	fi
   16224 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16226 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16227 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16228   $as_echo_n "(cached) " >&6
   16229 else
   16230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16231 /* end confdefs.h.  */
   16232 int i;
   16233 _ACEOF
   16234 if ac_fn_c_try_compile "$LINENO"; then :
   16235   xorg_cv_cc_flag_unused_command_line_argument=yes
   16236 else
   16237   xorg_cv_cc_flag_unused_command_line_argument=no
   16238 fi
   16239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16240 fi
   16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16242 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16243 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16244 	CFLAGS="$xorg_testset_save_CFLAGS"
   16245 fi
   16246 
   16247 found="no"
   16248 
   16249 	if test $found = "no" ; then
   16250 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16251 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16252 		fi
   16253 
   16254 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16255 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16256 		fi
   16257 
   16258 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16259 
   16260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16261 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16262 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16263 		if eval \${$cacheid+:} false; then :
   16264   $as_echo_n "(cached) " >&6
   16265 else
   16266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16267 /* end confdefs.h.  */
   16268 int i;
   16269 int
   16270 main ()
   16271 {
   16272 
   16273   ;
   16274   return 0;
   16275 }
   16276 _ACEOF
   16277 if ac_fn_c_try_link "$LINENO"; then :
   16278   eval $cacheid=yes
   16279 else
   16280   eval $cacheid=no
   16281 fi
   16282 rm -f core conftest.err conftest.$ac_objext \
   16283     conftest$ac_exeext conftest.$ac_ext
   16284 fi
   16285 
   16286 
   16287 		CFLAGS="$xorg_testset_save_CFLAGS"
   16288 
   16289 		eval supported=\$$cacheid
   16290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16291 $as_echo "$supported" >&6; }
   16292 		if test "$supported" = "yes" ; then
   16293 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16294 			found="yes"
   16295 		fi
   16296 	fi
   16297 
   16298  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16299 else
   16300 { $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
   16301 $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;}
   16302 
   16303 
   16304 
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 
   16312 
   16313 
   16314 
   16315 xorg_testset_save_CFLAGS="$CFLAGS"
   16316 
   16317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16320 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16321 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16322   $as_echo_n "(cached) " >&6
   16323 else
   16324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16325 /* end confdefs.h.  */
   16326 int i;
   16327 _ACEOF
   16328 if ac_fn_c_try_compile "$LINENO"; then :
   16329   xorg_cv_cc_flag_unknown_warning_option=yes
   16330 else
   16331   xorg_cv_cc_flag_unknown_warning_option=no
   16332 fi
   16333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16334 fi
   16335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16336 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16338 	CFLAGS="$xorg_testset_save_CFLAGS"
   16339 fi
   16340 
   16341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16344 	fi
   16345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16347 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16348 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16349   $as_echo_n "(cached) " >&6
   16350 else
   16351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16352 /* end confdefs.h.  */
   16353 int i;
   16354 _ACEOF
   16355 if ac_fn_c_try_compile "$LINENO"; then :
   16356   xorg_cv_cc_flag_unused_command_line_argument=yes
   16357 else
   16358   xorg_cv_cc_flag_unused_command_line_argument=no
   16359 fi
   16360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16361 fi
   16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16363 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16365 	CFLAGS="$xorg_testset_save_CFLAGS"
   16366 fi
   16367 
   16368 found="no"
   16369 
   16370 	if test $found = "no" ; then
   16371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16373 		fi
   16374 
   16375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16377 		fi
   16378 
   16379 		CFLAGS="$CFLAGS -Wimplicit"
   16380 
   16381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16382 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16383 		cacheid=xorg_cv_cc_flag__Wimplicit
   16384 		if eval \${$cacheid+:} false; then :
   16385   $as_echo_n "(cached) " >&6
   16386 else
   16387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16388 /* end confdefs.h.  */
   16389 int i;
   16390 int
   16391 main ()
   16392 {
   16393 
   16394   ;
   16395   return 0;
   16396 }
   16397 _ACEOF
   16398 if ac_fn_c_try_link "$LINENO"; then :
   16399   eval $cacheid=yes
   16400 else
   16401   eval $cacheid=no
   16402 fi
   16403 rm -f core conftest.err conftest.$ac_objext \
   16404     conftest$ac_exeext conftest.$ac_ext
   16405 fi
   16406 
   16407 
   16408 		CFLAGS="$xorg_testset_save_CFLAGS"
   16409 
   16410 		eval supported=\$$cacheid
   16411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16412 $as_echo "$supported" >&6; }
   16413 		if test "$supported" = "yes" ; then
   16414 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16415 			found="yes"
   16416 		fi
   16417 	fi
   16418 
   16419 
   16420 
   16421 
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 xorg_testset_save_CFLAGS="$CFLAGS"
   16434 
   16435 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16436 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16438 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16439 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16440   $as_echo_n "(cached) " >&6
   16441 else
   16442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16443 /* end confdefs.h.  */
   16444 int i;
   16445 _ACEOF
   16446 if ac_fn_c_try_compile "$LINENO"; then :
   16447   xorg_cv_cc_flag_unknown_warning_option=yes
   16448 else
   16449   xorg_cv_cc_flag_unknown_warning_option=no
   16450 fi
   16451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16452 fi
   16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16454 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16455 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16456 	CFLAGS="$xorg_testset_save_CFLAGS"
   16457 fi
   16458 
   16459 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16460 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16461 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16462 	fi
   16463 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16465 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16466 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16467   $as_echo_n "(cached) " >&6
   16468 else
   16469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16470 /* end confdefs.h.  */
   16471 int i;
   16472 _ACEOF
   16473 if ac_fn_c_try_compile "$LINENO"; then :
   16474   xorg_cv_cc_flag_unused_command_line_argument=yes
   16475 else
   16476   xorg_cv_cc_flag_unused_command_line_argument=no
   16477 fi
   16478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16479 fi
   16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16481 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16483 	CFLAGS="$xorg_testset_save_CFLAGS"
   16484 fi
   16485 
   16486 found="no"
   16487 
   16488 	if test $found = "no" ; then
   16489 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16491 		fi
   16492 
   16493 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16495 		fi
   16496 
   16497 		CFLAGS="$CFLAGS -Wnonnull"
   16498 
   16499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16500 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16501 		cacheid=xorg_cv_cc_flag__Wnonnull
   16502 		if eval \${$cacheid+:} false; then :
   16503   $as_echo_n "(cached) " >&6
   16504 else
   16505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16506 /* end confdefs.h.  */
   16507 int i;
   16508 int
   16509 main ()
   16510 {
   16511 
   16512   ;
   16513   return 0;
   16514 }
   16515 _ACEOF
   16516 if ac_fn_c_try_link "$LINENO"; then :
   16517   eval $cacheid=yes
   16518 else
   16519   eval $cacheid=no
   16520 fi
   16521 rm -f core conftest.err conftest.$ac_objext \
   16522     conftest$ac_exeext conftest.$ac_ext
   16523 fi
   16524 
   16525 
   16526 		CFLAGS="$xorg_testset_save_CFLAGS"
   16527 
   16528 		eval supported=\$$cacheid
   16529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16530 $as_echo "$supported" >&6; }
   16531 		if test "$supported" = "yes" ; then
   16532 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16533 			found="yes"
   16534 		fi
   16535 	fi
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549 
   16550 
   16551 xorg_testset_save_CFLAGS="$CFLAGS"
   16552 
   16553 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16554 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16556 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16557 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16558   $as_echo_n "(cached) " >&6
   16559 else
   16560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16561 /* end confdefs.h.  */
   16562 int i;
   16563 _ACEOF
   16564 if ac_fn_c_try_compile "$LINENO"; then :
   16565   xorg_cv_cc_flag_unknown_warning_option=yes
   16566 else
   16567   xorg_cv_cc_flag_unknown_warning_option=no
   16568 fi
   16569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16570 fi
   16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16572 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16573 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16574 	CFLAGS="$xorg_testset_save_CFLAGS"
   16575 fi
   16576 
   16577 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16578 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16580 	fi
   16581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16583 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16584 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16585   $as_echo_n "(cached) " >&6
   16586 else
   16587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16588 /* end confdefs.h.  */
   16589 int i;
   16590 _ACEOF
   16591 if ac_fn_c_try_compile "$LINENO"; then :
   16592   xorg_cv_cc_flag_unused_command_line_argument=yes
   16593 else
   16594   xorg_cv_cc_flag_unused_command_line_argument=no
   16595 fi
   16596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16597 fi
   16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16599 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16601 	CFLAGS="$xorg_testset_save_CFLAGS"
   16602 fi
   16603 
   16604 found="no"
   16605 
   16606 	if test $found = "no" ; then
   16607 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16609 		fi
   16610 
   16611 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16613 		fi
   16614 
   16615 		CFLAGS="$CFLAGS -Winit-self"
   16616 
   16617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16618 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16619 		cacheid=xorg_cv_cc_flag__Winit_self
   16620 		if eval \${$cacheid+:} false; then :
   16621   $as_echo_n "(cached) " >&6
   16622 else
   16623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16624 /* end confdefs.h.  */
   16625 int i;
   16626 int
   16627 main ()
   16628 {
   16629 
   16630   ;
   16631   return 0;
   16632 }
   16633 _ACEOF
   16634 if ac_fn_c_try_link "$LINENO"; then :
   16635   eval $cacheid=yes
   16636 else
   16637   eval $cacheid=no
   16638 fi
   16639 rm -f core conftest.err conftest.$ac_objext \
   16640     conftest$ac_exeext conftest.$ac_ext
   16641 fi
   16642 
   16643 
   16644 		CFLAGS="$xorg_testset_save_CFLAGS"
   16645 
   16646 		eval supported=\$$cacheid
   16647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16648 $as_echo "$supported" >&6; }
   16649 		if test "$supported" = "yes" ; then
   16650 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16651 			found="yes"
   16652 		fi
   16653 	fi
   16654 
   16655 
   16656 
   16657 
   16658 
   16659 
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 
   16666 
   16667 
   16668 
   16669 xorg_testset_save_CFLAGS="$CFLAGS"
   16670 
   16671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16674 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16675 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16676   $as_echo_n "(cached) " >&6
   16677 else
   16678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16679 /* end confdefs.h.  */
   16680 int i;
   16681 _ACEOF
   16682 if ac_fn_c_try_compile "$LINENO"; then :
   16683   xorg_cv_cc_flag_unknown_warning_option=yes
   16684 else
   16685   xorg_cv_cc_flag_unknown_warning_option=no
   16686 fi
   16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16688 fi
   16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16690 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16692 	CFLAGS="$xorg_testset_save_CFLAGS"
   16693 fi
   16694 
   16695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16698 	fi
   16699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16701 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16702 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16703   $as_echo_n "(cached) " >&6
   16704 else
   16705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16706 /* end confdefs.h.  */
   16707 int i;
   16708 _ACEOF
   16709 if ac_fn_c_try_compile "$LINENO"; then :
   16710   xorg_cv_cc_flag_unused_command_line_argument=yes
   16711 else
   16712   xorg_cv_cc_flag_unused_command_line_argument=no
   16713 fi
   16714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16715 fi
   16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16717 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16719 	CFLAGS="$xorg_testset_save_CFLAGS"
   16720 fi
   16721 
   16722 found="no"
   16723 
   16724 	if test $found = "no" ; then
   16725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16727 		fi
   16728 
   16729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16731 		fi
   16732 
   16733 		CFLAGS="$CFLAGS -Wmain"
   16734 
   16735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16736 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16737 		cacheid=xorg_cv_cc_flag__Wmain
   16738 		if eval \${$cacheid+:} false; then :
   16739   $as_echo_n "(cached) " >&6
   16740 else
   16741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16742 /* end confdefs.h.  */
   16743 int i;
   16744 int
   16745 main ()
   16746 {
   16747 
   16748   ;
   16749   return 0;
   16750 }
   16751 _ACEOF
   16752 if ac_fn_c_try_link "$LINENO"; then :
   16753   eval $cacheid=yes
   16754 else
   16755   eval $cacheid=no
   16756 fi
   16757 rm -f core conftest.err conftest.$ac_objext \
   16758     conftest$ac_exeext conftest.$ac_ext
   16759 fi
   16760 
   16761 
   16762 		CFLAGS="$xorg_testset_save_CFLAGS"
   16763 
   16764 		eval supported=\$$cacheid
   16765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16766 $as_echo "$supported" >&6; }
   16767 		if test "$supported" = "yes" ; then
   16768 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16769 			found="yes"
   16770 		fi
   16771 	fi
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 xorg_testset_save_CFLAGS="$CFLAGS"
   16788 
   16789 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16790 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16792 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16793 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16794   $as_echo_n "(cached) " >&6
   16795 else
   16796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16797 /* end confdefs.h.  */
   16798 int i;
   16799 _ACEOF
   16800 if ac_fn_c_try_compile "$LINENO"; then :
   16801   xorg_cv_cc_flag_unknown_warning_option=yes
   16802 else
   16803   xorg_cv_cc_flag_unknown_warning_option=no
   16804 fi
   16805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16806 fi
   16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16808 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16810 	CFLAGS="$xorg_testset_save_CFLAGS"
   16811 fi
   16812 
   16813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16816 	fi
   16817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16819 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16820 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16821   $as_echo_n "(cached) " >&6
   16822 else
   16823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16824 /* end confdefs.h.  */
   16825 int i;
   16826 _ACEOF
   16827 if ac_fn_c_try_compile "$LINENO"; then :
   16828   xorg_cv_cc_flag_unused_command_line_argument=yes
   16829 else
   16830   xorg_cv_cc_flag_unused_command_line_argument=no
   16831 fi
   16832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16833 fi
   16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16835 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16836 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16837 	CFLAGS="$xorg_testset_save_CFLAGS"
   16838 fi
   16839 
   16840 found="no"
   16841 
   16842 	if test $found = "no" ; then
   16843 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16845 		fi
   16846 
   16847 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16849 		fi
   16850 
   16851 		CFLAGS="$CFLAGS -Wmissing-braces"
   16852 
   16853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16854 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16855 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16856 		if eval \${$cacheid+:} false; then :
   16857   $as_echo_n "(cached) " >&6
   16858 else
   16859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16860 /* end confdefs.h.  */
   16861 int i;
   16862 int
   16863 main ()
   16864 {
   16865 
   16866   ;
   16867   return 0;
   16868 }
   16869 _ACEOF
   16870 if ac_fn_c_try_link "$LINENO"; then :
   16871   eval $cacheid=yes
   16872 else
   16873   eval $cacheid=no
   16874 fi
   16875 rm -f core conftest.err conftest.$ac_objext \
   16876     conftest$ac_exeext conftest.$ac_ext
   16877 fi
   16878 
   16879 
   16880 		CFLAGS="$xorg_testset_save_CFLAGS"
   16881 
   16882 		eval supported=\$$cacheid
   16883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16884 $as_echo "$supported" >&6; }
   16885 		if test "$supported" = "yes" ; then
   16886 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16887 			found="yes"
   16888 		fi
   16889 	fi
   16890 
   16891 
   16892 
   16893 
   16894 
   16895 
   16896 
   16897 
   16898 
   16899 
   16900 
   16901 
   16902 
   16903 
   16904 
   16905 xorg_testset_save_CFLAGS="$CFLAGS"
   16906 
   16907 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16908 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16910 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16911 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16912   $as_echo_n "(cached) " >&6
   16913 else
   16914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16915 /* end confdefs.h.  */
   16916 int i;
   16917 _ACEOF
   16918 if ac_fn_c_try_compile "$LINENO"; then :
   16919   xorg_cv_cc_flag_unknown_warning_option=yes
   16920 else
   16921   xorg_cv_cc_flag_unknown_warning_option=no
   16922 fi
   16923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16924 fi
   16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16926 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16927 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16928 	CFLAGS="$xorg_testset_save_CFLAGS"
   16929 fi
   16930 
   16931 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16932 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16933 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16934 	fi
   16935 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16937 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16938 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16939   $as_echo_n "(cached) " >&6
   16940 else
   16941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16942 /* end confdefs.h.  */
   16943 int i;
   16944 _ACEOF
   16945 if ac_fn_c_try_compile "$LINENO"; then :
   16946   xorg_cv_cc_flag_unused_command_line_argument=yes
   16947 else
   16948   xorg_cv_cc_flag_unused_command_line_argument=no
   16949 fi
   16950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16951 fi
   16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16953 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16954 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16955 	CFLAGS="$xorg_testset_save_CFLAGS"
   16956 fi
   16957 
   16958 found="no"
   16959 
   16960 	if test $found = "no" ; then
   16961 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16962 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16963 		fi
   16964 
   16965 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16966 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16967 		fi
   16968 
   16969 		CFLAGS="$CFLAGS -Wsequence-point"
   16970 
   16971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16972 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16973 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16974 		if eval \${$cacheid+:} false; then :
   16975   $as_echo_n "(cached) " >&6
   16976 else
   16977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16978 /* end confdefs.h.  */
   16979 int i;
   16980 int
   16981 main ()
   16982 {
   16983 
   16984   ;
   16985   return 0;
   16986 }
   16987 _ACEOF
   16988 if ac_fn_c_try_link "$LINENO"; then :
   16989   eval $cacheid=yes
   16990 else
   16991   eval $cacheid=no
   16992 fi
   16993 rm -f core conftest.err conftest.$ac_objext \
   16994     conftest$ac_exeext conftest.$ac_ext
   16995 fi
   16996 
   16997 
   16998 		CFLAGS="$xorg_testset_save_CFLAGS"
   16999 
   17000 		eval supported=\$$cacheid
   17001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17002 $as_echo "$supported" >&6; }
   17003 		if test "$supported" = "yes" ; then
   17004 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17005 			found="yes"
   17006 		fi
   17007 	fi
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 xorg_testset_save_CFLAGS="$CFLAGS"
   17024 
   17025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17030   $as_echo_n "(cached) " >&6
   17031 else
   17032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17033 /* end confdefs.h.  */
   17034 int i;
   17035 _ACEOF
   17036 if ac_fn_c_try_compile "$LINENO"; then :
   17037   xorg_cv_cc_flag_unknown_warning_option=yes
   17038 else
   17039   xorg_cv_cc_flag_unknown_warning_option=no
   17040 fi
   17041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17042 fi
   17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17046 	CFLAGS="$xorg_testset_save_CFLAGS"
   17047 fi
   17048 
   17049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17052 	fi
   17053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17057   $as_echo_n "(cached) " >&6
   17058 else
   17059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17060 /* end confdefs.h.  */
   17061 int i;
   17062 _ACEOF
   17063 if ac_fn_c_try_compile "$LINENO"; then :
   17064   xorg_cv_cc_flag_unused_command_line_argument=yes
   17065 else
   17066   xorg_cv_cc_flag_unused_command_line_argument=no
   17067 fi
   17068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17069 fi
   17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17073 	CFLAGS="$xorg_testset_save_CFLAGS"
   17074 fi
   17075 
   17076 found="no"
   17077 
   17078 	if test $found = "no" ; then
   17079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17081 		fi
   17082 
   17083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17085 		fi
   17086 
   17087 		CFLAGS="$CFLAGS -Wreturn-type"
   17088 
   17089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17090 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   17091 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17092 		if eval \${$cacheid+:} false; then :
   17093   $as_echo_n "(cached) " >&6
   17094 else
   17095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17096 /* end confdefs.h.  */
   17097 int i;
   17098 int
   17099 main ()
   17100 {
   17101 
   17102   ;
   17103   return 0;
   17104 }
   17105 _ACEOF
   17106 if ac_fn_c_try_link "$LINENO"; then :
   17107   eval $cacheid=yes
   17108 else
   17109   eval $cacheid=no
   17110 fi
   17111 rm -f core conftest.err conftest.$ac_objext \
   17112     conftest$ac_exeext conftest.$ac_ext
   17113 fi
   17114 
   17115 
   17116 		CFLAGS="$xorg_testset_save_CFLAGS"
   17117 
   17118 		eval supported=\$$cacheid
   17119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17120 $as_echo "$supported" >&6; }
   17121 		if test "$supported" = "yes" ; then
   17122 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17123 			found="yes"
   17124 		fi
   17125 	fi
   17126 
   17127 
   17128 
   17129 
   17130 
   17131 
   17132 
   17133 
   17134 
   17135 
   17136 
   17137 
   17138 
   17139 
   17140 
   17141 xorg_testset_save_CFLAGS="$CFLAGS"
   17142 
   17143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17146 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17147 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17148   $as_echo_n "(cached) " >&6
   17149 else
   17150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17151 /* end confdefs.h.  */
   17152 int i;
   17153 _ACEOF
   17154 if ac_fn_c_try_compile "$LINENO"; then :
   17155   xorg_cv_cc_flag_unknown_warning_option=yes
   17156 else
   17157   xorg_cv_cc_flag_unknown_warning_option=no
   17158 fi
   17159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17160 fi
   17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17162 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17164 	CFLAGS="$xorg_testset_save_CFLAGS"
   17165 fi
   17166 
   17167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17170 	fi
   17171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17173 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17174 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17175   $as_echo_n "(cached) " >&6
   17176 else
   17177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17178 /* end confdefs.h.  */
   17179 int i;
   17180 _ACEOF
   17181 if ac_fn_c_try_compile "$LINENO"; then :
   17182   xorg_cv_cc_flag_unused_command_line_argument=yes
   17183 else
   17184   xorg_cv_cc_flag_unused_command_line_argument=no
   17185 fi
   17186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17187 fi
   17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17189 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17191 	CFLAGS="$xorg_testset_save_CFLAGS"
   17192 fi
   17193 
   17194 found="no"
   17195 
   17196 	if test $found = "no" ; then
   17197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17199 		fi
   17200 
   17201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17203 		fi
   17204 
   17205 		CFLAGS="$CFLAGS -Wtrigraphs"
   17206 
   17207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17208 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17209 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17210 		if eval \${$cacheid+:} false; then :
   17211   $as_echo_n "(cached) " >&6
   17212 else
   17213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17214 /* end confdefs.h.  */
   17215 int i;
   17216 int
   17217 main ()
   17218 {
   17219 
   17220   ;
   17221   return 0;
   17222 }
   17223 _ACEOF
   17224 if ac_fn_c_try_link "$LINENO"; then :
   17225   eval $cacheid=yes
   17226 else
   17227   eval $cacheid=no
   17228 fi
   17229 rm -f core conftest.err conftest.$ac_objext \
   17230     conftest$ac_exeext conftest.$ac_ext
   17231 fi
   17232 
   17233 
   17234 		CFLAGS="$xorg_testset_save_CFLAGS"
   17235 
   17236 		eval supported=\$$cacheid
   17237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17238 $as_echo "$supported" >&6; }
   17239 		if test "$supported" = "yes" ; then
   17240 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17241 			found="yes"
   17242 		fi
   17243 	fi
   17244 
   17245 
   17246 
   17247 
   17248 
   17249 
   17250 
   17251 
   17252 
   17253 
   17254 
   17255 
   17256 
   17257 
   17258 
   17259 xorg_testset_save_CFLAGS="$CFLAGS"
   17260 
   17261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17264 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17265 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17266   $as_echo_n "(cached) " >&6
   17267 else
   17268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17269 /* end confdefs.h.  */
   17270 int i;
   17271 _ACEOF
   17272 if ac_fn_c_try_compile "$LINENO"; then :
   17273   xorg_cv_cc_flag_unknown_warning_option=yes
   17274 else
   17275   xorg_cv_cc_flag_unknown_warning_option=no
   17276 fi
   17277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17278 fi
   17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17280 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17282 	CFLAGS="$xorg_testset_save_CFLAGS"
   17283 fi
   17284 
   17285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17288 	fi
   17289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17291 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17292 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17293   $as_echo_n "(cached) " >&6
   17294 else
   17295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17296 /* end confdefs.h.  */
   17297 int i;
   17298 _ACEOF
   17299 if ac_fn_c_try_compile "$LINENO"; then :
   17300   xorg_cv_cc_flag_unused_command_line_argument=yes
   17301 else
   17302   xorg_cv_cc_flag_unused_command_line_argument=no
   17303 fi
   17304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17305 fi
   17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17307 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17308 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17309 	CFLAGS="$xorg_testset_save_CFLAGS"
   17310 fi
   17311 
   17312 found="no"
   17313 
   17314 	if test $found = "no" ; then
   17315 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17317 		fi
   17318 
   17319 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17321 		fi
   17322 
   17323 		CFLAGS="$CFLAGS -Warray-bounds"
   17324 
   17325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17326 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17327 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17328 		if eval \${$cacheid+:} false; then :
   17329   $as_echo_n "(cached) " >&6
   17330 else
   17331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17332 /* end confdefs.h.  */
   17333 int i;
   17334 int
   17335 main ()
   17336 {
   17337 
   17338   ;
   17339   return 0;
   17340 }
   17341 _ACEOF
   17342 if ac_fn_c_try_link "$LINENO"; then :
   17343   eval $cacheid=yes
   17344 else
   17345   eval $cacheid=no
   17346 fi
   17347 rm -f core conftest.err conftest.$ac_objext \
   17348     conftest$ac_exeext conftest.$ac_ext
   17349 fi
   17350 
   17351 
   17352 		CFLAGS="$xorg_testset_save_CFLAGS"
   17353 
   17354 		eval supported=\$$cacheid
   17355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17356 $as_echo "$supported" >&6; }
   17357 		if test "$supported" = "yes" ; then
   17358 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17359 			found="yes"
   17360 		fi
   17361 	fi
   17362 
   17363 
   17364 
   17365 
   17366 
   17367 
   17368 
   17369 
   17370 
   17371 
   17372 
   17373 
   17374 
   17375 
   17376 
   17377 xorg_testset_save_CFLAGS="$CFLAGS"
   17378 
   17379 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17380 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17382 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17383 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17384   $as_echo_n "(cached) " >&6
   17385 else
   17386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17387 /* end confdefs.h.  */
   17388 int i;
   17389 _ACEOF
   17390 if ac_fn_c_try_compile "$LINENO"; then :
   17391   xorg_cv_cc_flag_unknown_warning_option=yes
   17392 else
   17393   xorg_cv_cc_flag_unknown_warning_option=no
   17394 fi
   17395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17396 fi
   17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17398 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17399 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17400 	CFLAGS="$xorg_testset_save_CFLAGS"
   17401 fi
   17402 
   17403 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17404 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17405 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17406 	fi
   17407 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17409 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17410 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17411   $as_echo_n "(cached) " >&6
   17412 else
   17413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17414 /* end confdefs.h.  */
   17415 int i;
   17416 _ACEOF
   17417 if ac_fn_c_try_compile "$LINENO"; then :
   17418   xorg_cv_cc_flag_unused_command_line_argument=yes
   17419 else
   17420   xorg_cv_cc_flag_unused_command_line_argument=no
   17421 fi
   17422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17423 fi
   17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17425 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17427 	CFLAGS="$xorg_testset_save_CFLAGS"
   17428 fi
   17429 
   17430 found="no"
   17431 
   17432 	if test $found = "no" ; then
   17433 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17435 		fi
   17436 
   17437 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17439 		fi
   17440 
   17441 		CFLAGS="$CFLAGS -Wwrite-strings"
   17442 
   17443 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17444 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17445 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17446 		if eval \${$cacheid+:} false; then :
   17447   $as_echo_n "(cached) " >&6
   17448 else
   17449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17450 /* end confdefs.h.  */
   17451 int i;
   17452 int
   17453 main ()
   17454 {
   17455 
   17456   ;
   17457   return 0;
   17458 }
   17459 _ACEOF
   17460 if ac_fn_c_try_link "$LINENO"; then :
   17461   eval $cacheid=yes
   17462 else
   17463   eval $cacheid=no
   17464 fi
   17465 rm -f core conftest.err conftest.$ac_objext \
   17466     conftest$ac_exeext conftest.$ac_ext
   17467 fi
   17468 
   17469 
   17470 		CFLAGS="$xorg_testset_save_CFLAGS"
   17471 
   17472 		eval supported=\$$cacheid
   17473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17474 $as_echo "$supported" >&6; }
   17475 		if test "$supported" = "yes" ; then
   17476 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17477 			found="yes"
   17478 		fi
   17479 	fi
   17480 
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 
   17488 
   17489 
   17490 
   17491 
   17492 
   17493 
   17494 
   17495 xorg_testset_save_CFLAGS="$CFLAGS"
   17496 
   17497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17500 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17501 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17502   $as_echo_n "(cached) " >&6
   17503 else
   17504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17505 /* end confdefs.h.  */
   17506 int i;
   17507 _ACEOF
   17508 if ac_fn_c_try_compile "$LINENO"; then :
   17509   xorg_cv_cc_flag_unknown_warning_option=yes
   17510 else
   17511   xorg_cv_cc_flag_unknown_warning_option=no
   17512 fi
   17513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17514 fi
   17515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17516 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17517 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17518 	CFLAGS="$xorg_testset_save_CFLAGS"
   17519 fi
   17520 
   17521 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17522 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17523 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17524 	fi
   17525 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17527 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17528 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17529   $as_echo_n "(cached) " >&6
   17530 else
   17531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17532 /* end confdefs.h.  */
   17533 int i;
   17534 _ACEOF
   17535 if ac_fn_c_try_compile "$LINENO"; then :
   17536   xorg_cv_cc_flag_unused_command_line_argument=yes
   17537 else
   17538   xorg_cv_cc_flag_unused_command_line_argument=no
   17539 fi
   17540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17541 fi
   17542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17543 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17544 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17545 	CFLAGS="$xorg_testset_save_CFLAGS"
   17546 fi
   17547 
   17548 found="no"
   17549 
   17550 	if test $found = "no" ; then
   17551 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17552 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17553 		fi
   17554 
   17555 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17556 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17557 		fi
   17558 
   17559 		CFLAGS="$CFLAGS -Waddress"
   17560 
   17561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17562 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17563 		cacheid=xorg_cv_cc_flag__Waddress
   17564 		if eval \${$cacheid+:} false; then :
   17565   $as_echo_n "(cached) " >&6
   17566 else
   17567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17568 /* end confdefs.h.  */
   17569 int i;
   17570 int
   17571 main ()
   17572 {
   17573 
   17574   ;
   17575   return 0;
   17576 }
   17577 _ACEOF
   17578 if ac_fn_c_try_link "$LINENO"; then :
   17579   eval $cacheid=yes
   17580 else
   17581   eval $cacheid=no
   17582 fi
   17583 rm -f core conftest.err conftest.$ac_objext \
   17584     conftest$ac_exeext conftest.$ac_ext
   17585 fi
   17586 
   17587 
   17588 		CFLAGS="$xorg_testset_save_CFLAGS"
   17589 
   17590 		eval supported=\$$cacheid
   17591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17592 $as_echo "$supported" >&6; }
   17593 		if test "$supported" = "yes" ; then
   17594 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17595 			found="yes"
   17596 		fi
   17597 	fi
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 xorg_testset_save_CFLAGS="$CFLAGS"
   17614 
   17615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17618 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17619 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17620   $as_echo_n "(cached) " >&6
   17621 else
   17622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17623 /* end confdefs.h.  */
   17624 int i;
   17625 _ACEOF
   17626 if ac_fn_c_try_compile "$LINENO"; then :
   17627   xorg_cv_cc_flag_unknown_warning_option=yes
   17628 else
   17629   xorg_cv_cc_flag_unknown_warning_option=no
   17630 fi
   17631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17632 fi
   17633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17634 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17635 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17636 	CFLAGS="$xorg_testset_save_CFLAGS"
   17637 fi
   17638 
   17639 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17640 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17642 	fi
   17643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17645 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17646 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17647   $as_echo_n "(cached) " >&6
   17648 else
   17649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17650 /* end confdefs.h.  */
   17651 int i;
   17652 _ACEOF
   17653 if ac_fn_c_try_compile "$LINENO"; then :
   17654   xorg_cv_cc_flag_unused_command_line_argument=yes
   17655 else
   17656   xorg_cv_cc_flag_unused_command_line_argument=no
   17657 fi
   17658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17659 fi
   17660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17661 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17663 	CFLAGS="$xorg_testset_save_CFLAGS"
   17664 fi
   17665 
   17666 found="no"
   17667 
   17668 	if test $found = "no" ; then
   17669 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17671 		fi
   17672 
   17673 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17675 		fi
   17676 
   17677 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17678 
   17679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17680 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17681 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17682 		if eval \${$cacheid+:} false; then :
   17683   $as_echo_n "(cached) " >&6
   17684 else
   17685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17686 /* end confdefs.h.  */
   17687 int i;
   17688 int
   17689 main ()
   17690 {
   17691 
   17692   ;
   17693   return 0;
   17694 }
   17695 _ACEOF
   17696 if ac_fn_c_try_link "$LINENO"; then :
   17697   eval $cacheid=yes
   17698 else
   17699   eval $cacheid=no
   17700 fi
   17701 rm -f core conftest.err conftest.$ac_objext \
   17702     conftest$ac_exeext conftest.$ac_ext
   17703 fi
   17704 
   17705 
   17706 		CFLAGS="$xorg_testset_save_CFLAGS"
   17707 
   17708 		eval supported=\$$cacheid
   17709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17710 $as_echo "$supported" >&6; }
   17711 		if test "$supported" = "yes" ; then
   17712 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17713 			found="yes"
   17714 		fi
   17715 	fi
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 xorg_testset_save_CFLAGS="$CFLAGS"
   17732 
   17733 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17734 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17736 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17737 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17738   $as_echo_n "(cached) " >&6
   17739 else
   17740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17741 /* end confdefs.h.  */
   17742 int i;
   17743 _ACEOF
   17744 if ac_fn_c_try_compile "$LINENO"; then :
   17745   xorg_cv_cc_flag_unknown_warning_option=yes
   17746 else
   17747   xorg_cv_cc_flag_unknown_warning_option=no
   17748 fi
   17749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17750 fi
   17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17752 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17753 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17754 	CFLAGS="$xorg_testset_save_CFLAGS"
   17755 fi
   17756 
   17757 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17758 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17759 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17760 	fi
   17761 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17763 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17764 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17765   $as_echo_n "(cached) " >&6
   17766 else
   17767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17768 /* end confdefs.h.  */
   17769 int i;
   17770 _ACEOF
   17771 if ac_fn_c_try_compile "$LINENO"; then :
   17772   xorg_cv_cc_flag_unused_command_line_argument=yes
   17773 else
   17774   xorg_cv_cc_flag_unused_command_line_argument=no
   17775 fi
   17776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17777 fi
   17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17779 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17780 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17781 	CFLAGS="$xorg_testset_save_CFLAGS"
   17782 fi
   17783 
   17784 found="no"
   17785 
   17786 	if test $found = "no" ; then
   17787 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17789 		fi
   17790 
   17791 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17793 		fi
   17794 
   17795 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17796 
   17797 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17798 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17799 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17800 		if eval \${$cacheid+:} false; then :
   17801   $as_echo_n "(cached) " >&6
   17802 else
   17803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17804 /* end confdefs.h.  */
   17805 int i;
   17806 int
   17807 main ()
   17808 {
   17809 
   17810   ;
   17811   return 0;
   17812 }
   17813 _ACEOF
   17814 if ac_fn_c_try_link "$LINENO"; then :
   17815   eval $cacheid=yes
   17816 else
   17817   eval $cacheid=no
   17818 fi
   17819 rm -f core conftest.err conftest.$ac_objext \
   17820     conftest$ac_exeext conftest.$ac_ext
   17821 fi
   17822 
   17823 
   17824 		CFLAGS="$xorg_testset_save_CFLAGS"
   17825 
   17826 		eval supported=\$$cacheid
   17827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17828 $as_echo "$supported" >&6; }
   17829 		if test "$supported" = "yes" ; then
   17830 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17831 			found="yes"
   17832 		fi
   17833 	fi
   17834 
   17835 
   17836 fi
   17837 
   17838 
   17839 
   17840 
   17841 
   17842 
   17843 
   17844 		CWARNFLAGS="$BASE_CFLAGS"
   17845 		if  test "x$GCC" = xyes ; then
   17846 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17847 		fi
   17848 
   17849 
   17850 
   17851 
   17852 
   17853 
   17854 
   17855 
   17856 # Check whether --enable-strict-compilation was given.
   17857 if test "${enable_strict_compilation+set}" = set; then :
   17858   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17859 else
   17860   STRICT_COMPILE=no
   17861 fi
   17862 
   17863 
   17864 
   17865 
   17866 
   17867 
   17868 STRICT_CFLAGS=""
   17869 
   17870 
   17871 
   17872 
   17873 
   17874 
   17875 
   17876 
   17877 
   17878 
   17879 
   17880 
   17881 
   17882 xorg_testset_save_CFLAGS="$CFLAGS"
   17883 
   17884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17885 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17887 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17888 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17889   $as_echo_n "(cached) " >&6
   17890 else
   17891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17892 /* end confdefs.h.  */
   17893 int i;
   17894 _ACEOF
   17895 if ac_fn_c_try_compile "$LINENO"; then :
   17896   xorg_cv_cc_flag_unknown_warning_option=yes
   17897 else
   17898   xorg_cv_cc_flag_unknown_warning_option=no
   17899 fi
   17900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17901 fi
   17902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17903 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17904 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17905 	CFLAGS="$xorg_testset_save_CFLAGS"
   17906 fi
   17907 
   17908 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17909 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17910 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17911 	fi
   17912 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17914 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17915 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17916   $as_echo_n "(cached) " >&6
   17917 else
   17918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17919 /* end confdefs.h.  */
   17920 int i;
   17921 _ACEOF
   17922 if ac_fn_c_try_compile "$LINENO"; then :
   17923   xorg_cv_cc_flag_unused_command_line_argument=yes
   17924 else
   17925   xorg_cv_cc_flag_unused_command_line_argument=no
   17926 fi
   17927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17928 fi
   17929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17930 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17932 	CFLAGS="$xorg_testset_save_CFLAGS"
   17933 fi
   17934 
   17935 found="no"
   17936 
   17937 	if test $found = "no" ; then
   17938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17940 		fi
   17941 
   17942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17944 		fi
   17945 
   17946 		CFLAGS="$CFLAGS -pedantic"
   17947 
   17948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17949 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17950 		cacheid=xorg_cv_cc_flag__pedantic
   17951 		if eval \${$cacheid+:} false; then :
   17952   $as_echo_n "(cached) " >&6
   17953 else
   17954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17955 /* end confdefs.h.  */
   17956 int i;
   17957 int
   17958 main ()
   17959 {
   17960 
   17961   ;
   17962   return 0;
   17963 }
   17964 _ACEOF
   17965 if ac_fn_c_try_link "$LINENO"; then :
   17966   eval $cacheid=yes
   17967 else
   17968   eval $cacheid=no
   17969 fi
   17970 rm -f core conftest.err conftest.$ac_objext \
   17971     conftest$ac_exeext conftest.$ac_ext
   17972 fi
   17973 
   17974 
   17975 		CFLAGS="$xorg_testset_save_CFLAGS"
   17976 
   17977 		eval supported=\$$cacheid
   17978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17979 $as_echo "$supported" >&6; }
   17980 		if test "$supported" = "yes" ; then
   17981 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17982 			found="yes"
   17983 		fi
   17984 	fi
   17985 
   17986 
   17987 
   17988 
   17989 
   17990 
   17991 
   17992 
   17993 
   17994 
   17995 
   17996 
   17997 
   17998 
   17999 
   18000 xorg_testset_save_CFLAGS="$CFLAGS"
   18001 
   18002 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18003 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18005 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18006 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18007   $as_echo_n "(cached) " >&6
   18008 else
   18009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18010 /* end confdefs.h.  */
   18011 int i;
   18012 _ACEOF
   18013 if ac_fn_c_try_compile "$LINENO"; then :
   18014   xorg_cv_cc_flag_unknown_warning_option=yes
   18015 else
   18016   xorg_cv_cc_flag_unknown_warning_option=no
   18017 fi
   18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18019 fi
   18020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18021 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18022 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18023 	CFLAGS="$xorg_testset_save_CFLAGS"
   18024 fi
   18025 
   18026 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18027 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18028 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18029 	fi
   18030 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18032 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18033 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18034   $as_echo_n "(cached) " >&6
   18035 else
   18036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18037 /* end confdefs.h.  */
   18038 int i;
   18039 _ACEOF
   18040 if ac_fn_c_try_compile "$LINENO"; then :
   18041   xorg_cv_cc_flag_unused_command_line_argument=yes
   18042 else
   18043   xorg_cv_cc_flag_unused_command_line_argument=no
   18044 fi
   18045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18046 fi
   18047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18048 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18049 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18050 	CFLAGS="$xorg_testset_save_CFLAGS"
   18051 fi
   18052 
   18053 found="no"
   18054 
   18055 	if test $found = "no" ; then
   18056 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18058 		fi
   18059 
   18060 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18062 		fi
   18063 
   18064 		CFLAGS="$CFLAGS -Werror"
   18065 
   18066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18067 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   18068 		cacheid=xorg_cv_cc_flag__Werror
   18069 		if eval \${$cacheid+:} false; then :
   18070   $as_echo_n "(cached) " >&6
   18071 else
   18072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18073 /* end confdefs.h.  */
   18074 int i;
   18075 int
   18076 main ()
   18077 {
   18078 
   18079   ;
   18080   return 0;
   18081 }
   18082 _ACEOF
   18083 if ac_fn_c_try_link "$LINENO"; then :
   18084   eval $cacheid=yes
   18085 else
   18086   eval $cacheid=no
   18087 fi
   18088 rm -f core conftest.err conftest.$ac_objext \
   18089     conftest$ac_exeext conftest.$ac_ext
   18090 fi
   18091 
   18092 
   18093 		CFLAGS="$xorg_testset_save_CFLAGS"
   18094 
   18095 		eval supported=\$$cacheid
   18096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18097 $as_echo "$supported" >&6; }
   18098 		if test "$supported" = "yes" ; then
   18099 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18100 			found="yes"
   18101 		fi
   18102 	fi
   18103 
   18104 	if test $found = "no" ; then
   18105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18107 		fi
   18108 
   18109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18111 		fi
   18112 
   18113 		CFLAGS="$CFLAGS -errwarn"
   18114 
   18115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18116 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   18117 		cacheid=xorg_cv_cc_flag__errwarn
   18118 		if eval \${$cacheid+:} false; then :
   18119   $as_echo_n "(cached) " >&6
   18120 else
   18121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18122 /* end confdefs.h.  */
   18123 int i;
   18124 int
   18125 main ()
   18126 {
   18127 
   18128   ;
   18129   return 0;
   18130 }
   18131 _ACEOF
   18132 if ac_fn_c_try_link "$LINENO"; then :
   18133   eval $cacheid=yes
   18134 else
   18135   eval $cacheid=no
   18136 fi
   18137 rm -f core conftest.err conftest.$ac_objext \
   18138     conftest$ac_exeext conftest.$ac_ext
   18139 fi
   18140 
   18141 
   18142 		CFLAGS="$xorg_testset_save_CFLAGS"
   18143 
   18144 		eval supported=\$$cacheid
   18145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18146 $as_echo "$supported" >&6; }
   18147 		if test "$supported" = "yes" ; then
   18148 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18149 			found="yes"
   18150 		fi
   18151 	fi
   18152 
   18153 
   18154 
   18155 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18156 # activate it with -Werror, so we add it here explicitly.
   18157 
   18158 
   18159 
   18160 
   18161 
   18162 
   18163 
   18164 
   18165 
   18166 
   18167 
   18168 
   18169 
   18170 xorg_testset_save_CFLAGS="$CFLAGS"
   18171 
   18172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18176 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18177   $as_echo_n "(cached) " >&6
   18178 else
   18179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18180 /* end confdefs.h.  */
   18181 int i;
   18182 _ACEOF
   18183 if ac_fn_c_try_compile "$LINENO"; then :
   18184   xorg_cv_cc_flag_unknown_warning_option=yes
   18185 else
   18186   xorg_cv_cc_flag_unknown_warning_option=no
   18187 fi
   18188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18189 fi
   18190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18191 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18193 	CFLAGS="$xorg_testset_save_CFLAGS"
   18194 fi
   18195 
   18196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18199 	fi
   18200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18202 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18203 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18204   $as_echo_n "(cached) " >&6
   18205 else
   18206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18207 /* end confdefs.h.  */
   18208 int i;
   18209 _ACEOF
   18210 if ac_fn_c_try_compile "$LINENO"; then :
   18211   xorg_cv_cc_flag_unused_command_line_argument=yes
   18212 else
   18213   xorg_cv_cc_flag_unused_command_line_argument=no
   18214 fi
   18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18216 fi
   18217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18218 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18220 	CFLAGS="$xorg_testset_save_CFLAGS"
   18221 fi
   18222 
   18223 found="no"
   18224 
   18225 	if test $found = "no" ; then
   18226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18228 		fi
   18229 
   18230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18232 		fi
   18233 
   18234 		CFLAGS="$CFLAGS -Werror=attributes"
   18235 
   18236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18237 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18238 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18239 		if eval \${$cacheid+:} false; then :
   18240   $as_echo_n "(cached) " >&6
   18241 else
   18242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18243 /* end confdefs.h.  */
   18244 int i;
   18245 int
   18246 main ()
   18247 {
   18248 
   18249   ;
   18250   return 0;
   18251 }
   18252 _ACEOF
   18253 if ac_fn_c_try_link "$LINENO"; then :
   18254   eval $cacheid=yes
   18255 else
   18256   eval $cacheid=no
   18257 fi
   18258 rm -f core conftest.err conftest.$ac_objext \
   18259     conftest$ac_exeext conftest.$ac_ext
   18260 fi
   18261 
   18262 
   18263 		CFLAGS="$xorg_testset_save_CFLAGS"
   18264 
   18265 		eval supported=\$$cacheid
   18266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18267 $as_echo "$supported" >&6; }
   18268 		if test "$supported" = "yes" ; then
   18269 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18270 			found="yes"
   18271 		fi
   18272 	fi
   18273 
   18274 
   18275 
   18276 if test "x$STRICT_COMPILE" = "xyes"; then
   18277     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18278     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18279 fi
   18280 
   18281 
   18282 
   18283 
   18284 
   18285 
   18286 cat >>confdefs.h <<_ACEOF
   18287 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18288 _ACEOF
   18289 
   18290 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18291 	if test "x$PVM" = "x"; then
   18292 		PVM="0"
   18293 	fi
   18294 
   18295 cat >>confdefs.h <<_ACEOF
   18296 #define PACKAGE_VERSION_MINOR $PVM
   18297 _ACEOF
   18298 
   18299 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18300 	if test "x$PVP" = "x"; then
   18301 		PVP="0"
   18302 	fi
   18303 
   18304 cat >>confdefs.h <<_ACEOF
   18305 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18306 _ACEOF
   18307 
   18308 
   18309 
   18310 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   18311 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18312 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   18313 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   18314 
   18315 
   18316 
   18317 
   18318 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18319 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18320 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18321 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   18322 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   18323 
   18324 
   18325 
   18326 
   18327 
   18328 
   18329 if test x$APP_MAN_SUFFIX = x    ; then
   18330     APP_MAN_SUFFIX=1
   18331 fi
   18332 if test x$APP_MAN_DIR = x    ; then
   18333     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18334 fi
   18335 
   18336 if test x$LIB_MAN_SUFFIX = x    ; then
   18337     LIB_MAN_SUFFIX=3
   18338 fi
   18339 if test x$LIB_MAN_DIR = x    ; then
   18340     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18341 fi
   18342 
   18343 if test x$FILE_MAN_SUFFIX = x    ; then
   18344     case $host_os in
   18345 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   18346 	*)		FILE_MAN_SUFFIX=5  ;;
   18347     esac
   18348 fi
   18349 if test x$FILE_MAN_DIR = x    ; then
   18350     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18351 fi
   18352 
   18353 if test x$MISC_MAN_SUFFIX = x    ; then
   18354     case $host_os in
   18355 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   18356 	*)		MISC_MAN_SUFFIX=7  ;;
   18357     esac
   18358 fi
   18359 if test x$MISC_MAN_DIR = x    ; then
   18360     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18361 fi
   18362 
   18363 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18364     case $host_os in
   18365 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   18366 	*)		DRIVER_MAN_SUFFIX=4  ;;
   18367     esac
   18368 fi
   18369 if test x$DRIVER_MAN_DIR = x    ; then
   18370     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18371 fi
   18372 
   18373 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18374     case $host_os in
   18375 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   18376 	*)		ADMIN_MAN_SUFFIX=8  ;;
   18377     esac
   18378 fi
   18379 if test x$ADMIN_MAN_DIR = x    ; then
   18380     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18381 fi
   18382 
   18383 
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 
   18393 
   18394 
   18395 
   18396 
   18397 XORG_MAN_PAGE="X Version 11"
   18398 
   18399 MAN_SUBSTS="\
   18400 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18401 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18402 	-e 's|__xservername__|Xorg|g' \
   18403 	-e 's|__xconfigfile__|xorg.conf|g' \
   18404 	-e 's|__projectroot__|\$(prefix)|g' \
   18405 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18406 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18407 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18408 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18409 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18410 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18411 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18412 
   18413 
   18414 
   18415 # Check whether --enable-silent-rules was given.
   18416 if test "${enable_silent_rules+set}" = set; then :
   18417   enableval=$enable_silent_rules;
   18418 fi
   18419 
   18420 case $enable_silent_rules in # (((
   18421   yes) AM_DEFAULT_VERBOSITY=0;;
   18422    no) AM_DEFAULT_VERBOSITY=1;;
   18423     *) AM_DEFAULT_VERBOSITY=0;;
   18424 esac
   18425 am_make=${MAKE-make}
   18426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18427 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18428 if ${am_cv_make_support_nested_variables+:} false; then :
   18429   $as_echo_n "(cached) " >&6
   18430 else
   18431   if $as_echo 'TRUE=$(BAR$(V))
   18432 BAR0=false
   18433 BAR1=true
   18434 V=1
   18435 am__doit:
   18436 	@$(TRUE)
   18437 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18438   am_cv_make_support_nested_variables=yes
   18439 else
   18440   am_cv_make_support_nested_variables=no
   18441 fi
   18442 fi
   18443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18444 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18445 if test $am_cv_make_support_nested_variables = yes; then
   18446     AM_V='$(V)'
   18447   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18448 else
   18449   AM_V=$AM_DEFAULT_VERBOSITY
   18450   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18451 fi
   18452 AM_BACKSLASH='\'
   18453 
   18454 
   18455 
   18456 # Set library version for Xcursor.h from package version set in AC_INIT
   18457 # copied from PACKAGE_VERSION_* settings in XORG_VERSION
   18458 
   18459 cat >>confdefs.h <<_ACEOF
   18460 #define XCURSOR_LIB_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18461 _ACEOF
   18462 
   18463 
   18464 cat >>confdefs.h <<_ACEOF
   18465 #define XCURSOR_LIB_MINOR `echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18466 _ACEOF
   18467 
   18468 
   18469 cat >>confdefs.h <<_ACEOF
   18470 #define XCURSOR_LIB_REVISION `echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18471 _ACEOF
   18472 
   18473 
   18474 
   18475 
   18476 # Check whether --with-icondir was given.
   18477 if test "${with_icondir+set}" = set; then :
   18478   withval=$with_icondir; ICONDIR="$withval"
   18479 else
   18480   ICONDIR=${datadir}/icons
   18481 fi
   18482 
   18483 
   18484 
   18485 DEF_CURSORPATH="~/.icons:${datadir}/icons:${datadir}/pixmaps"
   18486 if test "x${ICONDIR}" != "x${datadir}/icons"; then
   18487 	DEF_CURSORPATH="${DEF_CURSORPATH}:${ICONDIR}"
   18488 fi
   18489 
   18490 # Check whether --with-cursorpath was given.
   18491 if test "${with_cursorpath+set}" = set; then :
   18492   withval=$with_cursorpath; XCURSORPATH="$withval"
   18493 else
   18494   XCURSORPATH=$DEF_CURSORPATH
   18495 fi
   18496 
   18497 
   18498 
   18499 # Obtain compiler/linker options for depedencies
   18500 
   18501 pkg_failed=no
   18502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCURSOR" >&5
   18503 $as_echo_n "checking for XCURSOR... " >&6; }
   18504 
   18505 if test -n "$XCURSOR_CFLAGS"; then
   18506     pkg_cv_XCURSOR_CFLAGS="$XCURSOR_CFLAGS"
   18507  elif test -n "$PKG_CONFIG"; then
   18508     if test -n "$PKG_CONFIG" && \
   18509     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 xfixes x11 fixesproto\""; } >&5
   18510   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto") 2>&5
   18511   ac_status=$?
   18512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18513   test $ac_status = 0; }; then
   18514   pkg_cv_XCURSOR_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.8.2 xfixes x11 fixesproto" 2>/dev/null`
   18515 		      test "x$?" != "x0" && pkg_failed=yes
   18516 else
   18517   pkg_failed=yes
   18518 fi
   18519  else
   18520     pkg_failed=untried
   18521 fi
   18522 if test -n "$XCURSOR_LIBS"; then
   18523     pkg_cv_XCURSOR_LIBS="$XCURSOR_LIBS"
   18524  elif test -n "$PKG_CONFIG"; then
   18525     if test -n "$PKG_CONFIG" && \
   18526     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 xfixes x11 fixesproto\""; } >&5
   18527   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto") 2>&5
   18528   ac_status=$?
   18529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18530   test $ac_status = 0; }; then
   18531   pkg_cv_XCURSOR_LIBS=`$PKG_CONFIG --libs "xrender >= 0.8.2 xfixes x11 fixesproto" 2>/dev/null`
   18532 		      test "x$?" != "x0" && pkg_failed=yes
   18533 else
   18534   pkg_failed=yes
   18535 fi
   18536  else
   18537     pkg_failed=untried
   18538 fi
   18539 
   18540 
   18541 
   18542 if test $pkg_failed = yes; then
   18543    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18544 $as_echo "no" >&6; }
   18545 
   18546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18547         _pkg_short_errors_supported=yes
   18548 else
   18549         _pkg_short_errors_supported=no
   18550 fi
   18551         if test $_pkg_short_errors_supported = yes; then
   18552 	        XCURSOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrender >= 0.8.2 xfixes x11 fixesproto" 2>&1`
   18553         else
   18554 	        XCURSOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrender >= 0.8.2 xfixes x11 fixesproto" 2>&1`
   18555         fi
   18556 	# Put the nasty error message in config.log where it belongs
   18557 	echo "$XCURSOR_PKG_ERRORS" >&5
   18558 
   18559 	as_fn_error $? "Package requirements (xrender >= 0.8.2 xfixes x11 fixesproto) were not met:
   18560 
   18561 $XCURSOR_PKG_ERRORS
   18562 
   18563 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18564 installed software in a non-standard prefix.
   18565 
   18566 Alternatively, you may set the environment variables XCURSOR_CFLAGS
   18567 and XCURSOR_LIBS to avoid the need to call pkg-config.
   18568 See the pkg-config man page for more details." "$LINENO" 5
   18569 elif test $pkg_failed = untried; then
   18570      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18571 $as_echo "no" >&6; }
   18572 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18574 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18575 is in your PATH or set the PKG_CONFIG environment variable to the full
   18576 path to pkg-config.
   18577 
   18578 Alternatively, you may set the environment variables XCURSOR_CFLAGS
   18579 and XCURSOR_LIBS to avoid the need to call pkg-config.
   18580 See the pkg-config man page for more details.
   18581 
   18582 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18583 See \`config.log' for more details" "$LINENO" 5; }
   18584 else
   18585 	XCURSOR_CFLAGS=$pkg_cv_XCURSOR_CFLAGS
   18586 	XCURSOR_LIBS=$pkg_cv_XCURSOR_LIBS
   18587         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18588 $as_echo "yes" >&6; }
   18589 
   18590 fi
   18591 
   18592 $as_echo "#define HAVE_XFIXES 1" >>confdefs.h
   18593 
   18594 
   18595 # Allow checking code with lint, sparse, etc.
   18596 
   18597 
   18598 
   18599 
   18600 
   18601 # Check whether --with-lint was given.
   18602 if test "${with_lint+set}" = set; then :
   18603   withval=$with_lint; use_lint=$withval
   18604 else
   18605   use_lint=no
   18606 fi
   18607 
   18608 
   18609 # Obtain platform specific info like program name and options
   18610 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   18611 case $host_os in
   18612   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   18613 	lint_name=splint
   18614 	lint_options="-badflag"
   18615 	;;
   18616   *freebsd* | *netbsd*)
   18617 	lint_name=lint
   18618 	lint_options="-u -b"
   18619 	;;
   18620   *solaris*)
   18621 	lint_name=lint
   18622 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   18623 	;;
   18624 esac
   18625 
   18626 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   18627 if test "x$use_lint" = x"yes" ; then
   18628    # Extract the first word of "$lint_name", so it can be a program name with args.
   18629 set dummy $lint_name; ac_word=$2
   18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18631 $as_echo_n "checking for $ac_word... " >&6; }
   18632 if ${ac_cv_path_LINT+:} false; then :
   18633   $as_echo_n "(cached) " >&6
   18634 else
   18635   case $LINT in
   18636   [\\/]* | ?:[\\/]*)
   18637   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   18638   ;;
   18639   *)
   18640   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18641 for as_dir in $PATH
   18642 do
   18643   IFS=$as_save_IFS
   18644   test -z "$as_dir" && as_dir=.
   18645     for ac_exec_ext in '' $ac_executable_extensions; do
   18646   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18647     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   18648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18649     break 2
   18650   fi
   18651 done
   18652   done
   18653 IFS=$as_save_IFS
   18654 
   18655   ;;
   18656 esac
   18657 fi
   18658 LINT=$ac_cv_path_LINT
   18659 if test -n "$LINT"; then
   18660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   18661 $as_echo "$LINT" >&6; }
   18662 else
   18663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18664 $as_echo "no" >&6; }
   18665 fi
   18666 
   18667 
   18668    if test "x$LINT" = "x"; then
   18669         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   18670    fi
   18671 elif test "x$use_lint" = x"no" ; then
   18672    if test "x$LINT" != "x"; then
   18673       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   18674 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   18675    fi
   18676 else
   18677    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   18678 fi
   18679 
   18680 # User supplied flags override default flags
   18681 if test "x$LINT_FLAGS" != "x"; then
   18682    lint_options=$LINT_FLAGS
   18683 fi
   18684 
   18685 LINT_FLAGS=$lint_options
   18686 
   18687  if test "x$LINT" != x; then
   18688   LINT_TRUE=
   18689   LINT_FALSE='#'
   18690 else
   18691   LINT_TRUE='#'
   18692   LINT_FALSE=
   18693 fi
   18694 
   18695 
   18696 
   18697 
   18698 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xcursor.pc"
   18699 
   18700 cat >confcache <<\_ACEOF
   18701 # This file is a shell script that caches the results of configure
   18702 # tests run on this system so they can be shared between configure
   18703 # scripts and configure runs, see configure's option --config-cache.
   18704 # It is not useful on other systems.  If it contains results you don't
   18705 # want to keep, you may remove or edit it.
   18706 #
   18707 # config.status only pays attention to the cache file if you give it
   18708 # the --recheck option to rerun configure.
   18709 #
   18710 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18711 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18712 # following values.
   18713 
   18714 _ACEOF
   18715 
   18716 # The following way of writing the cache mishandles newlines in values,
   18717 # but we know of no workaround that is simple, portable, and efficient.
   18718 # So, we kill variables containing newlines.
   18719 # Ultrix sh set writes to stderr and can't be redirected directly,
   18720 # and sets the high bit in the cache file unless we assign to the vars.
   18721 (
   18722   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18723     eval ac_val=\$$ac_var
   18724     case $ac_val in #(
   18725     *${as_nl}*)
   18726       case $ac_var in #(
   18727       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18728 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18729       esac
   18730       case $ac_var in #(
   18731       _ | IFS | as_nl) ;; #(
   18732       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18733       *) { eval $ac_var=; unset $ac_var;} ;;
   18734       esac ;;
   18735     esac
   18736   done
   18737 
   18738   (set) 2>&1 |
   18739     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18740     *${as_nl}ac_space=\ *)
   18741       # `set' does not quote correctly, so add quotes: double-quote
   18742       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18743       sed -n \
   18744 	"s/'/'\\\\''/g;
   18745 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18746       ;; #(
   18747     *)
   18748       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18749       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18750       ;;
   18751     esac |
   18752     sort
   18753 ) |
   18754   sed '
   18755      /^ac_cv_env_/b end
   18756      t clear
   18757      :clear
   18758      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18759      t end
   18760      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18761      :end' >>confcache
   18762 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18763   if test -w "$cache_file"; then
   18764     if test "x$cache_file" != "x/dev/null"; then
   18765       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18766 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18767       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18768 	cat confcache >"$cache_file"
   18769       else
   18770         case $cache_file in #(
   18771         */* | ?:*)
   18772 	  mv -f confcache "$cache_file"$$ &&
   18773 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18774         *)
   18775 	  mv -f confcache "$cache_file" ;;
   18776 	esac
   18777       fi
   18778     fi
   18779   else
   18780     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18781 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18782   fi
   18783 fi
   18784 rm -f confcache
   18785 
   18786 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18787 # Let make expand exec_prefix.
   18788 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18789 
   18790 DEFS=-DHAVE_CONFIG_H
   18791 
   18792 ac_libobjs=
   18793 ac_ltlibobjs=
   18794 U=
   18795 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18796   # 1. Remove the extension, and $U if already installed.
   18797   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18798   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18799   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18800   #    will be set to the directory where LIBOBJS objects are built.
   18801   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18802   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18803 done
   18804 LIBOBJS=$ac_libobjs
   18805 
   18806 LTLIBOBJS=$ac_ltlibobjs
   18807 
   18808 
   18809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18810 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18811    if test -n "$am_sleep_pid"; then
   18812      # Hide warnings about reused PIDs.
   18813      wait $am_sleep_pid 2>/dev/null
   18814    fi
   18815    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18816 $as_echo "done" >&6; }
   18817 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18818   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18820 fi
   18821 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18822   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18824 fi
   18825  if test -n "$EXEEXT"; then
   18826   am__EXEEXT_TRUE=
   18827   am__EXEEXT_FALSE='#'
   18828 else
   18829   am__EXEEXT_TRUE='#'
   18830   am__EXEEXT_FALSE=
   18831 fi
   18832 
   18833 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18834   as_fn_error $? "conditional \"LINT\" was never defined.
   18835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18836 fi
   18837 
   18838 : "${CONFIG_STATUS=./config.status}"
   18839 ac_write_fail=0
   18840 ac_clean_files_save=$ac_clean_files
   18841 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18842 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18843 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18844 as_write_fail=0
   18845 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18846 #! $SHELL
   18847 # Generated by $as_me.
   18848 # Run this file to recreate the current configuration.
   18849 # Compiler output produced by configure, useful for debugging
   18850 # configure, is in config.log if it exists.
   18851 
   18852 debug=false
   18853 ac_cs_recheck=false
   18854 ac_cs_silent=false
   18855 
   18856 SHELL=\${CONFIG_SHELL-$SHELL}
   18857 export SHELL
   18858 _ASEOF
   18859 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18860 ## -------------------- ##
   18861 ## M4sh Initialization. ##
   18862 ## -------------------- ##
   18863 
   18864 # Be more Bourne compatible
   18865 DUALCASE=1; export DUALCASE # for MKS sh
   18866 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18867   emulate sh
   18868   NULLCMD=:
   18869   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18870   # is contrary to our usage.  Disable this feature.
   18871   alias -g '${1+"$@"}'='"$@"'
   18872   setopt NO_GLOB_SUBST
   18873 else
   18874   case `(set -o) 2>/dev/null` in #(
   18875   *posix*) :
   18876     set -o posix ;; #(
   18877   *) :
   18878      ;;
   18879 esac
   18880 fi
   18881 
   18882 
   18883 as_nl='
   18884 '
   18885 export as_nl
   18886 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18887 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18888 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18889 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18890 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18891 # but without wasting forks for bash or zsh.
   18892 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18893     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18894   as_echo='print -r --'
   18895   as_echo_n='print -rn --'
   18896 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18897   as_echo='printf %s\n'
   18898   as_echo_n='printf %s'
   18899 else
   18900   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18901     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18902     as_echo_n='/usr/ucb/echo -n'
   18903   else
   18904     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18905     as_echo_n_body='eval
   18906       arg=$1;
   18907       case $arg in #(
   18908       *"$as_nl"*)
   18909 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18910 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18911       esac;
   18912       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18913     '
   18914     export as_echo_n_body
   18915     as_echo_n='sh -c $as_echo_n_body as_echo'
   18916   fi
   18917   export as_echo_body
   18918   as_echo='sh -c $as_echo_body as_echo'
   18919 fi
   18920 
   18921 # The user is always right.
   18922 if test "${PATH_SEPARATOR+set}" != set; then
   18923   PATH_SEPARATOR=:
   18924   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18925     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18926       PATH_SEPARATOR=';'
   18927   }
   18928 fi
   18929 
   18930 
   18931 # IFS
   18932 # We need space, tab and new line, in precisely that order.  Quoting is
   18933 # there to prevent editors from complaining about space-tab.
   18934 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18935 # splitting by setting IFS to empty value.)
   18936 IFS=" ""	$as_nl"
   18937 
   18938 # Find who we are.  Look in the path if we contain no directory separator.
   18939 as_myself=
   18940 case $0 in #((
   18941   *[\\/]* ) as_myself=$0 ;;
   18942   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18943 for as_dir in $PATH
   18944 do
   18945   IFS=$as_save_IFS
   18946   test -z "$as_dir" && as_dir=.
   18947     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18948   done
   18949 IFS=$as_save_IFS
   18950 
   18951      ;;
   18952 esac
   18953 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18954 # in which case we are not to be found in the path.
   18955 if test "x$as_myself" = x; then
   18956   as_myself=$0
   18957 fi
   18958 if test ! -f "$as_myself"; then
   18959   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18960   exit 1
   18961 fi
   18962 
   18963 # Unset variables that we do not need and which cause bugs (e.g. in
   18964 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18965 # suppresses any "Segmentation fault" message there.  '((' could
   18966 # trigger a bug in pdksh 5.2.14.
   18967 for as_var in BASH_ENV ENV MAIL MAILPATH
   18968 do eval test x\${$as_var+set} = xset \
   18969   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18970 done
   18971 PS1='$ '
   18972 PS2='> '
   18973 PS4='+ '
   18974 
   18975 # NLS nuisances.
   18976 LC_ALL=C
   18977 export LC_ALL
   18978 LANGUAGE=C
   18979 export LANGUAGE
   18980 
   18981 # CDPATH.
   18982 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18983 
   18984 
   18985 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18986 # ----------------------------------------
   18987 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18988 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18989 # script with STATUS, using 1 if that was 0.
   18990 as_fn_error ()
   18991 {
   18992   as_status=$1; test $as_status -eq 0 && as_status=1
   18993   if test "$4"; then
   18994     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18995     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18996   fi
   18997   $as_echo "$as_me: error: $2" >&2
   18998   as_fn_exit $as_status
   18999 } # as_fn_error
   19000 
   19001 
   19002 # as_fn_set_status STATUS
   19003 # -----------------------
   19004 # Set $? to STATUS, without forking.
   19005 as_fn_set_status ()
   19006 {
   19007   return $1
   19008 } # as_fn_set_status
   19009 
   19010 # as_fn_exit STATUS
   19011 # -----------------
   19012 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19013 as_fn_exit ()
   19014 {
   19015   set +e
   19016   as_fn_set_status $1
   19017   exit $1
   19018 } # as_fn_exit
   19019 
   19020 # as_fn_unset VAR
   19021 # ---------------
   19022 # Portably unset VAR.
   19023 as_fn_unset ()
   19024 {
   19025   { eval $1=; unset $1;}
   19026 }
   19027 as_unset=as_fn_unset
   19028 # as_fn_append VAR VALUE
   19029 # ----------------------
   19030 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19031 # advantage of any shell optimizations that allow amortized linear growth over
   19032 # repeated appends, instead of the typical quadratic growth present in naive
   19033 # implementations.
   19034 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19035   eval 'as_fn_append ()
   19036   {
   19037     eval $1+=\$2
   19038   }'
   19039 else
   19040   as_fn_append ()
   19041   {
   19042     eval $1=\$$1\$2
   19043   }
   19044 fi # as_fn_append
   19045 
   19046 # as_fn_arith ARG...
   19047 # ------------------
   19048 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19049 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19050 # must be portable across $(()) and expr.
   19051 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19052   eval 'as_fn_arith ()
   19053   {
   19054     as_val=$(( $* ))
   19055   }'
   19056 else
   19057   as_fn_arith ()
   19058   {
   19059     as_val=`expr "$@" || test $? -eq 1`
   19060   }
   19061 fi # as_fn_arith
   19062 
   19063 
   19064 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19065    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19066   as_expr=expr
   19067 else
   19068   as_expr=false
   19069 fi
   19070 
   19071 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19072   as_basename=basename
   19073 else
   19074   as_basename=false
   19075 fi
   19076 
   19077 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19078   as_dirname=dirname
   19079 else
   19080   as_dirname=false
   19081 fi
   19082 
   19083 as_me=`$as_basename -- "$0" ||
   19084 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19085 	 X"$0" : 'X\(//\)$' \| \
   19086 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19087 $as_echo X/"$0" |
   19088     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19089 	    s//\1/
   19090 	    q
   19091 	  }
   19092 	  /^X\/\(\/\/\)$/{
   19093 	    s//\1/
   19094 	    q
   19095 	  }
   19096 	  /^X\/\(\/\).*/{
   19097 	    s//\1/
   19098 	    q
   19099 	  }
   19100 	  s/.*/./; q'`
   19101 
   19102 # Avoid depending upon Character Ranges.
   19103 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19104 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19105 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19106 as_cr_digits='0123456789'
   19107 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19108 
   19109 ECHO_C= ECHO_N= ECHO_T=
   19110 case `echo -n x` in #(((((
   19111 -n*)
   19112   case `echo 'xy\c'` in
   19113   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19114   xy)  ECHO_C='\c';;
   19115   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19116        ECHO_T='	';;
   19117   esac;;
   19118 *)
   19119   ECHO_N='-n';;
   19120 esac
   19121 
   19122 rm -f conf$$ conf$$.exe conf$$.file
   19123 if test -d conf$$.dir; then
   19124   rm -f conf$$.dir/conf$$.file
   19125 else
   19126   rm -f conf$$.dir
   19127   mkdir conf$$.dir 2>/dev/null
   19128 fi
   19129 if (echo >conf$$.file) 2>/dev/null; then
   19130   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19131     as_ln_s='ln -s'
   19132     # ... but there are two gotchas:
   19133     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19134     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19135     # In both cases, we have to default to `cp -pR'.
   19136     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19137       as_ln_s='cp -pR'
   19138   elif ln conf$$.file conf$$ 2>/dev/null; then
   19139     as_ln_s=ln
   19140   else
   19141     as_ln_s='cp -pR'
   19142   fi
   19143 else
   19144   as_ln_s='cp -pR'
   19145 fi
   19146 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19147 rmdir conf$$.dir 2>/dev/null
   19148 
   19149 
   19150 # as_fn_mkdir_p
   19151 # -------------
   19152 # Create "$as_dir" as a directory, including parents if necessary.
   19153 as_fn_mkdir_p ()
   19154 {
   19155 
   19156   case $as_dir in #(
   19157   -*) as_dir=./$as_dir;;
   19158   esac
   19159   test -d "$as_dir" || eval $as_mkdir_p || {
   19160     as_dirs=
   19161     while :; do
   19162       case $as_dir in #(
   19163       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19164       *) as_qdir=$as_dir;;
   19165       esac
   19166       as_dirs="'$as_qdir' $as_dirs"
   19167       as_dir=`$as_dirname -- "$as_dir" ||
   19168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19169 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19170 	 X"$as_dir" : 'X\(//\)$' \| \
   19171 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19172 $as_echo X"$as_dir" |
   19173     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19174 	    s//\1/
   19175 	    q
   19176 	  }
   19177 	  /^X\(\/\/\)[^/].*/{
   19178 	    s//\1/
   19179 	    q
   19180 	  }
   19181 	  /^X\(\/\/\)$/{
   19182 	    s//\1/
   19183 	    q
   19184 	  }
   19185 	  /^X\(\/\).*/{
   19186 	    s//\1/
   19187 	    q
   19188 	  }
   19189 	  s/.*/./; q'`
   19190       test -d "$as_dir" && break
   19191     done
   19192     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19193   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19194 
   19195 
   19196 } # as_fn_mkdir_p
   19197 if mkdir -p . 2>/dev/null; then
   19198   as_mkdir_p='mkdir -p "$as_dir"'
   19199 else
   19200   test -d ./-p && rmdir ./-p
   19201   as_mkdir_p=false
   19202 fi
   19203 
   19204 
   19205 # as_fn_executable_p FILE
   19206 # -----------------------
   19207 # Test if FILE is an executable regular file.
   19208 as_fn_executable_p ()
   19209 {
   19210   test -f "$1" && test -x "$1"
   19211 } # as_fn_executable_p
   19212 as_test_x='test -x'
   19213 as_executable_p=as_fn_executable_p
   19214 
   19215 # Sed expression to map a string onto a valid CPP name.
   19216 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19217 
   19218 # Sed expression to map a string onto a valid variable name.
   19219 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19220 
   19221 
   19222 exec 6>&1
   19223 ## ----------------------------------- ##
   19224 ## Main body of $CONFIG_STATUS script. ##
   19225 ## ----------------------------------- ##
   19226 _ASEOF
   19227 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19228 
   19229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19230 # Save the log message, to keep $0 and so on meaningful, and to
   19231 # report actual input values of CONFIG_FILES etc. instead of their
   19232 # values after options handling.
   19233 ac_log="
   19234 This file was extended by libXcursor $as_me 1.1.15, which was
   19235 generated by GNU Autoconf 2.69.  Invocation command line was
   19236 
   19237   CONFIG_FILES    = $CONFIG_FILES
   19238   CONFIG_HEADERS  = $CONFIG_HEADERS
   19239   CONFIG_LINKS    = $CONFIG_LINKS
   19240   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19241   $ $0 $@
   19242 
   19243 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19244 "
   19245 
   19246 _ACEOF
   19247 
   19248 case $ac_config_files in *"
   19249 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19250 esac
   19251 
   19252 case $ac_config_headers in *"
   19253 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19254 esac
   19255 
   19256 
   19257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19258 # Files that config.status was made for.
   19259 config_files="$ac_config_files"
   19260 config_headers="$ac_config_headers"
   19261 config_commands="$ac_config_commands"
   19262 
   19263 _ACEOF
   19264 
   19265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19266 ac_cs_usage="\
   19267 \`$as_me' instantiates files and other configuration actions
   19268 from templates according to the current configuration.  Unless the files
   19269 and actions are specified as TAGs, all are instantiated by default.
   19270 
   19271 Usage: $0 [OPTION]... [TAG]...
   19272 
   19273   -h, --help       print this help, then exit
   19274   -V, --version    print version number and configuration settings, then exit
   19275       --config     print configuration, then exit
   19276   -q, --quiet, --silent
   19277                    do not print progress messages
   19278   -d, --debug      don't remove temporary files
   19279       --recheck    update $as_me by reconfiguring in the same conditions
   19280       --file=FILE[:TEMPLATE]
   19281                    instantiate the configuration file FILE
   19282       --header=FILE[:TEMPLATE]
   19283                    instantiate the configuration header FILE
   19284 
   19285 Configuration files:
   19286 $config_files
   19287 
   19288 Configuration headers:
   19289 $config_headers
   19290 
   19291 Configuration commands:
   19292 $config_commands
   19293 
   19294 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19295 
   19296 _ACEOF
   19297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19298 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19299 ac_cs_version="\\
   19300 libXcursor config.status 1.1.15
   19301 configured by $0, generated by GNU Autoconf 2.69,
   19302   with options \\"\$ac_cs_config\\"
   19303 
   19304 Copyright (C) 2012 Free Software Foundation, Inc.
   19305 This config.status script is free software; the Free Software Foundation
   19306 gives unlimited permission to copy, distribute and modify it."
   19307 
   19308 ac_pwd='$ac_pwd'
   19309 srcdir='$srcdir'
   19310 INSTALL='$INSTALL'
   19311 MKDIR_P='$MKDIR_P'
   19312 AWK='$AWK'
   19313 test -n "\$AWK" || AWK=awk
   19314 _ACEOF
   19315 
   19316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19317 # The default lists apply if the user does not specify any file.
   19318 ac_need_defaults=:
   19319 while test $# != 0
   19320 do
   19321   case $1 in
   19322   --*=?*)
   19323     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19324     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19325     ac_shift=:
   19326     ;;
   19327   --*=)
   19328     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19329     ac_optarg=
   19330     ac_shift=:
   19331     ;;
   19332   *)
   19333     ac_option=$1
   19334     ac_optarg=$2
   19335     ac_shift=shift
   19336     ;;
   19337   esac
   19338 
   19339   case $ac_option in
   19340   # Handling of the options.
   19341   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19342     ac_cs_recheck=: ;;
   19343   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19344     $as_echo "$ac_cs_version"; exit ;;
   19345   --config | --confi | --conf | --con | --co | --c )
   19346     $as_echo "$ac_cs_config"; exit ;;
   19347   --debug | --debu | --deb | --de | --d | -d )
   19348     debug=: ;;
   19349   --file | --fil | --fi | --f )
   19350     $ac_shift
   19351     case $ac_optarg in
   19352     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19353     '') as_fn_error $? "missing file argument" ;;
   19354     esac
   19355     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19356     ac_need_defaults=false;;
   19357   --header | --heade | --head | --hea )
   19358     $ac_shift
   19359     case $ac_optarg in
   19360     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19361     esac
   19362     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19363     ac_need_defaults=false;;
   19364   --he | --h)
   19365     # Conflict between --help and --header
   19366     as_fn_error $? "ambiguous option: \`$1'
   19367 Try \`$0 --help' for more information.";;
   19368   --help | --hel | -h )
   19369     $as_echo "$ac_cs_usage"; exit ;;
   19370   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19371   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19372     ac_cs_silent=: ;;
   19373 
   19374   # This is an error.
   19375   -*) as_fn_error $? "unrecognized option: \`$1'
   19376 Try \`$0 --help' for more information." ;;
   19377 
   19378   *) as_fn_append ac_config_targets " $1"
   19379      ac_need_defaults=false ;;
   19380 
   19381   esac
   19382   shift
   19383 done
   19384 
   19385 ac_configure_extra_args=
   19386 
   19387 if $ac_cs_silent; then
   19388   exec 6>/dev/null
   19389   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19390 fi
   19391 
   19392 _ACEOF
   19393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19394 if \$ac_cs_recheck; then
   19395   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19396   shift
   19397   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19398   CONFIG_SHELL='$SHELL'
   19399   export CONFIG_SHELL
   19400   exec "\$@"
   19401 fi
   19402 
   19403 _ACEOF
   19404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19405 exec 5>>config.log
   19406 {
   19407   echo
   19408   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19409 ## Running $as_me. ##
   19410 _ASBOX
   19411   $as_echo "$ac_log"
   19412 } >&5
   19413 
   19414 _ACEOF
   19415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19416 #
   19417 # INIT-COMMANDS
   19418 #
   19419 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19420 
   19421 
   19422 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19423 # if CDPATH is set.
   19424 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19425 
   19426 sed_quote_subst='$sed_quote_subst'
   19427 double_quote_subst='$double_quote_subst'
   19428 delay_variable_subst='$delay_variable_subst'
   19429 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19430 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19431 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19432 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19433 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19434 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19435 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19436 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19437 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19438 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19439 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19440 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19441 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19442 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19443 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19444 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19445 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19446 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19447 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19448 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19449 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19450 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19451 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19452 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19453 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19454 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19455 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19456 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19457 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19458 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19459 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19460 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19461 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19462 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19463 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19464 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19465 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19466 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19467 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19468 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19469 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19470 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19471 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19472 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19473 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19474 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19475 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19476 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19477 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19478 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19479 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19480 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19481 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19482 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19483 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19484 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19485 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19486 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19487 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"`'
   19488 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19489 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19490 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19491 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   19492 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19493 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19494 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19495 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19496 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19497 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19498 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19499 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19500 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19501 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19502 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19503 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19504 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19505 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19506 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19507 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19508 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19509 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19510 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19511 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19512 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19513 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19514 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19515 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19516 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19517 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19518 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19519 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19520 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19521 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19522 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19523 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19524 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19525 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19526 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19527 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19528 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19529 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19530 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19531 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19532 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19533 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19534 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19535 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19536 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19537 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19538 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19539 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19540 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19541 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19542 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19543 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19544 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19545 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19546 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19547 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19548 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19549 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19550 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19551 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19552 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19553 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19554 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19555 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19556 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   19557 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   19558 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19559 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19560 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19561 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19562 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19563 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19564 
   19565 LTCC='$LTCC'
   19566 LTCFLAGS='$LTCFLAGS'
   19567 compiler='$compiler_DEFAULT'
   19568 
   19569 # A function that is used when there is no print builtin or printf.
   19570 func_fallback_echo ()
   19571 {
   19572   eval 'cat <<_LTECHO_EOF
   19573 \$1
   19574 _LTECHO_EOF'
   19575 }
   19576 
   19577 # Quote evaled strings.
   19578 for var in SHELL \
   19579 ECHO \
   19580 PATH_SEPARATOR \
   19581 SED \
   19582 GREP \
   19583 EGREP \
   19584 FGREP \
   19585 LD \
   19586 NM \
   19587 LN_S \
   19588 lt_SP2NL \
   19589 lt_NL2SP \
   19590 reload_flag \
   19591 OBJDUMP \
   19592 deplibs_check_method \
   19593 file_magic_cmd \
   19594 file_magic_glob \
   19595 want_nocaseglob \
   19596 DLLTOOL \
   19597 sharedlib_from_linklib_cmd \
   19598 AR \
   19599 AR_FLAGS \
   19600 archiver_list_spec \
   19601 STRIP \
   19602 RANLIB \
   19603 CC \
   19604 CFLAGS \
   19605 compiler \
   19606 lt_cv_sys_global_symbol_pipe \
   19607 lt_cv_sys_global_symbol_to_cdecl \
   19608 lt_cv_sys_global_symbol_to_import \
   19609 lt_cv_sys_global_symbol_to_c_name_address \
   19610 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19611 lt_cv_nm_interface \
   19612 nm_file_list_spec \
   19613 lt_cv_truncate_bin \
   19614 lt_prog_compiler_no_builtin_flag \
   19615 lt_prog_compiler_pic \
   19616 lt_prog_compiler_wl \
   19617 lt_prog_compiler_static \
   19618 lt_cv_prog_compiler_c_o \
   19619 need_locks \
   19620 MANIFEST_TOOL \
   19621 DSYMUTIL \
   19622 NMEDIT \
   19623 LIPO \
   19624 OTOOL \
   19625 OTOOL64 \
   19626 shrext_cmds \
   19627 export_dynamic_flag_spec \
   19628 whole_archive_flag_spec \
   19629 compiler_needs_object \
   19630 with_gnu_ld \
   19631 allow_undefined_flag \
   19632 no_undefined_flag \
   19633 hardcode_libdir_flag_spec \
   19634 hardcode_libdir_separator \
   19635 exclude_expsyms \
   19636 include_expsyms \
   19637 file_list_spec \
   19638 variables_saved_for_relink \
   19639 libname_spec \
   19640 library_names_spec \
   19641 soname_spec \
   19642 install_override_mode \
   19643 finish_eval \
   19644 old_striplib \
   19645 striplib; do
   19646     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19647     *[\\\\\\\`\\"\\\$]*)
   19648       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19649       ;;
   19650     *)
   19651       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19652       ;;
   19653     esac
   19654 done
   19655 
   19656 # Double-quote double-evaled strings.
   19657 for var in reload_cmds \
   19658 old_postinstall_cmds \
   19659 old_postuninstall_cmds \
   19660 old_archive_cmds \
   19661 extract_expsyms_cmds \
   19662 old_archive_from_new_cmds \
   19663 old_archive_from_expsyms_cmds \
   19664 archive_cmds \
   19665 archive_expsym_cmds \
   19666 module_cmds \
   19667 module_expsym_cmds \
   19668 export_symbols_cmds \
   19669 prelink_cmds \
   19670 postlink_cmds \
   19671 postinstall_cmds \
   19672 postuninstall_cmds \
   19673 finish_cmds \
   19674 sys_lib_search_path_spec \
   19675 configure_time_dlsearch_path \
   19676 configure_time_lt_sys_library_path; do
   19677     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19678     *[\\\\\\\`\\"\\\$]*)
   19679       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19680       ;;
   19681     *)
   19682       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19683       ;;
   19684     esac
   19685 done
   19686 
   19687 ac_aux_dir='$ac_aux_dir'
   19688 
   19689 # See if we are running on zsh, and set the options that allow our
   19690 # commands through without removal of \ escapes INIT.
   19691 if test -n "\${ZSH_VERSION+set}"; then
   19692    setopt NO_GLOB_SUBST
   19693 fi
   19694 
   19695 
   19696     PACKAGE='$PACKAGE'
   19697     VERSION='$VERSION'
   19698     RM='$RM'
   19699     ofile='$ofile'
   19700 
   19701 
   19702 
   19703 
   19704 _ACEOF
   19705 
   19706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19707 
   19708 # Handling of arguments.
   19709 for ac_config_target in $ac_config_targets
   19710 do
   19711   case $ac_config_target in
   19712     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19713     "include/X11/Xcursor/Xcursor.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/Xcursor/Xcursor.h" ;;
   19714     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19715     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19716     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19717     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19718     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19719     "xcursor.pc") CONFIG_FILES="$CONFIG_FILES xcursor.pc" ;;
   19720 
   19721   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19722   esac
   19723 done
   19724 
   19725 
   19726 # If the user did not use the arguments to specify the items to instantiate,
   19727 # then the envvar interface is used.  Set only those that are not.
   19728 # We use the long form for the default assignment because of an extremely
   19729 # bizarre bug on SunOS 4.1.3.
   19730 if $ac_need_defaults; then
   19731   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19732   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19733   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19734 fi
   19735 
   19736 # Have a temporary directory for convenience.  Make it in the build tree
   19737 # simply because there is no reason against having it here, and in addition,
   19738 # creating and moving files from /tmp can sometimes cause problems.
   19739 # Hook for its removal unless debugging.
   19740 # Note that there is a small window in which the directory will not be cleaned:
   19741 # after its creation but before its name has been assigned to `$tmp'.
   19742 $debug ||
   19743 {
   19744   tmp= ac_tmp=
   19745   trap 'exit_status=$?
   19746   : "${ac_tmp:=$tmp}"
   19747   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19748 ' 0
   19749   trap 'as_fn_exit 1' 1 2 13 15
   19750 }
   19751 # Create a (secure) tmp directory for tmp files.
   19752 
   19753 {
   19754   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19755   test -d "$tmp"
   19756 }  ||
   19757 {
   19758   tmp=./conf$$-$RANDOM
   19759   (umask 077 && mkdir "$tmp")
   19760 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19761 ac_tmp=$tmp
   19762 
   19763 # Set up the scripts for CONFIG_FILES section.
   19764 # No need to generate them if there are no CONFIG_FILES.
   19765 # This happens for instance with `./config.status config.h'.
   19766 if test -n "$CONFIG_FILES"; then
   19767 
   19768 
   19769 ac_cr=`echo X | tr X '\015'`
   19770 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19771 # But we know of no other shell where ac_cr would be empty at this
   19772 # point, so we can use a bashism as a fallback.
   19773 if test "x$ac_cr" = x; then
   19774   eval ac_cr=\$\'\\r\'
   19775 fi
   19776 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19777 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19778   ac_cs_awk_cr='\\r'
   19779 else
   19780   ac_cs_awk_cr=$ac_cr
   19781 fi
   19782 
   19783 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19784 _ACEOF
   19785 
   19786 
   19787 {
   19788   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19789   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19790   echo "_ACEOF"
   19791 } >conf$$subs.sh ||
   19792   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19793 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19794 ac_delim='%!_!# '
   19795 for ac_last_try in false false false false false :; do
   19796   . ./conf$$subs.sh ||
   19797     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19798 
   19799   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19800   if test $ac_delim_n = $ac_delim_num; then
   19801     break
   19802   elif $ac_last_try; then
   19803     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19804   else
   19805     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19806   fi
   19807 done
   19808 rm -f conf$$subs.sh
   19809 
   19810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19811 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19812 _ACEOF
   19813 sed -n '
   19814 h
   19815 s/^/S["/; s/!.*/"]=/
   19816 p
   19817 g
   19818 s/^[^!]*!//
   19819 :repl
   19820 t repl
   19821 s/'"$ac_delim"'$//
   19822 t delim
   19823 :nl
   19824 h
   19825 s/\(.\{148\}\)..*/\1/
   19826 t more1
   19827 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19828 p
   19829 n
   19830 b repl
   19831 :more1
   19832 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19833 p
   19834 g
   19835 s/.\{148\}//
   19836 t nl
   19837 :delim
   19838 h
   19839 s/\(.\{148\}\)..*/\1/
   19840 t more2
   19841 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19842 p
   19843 b
   19844 :more2
   19845 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19846 p
   19847 g
   19848 s/.\{148\}//
   19849 t delim
   19850 ' <conf$$subs.awk | sed '
   19851 /^[^""]/{
   19852   N
   19853   s/\n//
   19854 }
   19855 ' >>$CONFIG_STATUS || ac_write_fail=1
   19856 rm -f conf$$subs.awk
   19857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19858 _ACAWK
   19859 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19860   for (key in S) S_is_set[key] = 1
   19861   FS = ""
   19862 
   19863 }
   19864 {
   19865   line = $ 0
   19866   nfields = split(line, field, "@")
   19867   substed = 0
   19868   len = length(field[1])
   19869   for (i = 2; i < nfields; i++) {
   19870     key = field[i]
   19871     keylen = length(key)
   19872     if (S_is_set[key]) {
   19873       value = S[key]
   19874       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19875       len += length(value) + length(field[++i])
   19876       substed = 1
   19877     } else
   19878       len += 1 + keylen
   19879   }
   19880 
   19881   print line
   19882 }
   19883 
   19884 _ACAWK
   19885 _ACEOF
   19886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19887 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19888   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19889 else
   19890   cat
   19891 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19892   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19893 _ACEOF
   19894 
   19895 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19896 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19897 # trailing colons and then remove the whole line if VPATH becomes empty
   19898 # (actually we leave an empty line to preserve line numbers).
   19899 if test "x$srcdir" = x.; then
   19900   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19901 h
   19902 s///
   19903 s/^/:/
   19904 s/[	 ]*$/:/
   19905 s/:\$(srcdir):/:/g
   19906 s/:\${srcdir}:/:/g
   19907 s/:@srcdir@:/:/g
   19908 s/^:*//
   19909 s/:*$//
   19910 x
   19911 s/\(=[	 ]*\).*/\1/
   19912 G
   19913 s/\n//
   19914 s/^[^=]*=[	 ]*$//
   19915 }'
   19916 fi
   19917 
   19918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19919 fi # test -n "$CONFIG_FILES"
   19920 
   19921 # Set up the scripts for CONFIG_HEADERS section.
   19922 # No need to generate them if there are no CONFIG_HEADERS.
   19923 # This happens for instance with `./config.status Makefile'.
   19924 if test -n "$CONFIG_HEADERS"; then
   19925 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19926 BEGIN {
   19927 _ACEOF
   19928 
   19929 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19930 # here-document in config.status, that substitutes the proper values into
   19931 # config.h.in to produce config.h.
   19932 
   19933 # Create a delimiter string that does not exist in confdefs.h, to ease
   19934 # handling of long lines.
   19935 ac_delim='%!_!# '
   19936 for ac_last_try in false false :; do
   19937   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19938   if test -z "$ac_tt"; then
   19939     break
   19940   elif $ac_last_try; then
   19941     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19942   else
   19943     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19944   fi
   19945 done
   19946 
   19947 # For the awk script, D is an array of macro values keyed by name,
   19948 # likewise P contains macro parameters if any.  Preserve backslash
   19949 # newline sequences.
   19950 
   19951 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19952 sed -n '
   19953 s/.\{148\}/&'"$ac_delim"'/g
   19954 t rset
   19955 :rset
   19956 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19957 t def
   19958 d
   19959 :def
   19960 s/\\$//
   19961 t bsnl
   19962 s/["\\]/\\&/g
   19963 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19964 D["\1"]=" \3"/p
   19965 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19966 d
   19967 :bsnl
   19968 s/["\\]/\\&/g
   19969 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19970 D["\1"]=" \3\\\\\\n"\\/p
   19971 t cont
   19972 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19973 t cont
   19974 d
   19975 :cont
   19976 n
   19977 s/.\{148\}/&'"$ac_delim"'/g
   19978 t clear
   19979 :clear
   19980 s/\\$//
   19981 t bsnlc
   19982 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19983 d
   19984 :bsnlc
   19985 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19986 b cont
   19987 ' <confdefs.h | sed '
   19988 s/'"$ac_delim"'/"\\\
   19989 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19990 
   19991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19992   for (key in D) D_is_set[key] = 1
   19993   FS = ""
   19994 }
   19995 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19996   line = \$ 0
   19997   split(line, arg, " ")
   19998   if (arg[1] == "#") {
   19999     defundef = arg[2]
   20000     mac1 = arg[3]
   20001   } else {
   20002     defundef = substr(arg[1], 2)
   20003     mac1 = arg[2]
   20004   }
   20005   split(mac1, mac2, "(") #)
   20006   macro = mac2[1]
   20007   prefix = substr(line, 1, index(line, defundef) - 1)
   20008   if (D_is_set[macro]) {
   20009     # Preserve the white space surrounding the "#".
   20010     print prefix "define", macro P[macro] D[macro]
   20011     next
   20012   } else {
   20013     # Replace #undef with comments.  This is necessary, for example,
   20014     # in the case of _POSIX_SOURCE, which is predefined and required
   20015     # on some systems where configure will not decide to define it.
   20016     if (defundef == "undef") {
   20017       print "/*", prefix defundef, macro, "*/"
   20018       next
   20019     }
   20020   }
   20021 }
   20022 { print }
   20023 _ACAWK
   20024 _ACEOF
   20025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20026   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20027 fi # test -n "$CONFIG_HEADERS"
   20028 
   20029 
   20030 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20031 shift
   20032 for ac_tag
   20033 do
   20034   case $ac_tag in
   20035   :[FHLC]) ac_mode=$ac_tag; continue;;
   20036   esac
   20037   case $ac_mode$ac_tag in
   20038   :[FHL]*:*);;
   20039   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20040   :[FH]-) ac_tag=-:-;;
   20041   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20042   esac
   20043   ac_save_IFS=$IFS
   20044   IFS=:
   20045   set x $ac_tag
   20046   IFS=$ac_save_IFS
   20047   shift
   20048   ac_file=$1
   20049   shift
   20050 
   20051   case $ac_mode in
   20052   :L) ac_source=$1;;
   20053   :[FH])
   20054     ac_file_inputs=
   20055     for ac_f
   20056     do
   20057       case $ac_f in
   20058       -) ac_f="$ac_tmp/stdin";;
   20059       *) # Look for the file first in the build tree, then in the source tree
   20060 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20061 	 # because $ac_f cannot contain `:'.
   20062 	 test -f "$ac_f" ||
   20063 	   case $ac_f in
   20064 	   [\\/$]*) false;;
   20065 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20066 	   esac ||
   20067 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20068       esac
   20069       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20070       as_fn_append ac_file_inputs " '$ac_f'"
   20071     done
   20072 
   20073     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20074     # use $as_me), people would be surprised to read:
   20075     #    /* config.h.  Generated by config.status.  */
   20076     configure_input='Generated from '`
   20077 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20078 	`' by configure.'
   20079     if test x"$ac_file" != x-; then
   20080       configure_input="$ac_file.  $configure_input"
   20081       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20082 $as_echo "$as_me: creating $ac_file" >&6;}
   20083     fi
   20084     # Neutralize special characters interpreted by sed in replacement strings.
   20085     case $configure_input in #(
   20086     *\&* | *\|* | *\\* )
   20087        ac_sed_conf_input=`$as_echo "$configure_input" |
   20088        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20089     *) ac_sed_conf_input=$configure_input;;
   20090     esac
   20091 
   20092     case $ac_tag in
   20093     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20094       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20095     esac
   20096     ;;
   20097   esac
   20098 
   20099   ac_dir=`$as_dirname -- "$ac_file" ||
   20100 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20101 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20102 	 X"$ac_file" : 'X\(//\)$' \| \
   20103 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20104 $as_echo X"$ac_file" |
   20105     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20106 	    s//\1/
   20107 	    q
   20108 	  }
   20109 	  /^X\(\/\/\)[^/].*/{
   20110 	    s//\1/
   20111 	    q
   20112 	  }
   20113 	  /^X\(\/\/\)$/{
   20114 	    s//\1/
   20115 	    q
   20116 	  }
   20117 	  /^X\(\/\).*/{
   20118 	    s//\1/
   20119 	    q
   20120 	  }
   20121 	  s/.*/./; q'`
   20122   as_dir="$ac_dir"; as_fn_mkdir_p
   20123   ac_builddir=.
   20124 
   20125 case "$ac_dir" in
   20126 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20127 *)
   20128   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20129   # A ".." for each directory in $ac_dir_suffix.
   20130   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20131   case $ac_top_builddir_sub in
   20132   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20133   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20134   esac ;;
   20135 esac
   20136 ac_abs_top_builddir=$ac_pwd
   20137 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20138 # for backward compatibility:
   20139 ac_top_builddir=$ac_top_build_prefix
   20140 
   20141 case $srcdir in
   20142   .)  # We are building in place.
   20143     ac_srcdir=.
   20144     ac_top_srcdir=$ac_top_builddir_sub
   20145     ac_abs_top_srcdir=$ac_pwd ;;
   20146   [\\/]* | ?:[\\/]* )  # Absolute name.
   20147     ac_srcdir=$srcdir$ac_dir_suffix;
   20148     ac_top_srcdir=$srcdir
   20149     ac_abs_top_srcdir=$srcdir ;;
   20150   *) # Relative name.
   20151     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20152     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20153     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20154 esac
   20155 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20156 
   20157 
   20158   case $ac_mode in
   20159   :F)
   20160   #
   20161   # CONFIG_FILE
   20162   #
   20163 
   20164   case $INSTALL in
   20165   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20166   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20167   esac
   20168   ac_MKDIR_P=$MKDIR_P
   20169   case $MKDIR_P in
   20170   [\\/$]* | ?:[\\/]* ) ;;
   20171   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20172   esac
   20173 _ACEOF
   20174 
   20175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20176 # If the template does not know about datarootdir, expand it.
   20177 # FIXME: This hack should be removed a few years after 2.60.
   20178 ac_datarootdir_hack=; ac_datarootdir_seen=
   20179 ac_sed_dataroot='
   20180 /datarootdir/ {
   20181   p
   20182   q
   20183 }
   20184 /@datadir@/p
   20185 /@docdir@/p
   20186 /@infodir@/p
   20187 /@localedir@/p
   20188 /@mandir@/p'
   20189 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20190 *datarootdir*) ac_datarootdir_seen=yes;;
   20191 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20192   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20193 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20194 _ACEOF
   20195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20196   ac_datarootdir_hack='
   20197   s&@datadir@&$datadir&g
   20198   s&@docdir@&$docdir&g
   20199   s&@infodir@&$infodir&g
   20200   s&@localedir@&$localedir&g
   20201   s&@mandir@&$mandir&g
   20202   s&\\\${datarootdir}&$datarootdir&g' ;;
   20203 esac
   20204 _ACEOF
   20205 
   20206 # Neutralize VPATH when `$srcdir' = `.'.
   20207 # Shell code in configure.ac might set extrasub.
   20208 # FIXME: do we really want to maintain this feature?
   20209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20210 ac_sed_extra="$ac_vpsub
   20211 $extrasub
   20212 _ACEOF
   20213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20214 :t
   20215 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20216 s|@configure_input@|$ac_sed_conf_input|;t t
   20217 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20218 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20219 s&@srcdir@&$ac_srcdir&;t t
   20220 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20221 s&@top_srcdir@&$ac_top_srcdir&;t t
   20222 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20223 s&@builddir@&$ac_builddir&;t t
   20224 s&@abs_builddir@&$ac_abs_builddir&;t t
   20225 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20226 s&@INSTALL@&$ac_INSTALL&;t t
   20227 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20228 $ac_datarootdir_hack
   20229 "
   20230 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20231   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20232 
   20233 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20234   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20235   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20236       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20237   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20238 which seems to be undefined.  Please make sure it is defined" >&5
   20239 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20240 which seems to be undefined.  Please make sure it is defined" >&2;}
   20241 
   20242   rm -f "$ac_tmp/stdin"
   20243   case $ac_file in
   20244   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20245   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20246   esac \
   20247   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20248  ;;
   20249   :H)
   20250   #
   20251   # CONFIG_HEADER
   20252   #
   20253   if test x"$ac_file" != x-; then
   20254     {
   20255       $as_echo "/* $configure_input  */" \
   20256       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20257     } >"$ac_tmp/config.h" \
   20258       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20259     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20260       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20261 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20262     else
   20263       rm -f "$ac_file"
   20264       mv "$ac_tmp/config.h" "$ac_file" \
   20265 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20266     fi
   20267   else
   20268     $as_echo "/* $configure_input  */" \
   20269       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20270       || as_fn_error $? "could not create -" "$LINENO" 5
   20271   fi
   20272 # Compute "$ac_file"'s index in $config_headers.
   20273 _am_arg="$ac_file"
   20274 _am_stamp_count=1
   20275 for _am_header in $config_headers :; do
   20276   case $_am_header in
   20277     $_am_arg | $_am_arg:* )
   20278       break ;;
   20279     * )
   20280       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20281   esac
   20282 done
   20283 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20284 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20285 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20286 	 X"$_am_arg" : 'X\(//\)$' \| \
   20287 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20288 $as_echo X"$_am_arg" |
   20289     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20290 	    s//\1/
   20291 	    q
   20292 	  }
   20293 	  /^X\(\/\/\)[^/].*/{
   20294 	    s//\1/
   20295 	    q
   20296 	  }
   20297 	  /^X\(\/\/\)$/{
   20298 	    s//\1/
   20299 	    q
   20300 	  }
   20301 	  /^X\(\/\).*/{
   20302 	    s//\1/
   20303 	    q
   20304 	  }
   20305 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20306  ;;
   20307 
   20308   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20309 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20310  ;;
   20311   esac
   20312 
   20313 
   20314   case $ac_file$ac_mode in
   20315     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20316   # Older Autoconf quotes --file arguments for eval, but not when files
   20317   # are listed without --file.  Let's play safe and only enable the eval
   20318   # if we detect the quoting.
   20319   case $CONFIG_FILES in
   20320   *\'*) eval set x "$CONFIG_FILES" ;;
   20321   *)   set x $CONFIG_FILES ;;
   20322   esac
   20323   shift
   20324   for mf
   20325   do
   20326     # Strip MF so we end up with the name of the file.
   20327     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20328     # Check whether this is an Automake generated Makefile or not.
   20329     # We used to match only the files named 'Makefile.in', but
   20330     # some people rename them; so instead we look at the file content.
   20331     # Grep'ing the first line is not enough: some people post-process
   20332     # each Makefile.in and add a new line on top of each file to say so.
   20333     # Grep'ing the whole file is not good either: AIX grep has a line
   20334     # limit of 2048, but all sed's we know have understand at least 4000.
   20335     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20336       dirpart=`$as_dirname -- "$mf" ||
   20337 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20338 	 X"$mf" : 'X\(//\)[^/]' \| \
   20339 	 X"$mf" : 'X\(//\)$' \| \
   20340 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20341 $as_echo X"$mf" |
   20342     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20343 	    s//\1/
   20344 	    q
   20345 	  }
   20346 	  /^X\(\/\/\)[^/].*/{
   20347 	    s//\1/
   20348 	    q
   20349 	  }
   20350 	  /^X\(\/\/\)$/{
   20351 	    s//\1/
   20352 	    q
   20353 	  }
   20354 	  /^X\(\/\).*/{
   20355 	    s//\1/
   20356 	    q
   20357 	  }
   20358 	  s/.*/./; q'`
   20359     else
   20360       continue
   20361     fi
   20362     # Extract the definition of DEPDIR, am__include, and am__quote
   20363     # from the Makefile without running 'make'.
   20364     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20365     test -z "$DEPDIR" && continue
   20366     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20367     test -z "$am__include" && continue
   20368     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20369     # Find all dependency output files, they are included files with
   20370     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20371     # simplest approach to changing $(DEPDIR) to its actual value in the
   20372     # expansion.
   20373     for file in `sed -n "
   20374       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20375 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20376       # Make sure the directory exists.
   20377       test -f "$dirpart/$file" && continue
   20378       fdir=`$as_dirname -- "$file" ||
   20379 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20380 	 X"$file" : 'X\(//\)[^/]' \| \
   20381 	 X"$file" : 'X\(//\)$' \| \
   20382 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20383 $as_echo X"$file" |
   20384     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20385 	    s//\1/
   20386 	    q
   20387 	  }
   20388 	  /^X\(\/\/\)[^/].*/{
   20389 	    s//\1/
   20390 	    q
   20391 	  }
   20392 	  /^X\(\/\/\)$/{
   20393 	    s//\1/
   20394 	    q
   20395 	  }
   20396 	  /^X\(\/\).*/{
   20397 	    s//\1/
   20398 	    q
   20399 	  }
   20400 	  s/.*/./; q'`
   20401       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20402       # echo "creating $dirpart/$file"
   20403       echo '# dummy' > "$dirpart/$file"
   20404     done
   20405   done
   20406 }
   20407  ;;
   20408     "libtool":C)
   20409 
   20410     # See if we are running on zsh, and set the options that allow our
   20411     # commands through without removal of \ escapes.
   20412     if test -n "${ZSH_VERSION+set}"; then
   20413       setopt NO_GLOB_SUBST
   20414     fi
   20415 
   20416     cfgfile=${ofile}T
   20417     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20418     $RM "$cfgfile"
   20419 
   20420     cat <<_LT_EOF >> "$cfgfile"
   20421 #! $SHELL
   20422 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20423 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20424 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20425 
   20426 # Provide generalized library-building support services.
   20427 # Written by Gordon Matzigkeit, 1996
   20428 
   20429 # Copyright (C) 2014 Free Software Foundation, Inc.
   20430 # This is free software; see the source for copying conditions.  There is NO
   20431 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20432 
   20433 # GNU Libtool is free software; you can redistribute it and/or modify
   20434 # it under the terms of the GNU General Public License as published by
   20435 # the Free Software Foundation; either version 2 of of the License, or
   20436 # (at your option) any later version.
   20437 #
   20438 # As a special exception to the GNU General Public License, if you
   20439 # distribute this file as part of a program or library that is built
   20440 # using GNU Libtool, you may include this file under the  same
   20441 # distribution terms that you use for the rest of that program.
   20442 #
   20443 # GNU Libtool is distributed in the hope that it will be useful, but
   20444 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20445 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20446 # GNU General Public License for more details.
   20447 #
   20448 # You should have received a copy of the GNU General Public License
   20449 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20450 
   20451 
   20452 # The names of the tagged configurations supported by this script.
   20453 available_tags=''
   20454 
   20455 # Configured defaults for sys_lib_dlsearch_path munging.
   20456 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20457 
   20458 # ### BEGIN LIBTOOL CONFIG
   20459 
   20460 # Which release of libtool.m4 was used?
   20461 macro_version=$macro_version
   20462 macro_revision=$macro_revision
   20463 
   20464 # Whether or not to build shared libraries.
   20465 build_libtool_libs=$enable_shared
   20466 
   20467 # Whether or not to build static libraries.
   20468 build_old_libs=$enable_static
   20469 
   20470 # What type of objects to build.
   20471 pic_mode=$pic_mode
   20472 
   20473 # Whether or not to optimize for fast installation.
   20474 fast_install=$enable_fast_install
   20475 
   20476 # Shared archive member basename,for filename based shared library versioning on AIX.
   20477 shared_archive_member_spec=$shared_archive_member_spec
   20478 
   20479 # Shell to use when invoking shell scripts.
   20480 SHELL=$lt_SHELL
   20481 
   20482 # An echo program that protects backslashes.
   20483 ECHO=$lt_ECHO
   20484 
   20485 # The PATH separator for the build system.
   20486 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20487 
   20488 # The host system.
   20489 host_alias=$host_alias
   20490 host=$host
   20491 host_os=$host_os
   20492 
   20493 # The build system.
   20494 build_alias=$build_alias
   20495 build=$build
   20496 build_os=$build_os
   20497 
   20498 # A sed program that does not truncate output.
   20499 SED=$lt_SED
   20500 
   20501 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20502 Xsed="\$SED -e 1s/^X//"
   20503 
   20504 # A grep program that handles long lines.
   20505 GREP=$lt_GREP
   20506 
   20507 # An ERE matcher.
   20508 EGREP=$lt_EGREP
   20509 
   20510 # A literal string matcher.
   20511 FGREP=$lt_FGREP
   20512 
   20513 # A BSD- or MS-compatible name lister.
   20514 NM=$lt_NM
   20515 
   20516 # Whether we need soft or hard links.
   20517 LN_S=$lt_LN_S
   20518 
   20519 # What is the maximum length of a command?
   20520 max_cmd_len=$max_cmd_len
   20521 
   20522 # Object file suffix (normally "o").
   20523 objext=$ac_objext
   20524 
   20525 # Executable file suffix (normally "").
   20526 exeext=$exeext
   20527 
   20528 # whether the shell understands "unset".
   20529 lt_unset=$lt_unset
   20530 
   20531 # turn spaces into newlines.
   20532 SP2NL=$lt_lt_SP2NL
   20533 
   20534 # turn newlines into spaces.
   20535 NL2SP=$lt_lt_NL2SP
   20536 
   20537 # convert \$build file names to \$host format.
   20538 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20539 
   20540 # convert \$build files to toolchain format.
   20541 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20542 
   20543 # An object symbol dumper.
   20544 OBJDUMP=$lt_OBJDUMP
   20545 
   20546 # Method to check whether dependent libraries are shared objects.
   20547 deplibs_check_method=$lt_deplibs_check_method
   20548 
   20549 # Command to use when deplibs_check_method = "file_magic".
   20550 file_magic_cmd=$lt_file_magic_cmd
   20551 
   20552 # How to find potential files when deplibs_check_method = "file_magic".
   20553 file_magic_glob=$lt_file_magic_glob
   20554 
   20555 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20556 want_nocaseglob=$lt_want_nocaseglob
   20557 
   20558 # DLL creation program.
   20559 DLLTOOL=$lt_DLLTOOL
   20560 
   20561 # Command to associate shared and link libraries.
   20562 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20563 
   20564 # The archiver.
   20565 AR=$lt_AR
   20566 
   20567 # Flags to create an archive.
   20568 AR_FLAGS=$lt_AR_FLAGS
   20569 
   20570 # How to feed a file listing to the archiver.
   20571 archiver_list_spec=$lt_archiver_list_spec
   20572 
   20573 # A symbol stripping program.
   20574 STRIP=$lt_STRIP
   20575 
   20576 # Commands used to install an old-style archive.
   20577 RANLIB=$lt_RANLIB
   20578 old_postinstall_cmds=$lt_old_postinstall_cmds
   20579 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20580 
   20581 # Whether to use a lock for old archive extraction.
   20582 lock_old_archive_extraction=$lock_old_archive_extraction
   20583 
   20584 # A C compiler.
   20585 LTCC=$lt_CC
   20586 
   20587 # LTCC compiler flags.
   20588 LTCFLAGS=$lt_CFLAGS
   20589 
   20590 # Take the output of nm and produce a listing of raw symbols and C names.
   20591 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20592 
   20593 # Transform the output of nm in a proper C declaration.
   20594 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20595 
   20596 # Transform the output of nm into a list of symbols to manually relocate.
   20597 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   20598 
   20599 # Transform the output of nm in a C name address pair.
   20600 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20601 
   20602 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20603 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20604 
   20605 # The name lister interface.
   20606 nm_interface=$lt_lt_cv_nm_interface
   20607 
   20608 # Specify filename containing input files for \$NM.
   20609 nm_file_list_spec=$lt_nm_file_list_spec
   20610 
   20611 # The root where to search for dependent libraries,and where our libraries should be installed.
   20612 lt_sysroot=$lt_sysroot
   20613 
   20614 # Command to truncate a binary pipe.
   20615 lt_truncate_bin=$lt_lt_cv_truncate_bin
   20616 
   20617 # The name of the directory that contains temporary libtool files.
   20618 objdir=$objdir
   20619 
   20620 # Used to examine libraries when file_magic_cmd begins with "file".
   20621 MAGIC_CMD=$MAGIC_CMD
   20622 
   20623 # Must we lock files when doing compilation?
   20624 need_locks=$lt_need_locks
   20625 
   20626 # Manifest tool.
   20627 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20628 
   20629 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20630 DSYMUTIL=$lt_DSYMUTIL
   20631 
   20632 # Tool to change global to local symbols on Mac OS X.
   20633 NMEDIT=$lt_NMEDIT
   20634 
   20635 # Tool to manipulate fat objects and archives on Mac OS X.
   20636 LIPO=$lt_LIPO
   20637 
   20638 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20639 OTOOL=$lt_OTOOL
   20640 
   20641 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20642 OTOOL64=$lt_OTOOL64
   20643 
   20644 # Old archive suffix (normally "a").
   20645 libext=$libext
   20646 
   20647 # Shared library suffix (normally ".so").
   20648 shrext_cmds=$lt_shrext_cmds
   20649 
   20650 # The commands to extract the exported symbol list from a shared archive.
   20651 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20652 
   20653 # Variables whose values should be saved in libtool wrapper scripts and
   20654 # restored at link time.
   20655 variables_saved_for_relink=$lt_variables_saved_for_relink
   20656 
   20657 # Do we need the "lib" prefix for modules?
   20658 need_lib_prefix=$need_lib_prefix
   20659 
   20660 # Do we need a version for libraries?
   20661 need_version=$need_version
   20662 
   20663 # Library versioning type.
   20664 version_type=$version_type
   20665 
   20666 # Shared library runtime path variable.
   20667 runpath_var=$runpath_var
   20668 
   20669 # Shared library path variable.
   20670 shlibpath_var=$shlibpath_var
   20671 
   20672 # Is shlibpath searched before the hard-coded library search path?
   20673 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20674 
   20675 # Format of library name prefix.
   20676 libname_spec=$lt_libname_spec
   20677 
   20678 # List of archive names.  First name is the real one, the rest are links.
   20679 # The last name is the one that the linker finds with -lNAME
   20680 library_names_spec=$lt_library_names_spec
   20681 
   20682 # The coded name of the library, if different from the real name.
   20683 soname_spec=$lt_soname_spec
   20684 
   20685 # Permission mode override for installation of shared libraries.
   20686 install_override_mode=$lt_install_override_mode
   20687 
   20688 # Command to use after installation of a shared archive.
   20689 postinstall_cmds=$lt_postinstall_cmds
   20690 
   20691 # Command to use after uninstallation of a shared archive.
   20692 postuninstall_cmds=$lt_postuninstall_cmds
   20693 
   20694 # Commands used to finish a libtool library installation in a directory.
   20695 finish_cmds=$lt_finish_cmds
   20696 
   20697 # As "finish_cmds", except a single script fragment to be evaled but
   20698 # not shown.
   20699 finish_eval=$lt_finish_eval
   20700 
   20701 # Whether we should hardcode library paths into libraries.
   20702 hardcode_into_libs=$hardcode_into_libs
   20703 
   20704 # Compile-time system search path for libraries.
   20705 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20706 
   20707 # Detected run-time system search path for libraries.
   20708 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   20709 
   20710 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   20711 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   20712 
   20713 # Whether dlopen is supported.
   20714 dlopen_support=$enable_dlopen
   20715 
   20716 # Whether dlopen of programs is supported.
   20717 dlopen_self=$enable_dlopen_self
   20718 
   20719 # Whether dlopen of statically linked programs is supported.
   20720 dlopen_self_static=$enable_dlopen_self_static
   20721 
   20722 # Commands to strip libraries.
   20723 old_striplib=$lt_old_striplib
   20724 striplib=$lt_striplib
   20725 
   20726 
   20727 # The linker used to build libraries.
   20728 LD=$lt_LD
   20729 
   20730 # How to create reloadable object files.
   20731 reload_flag=$lt_reload_flag
   20732 reload_cmds=$lt_reload_cmds
   20733 
   20734 # Commands used to build an old-style archive.
   20735 old_archive_cmds=$lt_old_archive_cmds
   20736 
   20737 # A language specific compiler.
   20738 CC=$lt_compiler
   20739 
   20740 # Is the compiler the GNU compiler?
   20741 with_gcc=$GCC
   20742 
   20743 # Compiler flag to turn off builtin functions.
   20744 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20745 
   20746 # Additional compiler flags for building library objects.
   20747 pic_flag=$lt_lt_prog_compiler_pic
   20748 
   20749 # How to pass a linker flag through the compiler.
   20750 wl=$lt_lt_prog_compiler_wl
   20751 
   20752 # Compiler flag to prevent dynamic linking.
   20753 link_static_flag=$lt_lt_prog_compiler_static
   20754 
   20755 # Does compiler simultaneously support -c and -o options?
   20756 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20757 
   20758 # Whether or not to add -lc for building shared libraries.
   20759 build_libtool_need_lc=$archive_cmds_need_lc
   20760 
   20761 # Whether or not to disallow shared libs when runtime libs are static.
   20762 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20763 
   20764 # Compiler flag to allow reflexive dlopens.
   20765 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20766 
   20767 # Compiler flag to generate shared objects directly from archives.
   20768 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20769 
   20770 # Whether the compiler copes with passing no objects directly.
   20771 compiler_needs_object=$lt_compiler_needs_object
   20772 
   20773 # Create an old-style archive from a shared archive.
   20774 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20775 
   20776 # Create a temporary old-style archive to link instead of a shared archive.
   20777 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20778 
   20779 # Commands used to build a shared archive.
   20780 archive_cmds=$lt_archive_cmds
   20781 archive_expsym_cmds=$lt_archive_expsym_cmds
   20782 
   20783 # Commands used to build a loadable module if different from building
   20784 # a shared archive.
   20785 module_cmds=$lt_module_cmds
   20786 module_expsym_cmds=$lt_module_expsym_cmds
   20787 
   20788 # Whether we are building with GNU ld or not.
   20789 with_gnu_ld=$lt_with_gnu_ld
   20790 
   20791 # Flag that allows shared libraries with undefined symbols to be built.
   20792 allow_undefined_flag=$lt_allow_undefined_flag
   20793 
   20794 # Flag that enforces no undefined symbols.
   20795 no_undefined_flag=$lt_no_undefined_flag
   20796 
   20797 # Flag to hardcode \$libdir into a binary during linking.
   20798 # This must work even if \$libdir does not exist
   20799 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20800 
   20801 # Whether we need a single "-rpath" flag with a separated argument.
   20802 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20803 
   20804 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20805 # DIR into the resulting binary.
   20806 hardcode_direct=$hardcode_direct
   20807 
   20808 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20809 # DIR into the resulting binary and the resulting library dependency is
   20810 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   20811 # library is relocated.
   20812 hardcode_direct_absolute=$hardcode_direct_absolute
   20813 
   20814 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20815 # into the resulting binary.
   20816 hardcode_minus_L=$hardcode_minus_L
   20817 
   20818 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20819 # into the resulting binary.
   20820 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20821 
   20822 # Set to "yes" if building a shared library automatically hardcodes DIR
   20823 # into the library and all subsequent libraries and executables linked
   20824 # against it.
   20825 hardcode_automatic=$hardcode_automatic
   20826 
   20827 # Set to yes if linker adds runtime paths of dependent libraries
   20828 # to runtime path list.
   20829 inherit_rpath=$inherit_rpath
   20830 
   20831 # Whether libtool must link a program against all its dependency libraries.
   20832 link_all_deplibs=$link_all_deplibs
   20833 
   20834 # Set to "yes" if exported symbols are required.
   20835 always_export_symbols=$always_export_symbols
   20836 
   20837 # The commands to list exported symbols.
   20838 export_symbols_cmds=$lt_export_symbols_cmds
   20839 
   20840 # Symbols that should not be listed in the preloaded symbols.
   20841 exclude_expsyms=$lt_exclude_expsyms
   20842 
   20843 # Symbols that must always be exported.
   20844 include_expsyms=$lt_include_expsyms
   20845 
   20846 # Commands necessary for linking programs (against libraries) with templates.
   20847 prelink_cmds=$lt_prelink_cmds
   20848 
   20849 # Commands necessary for finishing linking programs.
   20850 postlink_cmds=$lt_postlink_cmds
   20851 
   20852 # Specify filename containing input files.
   20853 file_list_spec=$lt_file_list_spec
   20854 
   20855 # How to hardcode a shared library path into an executable.
   20856 hardcode_action=$hardcode_action
   20857 
   20858 # ### END LIBTOOL CONFIG
   20859 
   20860 _LT_EOF
   20861 
   20862     cat <<'_LT_EOF' >> "$cfgfile"
   20863 
   20864 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   20865 
   20866 # func_munge_path_list VARIABLE PATH
   20867 # -----------------------------------
   20868 # VARIABLE is name of variable containing _space_ separated list of
   20869 # directories to be munged by the contents of PATH, which is string
   20870 # having a format:
   20871 # "DIR[:DIR]:"
   20872 #       string "DIR[ DIR]" will be prepended to VARIABLE
   20873 # ":DIR[:DIR]"
   20874 #       string "DIR[ DIR]" will be appended to VARIABLE
   20875 # "DIRP[:DIRP]::[DIRA:]DIRA"
   20876 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   20877 #       "DIRA[ DIRA]" will be appended to VARIABLE
   20878 # "DIR[:DIR]"
   20879 #       VARIABLE will be replaced by "DIR[ DIR]"
   20880 func_munge_path_list ()
   20881 {
   20882     case x$2 in
   20883     x)
   20884         ;;
   20885     *:)
   20886         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   20887         ;;
   20888     x:*)
   20889         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   20890         ;;
   20891     *::*)
   20892         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   20893         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   20894         ;;
   20895     *)
   20896         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   20897         ;;
   20898     esac
   20899 }
   20900 
   20901 
   20902 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   20903 func_cc_basename ()
   20904 {
   20905     for cc_temp in $*""; do
   20906       case $cc_temp in
   20907         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   20908         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   20909         \-*) ;;
   20910         *) break;;
   20911       esac
   20912     done
   20913     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   20914 }
   20915 
   20916 
   20917 # ### END FUNCTIONS SHARED WITH CONFIGURE
   20918 
   20919 _LT_EOF
   20920 
   20921   case $host_os in
   20922   aix3*)
   20923     cat <<\_LT_EOF >> "$cfgfile"
   20924 # AIX sometimes has problems with the GCC collect2 program.  For some
   20925 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20926 # vanish in a puff of smoke.
   20927 if test set != "${COLLECT_NAMES+set}"; then
   20928   COLLECT_NAMES=
   20929   export COLLECT_NAMES
   20930 fi
   20931 _LT_EOF
   20932     ;;
   20933   esac
   20934 
   20935 
   20936 ltmain=$ac_aux_dir/ltmain.sh
   20937 
   20938 
   20939   # We use sed instead of cat because bash on DJGPP gets confused if
   20940   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20941   # text mode, it properly converts lines to CR/LF.  This bash problem
   20942   # is reportedly fixed, but why not run on old versions too?
   20943   sed '$q' "$ltmain" >> "$cfgfile" \
   20944      || (rm -f "$cfgfile"; exit 1)
   20945 
   20946    mv -f "$cfgfile" "$ofile" ||
   20947     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20948   chmod +x "$ofile"
   20949 
   20950  ;;
   20951 
   20952   esac
   20953 done # for ac_tag
   20954 
   20955 
   20956 as_fn_exit 0
   20957 _ACEOF
   20958 ac_clean_files=$ac_clean_files_save
   20959 
   20960 test $ac_write_fail = 0 ||
   20961   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20962 
   20963 
   20964 # configure is writing to config.log, and then calls config.status.
   20965 # config.status does its own redirection, appending to config.log.
   20966 # Unfortunately, on DOS this fails, as config.log is still kept open
   20967 # by configure, so config.status won't be able to write to it; its
   20968 # output is simply discarded.  So we exec the FD to /dev/null,
   20969 # effectively closing config.log, so it can be properly (re)opened and
   20970 # appended to by config.status.  When coming back to configure, we
   20971 # need to make the FD available again.
   20972 if test "$no_create" != yes; then
   20973   ac_cs_success=:
   20974   ac_config_status_args=
   20975   test "$silent" = yes &&
   20976     ac_config_status_args="$ac_config_status_args --quiet"
   20977   exec 5>/dev/null
   20978   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20979   exec 5>>config.log
   20980   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20981   # would make configure fail if this is the last instruction.
   20982   $ac_cs_success || as_fn_exit 1
   20983 fi
   20984 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20985   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20986 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20987 fi
   20988 
   20989