Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXTrap 1.0.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='libXTrap'
    593 PACKAGE_TARNAME='libXTrap'
    594 PACKAGE_VERSION='1.0.1'
    595 PACKAGE_STRING='libXTrap 1.0.1'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 # Factoring default headers for most tests.
    600 ac_includes_default="\
    601 #include <stdio.h>
    602 #ifdef HAVE_SYS_TYPES_H
    603 # include <sys/types.h>
    604 #endif
    605 #ifdef HAVE_SYS_STAT_H
    606 # include <sys/stat.h>
    607 #endif
    608 #ifdef STDC_HEADERS
    609 # include <stdlib.h>
    610 # include <stddef.h>
    611 #else
    612 # ifdef HAVE_STDLIB_H
    613 #  include <stdlib.h>
    614 # endif
    615 #endif
    616 #ifdef HAVE_STRING_H
    617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    618 #  include <memory.h>
    619 # endif
    620 # include <string.h>
    621 #endif
    622 #ifdef HAVE_STRINGS_H
    623 # include <strings.h>
    624 #endif
    625 #ifdef HAVE_INTTYPES_H
    626 # include <inttypes.h>
    627 #endif
    628 #ifdef HAVE_STDINT_H
    629 # include <stdint.h>
    630 #endif
    631 #ifdef HAVE_UNISTD_H
    632 # include <unistd.h>
    633 #endif"
    634 
    635 ac_subst_vars='am__EXEEXT_FALSE
    636 am__EXEEXT_TRUE
    637 LTLIBOBJS
    638 LIBOBJS
    639 CHANGELOG_CMD
    640 XTRAP_LIBS
    641 XTRAP_CFLAGS
    642 PKG_CONFIG_LIBDIR
    643 PKG_CONFIG_PATH
    644 PKG_CONFIG
    645 BASE_CFLAGS
    646 CPP
    647 OTOOL64
    648 OTOOL
    649 LIPO
    650 NMEDIT
    651 DSYMUTIL
    652 MANIFEST_TOOL
    653 RANLIB
    654 ac_ct_AR
    655 AR
    656 DLLTOOL
    657 OBJDUMP
    658 LN_S
    659 NM
    660 ac_ct_DUMPBIN
    661 DUMPBIN
    662 LD
    663 FGREP
    664 EGREP
    665 GREP
    666 SED
    667 host_os
    668 host_vendor
    669 host_cpu
    670 host
    671 build_os
    672 build_vendor
    673 build_cpu
    674 build
    675 LIBTOOL
    676 am__fastdepCC_FALSE
    677 am__fastdepCC_TRUE
    678 CCDEPMODE
    679 am__nodep
    680 AMDEPBACKSLASH
    681 AMDEP_FALSE
    682 AMDEP_TRUE
    683 am__quote
    684 am__include
    685 DEPDIR
    686 OBJEXT
    687 EXEEXT
    688 ac_ct_CC
    689 CPPFLAGS
    690 LDFLAGS
    691 CFLAGS
    692 CC
    693 MAINT
    694 MAINTAINER_MODE_FALSE
    695 MAINTAINER_MODE_TRUE
    696 AM_BACKSLASH
    697 AM_DEFAULT_VERBOSITY
    698 AM_DEFAULT_V
    699 AM_V
    700 am__untar
    701 am__tar
    702 AMTAR
    703 am__leading_dot
    704 SET_MAKE
    705 AWK
    706 mkdir_p
    707 MKDIR_P
    708 INSTALL_STRIP_PROGRAM
    709 STRIP
    710 install_sh
    711 MAKEINFO
    712 AUTOHEADER
    713 AUTOMAKE
    714 AUTOCONF
    715 ACLOCAL
    716 VERSION
    717 PACKAGE
    718 CYGPATH_W
    719 am__isrc
    720 INSTALL_DATA
    721 INSTALL_SCRIPT
    722 INSTALL_PROGRAM
    723 target_alias
    724 host_alias
    725 build_alias
    726 LIBS
    727 ECHO_T
    728 ECHO_N
    729 ECHO_C
    730 DEFS
    731 mandir
    732 localedir
    733 libdir
    734 psdir
    735 pdfdir
    736 dvidir
    737 htmldir
    738 infodir
    739 docdir
    740 oldincludedir
    741 includedir
    742 localstatedir
    743 sharedstatedir
    744 sysconfdir
    745 datadir
    746 datarootdir
    747 libexecdir
    748 sbindir
    749 bindir
    750 program_transform_name
    751 prefix
    752 exec_prefix
    753 PACKAGE_URL
    754 PACKAGE_BUGREPORT
    755 PACKAGE_STRING
    756 PACKAGE_VERSION
    757 PACKAGE_TARNAME
    758 PACKAGE_NAME
    759 PATH_SEPARATOR
    760 SHELL'
    761 ac_subst_files=''
    762 ac_user_opts='
    763 enable_option_checking
    764 enable_silent_rules
    765 enable_maintainer_mode
    766 enable_dependency_tracking
    767 enable_shared
    768 enable_static
    769 with_pic
    770 enable_fast_install
    771 with_gnu_ld
    772 with_sysroot
    773 enable_libtool_lock
    774 enable_selective_werror
    775 '
    776       ac_precious_vars='build_alias
    777 host_alias
    778 target_alias
    779 CC
    780 CFLAGS
    781 LDFLAGS
    782 LIBS
    783 CPPFLAGS
    784 CPP
    785 PKG_CONFIG
    786 PKG_CONFIG_PATH
    787 PKG_CONFIG_LIBDIR
    788 XTRAP_CFLAGS
    789 XTRAP_LIBS'
    790 
    791 
    792 # Initialize some variables set by options.
    793 ac_init_help=
    794 ac_init_version=false
    795 ac_unrecognized_opts=
    796 ac_unrecognized_sep=
    797 # The variables have the same names as the options, with
    798 # dashes changed to underlines.
    799 cache_file=/dev/null
    800 exec_prefix=NONE
    801 no_create=
    802 no_recursion=
    803 prefix=NONE
    804 program_prefix=NONE
    805 program_suffix=NONE
    806 program_transform_name=s,x,x,
    807 silent=
    808 site=
    809 srcdir=
    810 verbose=
    811 x_includes=NONE
    812 x_libraries=NONE
    813 
    814 # Installation directory options.
    815 # These are left unexpanded so users can "make install exec_prefix=/foo"
    816 # and all the variables that are supposed to be based on exec_prefix
    817 # by default will actually change.
    818 # Use braces instead of parens because sh, perl, etc. also accept them.
    819 # (The list follows the same order as the GNU Coding Standards.)
    820 bindir='${exec_prefix}/bin'
    821 sbindir='${exec_prefix}/sbin'
    822 libexecdir='${exec_prefix}/libexec'
    823 datarootdir='${prefix}/share'
    824 datadir='${datarootdir}'
    825 sysconfdir='${prefix}/etc'
    826 sharedstatedir='${prefix}/com'
    827 localstatedir='${prefix}/var'
    828 includedir='${prefix}/include'
    829 oldincludedir='/usr/include'
    830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    831 infodir='${datarootdir}/info'
    832 htmldir='${docdir}'
    833 dvidir='${docdir}'
    834 pdfdir='${docdir}'
    835 psdir='${docdir}'
    836 libdir='${exec_prefix}/lib'
    837 localedir='${datarootdir}/locale'
    838 mandir='${datarootdir}/man'
    839 
    840 ac_prev=
    841 ac_dashdash=
    842 for ac_option
    843 do
    844   # If the previous option needs an argument, assign it.
    845   if test -n "$ac_prev"; then
    846     eval $ac_prev=\$ac_option
    847     ac_prev=
    848     continue
    849   fi
    850 
    851   case $ac_option in
    852   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    853   *=)   ac_optarg= ;;
    854   *)    ac_optarg=yes ;;
    855   esac
    856 
    857   # Accept the important Cygnus configure options, so we can diagnose typos.
    858 
    859   case $ac_dashdash$ac_option in
    860   --)
    861     ac_dashdash=yes ;;
    862 
    863   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    864     ac_prev=bindir ;;
    865   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    866     bindir=$ac_optarg ;;
    867 
    868   -build | --build | --buil | --bui | --bu)
    869     ac_prev=build_alias ;;
    870   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    871     build_alias=$ac_optarg ;;
    872 
    873   -cache-file | --cache-file | --cache-fil | --cache-fi \
    874   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    875     ac_prev=cache_file ;;
    876   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    877   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    878     cache_file=$ac_optarg ;;
    879 
    880   --config-cache | -C)
    881     cache_file=config.cache ;;
    882 
    883   -datadir | --datadir | --datadi | --datad)
    884     ac_prev=datadir ;;
    885   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    886     datadir=$ac_optarg ;;
    887 
    888   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    889   | --dataroo | --dataro | --datar)
    890     ac_prev=datarootdir ;;
    891   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    892   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    893     datarootdir=$ac_optarg ;;
    894 
    895   -disable-* | --disable-*)
    896     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    897     # Reject names that are not valid shell variable names.
    898     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    899       as_fn_error $? "invalid feature name: $ac_useropt"
    900     ac_useropt_orig=$ac_useropt
    901     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    902     case $ac_user_opts in
    903       *"
    904 "enable_$ac_useropt"
    905 "*) ;;
    906       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    907 	 ac_unrecognized_sep=', ';;
    908     esac
    909     eval enable_$ac_useropt=no ;;
    910 
    911   -docdir | --docdir | --docdi | --doc | --do)
    912     ac_prev=docdir ;;
    913   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    914     docdir=$ac_optarg ;;
    915 
    916   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    917     ac_prev=dvidir ;;
    918   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    919     dvidir=$ac_optarg ;;
    920 
    921   -enable-* | --enable-*)
    922     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    923     # Reject names that are not valid shell variable names.
    924     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    925       as_fn_error $? "invalid feature name: $ac_useropt"
    926     ac_useropt_orig=$ac_useropt
    927     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    928     case $ac_user_opts in
    929       *"
    930 "enable_$ac_useropt"
    931 "*) ;;
    932       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    933 	 ac_unrecognized_sep=', ';;
    934     esac
    935     eval enable_$ac_useropt=\$ac_optarg ;;
    936 
    937   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    938   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    939   | --exec | --exe | --ex)
    940     ac_prev=exec_prefix ;;
    941   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    942   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    943   | --exec=* | --exe=* | --ex=*)
    944     exec_prefix=$ac_optarg ;;
    945 
    946   -gas | --gas | --ga | --g)
    947     # Obsolete; use --with-gas.
    948     with_gas=yes ;;
    949 
    950   -help | --help | --hel | --he | -h)
    951     ac_init_help=long ;;
    952   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    953     ac_init_help=recursive ;;
    954   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    955     ac_init_help=short ;;
    956 
    957   -host | --host | --hos | --ho)
    958     ac_prev=host_alias ;;
    959   -host=* | --host=* | --hos=* | --ho=*)
    960     host_alias=$ac_optarg ;;
    961 
    962   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    963     ac_prev=htmldir ;;
    964   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    965   | --ht=*)
    966     htmldir=$ac_optarg ;;
    967 
    968   -includedir | --includedir | --includedi | --included | --include \
    969   | --includ | --inclu | --incl | --inc)
    970     ac_prev=includedir ;;
    971   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    972   | --includ=* | --inclu=* | --incl=* | --inc=*)
    973     includedir=$ac_optarg ;;
    974 
    975   -infodir | --infodir | --infodi | --infod | --info | --inf)
    976     ac_prev=infodir ;;
    977   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    978     infodir=$ac_optarg ;;
    979 
    980   -libdir | --libdir | --libdi | --libd)
    981     ac_prev=libdir ;;
    982   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    983     libdir=$ac_optarg ;;
    984 
    985   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    986   | --libexe | --libex | --libe)
    987     ac_prev=libexecdir ;;
    988   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    989   | --libexe=* | --libex=* | --libe=*)
    990     libexecdir=$ac_optarg ;;
    991 
    992   -localedir | --localedir | --localedi | --localed | --locale)
    993     ac_prev=localedir ;;
    994   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    995     localedir=$ac_optarg ;;
    996 
    997   -localstatedir | --localstatedir | --localstatedi | --localstated \
    998   | --localstate | --localstat | --localsta | --localst | --locals)
    999     ac_prev=localstatedir ;;
   1000   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1001   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1002     localstatedir=$ac_optarg ;;
   1003 
   1004   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1005     ac_prev=mandir ;;
   1006   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1007     mandir=$ac_optarg ;;
   1008 
   1009   -nfp | --nfp | --nf)
   1010     # Obsolete; use --without-fp.
   1011     with_fp=no ;;
   1012 
   1013   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1014   | --no-cr | --no-c | -n)
   1015     no_create=yes ;;
   1016 
   1017   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1018   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1019     no_recursion=yes ;;
   1020 
   1021   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1022   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1023   | --oldin | --oldi | --old | --ol | --o)
   1024     ac_prev=oldincludedir ;;
   1025   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1026   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1027   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1028     oldincludedir=$ac_optarg ;;
   1029 
   1030   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1031     ac_prev=prefix ;;
   1032   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1033     prefix=$ac_optarg ;;
   1034 
   1035   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1036   | --program-pre | --program-pr | --program-p)
   1037     ac_prev=program_prefix ;;
   1038   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1039   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1040     program_prefix=$ac_optarg ;;
   1041 
   1042   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1043   | --program-suf | --program-su | --program-s)
   1044     ac_prev=program_suffix ;;
   1045   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1046   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1047     program_suffix=$ac_optarg ;;
   1048 
   1049   -program-transform-name | --program-transform-name \
   1050   | --program-transform-nam | --program-transform-na \
   1051   | --program-transform-n | --program-transform- \
   1052   | --program-transform | --program-transfor \
   1053   | --program-transfo | --program-transf \
   1054   | --program-trans | --program-tran \
   1055   | --progr-tra | --program-tr | --program-t)
   1056     ac_prev=program_transform_name ;;
   1057   -program-transform-name=* | --program-transform-name=* \
   1058   | --program-transform-nam=* | --program-transform-na=* \
   1059   | --program-transform-n=* | --program-transform-=* \
   1060   | --program-transform=* | --program-transfor=* \
   1061   | --program-transfo=* | --program-transf=* \
   1062   | --program-trans=* | --program-tran=* \
   1063   | --progr-tra=* | --program-tr=* | --program-t=*)
   1064     program_transform_name=$ac_optarg ;;
   1065 
   1066   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1067     ac_prev=pdfdir ;;
   1068   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1069     pdfdir=$ac_optarg ;;
   1070 
   1071   -psdir | --psdir | --psdi | --psd | --ps)
   1072     ac_prev=psdir ;;
   1073   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1074     psdir=$ac_optarg ;;
   1075 
   1076   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1077   | -silent | --silent | --silen | --sile | --sil)
   1078     silent=yes ;;
   1079 
   1080   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1081     ac_prev=sbindir ;;
   1082   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1083   | --sbi=* | --sb=*)
   1084     sbindir=$ac_optarg ;;
   1085 
   1086   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1087   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1088   | --sharedst | --shareds | --shared | --share | --shar \
   1089   | --sha | --sh)
   1090     ac_prev=sharedstatedir ;;
   1091   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1092   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1093   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1094   | --sha=* | --sh=*)
   1095     sharedstatedir=$ac_optarg ;;
   1096 
   1097   -site | --site | --sit)
   1098     ac_prev=site ;;
   1099   -site=* | --site=* | --sit=*)
   1100     site=$ac_optarg ;;
   1101 
   1102   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1103     ac_prev=srcdir ;;
   1104   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1105     srcdir=$ac_optarg ;;
   1106 
   1107   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1108   | --syscon | --sysco | --sysc | --sys | --sy)
   1109     ac_prev=sysconfdir ;;
   1110   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1111   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1112     sysconfdir=$ac_optarg ;;
   1113 
   1114   -target | --target | --targe | --targ | --tar | --ta | --t)
   1115     ac_prev=target_alias ;;
   1116   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1117     target_alias=$ac_optarg ;;
   1118 
   1119   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1120     verbose=yes ;;
   1121 
   1122   -version | --version | --versio | --versi | --vers | -V)
   1123     ac_init_version=: ;;
   1124 
   1125   -with-* | --with-*)
   1126     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1127     # Reject names that are not valid shell variable names.
   1128     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1129       as_fn_error $? "invalid package name: $ac_useropt"
   1130     ac_useropt_orig=$ac_useropt
   1131     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1132     case $ac_user_opts in
   1133       *"
   1134 "with_$ac_useropt"
   1135 "*) ;;
   1136       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1137 	 ac_unrecognized_sep=', ';;
   1138     esac
   1139     eval with_$ac_useropt=\$ac_optarg ;;
   1140 
   1141   -without-* | --without-*)
   1142     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1143     # Reject names that are not valid shell variable names.
   1144     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1145       as_fn_error $? "invalid package name: $ac_useropt"
   1146     ac_useropt_orig=$ac_useropt
   1147     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1148     case $ac_user_opts in
   1149       *"
   1150 "with_$ac_useropt"
   1151 "*) ;;
   1152       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1153 	 ac_unrecognized_sep=', ';;
   1154     esac
   1155     eval with_$ac_useropt=no ;;
   1156 
   1157   --x)
   1158     # Obsolete; use --with-x.
   1159     with_x=yes ;;
   1160 
   1161   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1162   | --x-incl | --x-inc | --x-in | --x-i)
   1163     ac_prev=x_includes ;;
   1164   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1165   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1166     x_includes=$ac_optarg ;;
   1167 
   1168   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1169   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1170     ac_prev=x_libraries ;;
   1171   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1172   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1173     x_libraries=$ac_optarg ;;
   1174 
   1175   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1176 Try \`$0 --help' for more information"
   1177     ;;
   1178 
   1179   *=*)
   1180     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1181     # Reject names that are not valid shell variable names.
   1182     case $ac_envvar in #(
   1183       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1184       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1185     esac
   1186     eval $ac_envvar=\$ac_optarg
   1187     export $ac_envvar ;;
   1188 
   1189   *)
   1190     # FIXME: should be removed in autoconf 3.0.
   1191     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1192     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1193       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1194     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1195     ;;
   1196 
   1197   esac
   1198 done
   1199 
   1200 if test -n "$ac_prev"; then
   1201   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1202   as_fn_error $? "missing argument to $ac_option"
   1203 fi
   1204 
   1205 if test -n "$ac_unrecognized_opts"; then
   1206   case $enable_option_checking in
   1207     no) ;;
   1208     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1209     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1210   esac
   1211 fi
   1212 
   1213 # Check all directory arguments for consistency.
   1214 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1215 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1216 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1217 		libdir localedir mandir
   1218 do
   1219   eval ac_val=\$$ac_var
   1220   # Remove trailing slashes.
   1221   case $ac_val in
   1222     */ )
   1223       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1224       eval $ac_var=\$ac_val;;
   1225   esac
   1226   # Be sure to have absolute directory names.
   1227   case $ac_val in
   1228     [\\/$]* | ?:[\\/]* )  continue;;
   1229     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1230   esac
   1231   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1232 done
   1233 
   1234 # There might be people who depend on the old broken behavior: `$host'
   1235 # used to hold the argument of --host etc.
   1236 # FIXME: To remove some day.
   1237 build=$build_alias
   1238 host=$host_alias
   1239 target=$target_alias
   1240 
   1241 # FIXME: To remove some day.
   1242 if test "x$host_alias" != x; then
   1243   if test "x$build_alias" = x; then
   1244     cross_compiling=maybe
   1245   elif test "x$build_alias" != "x$host_alias"; then
   1246     cross_compiling=yes
   1247   fi
   1248 fi
   1249 
   1250 ac_tool_prefix=
   1251 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1252 
   1253 test "$silent" = yes && exec 6>/dev/null
   1254 
   1255 
   1256 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1257 ac_ls_di=`ls -di .` &&
   1258 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1259   as_fn_error $? "working directory cannot be determined"
   1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1261   as_fn_error $? "pwd does not report name of working directory"
   1262 
   1263 
   1264 # Find the source files, if location was not specified.
   1265 if test -z "$srcdir"; then
   1266   ac_srcdir_defaulted=yes
   1267   # Try the directory containing this script, then the parent directory.
   1268   ac_confdir=`$as_dirname -- "$as_myself" ||
   1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1270 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1271 	 X"$as_myself" : 'X\(//\)$' \| \
   1272 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1273 $as_echo X"$as_myself" |
   1274     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1275 	    s//\1/
   1276 	    q
   1277 	  }
   1278 	  /^X\(\/\/\)[^/].*/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\/\)$/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  /^X\(\/\).*/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  s/.*/./; q'`
   1291   srcdir=$ac_confdir
   1292   if test ! -r "$srcdir/$ac_unique_file"; then
   1293     srcdir=..
   1294   fi
   1295 else
   1296   ac_srcdir_defaulted=no
   1297 fi
   1298 if test ! -r "$srcdir/$ac_unique_file"; then
   1299   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1300   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1301 fi
   1302 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1303 ac_abs_confdir=`(
   1304 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1305 	pwd)`
   1306 # When building in place, set srcdir=.
   1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1308   srcdir=.
   1309 fi
   1310 # Remove unnecessary trailing slashes from srcdir.
   1311 # Double slashes in file names in object file debugging info
   1312 # mess up M-x gdb in Emacs.
   1313 case $srcdir in
   1314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1315 esac
   1316 for ac_var in $ac_precious_vars; do
   1317   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1318   eval ac_env_${ac_var}_value=\$${ac_var}
   1319   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1320   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1321 done
   1322 
   1323 #
   1324 # Report the --help message.
   1325 #
   1326 if test "$ac_init_help" = "long"; then
   1327   # Omit some internal or obsolete options to make the list less imposing.
   1328   # This message is too long to be a string in the A/UX 3.1 sh.
   1329   cat <<_ACEOF
   1330 \`configure' configures libXTrap 1.0.1 to adapt to many kinds of systems.
   1331 
   1332 Usage: $0 [OPTION]... [VAR=VALUE]...
   1333 
   1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1335 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1336 
   1337 Defaults for the options are specified in brackets.
   1338 
   1339 Configuration:
   1340   -h, --help              display this help and exit
   1341       --help=short        display options specific to this package
   1342       --help=recursive    display the short help of all the included packages
   1343   -V, --version           display version information and exit
   1344   -q, --quiet, --silent   do not print \`checking ...' messages
   1345       --cache-file=FILE   cache test results in FILE [disabled]
   1346   -C, --config-cache      alias for \`--cache-file=config.cache'
   1347   -n, --no-create         do not create output files
   1348       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1349 
   1350 Installation directories:
   1351   --prefix=PREFIX         install architecture-independent files in PREFIX
   1352                           [$ac_default_prefix]
   1353   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1354                           [PREFIX]
   1355 
   1356 By default, \`make install' will install all the files in
   1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1359 for instance \`--prefix=\$HOME'.
   1360 
   1361 For better control, use the options below.
   1362 
   1363 Fine tuning of the installation directories:
   1364   --bindir=DIR            user executables [EPREFIX/bin]
   1365   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1366   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1367   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1368   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1369   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1370   --libdir=DIR            object code libraries [EPREFIX/lib]
   1371   --includedir=DIR        C header files [PREFIX/include]
   1372   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1373   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1374   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1375   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1376   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1377   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1378   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXTrap]
   1379   --htmldir=DIR           html documentation [DOCDIR]
   1380   --dvidir=DIR            dvi documentation [DOCDIR]
   1381   --pdfdir=DIR            pdf documentation [DOCDIR]
   1382   --psdir=DIR             ps documentation [DOCDIR]
   1383 _ACEOF
   1384 
   1385   cat <<\_ACEOF
   1386 
   1387 Program names:
   1388   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1389   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1390   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1391 
   1392 System types:
   1393   --build=BUILD     configure for building on BUILD [guessed]
   1394   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1395 _ACEOF
   1396 fi
   1397 
   1398 if test -n "$ac_init_help"; then
   1399   case $ac_init_help in
   1400      short | recursive ) echo "Configuration of libXTrap 1.0.1:";;
   1401    esac
   1402   cat <<\_ACEOF
   1403 
   1404 Optional Features:
   1405   --disable-option-checking  ignore unrecognized --enable/--with options
   1406   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1407   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1408   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1409   --disable-silent-rules  verbose build output (undo: "make V=0")
   1410   --enable-maintainer-mode
   1411                           enable make rules and dependencies not useful (and
   1412                           sometimes confusing) to the casual installer
   1413   --enable-dependency-tracking
   1414                           do not reject slow dependency extractors
   1415   --disable-dependency-tracking
   1416                           speeds up one-time build
   1417   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1418   --enable-static[=PKGS]  build static libraries [default=yes]
   1419   --enable-fast-install[=PKGS]
   1420                           optimize for fast installation [default=yes]
   1421   --disable-libtool-lock  avoid locking (might break parallel builds)
   1422   --disable-selective-werror
   1423                           Turn off selective compiler errors. (default:
   1424                           enabled)
   1425 
   1426 Optional Packages:
   1427   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1428   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1429   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1430                           both]
   1431   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1432   --with-sysroot=DIR Search for dependent libraries within DIR
   1433                         (or the compiler's sysroot if not specified).
   1434 
   1435 Some influential environment variables:
   1436   CC          C compiler command
   1437   CFLAGS      C compiler flags
   1438   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1439               nonstandard directory <lib dir>
   1440   LIBS        libraries to pass to the linker, e.g. -l<library>
   1441   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1442               you have headers in a nonstandard directory <include dir>
   1443   CPP         C preprocessor
   1444   PKG_CONFIG  path to pkg-config utility
   1445   PKG_CONFIG_PATH
   1446               directories to add to pkg-config's search path
   1447   PKG_CONFIG_LIBDIR
   1448               path overriding pkg-config's built-in search path
   1449   XTRAP_CFLAGS
   1450               C compiler flags for XTRAP, overriding pkg-config
   1451   XTRAP_LIBS  linker flags for XTRAP, overriding pkg-config
   1452 
   1453 Use these variables to override the choices made by `configure' or to help
   1454 it to find libraries and programs with nonstandard names/locations.
   1455 
   1456 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1457 _ACEOF
   1458 ac_status=$?
   1459 fi
   1460 
   1461 if test "$ac_init_help" = "recursive"; then
   1462   # If there are subdirs, report their specific --help.
   1463   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1464     test -d "$ac_dir" ||
   1465       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1466       continue
   1467     ac_builddir=.
   1468 
   1469 case "$ac_dir" in
   1470 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1471 *)
   1472   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1473   # A ".." for each directory in $ac_dir_suffix.
   1474   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1475   case $ac_top_builddir_sub in
   1476   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1477   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1478   esac ;;
   1479 esac
   1480 ac_abs_top_builddir=$ac_pwd
   1481 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1482 # for backward compatibility:
   1483 ac_top_builddir=$ac_top_build_prefix
   1484 
   1485 case $srcdir in
   1486   .)  # We are building in place.
   1487     ac_srcdir=.
   1488     ac_top_srcdir=$ac_top_builddir_sub
   1489     ac_abs_top_srcdir=$ac_pwd ;;
   1490   [\\/]* | ?:[\\/]* )  # Absolute name.
   1491     ac_srcdir=$srcdir$ac_dir_suffix;
   1492     ac_top_srcdir=$srcdir
   1493     ac_abs_top_srcdir=$srcdir ;;
   1494   *) # Relative name.
   1495     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1496     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1497     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1498 esac
   1499 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1500 
   1501     cd "$ac_dir" || { ac_status=$?; continue; }
   1502     # Check for guested configure.
   1503     if test -f "$ac_srcdir/configure.gnu"; then
   1504       echo &&
   1505       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1506     elif test -f "$ac_srcdir/configure"; then
   1507       echo &&
   1508       $SHELL "$ac_srcdir/configure" --help=recursive
   1509     else
   1510       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1511     fi || ac_status=$?
   1512     cd "$ac_pwd" || { ac_status=$?; break; }
   1513   done
   1514 fi
   1515 
   1516 test -n "$ac_init_help" && exit $ac_status
   1517 if $ac_init_version; then
   1518   cat <<\_ACEOF
   1519 libXTrap configure 1.0.1
   1520 generated by GNU Autoconf 2.69
   1521 
   1522 Copyright (C) 2012 Free Software Foundation, Inc.
   1523 This configure script is free software; the Free Software Foundation
   1524 gives unlimited permission to copy, distribute and modify it.
   1525 _ACEOF
   1526   exit
   1527 fi
   1528 
   1529 ## ------------------------ ##
   1530 ## Autoconf initialization. ##
   1531 ## ------------------------ ##
   1532 
   1533 # ac_fn_c_try_compile LINENO
   1534 # --------------------------
   1535 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1536 ac_fn_c_try_compile ()
   1537 {
   1538   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1539   rm -f conftest.$ac_objext
   1540   if { { ac_try="$ac_compile"
   1541 case "(($ac_try" in
   1542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1543   *) ac_try_echo=$ac_try;;
   1544 esac
   1545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1546 $as_echo "$ac_try_echo"; } >&5
   1547   (eval "$ac_compile") 2>conftest.err
   1548   ac_status=$?
   1549   if test -s conftest.err; then
   1550     grep -v '^ *+' conftest.err >conftest.er1
   1551     cat conftest.er1 >&5
   1552     mv -f conftest.er1 conftest.err
   1553   fi
   1554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1555   test $ac_status = 0; } && {
   1556 	 test -z "$ac_c_werror_flag" ||
   1557 	 test ! -s conftest.err
   1558        } && test -s conftest.$ac_objext; then :
   1559   ac_retval=0
   1560 else
   1561   $as_echo "$as_me: failed program was:" >&5
   1562 sed 's/^/| /' conftest.$ac_ext >&5
   1563 
   1564 	ac_retval=1
   1565 fi
   1566   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1567   as_fn_set_status $ac_retval
   1568 
   1569 } # ac_fn_c_try_compile
   1570 
   1571 # ac_fn_c_try_link LINENO
   1572 # -----------------------
   1573 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1574 ac_fn_c_try_link ()
   1575 {
   1576   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1577   rm -f conftest.$ac_objext conftest$ac_exeext
   1578   if { { ac_try="$ac_link"
   1579 case "(($ac_try" in
   1580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1581   *) ac_try_echo=$ac_try;;
   1582 esac
   1583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1584 $as_echo "$ac_try_echo"; } >&5
   1585   (eval "$ac_link") 2>conftest.err
   1586   ac_status=$?
   1587   if test -s conftest.err; then
   1588     grep -v '^ *+' conftest.err >conftest.er1
   1589     cat conftest.er1 >&5
   1590     mv -f conftest.er1 conftest.err
   1591   fi
   1592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1593   test $ac_status = 0; } && {
   1594 	 test -z "$ac_c_werror_flag" ||
   1595 	 test ! -s conftest.err
   1596        } && test -s conftest$ac_exeext && {
   1597 	 test "$cross_compiling" = yes ||
   1598 	 test -x conftest$ac_exeext
   1599        }; then :
   1600   ac_retval=0
   1601 else
   1602   $as_echo "$as_me: failed program was:" >&5
   1603 sed 's/^/| /' conftest.$ac_ext >&5
   1604 
   1605 	ac_retval=1
   1606 fi
   1607   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1608   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1609   # interfere with the next link command; also delete a directory that is
   1610   # left behind by Apple's compiler.  We do this before executing the actions.
   1611   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1612   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1613   as_fn_set_status $ac_retval
   1614 
   1615 } # ac_fn_c_try_link
   1616 
   1617 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1618 # -------------------------------------------------------
   1619 # Tests whether HEADER exists and can be compiled using the include files in
   1620 # INCLUDES, setting the cache variable VAR accordingly.
   1621 ac_fn_c_check_header_compile ()
   1622 {
   1623   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1625 $as_echo_n "checking for $2... " >&6; }
   1626 if eval \${$3+:} false; then :
   1627   $as_echo_n "(cached) " >&6
   1628 else
   1629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1630 /* end confdefs.h.  */
   1631 $4
   1632 #include <$2>
   1633 _ACEOF
   1634 if ac_fn_c_try_compile "$LINENO"; then :
   1635   eval "$3=yes"
   1636 else
   1637   eval "$3=no"
   1638 fi
   1639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1640 fi
   1641 eval ac_res=\$$3
   1642 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1643 $as_echo "$ac_res" >&6; }
   1644   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1645 
   1646 } # ac_fn_c_check_header_compile
   1647 
   1648 # ac_fn_c_try_cpp LINENO
   1649 # ----------------------
   1650 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1651 ac_fn_c_try_cpp ()
   1652 {
   1653   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1654   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1655 case "(($ac_try" in
   1656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1657   *) ac_try_echo=$ac_try;;
   1658 esac
   1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1660 $as_echo "$ac_try_echo"; } >&5
   1661   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1662   ac_status=$?
   1663   if test -s conftest.err; then
   1664     grep -v '^ *+' conftest.err >conftest.er1
   1665     cat conftest.er1 >&5
   1666     mv -f conftest.er1 conftest.err
   1667   fi
   1668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1669   test $ac_status = 0; } > conftest.i && {
   1670 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1671 	 test ! -s conftest.err
   1672        }; then :
   1673   ac_retval=0
   1674 else
   1675   $as_echo "$as_me: failed program was:" >&5
   1676 sed 's/^/| /' conftest.$ac_ext >&5
   1677 
   1678     ac_retval=1
   1679 fi
   1680   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1681   as_fn_set_status $ac_retval
   1682 
   1683 } # ac_fn_c_try_cpp
   1684 
   1685 # ac_fn_c_try_run LINENO
   1686 # ----------------------
   1687 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1688 # that executables *can* be run.
   1689 ac_fn_c_try_run ()
   1690 {
   1691   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1692   if { { ac_try="$ac_link"
   1693 case "(($ac_try" in
   1694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1695   *) ac_try_echo=$ac_try;;
   1696 esac
   1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1698 $as_echo "$ac_try_echo"; } >&5
   1699   (eval "$ac_link") 2>&5
   1700   ac_status=$?
   1701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1702   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1703   { { case "(($ac_try" in
   1704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1705   *) ac_try_echo=$ac_try;;
   1706 esac
   1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1708 $as_echo "$ac_try_echo"; } >&5
   1709   (eval "$ac_try") 2>&5
   1710   ac_status=$?
   1711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1712   test $ac_status = 0; }; }; then :
   1713   ac_retval=0
   1714 else
   1715   $as_echo "$as_me: program exited with status $ac_status" >&5
   1716        $as_echo "$as_me: failed program was:" >&5
   1717 sed 's/^/| /' conftest.$ac_ext >&5
   1718 
   1719        ac_retval=$ac_status
   1720 fi
   1721   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1722   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1723   as_fn_set_status $ac_retval
   1724 
   1725 } # ac_fn_c_try_run
   1726 
   1727 # ac_fn_c_check_func LINENO FUNC VAR
   1728 # ----------------------------------
   1729 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1730 ac_fn_c_check_func ()
   1731 {
   1732   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1734 $as_echo_n "checking for $2... " >&6; }
   1735 if eval \${$3+:} false; then :
   1736   $as_echo_n "(cached) " >&6
   1737 else
   1738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1739 /* end confdefs.h.  */
   1740 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1741    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1742 #define $2 innocuous_$2
   1743 
   1744 /* System header to define __stub macros and hopefully few prototypes,
   1745     which can conflict with char $2 (); below.
   1746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1747     <limits.h> exists even on freestanding compilers.  */
   1748 
   1749 #ifdef __STDC__
   1750 # include <limits.h>
   1751 #else
   1752 # include <assert.h>
   1753 #endif
   1754 
   1755 #undef $2
   1756 
   1757 /* Override any GCC internal prototype to avoid an error.
   1758    Use char because int might match the return type of a GCC
   1759    builtin and then its argument prototype would still apply.  */
   1760 #ifdef __cplusplus
   1761 extern "C"
   1762 #endif
   1763 char $2 ();
   1764 /* The GNU C library defines this for functions which it implements
   1765     to always fail with ENOSYS.  Some functions are actually named
   1766     something starting with __ and the normal name is an alias.  */
   1767 #if defined __stub_$2 || defined __stub___$2
   1768 choke me
   1769 #endif
   1770 
   1771 int
   1772 main ()
   1773 {
   1774 return $2 ();
   1775   ;
   1776   return 0;
   1777 }
   1778 _ACEOF
   1779 if ac_fn_c_try_link "$LINENO"; then :
   1780   eval "$3=yes"
   1781 else
   1782   eval "$3=no"
   1783 fi
   1784 rm -f core conftest.err conftest.$ac_objext \
   1785     conftest$ac_exeext conftest.$ac_ext
   1786 fi
   1787 eval ac_res=\$$3
   1788 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1789 $as_echo "$ac_res" >&6; }
   1790   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1791 
   1792 } # ac_fn_c_check_func
   1793 
   1794 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1795 # ---------------------------------------------
   1796 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1797 # accordingly.
   1798 ac_fn_c_check_decl ()
   1799 {
   1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1801   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1802   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1804 $as_echo_n "checking whether $as_decl_name is declared... " >&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 int
   1812 main ()
   1813 {
   1814 #ifndef $as_decl_name
   1815 #ifdef __cplusplus
   1816   (void) $as_decl_use;
   1817 #else
   1818   (void) $as_decl_name;
   1819 #endif
   1820 #endif
   1821 
   1822   ;
   1823   return 0;
   1824 }
   1825 _ACEOF
   1826 if ac_fn_c_try_compile "$LINENO"; then :
   1827   eval "$3=yes"
   1828 else
   1829   eval "$3=no"
   1830 fi
   1831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1832 fi
   1833 eval ac_res=\$$3
   1834 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1835 $as_echo "$ac_res" >&6; }
   1836   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1837 
   1838 } # ac_fn_c_check_decl
   1839 cat >config.log <<_ACEOF
   1840 This file contains any messages produced by compilers while
   1841 running configure, to aid debugging if configure makes a mistake.
   1842 
   1843 It was created by libXTrap $as_me 1.0.1, which was
   1844 generated by GNU Autoconf 2.69.  Invocation command line was
   1845 
   1846   $ $0 $@
   1847 
   1848 _ACEOF
   1849 exec 5>>config.log
   1850 {
   1851 cat <<_ASUNAME
   1852 ## --------- ##
   1853 ## Platform. ##
   1854 ## --------- ##
   1855 
   1856 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1857 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1858 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1859 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1860 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1861 
   1862 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1863 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1864 
   1865 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1866 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1867 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1868 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1869 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1870 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1871 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1872 
   1873 _ASUNAME
   1874 
   1875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1876 for as_dir in $PATH
   1877 do
   1878   IFS=$as_save_IFS
   1879   test -z "$as_dir" && as_dir=.
   1880     $as_echo "PATH: $as_dir"
   1881   done
   1882 IFS=$as_save_IFS
   1883 
   1884 } >&5
   1885 
   1886 cat >&5 <<_ACEOF
   1887 
   1888 
   1889 ## ----------- ##
   1890 ## Core tests. ##
   1891 ## ----------- ##
   1892 
   1893 _ACEOF
   1894 
   1895 
   1896 # Keep a trace of the command line.
   1897 # Strip out --no-create and --no-recursion so they do not pile up.
   1898 # Strip out --silent because we don't want to record it for future runs.
   1899 # Also quote any args containing shell meta-characters.
   1900 # Make two passes to allow for proper duplicate-argument suppression.
   1901 ac_configure_args=
   1902 ac_configure_args0=
   1903 ac_configure_args1=
   1904 ac_must_keep_next=false
   1905 for ac_pass in 1 2
   1906 do
   1907   for ac_arg
   1908   do
   1909     case $ac_arg in
   1910     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1911     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1912     | -silent | --silent | --silen | --sile | --sil)
   1913       continue ;;
   1914     *\'*)
   1915       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1916     esac
   1917     case $ac_pass in
   1918     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1919     2)
   1920       as_fn_append ac_configure_args1 " '$ac_arg'"
   1921       if test $ac_must_keep_next = true; then
   1922 	ac_must_keep_next=false # Got value, back to normal.
   1923       else
   1924 	case $ac_arg in
   1925 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1926 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1927 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1928 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1929 	    case "$ac_configure_args0 " in
   1930 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1931 	    esac
   1932 	    ;;
   1933 	  -* ) ac_must_keep_next=true ;;
   1934 	esac
   1935       fi
   1936       as_fn_append ac_configure_args " '$ac_arg'"
   1937       ;;
   1938     esac
   1939   done
   1940 done
   1941 { ac_configure_args0=; unset ac_configure_args0;}
   1942 { ac_configure_args1=; unset ac_configure_args1;}
   1943 
   1944 # When interrupted or exit'd, cleanup temporary files, and complete
   1945 # config.log.  We remove comments because anyway the quotes in there
   1946 # would cause problems or look ugly.
   1947 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1948 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1949 trap 'exit_status=$?
   1950   # Save into config.log some information that might help in debugging.
   1951   {
   1952     echo
   1953 
   1954     $as_echo "## ---------------- ##
   1955 ## Cache variables. ##
   1956 ## ---------------- ##"
   1957     echo
   1958     # The following way of writing the cache mishandles newlines in values,
   1959 (
   1960   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1961     eval ac_val=\$$ac_var
   1962     case $ac_val in #(
   1963     *${as_nl}*)
   1964       case $ac_var in #(
   1965       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1966 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1967       esac
   1968       case $ac_var in #(
   1969       _ | IFS | as_nl) ;; #(
   1970       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1971       *) { eval $ac_var=; unset $ac_var;} ;;
   1972       esac ;;
   1973     esac
   1974   done
   1975   (set) 2>&1 |
   1976     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1977     *${as_nl}ac_space=\ *)
   1978       sed -n \
   1979 	"s/'\''/'\''\\\\'\'''\''/g;
   1980 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1981       ;; #(
   1982     *)
   1983       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1984       ;;
   1985     esac |
   1986     sort
   1987 )
   1988     echo
   1989 
   1990     $as_echo "## ----------------- ##
   1991 ## Output variables. ##
   1992 ## ----------------- ##"
   1993     echo
   1994     for ac_var in $ac_subst_vars
   1995     do
   1996       eval ac_val=\$$ac_var
   1997       case $ac_val in
   1998       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1999       esac
   2000       $as_echo "$ac_var='\''$ac_val'\''"
   2001     done | sort
   2002     echo
   2003 
   2004     if test -n "$ac_subst_files"; then
   2005       $as_echo "## ------------------- ##
   2006 ## File substitutions. ##
   2007 ## ------------------- ##"
   2008       echo
   2009       for ac_var in $ac_subst_files
   2010       do
   2011 	eval ac_val=\$$ac_var
   2012 	case $ac_val in
   2013 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2014 	esac
   2015 	$as_echo "$ac_var='\''$ac_val'\''"
   2016       done | sort
   2017       echo
   2018     fi
   2019 
   2020     if test -s confdefs.h; then
   2021       $as_echo "## ----------- ##
   2022 ## confdefs.h. ##
   2023 ## ----------- ##"
   2024       echo
   2025       cat confdefs.h
   2026       echo
   2027     fi
   2028     test "$ac_signal" != 0 &&
   2029       $as_echo "$as_me: caught signal $ac_signal"
   2030     $as_echo "$as_me: exit $exit_status"
   2031   } >&5
   2032   rm -f core *.core core.conftest.* &&
   2033     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2034     exit $exit_status
   2035 ' 0
   2036 for ac_signal in 1 2 13 15; do
   2037   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2038 done
   2039 ac_signal=0
   2040 
   2041 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2042 rm -f -r conftest* confdefs.h
   2043 
   2044 $as_echo "/* confdefs.h */" > confdefs.h
   2045 
   2046 # Predefined preprocessor variables.
   2047 
   2048 cat >>confdefs.h <<_ACEOF
   2049 #define PACKAGE_NAME "$PACKAGE_NAME"
   2050 _ACEOF
   2051 
   2052 cat >>confdefs.h <<_ACEOF
   2053 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2054 _ACEOF
   2055 
   2056 cat >>confdefs.h <<_ACEOF
   2057 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2058 _ACEOF
   2059 
   2060 cat >>confdefs.h <<_ACEOF
   2061 #define PACKAGE_STRING "$PACKAGE_STRING"
   2062 _ACEOF
   2063 
   2064 cat >>confdefs.h <<_ACEOF
   2065 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2066 _ACEOF
   2067 
   2068 cat >>confdefs.h <<_ACEOF
   2069 #define PACKAGE_URL "$PACKAGE_URL"
   2070 _ACEOF
   2071 
   2072 
   2073 # Let the site file select an alternate cache file if it wants to.
   2074 # Prefer an explicitly selected file to automatically selected ones.
   2075 ac_site_file1=NONE
   2076 ac_site_file2=NONE
   2077 if test -n "$CONFIG_SITE"; then
   2078   # We do not want a PATH search for config.site.
   2079   case $CONFIG_SITE in #((
   2080     -*)  ac_site_file1=./$CONFIG_SITE;;
   2081     */*) ac_site_file1=$CONFIG_SITE;;
   2082     *)   ac_site_file1=./$CONFIG_SITE;;
   2083   esac
   2084 elif test "x$prefix" != xNONE; then
   2085   ac_site_file1=$prefix/share/config.site
   2086   ac_site_file2=$prefix/etc/config.site
   2087 else
   2088   ac_site_file1=$ac_default_prefix/share/config.site
   2089   ac_site_file2=$ac_default_prefix/etc/config.site
   2090 fi
   2091 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2092 do
   2093   test "x$ac_site_file" = xNONE && continue
   2094   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2095     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2096 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2097     sed 's/^/| /' "$ac_site_file" >&5
   2098     . "$ac_site_file" \
   2099       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2101 as_fn_error $? "failed to load site script $ac_site_file
   2102 See \`config.log' for more details" "$LINENO" 5; }
   2103   fi
   2104 done
   2105 
   2106 if test -r "$cache_file"; then
   2107   # Some versions of bash will fail to source /dev/null (special files
   2108   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2109   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2110     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2111 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2112     case $cache_file in
   2113       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2114       *)                      . "./$cache_file";;
   2115     esac
   2116   fi
   2117 else
   2118   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2119 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2120   >$cache_file
   2121 fi
   2122 
   2123 # Check that the precious variables saved in the cache have kept the same
   2124 # value.
   2125 ac_cache_corrupted=false
   2126 for ac_var in $ac_precious_vars; do
   2127   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2128   eval ac_new_set=\$ac_env_${ac_var}_set
   2129   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2130   eval ac_new_val=\$ac_env_${ac_var}_value
   2131   case $ac_old_set,$ac_new_set in
   2132     set,)
   2133       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2134 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2135       ac_cache_corrupted=: ;;
   2136     ,set)
   2137       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2138 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2139       ac_cache_corrupted=: ;;
   2140     ,);;
   2141     *)
   2142       if test "x$ac_old_val" != "x$ac_new_val"; then
   2143 	# differences in whitespace do not lead to failure.
   2144 	ac_old_val_w=`echo x $ac_old_val`
   2145 	ac_new_val_w=`echo x $ac_new_val`
   2146 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2147 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2148 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2149 	  ac_cache_corrupted=:
   2150 	else
   2151 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2152 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2153 	  eval $ac_var=\$ac_old_val
   2154 	fi
   2155 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2156 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2157 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2158 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2159       fi;;
   2160   esac
   2161   # Pass precious variables to config.status.
   2162   if test "$ac_new_set" = set; then
   2163     case $ac_new_val in
   2164     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2165     *) ac_arg=$ac_var=$ac_new_val ;;
   2166     esac
   2167     case " $ac_configure_args " in
   2168       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2169       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2170     esac
   2171   fi
   2172 done
   2173 if $ac_cache_corrupted; then
   2174   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2176   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2177 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2178   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2179 fi
   2180 ## -------------------- ##
   2181 ## Main body of script. ##
   2182 ## -------------------- ##
   2183 
   2184 ac_ext=c
   2185 ac_cpp='$CPP $CPPFLAGS'
   2186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2189 
   2190 
   2191 am__api_version='1.13'
   2192 
   2193 ac_aux_dir=
   2194 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2195   if test -f "$ac_dir/install-sh"; then
   2196     ac_aux_dir=$ac_dir
   2197     ac_install_sh="$ac_aux_dir/install-sh -c"
   2198     break
   2199   elif test -f "$ac_dir/install.sh"; then
   2200     ac_aux_dir=$ac_dir
   2201     ac_install_sh="$ac_aux_dir/install.sh -c"
   2202     break
   2203   elif test -f "$ac_dir/shtool"; then
   2204     ac_aux_dir=$ac_dir
   2205     ac_install_sh="$ac_aux_dir/shtool install -c"
   2206     break
   2207   fi
   2208 done
   2209 if test -z "$ac_aux_dir"; then
   2210   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2211 fi
   2212 
   2213 # These three variables are undocumented and unsupported,
   2214 # and are intended to be withdrawn in a future Autoconf release.
   2215 # They can cause serious problems if a builder's source tree is in a directory
   2216 # whose full name contains unusual characters.
   2217 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2218 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2219 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2220 
   2221 
   2222 # Find a good install program.  We prefer a C program (faster),
   2223 # so one script is as good as another.  But avoid the broken or
   2224 # incompatible versions:
   2225 # SysV /etc/install, /usr/sbin/install
   2226 # SunOS /usr/etc/install
   2227 # IRIX /sbin/install
   2228 # AIX /bin/install
   2229 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2230 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2231 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2232 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2233 # OS/2's system install, which has a completely different semantic
   2234 # ./install, which can be erroneously created by make from ./install.sh.
   2235 # Reject install programs that cannot install multiple files.
   2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2237 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2238 if test -z "$INSTALL"; then
   2239 if ${ac_cv_path_install+:} false; then :
   2240   $as_echo_n "(cached) " >&6
   2241 else
   2242   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2243 for as_dir in $PATH
   2244 do
   2245   IFS=$as_save_IFS
   2246   test -z "$as_dir" && as_dir=.
   2247     # Account for people who put trailing slashes in PATH elements.
   2248 case $as_dir/ in #((
   2249   ./ | .// | /[cC]/* | \
   2250   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2251   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2252   /usr/ucb/* ) ;;
   2253   *)
   2254     # OSF1 and SCO ODT 3.0 have their own names for install.
   2255     # Don't use installbsd from OSF since it installs stuff as root
   2256     # by default.
   2257     for ac_prog in ginstall scoinst install; do
   2258       for ac_exec_ext in '' $ac_executable_extensions; do
   2259 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2260 	  if test $ac_prog = install &&
   2261 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2262 	    # AIX install.  It has an incompatible calling convention.
   2263 	    :
   2264 	  elif test $ac_prog = install &&
   2265 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2266 	    # program-specific install script used by HP pwplus--don't use.
   2267 	    :
   2268 	  else
   2269 	    rm -rf conftest.one conftest.two conftest.dir
   2270 	    echo one > conftest.one
   2271 	    echo two > conftest.two
   2272 	    mkdir conftest.dir
   2273 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2274 	      test -s conftest.one && test -s conftest.two &&
   2275 	      test -s conftest.dir/conftest.one &&
   2276 	      test -s conftest.dir/conftest.two
   2277 	    then
   2278 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2279 	      break 3
   2280 	    fi
   2281 	  fi
   2282 	fi
   2283       done
   2284     done
   2285     ;;
   2286 esac
   2287 
   2288   done
   2289 IFS=$as_save_IFS
   2290 
   2291 rm -rf conftest.one conftest.two conftest.dir
   2292 
   2293 fi
   2294   if test "${ac_cv_path_install+set}" = set; then
   2295     INSTALL=$ac_cv_path_install
   2296   else
   2297     # As a last resort, use the slow shell script.  Don't cache a
   2298     # value for INSTALL within a source directory, because that will
   2299     # break other packages using the cache if that directory is
   2300     # removed, or if the value is a relative name.
   2301     INSTALL=$ac_install_sh
   2302   fi
   2303 fi
   2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2305 $as_echo "$INSTALL" >&6; }
   2306 
   2307 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2308 # It thinks the first close brace ends the variable substitution.
   2309 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2310 
   2311 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2312 
   2313 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2314 
   2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2316 $as_echo_n "checking whether build environment is sane... " >&6; }
   2317 # Reject unsafe characters in $srcdir or the absolute working directory
   2318 # name.  Accept space and tab only in the latter.
   2319 am_lf='
   2320 '
   2321 case `pwd` in
   2322   *[\\\"\#\$\&\'\`$am_lf]*)
   2323     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2324 esac
   2325 case $srcdir in
   2326   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2327     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2328 esac
   2329 
   2330 # Do 'set' in a subshell so we don't clobber the current shell's
   2331 # arguments.  Must try -L first in case configure is actually a
   2332 # symlink; some systems play weird games with the mod time of symlinks
   2333 # (eg FreeBSD returns the mod time of the symlink's containing
   2334 # directory).
   2335 if (
   2336    am_has_slept=no
   2337    for am_try in 1 2; do
   2338      echo "timestamp, slept: $am_has_slept" > conftest.file
   2339      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2340      if test "$*" = "X"; then
   2341 	# -L didn't work.
   2342 	set X `ls -t "$srcdir/configure" conftest.file`
   2343      fi
   2344      if test "$*" != "X $srcdir/configure conftest.file" \
   2345 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2346 
   2347 	# If neither matched, then we have a broken ls.  This can happen
   2348 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2349 	# broken ls alias from the environment.  This has actually
   2350 	# happened.  Such a system could not be considered "sane".
   2351 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2352   alias in your environment" "$LINENO" 5
   2353      fi
   2354      if test "$2" = conftest.file || test $am_try -eq 2; then
   2355        break
   2356      fi
   2357      # Just in case.
   2358      sleep 1
   2359      am_has_slept=yes
   2360    done
   2361    test "$2" = conftest.file
   2362    )
   2363 then
   2364    # Ok.
   2365    :
   2366 else
   2367    as_fn_error $? "newly created file is older than distributed files!
   2368 Check your system clock" "$LINENO" 5
   2369 fi
   2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2371 $as_echo "yes" >&6; }
   2372 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2373 # generated files are strictly newer.
   2374 am_sleep_pid=
   2375 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2376   ( sleep 1 ) &
   2377   am_sleep_pid=$!
   2378 fi
   2379 
   2380 rm -f conftest.file
   2381 
   2382 test "$program_prefix" != NONE &&
   2383   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2384 # Use a double $ so make ignores it.
   2385 test "$program_suffix" != NONE &&
   2386   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2387 # Double any \ or $.
   2388 # By default was `s,x,x', remove it if useless.
   2389 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2390 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2391 
   2392 # expand $ac_aux_dir to an absolute path
   2393 am_aux_dir=`cd $ac_aux_dir && pwd`
   2394 
   2395 if test x"${MISSING+set}" != xset; then
   2396   case $am_aux_dir in
   2397   *\ * | *\	*)
   2398     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2399   *)
   2400     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2401   esac
   2402 fi
   2403 # Use eval to expand $SHELL
   2404 if eval "$MISSING --is-lightweight"; then
   2405   am_missing_run="$MISSING "
   2406 else
   2407   am_missing_run=
   2408   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2409 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2410 fi
   2411 
   2412 if test x"${install_sh}" != xset; then
   2413   case $am_aux_dir in
   2414   *\ * | *\	*)
   2415     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2416   *)
   2417     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2418   esac
   2419 fi
   2420 
   2421 # Installed binaries are usually stripped using 'strip' when the user
   2422 # run "make install-strip".  However 'strip' might not be the right
   2423 # tool to use in cross-compilation environments, therefore Automake
   2424 # will honor the 'STRIP' environment variable to overrule this program.
   2425 if test "$cross_compiling" != no; then
   2426   if test -n "$ac_tool_prefix"; then
   2427   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2428 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2430 $as_echo_n "checking for $ac_word... " >&6; }
   2431 if ${ac_cv_prog_STRIP+:} false; then :
   2432   $as_echo_n "(cached) " >&6
   2433 else
   2434   if test -n "$STRIP"; then
   2435   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2436 else
   2437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2438 for as_dir in $PATH
   2439 do
   2440   IFS=$as_save_IFS
   2441   test -z "$as_dir" && as_dir=.
   2442     for ac_exec_ext in '' $ac_executable_extensions; do
   2443   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2444     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2446     break 2
   2447   fi
   2448 done
   2449   done
   2450 IFS=$as_save_IFS
   2451 
   2452 fi
   2453 fi
   2454 STRIP=$ac_cv_prog_STRIP
   2455 if test -n "$STRIP"; then
   2456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2457 $as_echo "$STRIP" >&6; }
   2458 else
   2459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2460 $as_echo "no" >&6; }
   2461 fi
   2462 
   2463 
   2464 fi
   2465 if test -z "$ac_cv_prog_STRIP"; then
   2466   ac_ct_STRIP=$STRIP
   2467   # Extract the first word of "strip", so it can be a program name with args.
   2468 set dummy strip; ac_word=$2
   2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2470 $as_echo_n "checking for $ac_word... " >&6; }
   2471 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2472   $as_echo_n "(cached) " >&6
   2473 else
   2474   if test -n "$ac_ct_STRIP"; then
   2475   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2476 else
   2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2478 for as_dir in $PATH
   2479 do
   2480   IFS=$as_save_IFS
   2481   test -z "$as_dir" && as_dir=.
   2482     for ac_exec_ext in '' $ac_executable_extensions; do
   2483   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2484     ac_cv_prog_ac_ct_STRIP="strip"
   2485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2486     break 2
   2487   fi
   2488 done
   2489   done
   2490 IFS=$as_save_IFS
   2491 
   2492 fi
   2493 fi
   2494 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2495 if test -n "$ac_ct_STRIP"; then
   2496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2497 $as_echo "$ac_ct_STRIP" >&6; }
   2498 else
   2499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2500 $as_echo "no" >&6; }
   2501 fi
   2502 
   2503   if test "x$ac_ct_STRIP" = x; then
   2504     STRIP=":"
   2505   else
   2506     case $cross_compiling:$ac_tool_warned in
   2507 yes:)
   2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2510 ac_tool_warned=yes ;;
   2511 esac
   2512     STRIP=$ac_ct_STRIP
   2513   fi
   2514 else
   2515   STRIP="$ac_cv_prog_STRIP"
   2516 fi
   2517 
   2518 fi
   2519 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2520 
   2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2522 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2523 if test -z "$MKDIR_P"; then
   2524   if ${ac_cv_path_mkdir+:} false; then :
   2525   $as_echo_n "(cached) " >&6
   2526 else
   2527   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2528 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2529 do
   2530   IFS=$as_save_IFS
   2531   test -z "$as_dir" && as_dir=.
   2532     for ac_prog in mkdir gmkdir; do
   2533 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2534 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2535 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2536 	     'mkdir (GNU coreutils) '* | \
   2537 	     'mkdir (coreutils) '* | \
   2538 	     'mkdir (fileutils) '4.1*)
   2539 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2540 	       break 3;;
   2541 	   esac
   2542 	 done
   2543        done
   2544   done
   2545 IFS=$as_save_IFS
   2546 
   2547 fi
   2548 
   2549   test -d ./--version && rmdir ./--version
   2550   if test "${ac_cv_path_mkdir+set}" = set; then
   2551     MKDIR_P="$ac_cv_path_mkdir -p"
   2552   else
   2553     # As a last resort, use the slow shell script.  Don't cache a
   2554     # value for MKDIR_P within a source directory, because that will
   2555     # break other packages using the cache if that directory is
   2556     # removed, or if the value is a relative name.
   2557     MKDIR_P="$ac_install_sh -d"
   2558   fi
   2559 fi
   2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2561 $as_echo "$MKDIR_P" >&6; }
   2562 
   2563 for ac_prog in gawk mawk nawk awk
   2564 do
   2565   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2566 set dummy $ac_prog; ac_word=$2
   2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2568 $as_echo_n "checking for $ac_word... " >&6; }
   2569 if ${ac_cv_prog_AWK+:} false; then :
   2570   $as_echo_n "(cached) " >&6
   2571 else
   2572   if test -n "$AWK"; then
   2573   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2574 else
   2575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2576 for as_dir in $PATH
   2577 do
   2578   IFS=$as_save_IFS
   2579   test -z "$as_dir" && as_dir=.
   2580     for ac_exec_ext in '' $ac_executable_extensions; do
   2581   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2582     ac_cv_prog_AWK="$ac_prog"
   2583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2584     break 2
   2585   fi
   2586 done
   2587   done
   2588 IFS=$as_save_IFS
   2589 
   2590 fi
   2591 fi
   2592 AWK=$ac_cv_prog_AWK
   2593 if test -n "$AWK"; then
   2594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2595 $as_echo "$AWK" >&6; }
   2596 else
   2597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2598 $as_echo "no" >&6; }
   2599 fi
   2600 
   2601 
   2602   test -n "$AWK" && break
   2603 done
   2604 
   2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2606 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2607 set x ${MAKE-make}
   2608 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2609 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2610   $as_echo_n "(cached) " >&6
   2611 else
   2612   cat >conftest.make <<\_ACEOF
   2613 SHELL = /bin/sh
   2614 all:
   2615 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2616 _ACEOF
   2617 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2618 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2619   *@@@%%%=?*=@@@%%%*)
   2620     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2621   *)
   2622     eval ac_cv_prog_make_${ac_make}_set=no;;
   2623 esac
   2624 rm -f conftest.make
   2625 fi
   2626 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2628 $as_echo "yes" >&6; }
   2629   SET_MAKE=
   2630 else
   2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2632 $as_echo "no" >&6; }
   2633   SET_MAKE="MAKE=${MAKE-make}"
   2634 fi
   2635 
   2636 rm -rf .tst 2>/dev/null
   2637 mkdir .tst 2>/dev/null
   2638 if test -d .tst; then
   2639   am__leading_dot=.
   2640 else
   2641   am__leading_dot=_
   2642 fi
   2643 rmdir .tst 2>/dev/null
   2644 
   2645 # Check whether --enable-silent-rules was given.
   2646 if test "${enable_silent_rules+set}" = set; then :
   2647   enableval=$enable_silent_rules;
   2648 fi
   2649 
   2650 case $enable_silent_rules in # (((
   2651   yes) AM_DEFAULT_VERBOSITY=0;;
   2652    no) AM_DEFAULT_VERBOSITY=1;;
   2653     *) AM_DEFAULT_VERBOSITY=1;;
   2654 esac
   2655 am_make=${MAKE-make}
   2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2657 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2658 if ${am_cv_make_support_nested_variables+:} false; then :
   2659   $as_echo_n "(cached) " >&6
   2660 else
   2661   if $as_echo 'TRUE=$(BAR$(V))
   2662 BAR0=false
   2663 BAR1=true
   2664 V=1
   2665 am__doit:
   2666 	@$(TRUE)
   2667 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2668   am_cv_make_support_nested_variables=yes
   2669 else
   2670   am_cv_make_support_nested_variables=no
   2671 fi
   2672 fi
   2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2674 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2675 if test $am_cv_make_support_nested_variables = yes; then
   2676     AM_V='$(V)'
   2677   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2678 else
   2679   AM_V=$AM_DEFAULT_VERBOSITY
   2680   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2681 fi
   2682 AM_BACKSLASH='\'
   2683 
   2684 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2685   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2686   # is not polluted with repeated "-I."
   2687   am__isrc=' -I$(srcdir)'
   2688   # test to see if srcdir already configured
   2689   if test -f $srcdir/config.status; then
   2690     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2691   fi
   2692 fi
   2693 
   2694 # test whether we have cygpath
   2695 if test -z "$CYGPATH_W"; then
   2696   if (cygpath --version) >/dev/null 2>/dev/null; then
   2697     CYGPATH_W='cygpath -w'
   2698   else
   2699     CYGPATH_W=echo
   2700   fi
   2701 fi
   2702 
   2703 
   2704 # Define the identity of the package.
   2705  PACKAGE='libXTrap'
   2706  VERSION='1.0.1'
   2707 
   2708 
   2709 cat >>confdefs.h <<_ACEOF
   2710 #define PACKAGE "$PACKAGE"
   2711 _ACEOF
   2712 
   2713 
   2714 cat >>confdefs.h <<_ACEOF
   2715 #define VERSION "$VERSION"
   2716 _ACEOF
   2717 
   2718 # Some tools Automake needs.
   2719 
   2720 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2721 
   2722 
   2723 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2724 
   2725 
   2726 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2727 
   2728 
   2729 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2730 
   2731 
   2732 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2733 
   2734 # For better backward compatibility.  To be removed once Automake 1.9.x
   2735 # dies out for good.  For more background, see:
   2736 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2737 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2738 mkdir_p='$(MKDIR_P)'
   2739 
   2740 # We need awk for the "check" target.  The system "awk" is bad on
   2741 # some platforms.
   2742 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2743 # in the wild :-(  We should find a proper way to deprecate it ...
   2744 AMTAR='$${TAR-tar}'
   2745 
   2746 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2747 
   2748 
   2749 
   2750 
   2751 
   2752 
   2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2754 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2755     # Check whether --enable-maintainer-mode was given.
   2756 if test "${enable_maintainer_mode+set}" = set; then :
   2757   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2758 else
   2759   USE_MAINTAINER_MODE=no
   2760 fi
   2761 
   2762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2763 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2764    if test $USE_MAINTAINER_MODE = yes; then
   2765   MAINTAINER_MODE_TRUE=
   2766   MAINTAINER_MODE_FALSE='#'
   2767 else
   2768   MAINTAINER_MODE_TRUE='#'
   2769   MAINTAINER_MODE_FALSE=
   2770 fi
   2771 
   2772   MAINT=$MAINTAINER_MODE_TRUE
   2773 
   2774 
   2775 
   2776 # Require xorg-macros: XORG_COMPILER_FLAGS, XORG_CHANGELOG
   2777 
   2778 
   2779 
   2780 
   2781 
   2782 
   2783 
   2784 
   2785 
   2786 
   2787 
   2788 ac_config_headers="$ac_config_headers config.h"
   2789 
   2790 
   2791 # Check for progs
   2792 ac_ext=c
   2793 ac_cpp='$CPP $CPPFLAGS'
   2794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2797 if test -n "$ac_tool_prefix"; then
   2798   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2799 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2801 $as_echo_n "checking for $ac_word... " >&6; }
   2802 if ${ac_cv_prog_CC+:} false; then :
   2803   $as_echo_n "(cached) " >&6
   2804 else
   2805   if test -n "$CC"; then
   2806   ac_cv_prog_CC="$CC" # Let the user override the test.
   2807 else
   2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2809 for as_dir in $PATH
   2810 do
   2811   IFS=$as_save_IFS
   2812   test -z "$as_dir" && as_dir=.
   2813     for ac_exec_ext in '' $ac_executable_extensions; do
   2814   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2815     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2817     break 2
   2818   fi
   2819 done
   2820   done
   2821 IFS=$as_save_IFS
   2822 
   2823 fi
   2824 fi
   2825 CC=$ac_cv_prog_CC
   2826 if test -n "$CC"; then
   2827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2828 $as_echo "$CC" >&6; }
   2829 else
   2830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2831 $as_echo "no" >&6; }
   2832 fi
   2833 
   2834 
   2835 fi
   2836 if test -z "$ac_cv_prog_CC"; then
   2837   ac_ct_CC=$CC
   2838   # Extract the first word of "gcc", so it can be a program name with args.
   2839 set dummy gcc; ac_word=$2
   2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2841 $as_echo_n "checking for $ac_word... " >&6; }
   2842 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2843   $as_echo_n "(cached) " >&6
   2844 else
   2845   if test -n "$ac_ct_CC"; then
   2846   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2847 else
   2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2849 for as_dir in $PATH
   2850 do
   2851   IFS=$as_save_IFS
   2852   test -z "$as_dir" && as_dir=.
   2853     for ac_exec_ext in '' $ac_executable_extensions; do
   2854   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2855     ac_cv_prog_ac_ct_CC="gcc"
   2856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2857     break 2
   2858   fi
   2859 done
   2860   done
   2861 IFS=$as_save_IFS
   2862 
   2863 fi
   2864 fi
   2865 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2866 if test -n "$ac_ct_CC"; then
   2867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2868 $as_echo "$ac_ct_CC" >&6; }
   2869 else
   2870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2871 $as_echo "no" >&6; }
   2872 fi
   2873 
   2874   if test "x$ac_ct_CC" = x; then
   2875     CC=""
   2876   else
   2877     case $cross_compiling:$ac_tool_warned in
   2878 yes:)
   2879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2881 ac_tool_warned=yes ;;
   2882 esac
   2883     CC=$ac_ct_CC
   2884   fi
   2885 else
   2886   CC="$ac_cv_prog_CC"
   2887 fi
   2888 
   2889 if test -z "$CC"; then
   2890           if test -n "$ac_tool_prefix"; then
   2891     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2892 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2894 $as_echo_n "checking for $ac_word... " >&6; }
   2895 if ${ac_cv_prog_CC+:} false; then :
   2896   $as_echo_n "(cached) " >&6
   2897 else
   2898   if test -n "$CC"; then
   2899   ac_cv_prog_CC="$CC" # Let the user override the test.
   2900 else
   2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2902 for as_dir in $PATH
   2903 do
   2904   IFS=$as_save_IFS
   2905   test -z "$as_dir" && as_dir=.
   2906     for ac_exec_ext in '' $ac_executable_extensions; do
   2907   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2908     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2910     break 2
   2911   fi
   2912 done
   2913   done
   2914 IFS=$as_save_IFS
   2915 
   2916 fi
   2917 fi
   2918 CC=$ac_cv_prog_CC
   2919 if test -n "$CC"; then
   2920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2921 $as_echo "$CC" >&6; }
   2922 else
   2923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2924 $as_echo "no" >&6; }
   2925 fi
   2926 
   2927 
   2928   fi
   2929 fi
   2930 if test -z "$CC"; then
   2931   # Extract the first word of "cc", so it can be a program name with args.
   2932 set dummy cc; ac_word=$2
   2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2934 $as_echo_n "checking for $ac_word... " >&6; }
   2935 if ${ac_cv_prog_CC+:} false; then :
   2936   $as_echo_n "(cached) " >&6
   2937 else
   2938   if test -n "$CC"; then
   2939   ac_cv_prog_CC="$CC" # Let the user override the test.
   2940 else
   2941   ac_prog_rejected=no
   2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2943 for as_dir in $PATH
   2944 do
   2945   IFS=$as_save_IFS
   2946   test -z "$as_dir" && as_dir=.
   2947     for ac_exec_ext in '' $ac_executable_extensions; do
   2948   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2949     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2950        ac_prog_rejected=yes
   2951        continue
   2952      fi
   2953     ac_cv_prog_CC="cc"
   2954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2955     break 2
   2956   fi
   2957 done
   2958   done
   2959 IFS=$as_save_IFS
   2960 
   2961 if test $ac_prog_rejected = yes; then
   2962   # We found a bogon in the path, so make sure we never use it.
   2963   set dummy $ac_cv_prog_CC
   2964   shift
   2965   if test $# != 0; then
   2966     # We chose a different compiler from the bogus one.
   2967     # However, it has the same basename, so the bogon will be chosen
   2968     # first if we set CC to just the basename; use the full file name.
   2969     shift
   2970     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2971   fi
   2972 fi
   2973 fi
   2974 fi
   2975 CC=$ac_cv_prog_CC
   2976 if test -n "$CC"; then
   2977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2978 $as_echo "$CC" >&6; }
   2979 else
   2980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2981 $as_echo "no" >&6; }
   2982 fi
   2983 
   2984 
   2985 fi
   2986 if test -z "$CC"; then
   2987   if test -n "$ac_tool_prefix"; then
   2988   for ac_prog in cl.exe
   2989   do
   2990     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2993 $as_echo_n "checking for $ac_word... " >&6; }
   2994 if ${ac_cv_prog_CC+:} false; then :
   2995   $as_echo_n "(cached) " >&6
   2996 else
   2997   if test -n "$CC"; then
   2998   ac_cv_prog_CC="$CC" # Let the user override the test.
   2999 else
   3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3001 for as_dir in $PATH
   3002 do
   3003   IFS=$as_save_IFS
   3004   test -z "$as_dir" && as_dir=.
   3005     for ac_exec_ext in '' $ac_executable_extensions; do
   3006   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3007     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3009     break 2
   3010   fi
   3011 done
   3012   done
   3013 IFS=$as_save_IFS
   3014 
   3015 fi
   3016 fi
   3017 CC=$ac_cv_prog_CC
   3018 if test -n "$CC"; then
   3019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3020 $as_echo "$CC" >&6; }
   3021 else
   3022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3023 $as_echo "no" >&6; }
   3024 fi
   3025 
   3026 
   3027     test -n "$CC" && break
   3028   done
   3029 fi
   3030 if test -z "$CC"; then
   3031   ac_ct_CC=$CC
   3032   for ac_prog in cl.exe
   3033 do
   3034   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3035 set dummy $ac_prog; ac_word=$2
   3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3037 $as_echo_n "checking for $ac_word... " >&6; }
   3038 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3039   $as_echo_n "(cached) " >&6
   3040 else
   3041   if test -n "$ac_ct_CC"; then
   3042   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3043 else
   3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3045 for as_dir in $PATH
   3046 do
   3047   IFS=$as_save_IFS
   3048   test -z "$as_dir" && as_dir=.
   3049     for ac_exec_ext in '' $ac_executable_extensions; do
   3050   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3051     ac_cv_prog_ac_ct_CC="$ac_prog"
   3052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3053     break 2
   3054   fi
   3055 done
   3056   done
   3057 IFS=$as_save_IFS
   3058 
   3059 fi
   3060 fi
   3061 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3062 if test -n "$ac_ct_CC"; then
   3063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3064 $as_echo "$ac_ct_CC" >&6; }
   3065 else
   3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3067 $as_echo "no" >&6; }
   3068 fi
   3069 
   3070 
   3071   test -n "$ac_ct_CC" && break
   3072 done
   3073 
   3074   if test "x$ac_ct_CC" = x; then
   3075     CC=""
   3076   else
   3077     case $cross_compiling:$ac_tool_warned in
   3078 yes:)
   3079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3081 ac_tool_warned=yes ;;
   3082 esac
   3083     CC=$ac_ct_CC
   3084   fi
   3085 fi
   3086 
   3087 fi
   3088 
   3089 
   3090 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3092 as_fn_error $? "no acceptable C compiler found in \$PATH
   3093 See \`config.log' for more details" "$LINENO" 5; }
   3094 
   3095 # Provide some information about the compiler.
   3096 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3097 set X $ac_compile
   3098 ac_compiler=$2
   3099 for ac_option in --version -v -V -qversion; do
   3100   { { ac_try="$ac_compiler $ac_option >&5"
   3101 case "(($ac_try" in
   3102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3103   *) ac_try_echo=$ac_try;;
   3104 esac
   3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3106 $as_echo "$ac_try_echo"; } >&5
   3107   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3108   ac_status=$?
   3109   if test -s conftest.err; then
   3110     sed '10a\
   3111 ... rest of stderr output deleted ...
   3112          10q' conftest.err >conftest.er1
   3113     cat conftest.er1 >&5
   3114   fi
   3115   rm -f conftest.er1 conftest.err
   3116   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3117   test $ac_status = 0; }
   3118 done
   3119 
   3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3121 /* end confdefs.h.  */
   3122 
   3123 int
   3124 main ()
   3125 {
   3126 
   3127   ;
   3128   return 0;
   3129 }
   3130 _ACEOF
   3131 ac_clean_files_save=$ac_clean_files
   3132 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3133 # Try to create an executable without -o first, disregard a.out.
   3134 # It will help us diagnose broken compilers, and finding out an intuition
   3135 # of exeext.
   3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3137 $as_echo_n "checking whether the C compiler works... " >&6; }
   3138 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3139 
   3140 # The possible output files:
   3141 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3142 
   3143 ac_rmfiles=
   3144 for ac_file in $ac_files
   3145 do
   3146   case $ac_file in
   3147     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3148     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3149   esac
   3150 done
   3151 rm -f $ac_rmfiles
   3152 
   3153 if { { ac_try="$ac_link_default"
   3154 case "(($ac_try" in
   3155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3156   *) ac_try_echo=$ac_try;;
   3157 esac
   3158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3159 $as_echo "$ac_try_echo"; } >&5
   3160   (eval "$ac_link_default") 2>&5
   3161   ac_status=$?
   3162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3163   test $ac_status = 0; }; then :
   3164   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3165 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3166 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3167 # so that the user can short-circuit this test for compilers unknown to
   3168 # Autoconf.
   3169 for ac_file in $ac_files ''
   3170 do
   3171   test -f "$ac_file" || continue
   3172   case $ac_file in
   3173     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3174 	;;
   3175     [ab].out )
   3176 	# We found the default executable, but exeext='' is most
   3177 	# certainly right.
   3178 	break;;
   3179     *.* )
   3180 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3181 	then :; else
   3182 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3183 	fi
   3184 	# We set ac_cv_exeext here because the later test for it is not
   3185 	# safe: cross compilers may not add the suffix if given an `-o'
   3186 	# argument, so we may need to know it at that point already.
   3187 	# Even if this section looks crufty: it has the advantage of
   3188 	# actually working.
   3189 	break;;
   3190     * )
   3191 	break;;
   3192   esac
   3193 done
   3194 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3195 
   3196 else
   3197   ac_file=''
   3198 fi
   3199 if test -z "$ac_file"; then :
   3200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3201 $as_echo "no" >&6; }
   3202 $as_echo "$as_me: failed program was:" >&5
   3203 sed 's/^/| /' conftest.$ac_ext >&5
   3204 
   3205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3207 as_fn_error 77 "C compiler cannot create executables
   3208 See \`config.log' for more details" "$LINENO" 5; }
   3209 else
   3210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3211 $as_echo "yes" >&6; }
   3212 fi
   3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3214 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3216 $as_echo "$ac_file" >&6; }
   3217 ac_exeext=$ac_cv_exeext
   3218 
   3219 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3220 ac_clean_files=$ac_clean_files_save
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3222 $as_echo_n "checking for suffix of executables... " >&6; }
   3223 if { { ac_try="$ac_link"
   3224 case "(($ac_try" in
   3225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3226   *) ac_try_echo=$ac_try;;
   3227 esac
   3228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3229 $as_echo "$ac_try_echo"; } >&5
   3230   (eval "$ac_link") 2>&5
   3231   ac_status=$?
   3232   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3233   test $ac_status = 0; }; then :
   3234   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3235 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3236 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3237 # `rm'.
   3238 for ac_file in conftest.exe conftest conftest.*; do
   3239   test -f "$ac_file" || continue
   3240   case $ac_file in
   3241     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3242     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3243 	  break;;
   3244     * ) break;;
   3245   esac
   3246 done
   3247 else
   3248   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3250 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3251 See \`config.log' for more details" "$LINENO" 5; }
   3252 fi
   3253 rm -f conftest conftest$ac_cv_exeext
   3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3255 $as_echo "$ac_cv_exeext" >&6; }
   3256 
   3257 rm -f conftest.$ac_ext
   3258 EXEEXT=$ac_cv_exeext
   3259 ac_exeext=$EXEEXT
   3260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3261 /* end confdefs.h.  */
   3262 #include <stdio.h>
   3263 int
   3264 main ()
   3265 {
   3266 FILE *f = fopen ("conftest.out", "w");
   3267  return ferror (f) || fclose (f) != 0;
   3268 
   3269   ;
   3270   return 0;
   3271 }
   3272 _ACEOF
   3273 ac_clean_files="$ac_clean_files conftest.out"
   3274 # Check that the compiler produces executables we can run.  If not, either
   3275 # the compiler is broken, or we cross compile.
   3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3277 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3278 if test "$cross_compiling" != yes; then
   3279   { { ac_try="$ac_link"
   3280 case "(($ac_try" in
   3281   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3282   *) ac_try_echo=$ac_try;;
   3283 esac
   3284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3285 $as_echo "$ac_try_echo"; } >&5
   3286   (eval "$ac_link") 2>&5
   3287   ac_status=$?
   3288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3289   test $ac_status = 0; }
   3290   if { ac_try='./conftest$ac_cv_exeext'
   3291   { { case "(($ac_try" in
   3292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3293   *) ac_try_echo=$ac_try;;
   3294 esac
   3295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3296 $as_echo "$ac_try_echo"; } >&5
   3297   (eval "$ac_try") 2>&5
   3298   ac_status=$?
   3299   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3300   test $ac_status = 0; }; }; then
   3301     cross_compiling=no
   3302   else
   3303     if test "$cross_compiling" = maybe; then
   3304 	cross_compiling=yes
   3305     else
   3306 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3308 as_fn_error $? "cannot run C compiled programs.
   3309 If you meant to cross compile, use \`--host'.
   3310 See \`config.log' for more details" "$LINENO" 5; }
   3311     fi
   3312   fi
   3313 fi
   3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3315 $as_echo "$cross_compiling" >&6; }
   3316 
   3317 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3318 ac_clean_files=$ac_clean_files_save
   3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3320 $as_echo_n "checking for suffix of object files... " >&6; }
   3321 if ${ac_cv_objext+:} false; then :
   3322   $as_echo_n "(cached) " >&6
   3323 else
   3324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3325 /* end confdefs.h.  */
   3326 
   3327 int
   3328 main ()
   3329 {
   3330 
   3331   ;
   3332   return 0;
   3333 }
   3334 _ACEOF
   3335 rm -f conftest.o conftest.obj
   3336 if { { ac_try="$ac_compile"
   3337 case "(($ac_try" in
   3338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3339   *) ac_try_echo=$ac_try;;
   3340 esac
   3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3342 $as_echo "$ac_try_echo"; } >&5
   3343   (eval "$ac_compile") 2>&5
   3344   ac_status=$?
   3345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3346   test $ac_status = 0; }; then :
   3347   for ac_file in conftest.o conftest.obj conftest.*; do
   3348   test -f "$ac_file" || continue;
   3349   case $ac_file in
   3350     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3351     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3352        break;;
   3353   esac
   3354 done
   3355 else
   3356   $as_echo "$as_me: failed program was:" >&5
   3357 sed 's/^/| /' conftest.$ac_ext >&5
   3358 
   3359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3361 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3362 See \`config.log' for more details" "$LINENO" 5; }
   3363 fi
   3364 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3365 fi
   3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3367 $as_echo "$ac_cv_objext" >&6; }
   3368 OBJEXT=$ac_cv_objext
   3369 ac_objext=$OBJEXT
   3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3371 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3372 if ${ac_cv_c_compiler_gnu+:} false; then :
   3373   $as_echo_n "(cached) " >&6
   3374 else
   3375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3376 /* end confdefs.h.  */
   3377 
   3378 int
   3379 main ()
   3380 {
   3381 #ifndef __GNUC__
   3382        choke me
   3383 #endif
   3384 
   3385   ;
   3386   return 0;
   3387 }
   3388 _ACEOF
   3389 if ac_fn_c_try_compile "$LINENO"; then :
   3390   ac_compiler_gnu=yes
   3391 else
   3392   ac_compiler_gnu=no
   3393 fi
   3394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3395 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3396 
   3397 fi
   3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3399 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3400 if test $ac_compiler_gnu = yes; then
   3401   GCC=yes
   3402 else
   3403   GCC=
   3404 fi
   3405 ac_test_CFLAGS=${CFLAGS+set}
   3406 ac_save_CFLAGS=$CFLAGS
   3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3408 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3409 if ${ac_cv_prog_cc_g+:} false; then :
   3410   $as_echo_n "(cached) " >&6
   3411 else
   3412   ac_save_c_werror_flag=$ac_c_werror_flag
   3413    ac_c_werror_flag=yes
   3414    ac_cv_prog_cc_g=no
   3415    CFLAGS="-g"
   3416    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3417 /* end confdefs.h.  */
   3418 
   3419 int
   3420 main ()
   3421 {
   3422 
   3423   ;
   3424   return 0;
   3425 }
   3426 _ACEOF
   3427 if ac_fn_c_try_compile "$LINENO"; then :
   3428   ac_cv_prog_cc_g=yes
   3429 else
   3430   CFLAGS=""
   3431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3432 /* end confdefs.h.  */
   3433 
   3434 int
   3435 main ()
   3436 {
   3437 
   3438   ;
   3439   return 0;
   3440 }
   3441 _ACEOF
   3442 if ac_fn_c_try_compile "$LINENO"; then :
   3443 
   3444 else
   3445   ac_c_werror_flag=$ac_save_c_werror_flag
   3446 	 CFLAGS="-g"
   3447 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3448 /* end confdefs.h.  */
   3449 
   3450 int
   3451 main ()
   3452 {
   3453 
   3454   ;
   3455   return 0;
   3456 }
   3457 _ACEOF
   3458 if ac_fn_c_try_compile "$LINENO"; then :
   3459   ac_cv_prog_cc_g=yes
   3460 fi
   3461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3462 fi
   3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3464 fi
   3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3466    ac_c_werror_flag=$ac_save_c_werror_flag
   3467 fi
   3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3469 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3470 if test "$ac_test_CFLAGS" = set; then
   3471   CFLAGS=$ac_save_CFLAGS
   3472 elif test $ac_cv_prog_cc_g = yes; then
   3473   if test "$GCC" = yes; then
   3474     CFLAGS="-g -O2"
   3475   else
   3476     CFLAGS="-g"
   3477   fi
   3478 else
   3479   if test "$GCC" = yes; then
   3480     CFLAGS="-O2"
   3481   else
   3482     CFLAGS=
   3483   fi
   3484 fi
   3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3486 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3487 if ${ac_cv_prog_cc_c89+:} false; then :
   3488   $as_echo_n "(cached) " >&6
   3489 else
   3490   ac_cv_prog_cc_c89=no
   3491 ac_save_CC=$CC
   3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3493 /* end confdefs.h.  */
   3494 #include <stdarg.h>
   3495 #include <stdio.h>
   3496 struct stat;
   3497 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3498 struct buf { int x; };
   3499 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3500 static char *e (p, i)
   3501      char **p;
   3502      int i;
   3503 {
   3504   return p[i];
   3505 }
   3506 static char *f (char * (*g) (char **, int), char **p, ...)
   3507 {
   3508   char *s;
   3509   va_list v;
   3510   va_start (v,p);
   3511   s = g (p, va_arg (v,int));
   3512   va_end (v);
   3513   return s;
   3514 }
   3515 
   3516 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3517    function prototypes and stuff, but not '\xHH' hex character constants.
   3518    These don't provoke an error unfortunately, instead are silently treated
   3519    as 'x'.  The following induces an error, until -std is added to get
   3520    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3521    array size at least.  It's necessary to write '\x00'==0 to get something
   3522    that's true only with -std.  */
   3523 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3524 
   3525 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3526    inside strings and character constants.  */
   3527 #define FOO(x) 'x'
   3528 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3529 
   3530 int test (int i, double x);
   3531 struct s1 {int (*f) (int a);};
   3532 struct s2 {int (*f) (double a);};
   3533 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3534 int argc;
   3535 char **argv;
   3536 int
   3537 main ()
   3538 {
   3539 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3540   ;
   3541   return 0;
   3542 }
   3543 _ACEOF
   3544 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3545 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3546 do
   3547   CC="$ac_save_CC $ac_arg"
   3548   if ac_fn_c_try_compile "$LINENO"; then :
   3549   ac_cv_prog_cc_c89=$ac_arg
   3550 fi
   3551 rm -f core conftest.err conftest.$ac_objext
   3552   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3553 done
   3554 rm -f conftest.$ac_ext
   3555 CC=$ac_save_CC
   3556 
   3557 fi
   3558 # AC_CACHE_VAL
   3559 case "x$ac_cv_prog_cc_c89" in
   3560   x)
   3561     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3562 $as_echo "none needed" >&6; } ;;
   3563   xno)
   3564     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3565 $as_echo "unsupported" >&6; } ;;
   3566   *)
   3567     CC="$CC $ac_cv_prog_cc_c89"
   3568     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3569 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3570 esac
   3571 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3572 
   3573 fi
   3574 
   3575 ac_ext=c
   3576 ac_cpp='$CPP $CPPFLAGS'
   3577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3580 DEPDIR="${am__leading_dot}deps"
   3581 
   3582 ac_config_commands="$ac_config_commands depfiles"
   3583 
   3584 
   3585 am_make=${MAKE-make}
   3586 cat > confinc << 'END'
   3587 am__doit:
   3588 	@echo this is the am__doit target
   3589 .PHONY: am__doit
   3590 END
   3591 # If we don't find an include directive, just comment out the code.
   3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3593 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3594 am__include="#"
   3595 am__quote=
   3596 _am_result=none
   3597 # First try GNU make style include.
   3598 echo "include confinc" > confmf
   3599 # Ignore all kinds of additional output from 'make'.
   3600 case `$am_make -s -f confmf 2> /dev/null` in #(
   3601 *the\ am__doit\ target*)
   3602   am__include=include
   3603   am__quote=
   3604   _am_result=GNU
   3605   ;;
   3606 esac
   3607 # Now try BSD make style include.
   3608 if test "$am__include" = "#"; then
   3609    echo '.include "confinc"' > confmf
   3610    case `$am_make -s -f confmf 2> /dev/null` in #(
   3611    *the\ am__doit\ target*)
   3612      am__include=.include
   3613      am__quote="\""
   3614      _am_result=BSD
   3615      ;;
   3616    esac
   3617 fi
   3618 
   3619 
   3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3621 $as_echo "$_am_result" >&6; }
   3622 rm -f confinc confmf
   3623 
   3624 # Check whether --enable-dependency-tracking was given.
   3625 if test "${enable_dependency_tracking+set}" = set; then :
   3626   enableval=$enable_dependency_tracking;
   3627 fi
   3628 
   3629 if test "x$enable_dependency_tracking" != xno; then
   3630   am_depcomp="$ac_aux_dir/depcomp"
   3631   AMDEPBACKSLASH='\'
   3632   am__nodep='_no'
   3633 fi
   3634  if test "x$enable_dependency_tracking" != xno; then
   3635   AMDEP_TRUE=
   3636   AMDEP_FALSE='#'
   3637 else
   3638   AMDEP_TRUE='#'
   3639   AMDEP_FALSE=
   3640 fi
   3641 
   3642 
   3643 
   3644 depcc="$CC"   am_compiler_list=
   3645 
   3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3647 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3648 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3649   $as_echo_n "(cached) " >&6
   3650 else
   3651   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3652   # We make a subdir and do the tests there.  Otherwise we can end up
   3653   # making bogus files that we don't know about and never remove.  For
   3654   # instance it was reported that on HP-UX the gcc test will end up
   3655   # making a dummy file named 'D' -- because '-MD' means "put the output
   3656   # in D".
   3657   rm -rf conftest.dir
   3658   mkdir conftest.dir
   3659   # Copy depcomp to subdir because otherwise we won't find it if we're
   3660   # using a relative directory.
   3661   cp "$am_depcomp" conftest.dir
   3662   cd conftest.dir
   3663   # We will build objects and dependencies in a subdirectory because
   3664   # it helps to detect inapplicable dependency modes.  For instance
   3665   # both Tru64's cc and ICC support -MD to output dependencies as a
   3666   # side effect of compilation, but ICC will put the dependencies in
   3667   # the current directory while Tru64 will put them in the object
   3668   # directory.
   3669   mkdir sub
   3670 
   3671   am_cv_CC_dependencies_compiler_type=none
   3672   if test "$am_compiler_list" = ""; then
   3673      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3674   fi
   3675   am__universal=false
   3676   case " $depcc " in #(
   3677      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3678      esac
   3679 
   3680   for depmode in $am_compiler_list; do
   3681     # Setup a source with many dependencies, because some compilers
   3682     # like to wrap large dependency lists on column 80 (with \), and
   3683     # we should not choose a depcomp mode which is confused by this.
   3684     #
   3685     # We need to recreate these files for each test, as the compiler may
   3686     # overwrite some of them when testing with obscure command lines.
   3687     # This happens at least with the AIX C compiler.
   3688     : > sub/conftest.c
   3689     for i in 1 2 3 4 5 6; do
   3690       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3691       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3692       # Solaris 10 /bin/sh.
   3693       echo '/* dummy */' > sub/conftst$i.h
   3694     done
   3695     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3696 
   3697     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3698     # mode.  It turns out that the SunPro C++ compiler does not properly
   3699     # handle '-M -o', and we need to detect this.  Also, some Intel
   3700     # versions had trouble with output in subdirs.
   3701     am__obj=sub/conftest.${OBJEXT-o}
   3702     am__minus_obj="-o $am__obj"
   3703     case $depmode in
   3704     gcc)
   3705       # This depmode causes a compiler race in universal mode.
   3706       test "$am__universal" = false || continue
   3707       ;;
   3708     nosideeffect)
   3709       # After this tag, mechanisms are not by side-effect, so they'll
   3710       # only be used when explicitly requested.
   3711       if test "x$enable_dependency_tracking" = xyes; then
   3712 	continue
   3713       else
   3714 	break
   3715       fi
   3716       ;;
   3717     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3718       # This compiler won't grok '-c -o', but also, the minuso test has
   3719       # not run yet.  These depmodes are late enough in the game, and
   3720       # so weak that their functioning should not be impacted.
   3721       am__obj=conftest.${OBJEXT-o}
   3722       am__minus_obj=
   3723       ;;
   3724     none) break ;;
   3725     esac
   3726     if depmode=$depmode \
   3727        source=sub/conftest.c object=$am__obj \
   3728        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3729        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3730          >/dev/null 2>conftest.err &&
   3731        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3732        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3733        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3734        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3735       # icc doesn't choke on unknown options, it will just issue warnings
   3736       # or remarks (even with -Werror).  So we grep stderr for any message
   3737       # that says an option was ignored or not supported.
   3738       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3739       #   icc: Command line warning: ignoring option '-M'; no argument required
   3740       # The diagnosis changed in icc 8.0:
   3741       #   icc: Command line remark: option '-MP' not supported
   3742       if (grep 'ignoring option' conftest.err ||
   3743           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3744         am_cv_CC_dependencies_compiler_type=$depmode
   3745         break
   3746       fi
   3747     fi
   3748   done
   3749 
   3750   cd ..
   3751   rm -rf conftest.dir
   3752 else
   3753   am_cv_CC_dependencies_compiler_type=none
   3754 fi
   3755 
   3756 fi
   3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3758 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3759 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3760 
   3761  if
   3762   test "x$enable_dependency_tracking" != xno \
   3763   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3764   am__fastdepCC_TRUE=
   3765   am__fastdepCC_FALSE='#'
   3766 else
   3767   am__fastdepCC_TRUE='#'
   3768   am__fastdepCC_FALSE=
   3769 fi
   3770 
   3771 
   3772 case `pwd` in
   3773   *\ * | *\	*)
   3774     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3775 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3776 esac
   3777 
   3778 
   3779 
   3780 macro_version='2.4.2'
   3781 macro_revision='1.3337'
   3782 
   3783 
   3784 
   3785 
   3786 
   3787 
   3788 
   3789 
   3790 
   3791 
   3792 
   3793 
   3794 
   3795 ltmain="$ac_aux_dir/ltmain.sh"
   3796 
   3797 # Make sure we can run config.sub.
   3798 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3799   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3800 
   3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3802 $as_echo_n "checking build system type... " >&6; }
   3803 if ${ac_cv_build+:} false; then :
   3804   $as_echo_n "(cached) " >&6
   3805 else
   3806   ac_build_alias=$build_alias
   3807 test "x$ac_build_alias" = x &&
   3808   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3809 test "x$ac_build_alias" = x &&
   3810   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3811 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3812   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3813 
   3814 fi
   3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3816 $as_echo "$ac_cv_build" >&6; }
   3817 case $ac_cv_build in
   3818 *-*-*) ;;
   3819 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3820 esac
   3821 build=$ac_cv_build
   3822 ac_save_IFS=$IFS; IFS='-'
   3823 set x $ac_cv_build
   3824 shift
   3825 build_cpu=$1
   3826 build_vendor=$2
   3827 shift; shift
   3828 # Remember, the first character of IFS is used to create $*,
   3829 # except with old shells:
   3830 build_os=$*
   3831 IFS=$ac_save_IFS
   3832 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3833 
   3834 
   3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3836 $as_echo_n "checking host system type... " >&6; }
   3837 if ${ac_cv_host+:} false; then :
   3838   $as_echo_n "(cached) " >&6
   3839 else
   3840   if test "x$host_alias" = x; then
   3841   ac_cv_host=$ac_cv_build
   3842 else
   3843   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3844     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3845 fi
   3846 
   3847 fi
   3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3849 $as_echo "$ac_cv_host" >&6; }
   3850 case $ac_cv_host in
   3851 *-*-*) ;;
   3852 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3853 esac
   3854 host=$ac_cv_host
   3855 ac_save_IFS=$IFS; IFS='-'
   3856 set x $ac_cv_host
   3857 shift
   3858 host_cpu=$1
   3859 host_vendor=$2
   3860 shift; shift
   3861 # Remember, the first character of IFS is used to create $*,
   3862 # except with old shells:
   3863 host_os=$*
   3864 IFS=$ac_save_IFS
   3865 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3866 
   3867 
   3868 # Backslashify metacharacters that are still active within
   3869 # double-quoted strings.
   3870 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3871 
   3872 # Same as above, but do not quote variable references.
   3873 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3874 
   3875 # Sed substitution to delay expansion of an escaped shell variable in a
   3876 # double_quote_subst'ed string.
   3877 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3878 
   3879 # Sed substitution to delay expansion of an escaped single quote.
   3880 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3881 
   3882 # Sed substitution to avoid accidental globbing in evaled expressions
   3883 no_glob_subst='s/\*/\\\*/g'
   3884 
   3885 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3886 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3887 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3888 
   3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3890 $as_echo_n "checking how to print strings... " >&6; }
   3891 # Test print first, because it will be a builtin if present.
   3892 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3893    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3894   ECHO='print -r --'
   3895 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3896   ECHO='printf %s\n'
   3897 else
   3898   # Use this function as a fallback that always works.
   3899   func_fallback_echo ()
   3900   {
   3901     eval 'cat <<_LTECHO_EOF
   3902 $1
   3903 _LTECHO_EOF'
   3904   }
   3905   ECHO='func_fallback_echo'
   3906 fi
   3907 
   3908 # func_echo_all arg...
   3909 # Invoke $ECHO with all args, space-separated.
   3910 func_echo_all ()
   3911 {
   3912     $ECHO ""
   3913 }
   3914 
   3915 case "$ECHO" in
   3916   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3917 $as_echo "printf" >&6; } ;;
   3918   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3919 $as_echo "print -r" >&6; } ;;
   3920   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3921 $as_echo "cat" >&6; } ;;
   3922 esac
   3923 
   3924 
   3925 
   3926 
   3927 
   3928 
   3929 
   3930 
   3931 
   3932 
   3933 
   3934 
   3935 
   3936 
   3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3938 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3939 if ${ac_cv_path_SED+:} false; then :
   3940   $as_echo_n "(cached) " >&6
   3941 else
   3942             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3943      for ac_i in 1 2 3 4 5 6 7; do
   3944        ac_script="$ac_script$as_nl$ac_script"
   3945      done
   3946      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3947      { ac_script=; unset ac_script;}
   3948      if test -z "$SED"; then
   3949   ac_path_SED_found=false
   3950   # Loop through the user's path and test for each of PROGNAME-LIST
   3951   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3952 for as_dir in $PATH
   3953 do
   3954   IFS=$as_save_IFS
   3955   test -z "$as_dir" && as_dir=.
   3956     for ac_prog in sed gsed; do
   3957     for ac_exec_ext in '' $ac_executable_extensions; do
   3958       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3959       as_fn_executable_p "$ac_path_SED" || continue
   3960 # Check for GNU ac_path_SED and select it if it is found.
   3961   # Check for GNU $ac_path_SED
   3962 case `"$ac_path_SED" --version 2>&1` in
   3963 *GNU*)
   3964   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3965 *)
   3966   ac_count=0
   3967   $as_echo_n 0123456789 >"conftest.in"
   3968   while :
   3969   do
   3970     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3971     mv "conftest.tmp" "conftest.in"
   3972     cp "conftest.in" "conftest.nl"
   3973     $as_echo '' >> "conftest.nl"
   3974     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3975     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3976     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3977     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3978       # Best one so far, save it but keep looking for a better one
   3979       ac_cv_path_SED="$ac_path_SED"
   3980       ac_path_SED_max=$ac_count
   3981     fi
   3982     # 10*(2^10) chars as input seems more than enough
   3983     test $ac_count -gt 10 && break
   3984   done
   3985   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3986 esac
   3987 
   3988       $ac_path_SED_found && break 3
   3989     done
   3990   done
   3991   done
   3992 IFS=$as_save_IFS
   3993   if test -z "$ac_cv_path_SED"; then
   3994     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3995   fi
   3996 else
   3997   ac_cv_path_SED=$SED
   3998 fi
   3999 
   4000 fi
   4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4002 $as_echo "$ac_cv_path_SED" >&6; }
   4003  SED="$ac_cv_path_SED"
   4004   rm -f conftest.sed
   4005 
   4006 test -z "$SED" && SED=sed
   4007 Xsed="$SED -e 1s/^X//"
   4008 
   4009 
   4010 
   4011 
   4012 
   4013 
   4014 
   4015 
   4016 
   4017 
   4018 
   4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4020 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4021 if ${ac_cv_path_GREP+:} false; then :
   4022   $as_echo_n "(cached) " >&6
   4023 else
   4024   if test -z "$GREP"; then
   4025   ac_path_GREP_found=false
   4026   # Loop through the user's path and test for each of PROGNAME-LIST
   4027   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4028 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4029 do
   4030   IFS=$as_save_IFS
   4031   test -z "$as_dir" && as_dir=.
   4032     for ac_prog in grep ggrep; do
   4033     for ac_exec_ext in '' $ac_executable_extensions; do
   4034       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4035       as_fn_executable_p "$ac_path_GREP" || continue
   4036 # Check for GNU ac_path_GREP and select it if it is found.
   4037   # Check for GNU $ac_path_GREP
   4038 case `"$ac_path_GREP" --version 2>&1` in
   4039 *GNU*)
   4040   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4041 *)
   4042   ac_count=0
   4043   $as_echo_n 0123456789 >"conftest.in"
   4044   while :
   4045   do
   4046     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4047     mv "conftest.tmp" "conftest.in"
   4048     cp "conftest.in" "conftest.nl"
   4049     $as_echo 'GREP' >> "conftest.nl"
   4050     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4051     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4052     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4053     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4054       # Best one so far, save it but keep looking for a better one
   4055       ac_cv_path_GREP="$ac_path_GREP"
   4056       ac_path_GREP_max=$ac_count
   4057     fi
   4058     # 10*(2^10) chars as input seems more than enough
   4059     test $ac_count -gt 10 && break
   4060   done
   4061   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4062 esac
   4063 
   4064       $ac_path_GREP_found && break 3
   4065     done
   4066   done
   4067   done
   4068 IFS=$as_save_IFS
   4069   if test -z "$ac_cv_path_GREP"; then
   4070     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4071   fi
   4072 else
   4073   ac_cv_path_GREP=$GREP
   4074 fi
   4075 
   4076 fi
   4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4078 $as_echo "$ac_cv_path_GREP" >&6; }
   4079  GREP="$ac_cv_path_GREP"
   4080 
   4081 
   4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4083 $as_echo_n "checking for egrep... " >&6; }
   4084 if ${ac_cv_path_EGREP+:} false; then :
   4085   $as_echo_n "(cached) " >&6
   4086 else
   4087   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4088    then ac_cv_path_EGREP="$GREP -E"
   4089    else
   4090      if test -z "$EGREP"; then
   4091   ac_path_EGREP_found=false
   4092   # Loop through the user's path and test for each of PROGNAME-LIST
   4093   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4094 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4095 do
   4096   IFS=$as_save_IFS
   4097   test -z "$as_dir" && as_dir=.
   4098     for ac_prog in egrep; do
   4099     for ac_exec_ext in '' $ac_executable_extensions; do
   4100       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4101       as_fn_executable_p "$ac_path_EGREP" || continue
   4102 # Check for GNU ac_path_EGREP and select it if it is found.
   4103   # Check for GNU $ac_path_EGREP
   4104 case `"$ac_path_EGREP" --version 2>&1` in
   4105 *GNU*)
   4106   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4107 *)
   4108   ac_count=0
   4109   $as_echo_n 0123456789 >"conftest.in"
   4110   while :
   4111   do
   4112     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4113     mv "conftest.tmp" "conftest.in"
   4114     cp "conftest.in" "conftest.nl"
   4115     $as_echo 'EGREP' >> "conftest.nl"
   4116     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4117     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4118     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4119     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4120       # Best one so far, save it but keep looking for a better one
   4121       ac_cv_path_EGREP="$ac_path_EGREP"
   4122       ac_path_EGREP_max=$ac_count
   4123     fi
   4124     # 10*(2^10) chars as input seems more than enough
   4125     test $ac_count -gt 10 && break
   4126   done
   4127   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4128 esac
   4129 
   4130       $ac_path_EGREP_found && break 3
   4131     done
   4132   done
   4133   done
   4134 IFS=$as_save_IFS
   4135   if test -z "$ac_cv_path_EGREP"; then
   4136     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4137   fi
   4138 else
   4139   ac_cv_path_EGREP=$EGREP
   4140 fi
   4141 
   4142    fi
   4143 fi
   4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4145 $as_echo "$ac_cv_path_EGREP" >&6; }
   4146  EGREP="$ac_cv_path_EGREP"
   4147 
   4148 
   4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4150 $as_echo_n "checking for fgrep... " >&6; }
   4151 if ${ac_cv_path_FGREP+:} false; then :
   4152   $as_echo_n "(cached) " >&6
   4153 else
   4154   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4155    then ac_cv_path_FGREP="$GREP -F"
   4156    else
   4157      if test -z "$FGREP"; then
   4158   ac_path_FGREP_found=false
   4159   # Loop through the user's path and test for each of PROGNAME-LIST
   4160   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4161 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4162 do
   4163   IFS=$as_save_IFS
   4164   test -z "$as_dir" && as_dir=.
   4165     for ac_prog in fgrep; do
   4166     for ac_exec_ext in '' $ac_executable_extensions; do
   4167       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4168       as_fn_executable_p "$ac_path_FGREP" || continue
   4169 # Check for GNU ac_path_FGREP and select it if it is found.
   4170   # Check for GNU $ac_path_FGREP
   4171 case `"$ac_path_FGREP" --version 2>&1` in
   4172 *GNU*)
   4173   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4174 *)
   4175   ac_count=0
   4176   $as_echo_n 0123456789 >"conftest.in"
   4177   while :
   4178   do
   4179     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4180     mv "conftest.tmp" "conftest.in"
   4181     cp "conftest.in" "conftest.nl"
   4182     $as_echo 'FGREP' >> "conftest.nl"
   4183     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4184     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4185     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4186     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4187       # Best one so far, save it but keep looking for a better one
   4188       ac_cv_path_FGREP="$ac_path_FGREP"
   4189       ac_path_FGREP_max=$ac_count
   4190     fi
   4191     # 10*(2^10) chars as input seems more than enough
   4192     test $ac_count -gt 10 && break
   4193   done
   4194   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4195 esac
   4196 
   4197       $ac_path_FGREP_found && break 3
   4198     done
   4199   done
   4200   done
   4201 IFS=$as_save_IFS
   4202   if test -z "$ac_cv_path_FGREP"; then
   4203     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4204   fi
   4205 else
   4206   ac_cv_path_FGREP=$FGREP
   4207 fi
   4208 
   4209    fi
   4210 fi
   4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4212 $as_echo "$ac_cv_path_FGREP" >&6; }
   4213  FGREP="$ac_cv_path_FGREP"
   4214 
   4215 
   4216 test -z "$GREP" && GREP=grep
   4217 
   4218 
   4219 
   4220 
   4221 
   4222 
   4223 
   4224 
   4225 
   4226 
   4227 
   4228 
   4229 
   4230 
   4231 
   4232 
   4233 
   4234 
   4235 
   4236 # Check whether --with-gnu-ld was given.
   4237 if test "${with_gnu_ld+set}" = set; then :
   4238   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4239 else
   4240   with_gnu_ld=no
   4241 fi
   4242 
   4243 ac_prog=ld
   4244 if test "$GCC" = yes; then
   4245   # Check if gcc -print-prog-name=ld gives a path.
   4246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4247 $as_echo_n "checking for ld used by $CC... " >&6; }
   4248   case $host in
   4249   *-*-mingw*)
   4250     # gcc leaves a trailing carriage return which upsets mingw
   4251     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4252   *)
   4253     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4254   esac
   4255   case $ac_prog in
   4256     # Accept absolute paths.
   4257     [\\/]* | ?:[\\/]*)
   4258       re_direlt='/[^/][^/]*/\.\./'
   4259       # Canonicalize the pathname of ld
   4260       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4261       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4262 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4263       done
   4264       test -z "$LD" && LD="$ac_prog"
   4265       ;;
   4266   "")
   4267     # If it fails, then pretend we aren't using GCC.
   4268     ac_prog=ld
   4269     ;;
   4270   *)
   4271     # If it is relative, then search for the first ld in PATH.
   4272     with_gnu_ld=unknown
   4273     ;;
   4274   esac
   4275 elif test "$with_gnu_ld" = yes; then
   4276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4277 $as_echo_n "checking for GNU ld... " >&6; }
   4278 else
   4279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4280 $as_echo_n "checking for non-GNU ld... " >&6; }
   4281 fi
   4282 if ${lt_cv_path_LD+:} false; then :
   4283   $as_echo_n "(cached) " >&6
   4284 else
   4285   if test -z "$LD"; then
   4286   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4287   for ac_dir in $PATH; do
   4288     IFS="$lt_save_ifs"
   4289     test -z "$ac_dir" && ac_dir=.
   4290     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4291       lt_cv_path_LD="$ac_dir/$ac_prog"
   4292       # Check to see if the program is GNU ld.  I'd rather use --version,
   4293       # but apparently some variants of GNU ld only accept -v.
   4294       # Break only if it was the GNU/non-GNU ld that we prefer.
   4295       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4296       *GNU* | *'with BFD'*)
   4297 	test "$with_gnu_ld" != no && break
   4298 	;;
   4299       *)
   4300 	test "$with_gnu_ld" != yes && break
   4301 	;;
   4302       esac
   4303     fi
   4304   done
   4305   IFS="$lt_save_ifs"
   4306 else
   4307   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4308 fi
   4309 fi
   4310 
   4311 LD="$lt_cv_path_LD"
   4312 if test -n "$LD"; then
   4313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4314 $as_echo "$LD" >&6; }
   4315 else
   4316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4317 $as_echo "no" >&6; }
   4318 fi
   4319 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4321 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4322 if ${lt_cv_prog_gnu_ld+:} false; then :
   4323   $as_echo_n "(cached) " >&6
   4324 else
   4325   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4326 case `$LD -v 2>&1 </dev/null` in
   4327 *GNU* | *'with BFD'*)
   4328   lt_cv_prog_gnu_ld=yes
   4329   ;;
   4330 *)
   4331   lt_cv_prog_gnu_ld=no
   4332   ;;
   4333 esac
   4334 fi
   4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4336 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4337 with_gnu_ld=$lt_cv_prog_gnu_ld
   4338 
   4339 
   4340 
   4341 
   4342 
   4343 
   4344 
   4345 
   4346 
   4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4348 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4349 if ${lt_cv_path_NM+:} false; then :
   4350   $as_echo_n "(cached) " >&6
   4351 else
   4352   if test -n "$NM"; then
   4353   # Let the user override the test.
   4354   lt_cv_path_NM="$NM"
   4355 else
   4356   lt_nm_to_check="${ac_tool_prefix}nm"
   4357   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4358     lt_nm_to_check="$lt_nm_to_check nm"
   4359   fi
   4360   for lt_tmp_nm in $lt_nm_to_check; do
   4361     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4362     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4363       IFS="$lt_save_ifs"
   4364       test -z "$ac_dir" && ac_dir=.
   4365       tmp_nm="$ac_dir/$lt_tmp_nm"
   4366       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4367 	# Check to see if the nm accepts a BSD-compat flag.
   4368 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4369 	#   nm: unknown option "B" ignored
   4370 	# Tru64's nm complains that /dev/null is an invalid object file
   4371 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4372 	*/dev/null* | *'Invalid file or object type'*)
   4373 	  lt_cv_path_NM="$tmp_nm -B"
   4374 	  break
   4375 	  ;;
   4376 	*)
   4377 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4378 	  */dev/null*)
   4379 	    lt_cv_path_NM="$tmp_nm -p"
   4380 	    break
   4381 	    ;;
   4382 	  *)
   4383 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4384 	    continue # so that we can try to find one that supports BSD flags
   4385 	    ;;
   4386 	  esac
   4387 	  ;;
   4388 	esac
   4389       fi
   4390     done
   4391     IFS="$lt_save_ifs"
   4392   done
   4393   : ${lt_cv_path_NM=no}
   4394 fi
   4395 fi
   4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4397 $as_echo "$lt_cv_path_NM" >&6; }
   4398 if test "$lt_cv_path_NM" != "no"; then
   4399   NM="$lt_cv_path_NM"
   4400 else
   4401   # Didn't find any BSD compatible name lister, look for dumpbin.
   4402   if test -n "$DUMPBIN"; then :
   4403     # Let the user override the test.
   4404   else
   4405     if test -n "$ac_tool_prefix"; then
   4406   for ac_prog in dumpbin "link -dump"
   4407   do
   4408     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4411 $as_echo_n "checking for $ac_word... " >&6; }
   4412 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4413   $as_echo_n "(cached) " >&6
   4414 else
   4415   if test -n "$DUMPBIN"; then
   4416   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4417 else
   4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4419 for as_dir in $PATH
   4420 do
   4421   IFS=$as_save_IFS
   4422   test -z "$as_dir" && as_dir=.
   4423     for ac_exec_ext in '' $ac_executable_extensions; do
   4424   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4425     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4427     break 2
   4428   fi
   4429 done
   4430   done
   4431 IFS=$as_save_IFS
   4432 
   4433 fi
   4434 fi
   4435 DUMPBIN=$ac_cv_prog_DUMPBIN
   4436 if test -n "$DUMPBIN"; then
   4437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4438 $as_echo "$DUMPBIN" >&6; }
   4439 else
   4440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4441 $as_echo "no" >&6; }
   4442 fi
   4443 
   4444 
   4445     test -n "$DUMPBIN" && break
   4446   done
   4447 fi
   4448 if test -z "$DUMPBIN"; then
   4449   ac_ct_DUMPBIN=$DUMPBIN
   4450   for ac_prog in dumpbin "link -dump"
   4451 do
   4452   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4453 set dummy $ac_prog; ac_word=$2
   4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4455 $as_echo_n "checking for $ac_word... " >&6; }
   4456 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4457   $as_echo_n "(cached) " >&6
   4458 else
   4459   if test -n "$ac_ct_DUMPBIN"; then
   4460   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4461 else
   4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4463 for as_dir in $PATH
   4464 do
   4465   IFS=$as_save_IFS
   4466   test -z "$as_dir" && as_dir=.
   4467     for ac_exec_ext in '' $ac_executable_extensions; do
   4468   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4469     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4471     break 2
   4472   fi
   4473 done
   4474   done
   4475 IFS=$as_save_IFS
   4476 
   4477 fi
   4478 fi
   4479 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4480 if test -n "$ac_ct_DUMPBIN"; then
   4481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4482 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4483 else
   4484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4485 $as_echo "no" >&6; }
   4486 fi
   4487 
   4488 
   4489   test -n "$ac_ct_DUMPBIN" && break
   4490 done
   4491 
   4492   if test "x$ac_ct_DUMPBIN" = x; then
   4493     DUMPBIN=":"
   4494   else
   4495     case $cross_compiling:$ac_tool_warned in
   4496 yes:)
   4497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4499 ac_tool_warned=yes ;;
   4500 esac
   4501     DUMPBIN=$ac_ct_DUMPBIN
   4502   fi
   4503 fi
   4504 
   4505     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4506     *COFF*)
   4507       DUMPBIN="$DUMPBIN -symbols"
   4508       ;;
   4509     *)
   4510       DUMPBIN=:
   4511       ;;
   4512     esac
   4513   fi
   4514 
   4515   if test "$DUMPBIN" != ":"; then
   4516     NM="$DUMPBIN"
   4517   fi
   4518 fi
   4519 test -z "$NM" && NM=nm
   4520 
   4521 
   4522 
   4523 
   4524 
   4525 
   4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4527 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4528 if ${lt_cv_nm_interface+:} false; then :
   4529   $as_echo_n "(cached) " >&6
   4530 else
   4531   lt_cv_nm_interface="BSD nm"
   4532   echo "int some_variable = 0;" > conftest.$ac_ext
   4533   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4534   (eval "$ac_compile" 2>conftest.err)
   4535   cat conftest.err >&5
   4536   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4537   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4538   cat conftest.err >&5
   4539   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4540   cat conftest.out >&5
   4541   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4542     lt_cv_nm_interface="MS dumpbin"
   4543   fi
   4544   rm -f conftest*
   4545 fi
   4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4547 $as_echo "$lt_cv_nm_interface" >&6; }
   4548 
   4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4550 $as_echo_n "checking whether ln -s works... " >&6; }
   4551 LN_S=$as_ln_s
   4552 if test "$LN_S" = "ln -s"; then
   4553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4554 $as_echo "yes" >&6; }
   4555 else
   4556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4557 $as_echo "no, using $LN_S" >&6; }
   4558 fi
   4559 
   4560 # find the maximum length of command line arguments
   4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4562 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4563 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4564   $as_echo_n "(cached) " >&6
   4565 else
   4566     i=0
   4567   teststring="ABCD"
   4568 
   4569   case $build_os in
   4570   msdosdjgpp*)
   4571     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4572     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4573     # during glob expansion).  Even if it were fixed, the result of this
   4574     # check would be larger than it should be.
   4575     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4576     ;;
   4577 
   4578   gnu*)
   4579     # Under GNU Hurd, this test is not required because there is
   4580     # no limit to the length of command line arguments.
   4581     # Libtool will interpret -1 as no limit whatsoever
   4582     lt_cv_sys_max_cmd_len=-1;
   4583     ;;
   4584 
   4585   cygwin* | mingw* | cegcc*)
   4586     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4587     # about 5 minutes as the teststring grows exponentially.
   4588     # Worse, since 9x/ME are not pre-emptively multitasking,
   4589     # you end up with a "frozen" computer, even though with patience
   4590     # the test eventually succeeds (with a max line length of 256k).
   4591     # Instead, let's just punt: use the minimum linelength reported by
   4592     # all of the supported platforms: 8192 (on NT/2K/XP).
   4593     lt_cv_sys_max_cmd_len=8192;
   4594     ;;
   4595 
   4596   mint*)
   4597     # On MiNT this can take a long time and run out of memory.
   4598     lt_cv_sys_max_cmd_len=8192;
   4599     ;;
   4600 
   4601   amigaos*)
   4602     # On AmigaOS with pdksh, this test takes hours, literally.
   4603     # So we just punt and use a minimum line length of 8192.
   4604     lt_cv_sys_max_cmd_len=8192;
   4605     ;;
   4606 
   4607   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4608     # This has been around since 386BSD, at least.  Likely further.
   4609     if test -x /sbin/sysctl; then
   4610       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4611     elif test -x /usr/sbin/sysctl; then
   4612       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4613     else
   4614       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4615     fi
   4616     # And add a safety zone
   4617     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4618     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4619     ;;
   4620 
   4621   interix*)
   4622     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4623     lt_cv_sys_max_cmd_len=196608
   4624     ;;
   4625 
   4626   os2*)
   4627     # The test takes a long time on OS/2.
   4628     lt_cv_sys_max_cmd_len=8192
   4629     ;;
   4630 
   4631   osf*)
   4632     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4633     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4634     # nice to cause kernel panics so lets avoid the loop below.
   4635     # First set a reasonable default.
   4636     lt_cv_sys_max_cmd_len=16384
   4637     #
   4638     if test -x /sbin/sysconfig; then
   4639       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4640         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4641       esac
   4642     fi
   4643     ;;
   4644   sco3.2v5*)
   4645     lt_cv_sys_max_cmd_len=102400
   4646     ;;
   4647   sysv5* | sco5v6* | sysv4.2uw2*)
   4648     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4649     if test -n "$kargmax"; then
   4650       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4651     else
   4652       lt_cv_sys_max_cmd_len=32768
   4653     fi
   4654     ;;
   4655   *)
   4656     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4657     if test -n "$lt_cv_sys_max_cmd_len"; then
   4658       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4659       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4660     else
   4661       # Make teststring a little bigger before we do anything with it.
   4662       # a 1K string should be a reasonable start.
   4663       for i in 1 2 3 4 5 6 7 8 ; do
   4664         teststring=$teststring$teststring
   4665       done
   4666       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4667       # If test is not a shell built-in, we'll probably end up computing a
   4668       # maximum length that is only half of the actual maximum length, but
   4669       # we can't tell.
   4670       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4671 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4672 	      test $i != 17 # 1/2 MB should be enough
   4673       do
   4674         i=`expr $i + 1`
   4675         teststring=$teststring$teststring
   4676       done
   4677       # Only check the string length outside the loop.
   4678       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4679       teststring=
   4680       # Add a significant safety factor because C++ compilers can tack on
   4681       # massive amounts of additional arguments before passing them to the
   4682       # linker.  It appears as though 1/2 is a usable value.
   4683       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4684     fi
   4685     ;;
   4686   esac
   4687 
   4688 fi
   4689 
   4690 if test -n $lt_cv_sys_max_cmd_len ; then
   4691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4692 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4693 else
   4694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4695 $as_echo "none" >&6; }
   4696 fi
   4697 max_cmd_len=$lt_cv_sys_max_cmd_len
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 : ${CP="cp -f"}
   4705 : ${MV="mv -f"}
   4706 : ${RM="rm -f"}
   4707 
   4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4709 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4710 # Try some XSI features
   4711 xsi_shell=no
   4712 ( _lt_dummy="a/b/c"
   4713   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4714       = c,a/b,b/c, \
   4715     && eval 'test $(( 1 + 1 )) -eq 2 \
   4716     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4717   && xsi_shell=yes
   4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4719 $as_echo "$xsi_shell" >&6; }
   4720 
   4721 
   4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4723 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4724 lt_shell_append=no
   4725 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4726     >/dev/null 2>&1 \
   4727   && lt_shell_append=yes
   4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4729 $as_echo "$lt_shell_append" >&6; }
   4730 
   4731 
   4732 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4733   lt_unset=unset
   4734 else
   4735   lt_unset=false
   4736 fi
   4737 
   4738 
   4739 
   4740 
   4741 
   4742 # test EBCDIC or ASCII
   4743 case `echo X|tr X '\101'` in
   4744  A) # ASCII based system
   4745     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4746   lt_SP2NL='tr \040 \012'
   4747   lt_NL2SP='tr \015\012 \040\040'
   4748   ;;
   4749  *) # EBCDIC based system
   4750   lt_SP2NL='tr \100 \n'
   4751   lt_NL2SP='tr \r\n \100\100'
   4752   ;;
   4753 esac
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4764 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4765 if ${lt_cv_to_host_file_cmd+:} false; then :
   4766   $as_echo_n "(cached) " >&6
   4767 else
   4768   case $host in
   4769   *-*-mingw* )
   4770     case $build in
   4771       *-*-mingw* ) # actually msys
   4772         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4773         ;;
   4774       *-*-cygwin* )
   4775         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4776         ;;
   4777       * ) # otherwise, assume *nix
   4778         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4779         ;;
   4780     esac
   4781     ;;
   4782   *-*-cygwin* )
   4783     case $build in
   4784       *-*-mingw* ) # actually msys
   4785         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4786         ;;
   4787       *-*-cygwin* )
   4788         lt_cv_to_host_file_cmd=func_convert_file_noop
   4789         ;;
   4790       * ) # otherwise, assume *nix
   4791         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4792         ;;
   4793     esac
   4794     ;;
   4795   * ) # unhandled hosts (and "normal" native builds)
   4796     lt_cv_to_host_file_cmd=func_convert_file_noop
   4797     ;;
   4798 esac
   4799 
   4800 fi
   4801 
   4802 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4804 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4805 
   4806 
   4807 
   4808 
   4809 
   4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4811 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4812 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4813   $as_echo_n "(cached) " >&6
   4814 else
   4815   #assume ordinary cross tools, or native build.
   4816 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4817 case $host in
   4818   *-*-mingw* )
   4819     case $build in
   4820       *-*-mingw* ) # actually msys
   4821         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4822         ;;
   4823     esac
   4824     ;;
   4825 esac
   4826 
   4827 fi
   4828 
   4829 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4831 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4838 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4839 if ${lt_cv_ld_reload_flag+:} false; then :
   4840   $as_echo_n "(cached) " >&6
   4841 else
   4842   lt_cv_ld_reload_flag='-r'
   4843 fi
   4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4845 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4846 reload_flag=$lt_cv_ld_reload_flag
   4847 case $reload_flag in
   4848 "" | " "*) ;;
   4849 *) reload_flag=" $reload_flag" ;;
   4850 esac
   4851 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4852 case $host_os in
   4853   cygwin* | mingw* | pw32* | cegcc*)
   4854     if test "$GCC" != yes; then
   4855       reload_cmds=false
   4856     fi
   4857     ;;
   4858   darwin*)
   4859     if test "$GCC" = yes; then
   4860       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4861     else
   4862       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4863     fi
   4864     ;;
   4865 esac
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 if test -n "$ac_tool_prefix"; then
   4876   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4877 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4879 $as_echo_n "checking for $ac_word... " >&6; }
   4880 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4881   $as_echo_n "(cached) " >&6
   4882 else
   4883   if test -n "$OBJDUMP"; then
   4884   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4885 else
   4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4887 for as_dir in $PATH
   4888 do
   4889   IFS=$as_save_IFS
   4890   test -z "$as_dir" && as_dir=.
   4891     for ac_exec_ext in '' $ac_executable_extensions; do
   4892   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4893     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4894     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4895     break 2
   4896   fi
   4897 done
   4898   done
   4899 IFS=$as_save_IFS
   4900 
   4901 fi
   4902 fi
   4903 OBJDUMP=$ac_cv_prog_OBJDUMP
   4904 if test -n "$OBJDUMP"; then
   4905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4906 $as_echo "$OBJDUMP" >&6; }
   4907 else
   4908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4909 $as_echo "no" >&6; }
   4910 fi
   4911 
   4912 
   4913 fi
   4914 if test -z "$ac_cv_prog_OBJDUMP"; then
   4915   ac_ct_OBJDUMP=$OBJDUMP
   4916   # Extract the first word of "objdump", so it can be a program name with args.
   4917 set dummy objdump; ac_word=$2
   4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4919 $as_echo_n "checking for $ac_word... " >&6; }
   4920 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4921   $as_echo_n "(cached) " >&6
   4922 else
   4923   if test -n "$ac_ct_OBJDUMP"; then
   4924   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4925 else
   4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4927 for as_dir in $PATH
   4928 do
   4929   IFS=$as_save_IFS
   4930   test -z "$as_dir" && as_dir=.
   4931     for ac_exec_ext in '' $ac_executable_extensions; do
   4932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4933     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4935     break 2
   4936   fi
   4937 done
   4938   done
   4939 IFS=$as_save_IFS
   4940 
   4941 fi
   4942 fi
   4943 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4944 if test -n "$ac_ct_OBJDUMP"; then
   4945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4946 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4947 else
   4948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4949 $as_echo "no" >&6; }
   4950 fi
   4951 
   4952   if test "x$ac_ct_OBJDUMP" = x; then
   4953     OBJDUMP="false"
   4954   else
   4955     case $cross_compiling:$ac_tool_warned in
   4956 yes:)
   4957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4959 ac_tool_warned=yes ;;
   4960 esac
   4961     OBJDUMP=$ac_ct_OBJDUMP
   4962   fi
   4963 else
   4964   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4965 fi
   4966 
   4967 test -z "$OBJDUMP" && OBJDUMP=objdump
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4978 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4979 if ${lt_cv_deplibs_check_method+:} false; then :
   4980   $as_echo_n "(cached) " >&6
   4981 else
   4982   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4983 lt_cv_file_magic_test_file=
   4984 lt_cv_deplibs_check_method='unknown'
   4985 # Need to set the preceding variable on all platforms that support
   4986 # interlibrary dependencies.
   4987 # 'none' -- dependencies not supported.
   4988 # `unknown' -- same as none, but documents that we really don't know.
   4989 # 'pass_all' -- all dependencies passed with no checks.
   4990 # 'test_compile' -- check by making test program.
   4991 # 'file_magic [[regex]]' -- check by looking for files in library path
   4992 # which responds to the $file_magic_cmd with a given extended regex.
   4993 # If you have `file' or equivalent on your system and you're not sure
   4994 # whether `pass_all' will *always* work, you probably want this one.
   4995 
   4996 case $host_os in
   4997 aix[4-9]*)
   4998   lt_cv_deplibs_check_method=pass_all
   4999   ;;
   5000 
   5001 beos*)
   5002   lt_cv_deplibs_check_method=pass_all
   5003   ;;
   5004 
   5005 bsdi[45]*)
   5006   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5007   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5008   lt_cv_file_magic_test_file=/shlib/libc.so
   5009   ;;
   5010 
   5011 cygwin*)
   5012   # func_win32_libid is a shell function defined in ltmain.sh
   5013   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5014   lt_cv_file_magic_cmd='func_win32_libid'
   5015   ;;
   5016 
   5017 mingw* | pw32*)
   5018   # Base MSYS/MinGW do not provide the 'file' command needed by
   5019   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5020   # unless we find 'file', for example because we are cross-compiling.
   5021   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5022   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5023     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5024     lt_cv_file_magic_cmd='func_win32_libid'
   5025   else
   5026     # Keep this pattern in sync with the one in func_win32_libid.
   5027     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5028     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5029   fi
   5030   ;;
   5031 
   5032 cegcc*)
   5033   # use the weaker test based on 'objdump'. See mingw*.
   5034   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5035   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5036   ;;
   5037 
   5038 darwin* | rhapsody*)
   5039   lt_cv_deplibs_check_method=pass_all
   5040   ;;
   5041 
   5042 freebsd* | dragonfly*)
   5043   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5044     case $host_cpu in
   5045     i*86 )
   5046       # Not sure whether the presence of OpenBSD here was a mistake.
   5047       # Let's accept both of them until this is cleared up.
   5048       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5049       lt_cv_file_magic_cmd=/usr/bin/file
   5050       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5051       ;;
   5052     esac
   5053   else
   5054     lt_cv_deplibs_check_method=pass_all
   5055   fi
   5056   ;;
   5057 
   5058 gnu*)
   5059   lt_cv_deplibs_check_method=pass_all
   5060   ;;
   5061 
   5062 haiku*)
   5063   lt_cv_deplibs_check_method=pass_all
   5064   ;;
   5065 
   5066 hpux10.20* | hpux11*)
   5067   lt_cv_file_magic_cmd=/usr/bin/file
   5068   case $host_cpu in
   5069   ia64*)
   5070     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5071     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5072     ;;
   5073   hppa*64*)
   5074     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]'
   5075     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5076     ;;
   5077   *)
   5078     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5079     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5080     ;;
   5081   esac
   5082   ;;
   5083 
   5084 interix[3-9]*)
   5085   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5086   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5087   ;;
   5088 
   5089 irix5* | irix6* | nonstopux*)
   5090   case $LD in
   5091   *-32|*"-32 ") libmagic=32-bit;;
   5092   *-n32|*"-n32 ") libmagic=N32;;
   5093   *-64|*"-64 ") libmagic=64-bit;;
   5094   *) libmagic=never-match;;
   5095   esac
   5096   lt_cv_deplibs_check_method=pass_all
   5097   ;;
   5098 
   5099 # This must be glibc/ELF.
   5100 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5101   lt_cv_deplibs_check_method=pass_all
   5102   ;;
   5103 
   5104 netbsd*)
   5105   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5106     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5107   else
   5108     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5109   fi
   5110   ;;
   5111 
   5112 newos6*)
   5113   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5114   lt_cv_file_magic_cmd=/usr/bin/file
   5115   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5116   ;;
   5117 
   5118 *nto* | *qnx*)
   5119   lt_cv_deplibs_check_method=pass_all
   5120   ;;
   5121 
   5122 openbsd*)
   5123   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5124     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5125   else
   5126     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5127   fi
   5128   ;;
   5129 
   5130 osf3* | osf4* | osf5*)
   5131   lt_cv_deplibs_check_method=pass_all
   5132   ;;
   5133 
   5134 rdos*)
   5135   lt_cv_deplibs_check_method=pass_all
   5136   ;;
   5137 
   5138 solaris*)
   5139   lt_cv_deplibs_check_method=pass_all
   5140   ;;
   5141 
   5142 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5143   lt_cv_deplibs_check_method=pass_all
   5144   ;;
   5145 
   5146 sysv4 | sysv4.3*)
   5147   case $host_vendor in
   5148   motorola)
   5149     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]'
   5150     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5151     ;;
   5152   ncr)
   5153     lt_cv_deplibs_check_method=pass_all
   5154     ;;
   5155   sequent)
   5156     lt_cv_file_magic_cmd='/bin/file'
   5157     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5158     ;;
   5159   sni)
   5160     lt_cv_file_magic_cmd='/bin/file'
   5161     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5162     lt_cv_file_magic_test_file=/lib/libc.so
   5163     ;;
   5164   siemens)
   5165     lt_cv_deplibs_check_method=pass_all
   5166     ;;
   5167   pc)
   5168     lt_cv_deplibs_check_method=pass_all
   5169     ;;
   5170   esac
   5171   ;;
   5172 
   5173 tpf*)
   5174   lt_cv_deplibs_check_method=pass_all
   5175   ;;
   5176 esac
   5177 
   5178 fi
   5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5180 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5181 
   5182 file_magic_glob=
   5183 want_nocaseglob=no
   5184 if test "$build" = "$host"; then
   5185   case $host_os in
   5186   mingw* | pw32*)
   5187     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5188       want_nocaseglob=yes
   5189     else
   5190       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5191     fi
   5192     ;;
   5193   esac
   5194 fi
   5195 
   5196 file_magic_cmd=$lt_cv_file_magic_cmd
   5197 deplibs_check_method=$lt_cv_deplibs_check_method
   5198 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 if test -n "$ac_tool_prefix"; then
   5222   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5223 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5225 $as_echo_n "checking for $ac_word... " >&6; }
   5226 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5227   $as_echo_n "(cached) " >&6
   5228 else
   5229   if test -n "$DLLTOOL"; then
   5230   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5231 else
   5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5233 for as_dir in $PATH
   5234 do
   5235   IFS=$as_save_IFS
   5236   test -z "$as_dir" && as_dir=.
   5237     for ac_exec_ext in '' $ac_executable_extensions; do
   5238   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5239     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5240     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5241     break 2
   5242   fi
   5243 done
   5244   done
   5245 IFS=$as_save_IFS
   5246 
   5247 fi
   5248 fi
   5249 DLLTOOL=$ac_cv_prog_DLLTOOL
   5250 if test -n "$DLLTOOL"; then
   5251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5252 $as_echo "$DLLTOOL" >&6; }
   5253 else
   5254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5255 $as_echo "no" >&6; }
   5256 fi
   5257 
   5258 
   5259 fi
   5260 if test -z "$ac_cv_prog_DLLTOOL"; then
   5261   ac_ct_DLLTOOL=$DLLTOOL
   5262   # Extract the first word of "dlltool", so it can be a program name with args.
   5263 set dummy dlltool; ac_word=$2
   5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5265 $as_echo_n "checking for $ac_word... " >&6; }
   5266 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5267   $as_echo_n "(cached) " >&6
   5268 else
   5269   if test -n "$ac_ct_DLLTOOL"; then
   5270   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5271 else
   5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5273 for as_dir in $PATH
   5274 do
   5275   IFS=$as_save_IFS
   5276   test -z "$as_dir" && as_dir=.
   5277     for ac_exec_ext in '' $ac_executable_extensions; do
   5278   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5279     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5281     break 2
   5282   fi
   5283 done
   5284   done
   5285 IFS=$as_save_IFS
   5286 
   5287 fi
   5288 fi
   5289 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5290 if test -n "$ac_ct_DLLTOOL"; then
   5291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5292 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5293 else
   5294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5295 $as_echo "no" >&6; }
   5296 fi
   5297 
   5298   if test "x$ac_ct_DLLTOOL" = x; then
   5299     DLLTOOL="false"
   5300   else
   5301     case $cross_compiling:$ac_tool_warned in
   5302 yes:)
   5303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5305 ac_tool_warned=yes ;;
   5306 esac
   5307     DLLTOOL=$ac_ct_DLLTOOL
   5308   fi
   5309 else
   5310   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5311 fi
   5312 
   5313 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5325 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5326 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5327   $as_echo_n "(cached) " >&6
   5328 else
   5329   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5330 
   5331 case $host_os in
   5332 cygwin* | mingw* | pw32* | cegcc*)
   5333   # two different shell functions defined in ltmain.sh
   5334   # decide which to use based on capabilities of $DLLTOOL
   5335   case `$DLLTOOL --help 2>&1` in
   5336   *--identify-strict*)
   5337     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5338     ;;
   5339   *)
   5340     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5341     ;;
   5342   esac
   5343   ;;
   5344 *)
   5345   # fallback: assume linklib IS sharedlib
   5346   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5347   ;;
   5348 esac
   5349 
   5350 fi
   5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5352 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5353 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5354 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 if test -n "$ac_tool_prefix"; then
   5364   for ac_prog in ar
   5365   do
   5366     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5367 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5369 $as_echo_n "checking for $ac_word... " >&6; }
   5370 if ${ac_cv_prog_AR+:} false; then :
   5371   $as_echo_n "(cached) " >&6
   5372 else
   5373   if test -n "$AR"; then
   5374   ac_cv_prog_AR="$AR" # Let the user override the test.
   5375 else
   5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5377 for as_dir in $PATH
   5378 do
   5379   IFS=$as_save_IFS
   5380   test -z "$as_dir" && as_dir=.
   5381     for ac_exec_ext in '' $ac_executable_extensions; do
   5382   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5383     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5385     break 2
   5386   fi
   5387 done
   5388   done
   5389 IFS=$as_save_IFS
   5390 
   5391 fi
   5392 fi
   5393 AR=$ac_cv_prog_AR
   5394 if test -n "$AR"; then
   5395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5396 $as_echo "$AR" >&6; }
   5397 else
   5398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5399 $as_echo "no" >&6; }
   5400 fi
   5401 
   5402 
   5403     test -n "$AR" && break
   5404   done
   5405 fi
   5406 if test -z "$AR"; then
   5407   ac_ct_AR=$AR
   5408   for ac_prog in ar
   5409 do
   5410   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5411 set dummy $ac_prog; ac_word=$2
   5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5413 $as_echo_n "checking for $ac_word... " >&6; }
   5414 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5415   $as_echo_n "(cached) " >&6
   5416 else
   5417   if test -n "$ac_ct_AR"; then
   5418   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5419 else
   5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5421 for as_dir in $PATH
   5422 do
   5423   IFS=$as_save_IFS
   5424   test -z "$as_dir" && as_dir=.
   5425     for ac_exec_ext in '' $ac_executable_extensions; do
   5426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5427     ac_cv_prog_ac_ct_AR="$ac_prog"
   5428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5429     break 2
   5430   fi
   5431 done
   5432   done
   5433 IFS=$as_save_IFS
   5434 
   5435 fi
   5436 fi
   5437 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5438 if test -n "$ac_ct_AR"; then
   5439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5440 $as_echo "$ac_ct_AR" >&6; }
   5441 else
   5442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5443 $as_echo "no" >&6; }
   5444 fi
   5445 
   5446 
   5447   test -n "$ac_ct_AR" && break
   5448 done
   5449 
   5450   if test "x$ac_ct_AR" = x; then
   5451     AR="false"
   5452   else
   5453     case $cross_compiling:$ac_tool_warned in
   5454 yes:)
   5455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5457 ac_tool_warned=yes ;;
   5458 esac
   5459     AR=$ac_ct_AR
   5460   fi
   5461 fi
   5462 
   5463 : ${AR=ar}
   5464 : ${AR_FLAGS=cru}
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5477 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5478 if ${lt_cv_ar_at_file+:} false; then :
   5479   $as_echo_n "(cached) " >&6
   5480 else
   5481   lt_cv_ar_at_file=no
   5482    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5483 /* end confdefs.h.  */
   5484 
   5485 int
   5486 main ()
   5487 {
   5488 
   5489   ;
   5490   return 0;
   5491 }
   5492 _ACEOF
   5493 if ac_fn_c_try_compile "$LINENO"; then :
   5494   echo conftest.$ac_objext > conftest.lst
   5495       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5496       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5497   (eval $lt_ar_try) 2>&5
   5498   ac_status=$?
   5499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5500   test $ac_status = 0; }
   5501       if test "$ac_status" -eq 0; then
   5502 	# Ensure the archiver fails upon bogus file names.
   5503 	rm -f conftest.$ac_objext libconftest.a
   5504 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5505   (eval $lt_ar_try) 2>&5
   5506   ac_status=$?
   5507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5508   test $ac_status = 0; }
   5509 	if test "$ac_status" -ne 0; then
   5510           lt_cv_ar_at_file=@
   5511         fi
   5512       fi
   5513       rm -f conftest.* libconftest.a
   5514 
   5515 fi
   5516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5517 
   5518 fi
   5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5520 $as_echo "$lt_cv_ar_at_file" >&6; }
   5521 
   5522 if test "x$lt_cv_ar_at_file" = xno; then
   5523   archiver_list_spec=
   5524 else
   5525   archiver_list_spec=$lt_cv_ar_at_file
   5526 fi
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 if test -n "$ac_tool_prefix"; then
   5535   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5536 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5538 $as_echo_n "checking for $ac_word... " >&6; }
   5539 if ${ac_cv_prog_STRIP+:} false; then :
   5540   $as_echo_n "(cached) " >&6
   5541 else
   5542   if test -n "$STRIP"; then
   5543   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5544 else
   5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5546 for as_dir in $PATH
   5547 do
   5548   IFS=$as_save_IFS
   5549   test -z "$as_dir" && as_dir=.
   5550     for ac_exec_ext in '' $ac_executable_extensions; do
   5551   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5552     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5554     break 2
   5555   fi
   5556 done
   5557   done
   5558 IFS=$as_save_IFS
   5559 
   5560 fi
   5561 fi
   5562 STRIP=$ac_cv_prog_STRIP
   5563 if test -n "$STRIP"; then
   5564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5565 $as_echo "$STRIP" >&6; }
   5566 else
   5567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5568 $as_echo "no" >&6; }
   5569 fi
   5570 
   5571 
   5572 fi
   5573 if test -z "$ac_cv_prog_STRIP"; then
   5574   ac_ct_STRIP=$STRIP
   5575   # Extract the first word of "strip", so it can be a program name with args.
   5576 set dummy strip; ac_word=$2
   5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5578 $as_echo_n "checking for $ac_word... " >&6; }
   5579 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5580   $as_echo_n "(cached) " >&6
   5581 else
   5582   if test -n "$ac_ct_STRIP"; then
   5583   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5584 else
   5585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5586 for as_dir in $PATH
   5587 do
   5588   IFS=$as_save_IFS
   5589   test -z "$as_dir" && as_dir=.
   5590     for ac_exec_ext in '' $ac_executable_extensions; do
   5591   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5592     ac_cv_prog_ac_ct_STRIP="strip"
   5593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5594     break 2
   5595   fi
   5596 done
   5597   done
   5598 IFS=$as_save_IFS
   5599 
   5600 fi
   5601 fi
   5602 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5603 if test -n "$ac_ct_STRIP"; then
   5604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5605 $as_echo "$ac_ct_STRIP" >&6; }
   5606 else
   5607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5608 $as_echo "no" >&6; }
   5609 fi
   5610 
   5611   if test "x$ac_ct_STRIP" = x; then
   5612     STRIP=":"
   5613   else
   5614     case $cross_compiling:$ac_tool_warned in
   5615 yes:)
   5616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5618 ac_tool_warned=yes ;;
   5619 esac
   5620     STRIP=$ac_ct_STRIP
   5621   fi
   5622 else
   5623   STRIP="$ac_cv_prog_STRIP"
   5624 fi
   5625 
   5626 test -z "$STRIP" && STRIP=:
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 if test -n "$ac_tool_prefix"; then
   5634   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5635 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5637 $as_echo_n "checking for $ac_word... " >&6; }
   5638 if ${ac_cv_prog_RANLIB+:} false; then :
   5639   $as_echo_n "(cached) " >&6
   5640 else
   5641   if test -n "$RANLIB"; then
   5642   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5643 else
   5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5645 for as_dir in $PATH
   5646 do
   5647   IFS=$as_save_IFS
   5648   test -z "$as_dir" && as_dir=.
   5649     for ac_exec_ext in '' $ac_executable_extensions; do
   5650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5651     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5653     break 2
   5654   fi
   5655 done
   5656   done
   5657 IFS=$as_save_IFS
   5658 
   5659 fi
   5660 fi
   5661 RANLIB=$ac_cv_prog_RANLIB
   5662 if test -n "$RANLIB"; then
   5663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5664 $as_echo "$RANLIB" >&6; }
   5665 else
   5666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5667 $as_echo "no" >&6; }
   5668 fi
   5669 
   5670 
   5671 fi
   5672 if test -z "$ac_cv_prog_RANLIB"; then
   5673   ac_ct_RANLIB=$RANLIB
   5674   # Extract the first word of "ranlib", so it can be a program name with args.
   5675 set dummy ranlib; ac_word=$2
   5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5677 $as_echo_n "checking for $ac_word... " >&6; }
   5678 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5679   $as_echo_n "(cached) " >&6
   5680 else
   5681   if test -n "$ac_ct_RANLIB"; then
   5682   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5683 else
   5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5685 for as_dir in $PATH
   5686 do
   5687   IFS=$as_save_IFS
   5688   test -z "$as_dir" && as_dir=.
   5689     for ac_exec_ext in '' $ac_executable_extensions; do
   5690   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5691     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5693     break 2
   5694   fi
   5695 done
   5696   done
   5697 IFS=$as_save_IFS
   5698 
   5699 fi
   5700 fi
   5701 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5702 if test -n "$ac_ct_RANLIB"; then
   5703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5704 $as_echo "$ac_ct_RANLIB" >&6; }
   5705 else
   5706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5707 $as_echo "no" >&6; }
   5708 fi
   5709 
   5710   if test "x$ac_ct_RANLIB" = x; then
   5711     RANLIB=":"
   5712   else
   5713     case $cross_compiling:$ac_tool_warned in
   5714 yes:)
   5715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5717 ac_tool_warned=yes ;;
   5718 esac
   5719     RANLIB=$ac_ct_RANLIB
   5720   fi
   5721 else
   5722   RANLIB="$ac_cv_prog_RANLIB"
   5723 fi
   5724 
   5725 test -z "$RANLIB" && RANLIB=:
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 # Determine commands to create old-style static archives.
   5733 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5734 old_postinstall_cmds='chmod 644 $oldlib'
   5735 old_postuninstall_cmds=
   5736 
   5737 if test -n "$RANLIB"; then
   5738   case $host_os in
   5739   openbsd*)
   5740     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5741     ;;
   5742   *)
   5743     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5744     ;;
   5745   esac
   5746   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5747 fi
   5748 
   5749 case $host_os in
   5750   darwin*)
   5751     lock_old_archive_extraction=yes ;;
   5752   *)
   5753     lock_old_archive_extraction=no ;;
   5754 esac
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 # If no C compiler was specified, use CC.
   5795 LTCC=${LTCC-"$CC"}
   5796 
   5797 # If no C compiler flags were specified, use CFLAGS.
   5798 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5799 
   5800 # Allow CC to be a program name with arguments.
   5801 compiler=$CC
   5802 
   5803 
   5804 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5806 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5807 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5808   $as_echo_n "(cached) " >&6
   5809 else
   5810 
   5811 # These are sane defaults that work on at least a few old systems.
   5812 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5813 
   5814 # Character class describing NM global symbol codes.
   5815 symcode='[BCDEGRST]'
   5816 
   5817 # Regexp to match symbols that can be accessed directly from C.
   5818 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5819 
   5820 # Define system-specific variables.
   5821 case $host_os in
   5822 aix*)
   5823   symcode='[BCDT]'
   5824   ;;
   5825 cygwin* | mingw* | pw32* | cegcc*)
   5826   symcode='[ABCDGISTW]'
   5827   ;;
   5828 hpux*)
   5829   if test "$host_cpu" = ia64; then
   5830     symcode='[ABCDEGRST]'
   5831   fi
   5832   ;;
   5833 irix* | nonstopux*)
   5834   symcode='[BCDEGRST]'
   5835   ;;
   5836 osf*)
   5837   symcode='[BCDEGQRST]'
   5838   ;;
   5839 solaris*)
   5840   symcode='[BDRT]'
   5841   ;;
   5842 sco3.2v5*)
   5843   symcode='[DT]'
   5844   ;;
   5845 sysv4.2uw2*)
   5846   symcode='[DT]'
   5847   ;;
   5848 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5849   symcode='[ABDT]'
   5850   ;;
   5851 sysv4)
   5852   symcode='[DFNSTU]'
   5853   ;;
   5854 esac
   5855 
   5856 # If we're using GNU nm, then use its standard symbol codes.
   5857 case `$NM -V 2>&1` in
   5858 *GNU* | *'with BFD'*)
   5859   symcode='[ABCDGIRSTW]' ;;
   5860 esac
   5861 
   5862 # Transform an extracted symbol line into a proper C declaration.
   5863 # Some systems (esp. on ia64) link data and code symbols differently,
   5864 # so use this general approach.
   5865 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5866 
   5867 # Transform an extracted symbol line into symbol name and symbol address
   5868 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5869 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   5870 
   5871 # Handle CRLF in mingw tool chain
   5872 opt_cr=
   5873 case $build_os in
   5874 mingw*)
   5875   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5876   ;;
   5877 esac
   5878 
   5879 # Try without a prefix underscore, then with it.
   5880 for ac_symprfx in "" "_"; do
   5881 
   5882   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5883   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5884 
   5885   # Write the raw and C identifiers.
   5886   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5887     # Fake it for dumpbin and say T for any non-static function
   5888     # and D for any global variable.
   5889     # Also find C++ and __fastcall symbols from MSVC++,
   5890     # which start with @ or ?.
   5891     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5892 "     {last_section=section; section=\$ 3};"\
   5893 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5894 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5895 "     \$ 0!~/External *\|/{next};"\
   5896 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5897 "     {if(hide[section]) next};"\
   5898 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5899 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5900 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5901 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5902 "     ' prfx=^$ac_symprfx"
   5903   else
   5904     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5905   fi
   5906   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5907 
   5908   # Check to see that the pipe works correctly.
   5909   pipe_works=no
   5910 
   5911   rm -f conftest*
   5912   cat > conftest.$ac_ext <<_LT_EOF
   5913 #ifdef __cplusplus
   5914 extern "C" {
   5915 #endif
   5916 char nm_test_var;
   5917 void nm_test_func(void);
   5918 void nm_test_func(void){}
   5919 #ifdef __cplusplus
   5920 }
   5921 #endif
   5922 int main(){nm_test_var='a';nm_test_func();return(0);}
   5923 _LT_EOF
   5924 
   5925   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5926   (eval $ac_compile) 2>&5
   5927   ac_status=$?
   5928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5929   test $ac_status = 0; }; then
   5930     # Now try to grab the symbols.
   5931     nlist=conftest.nm
   5932     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5933   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5934   ac_status=$?
   5935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5936   test $ac_status = 0; } && test -s "$nlist"; then
   5937       # Try sorting and uniquifying the output.
   5938       if sort "$nlist" | uniq > "$nlist"T; then
   5939 	mv -f "$nlist"T "$nlist"
   5940       else
   5941 	rm -f "$nlist"T
   5942       fi
   5943 
   5944       # Make sure that we snagged all the symbols we need.
   5945       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5946 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5947 	  cat <<_LT_EOF > conftest.$ac_ext
   5948 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5949 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5950 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5951    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5952 # define LT_DLSYM_CONST
   5953 #elif defined(__osf__)
   5954 /* This system does not cope well with relocations in const data.  */
   5955 # define LT_DLSYM_CONST
   5956 #else
   5957 # define LT_DLSYM_CONST const
   5958 #endif
   5959 
   5960 #ifdef __cplusplus
   5961 extern "C" {
   5962 #endif
   5963 
   5964 _LT_EOF
   5965 	  # Now generate the symbol file.
   5966 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5967 
   5968 	  cat <<_LT_EOF >> conftest.$ac_ext
   5969 
   5970 /* The mapping between symbol names and symbols.  */
   5971 LT_DLSYM_CONST struct {
   5972   const char *name;
   5973   void       *address;
   5974 }
   5975 lt__PROGRAM__LTX_preloaded_symbols[] =
   5976 {
   5977   { "@PROGRAM@", (void *) 0 },
   5978 _LT_EOF
   5979 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5980 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5981   {0, (void *) 0}
   5982 };
   5983 
   5984 /* This works around a problem in FreeBSD linker */
   5985 #ifdef FREEBSD_WORKAROUND
   5986 static const void *lt_preloaded_setup() {
   5987   return lt__PROGRAM__LTX_preloaded_symbols;
   5988 }
   5989 #endif
   5990 
   5991 #ifdef __cplusplus
   5992 }
   5993 #endif
   5994 _LT_EOF
   5995 	  # Now try linking the two files.
   5996 	  mv conftest.$ac_objext conftstm.$ac_objext
   5997 	  lt_globsym_save_LIBS=$LIBS
   5998 	  lt_globsym_save_CFLAGS=$CFLAGS
   5999 	  LIBS="conftstm.$ac_objext"
   6000 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6001 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6002   (eval $ac_link) 2>&5
   6003   ac_status=$?
   6004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6005   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6006 	    pipe_works=yes
   6007 	  fi
   6008 	  LIBS=$lt_globsym_save_LIBS
   6009 	  CFLAGS=$lt_globsym_save_CFLAGS
   6010 	else
   6011 	  echo "cannot find nm_test_func in $nlist" >&5
   6012 	fi
   6013       else
   6014 	echo "cannot find nm_test_var in $nlist" >&5
   6015       fi
   6016     else
   6017       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6018     fi
   6019   else
   6020     echo "$progname: failed program was:" >&5
   6021     cat conftest.$ac_ext >&5
   6022   fi
   6023   rm -rf conftest* conftst*
   6024 
   6025   # Do not use the global_symbol_pipe unless it works.
   6026   if test "$pipe_works" = yes; then
   6027     break
   6028   else
   6029     lt_cv_sys_global_symbol_pipe=
   6030   fi
   6031 done
   6032 
   6033 fi
   6034 
   6035 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6036   lt_cv_sys_global_symbol_to_cdecl=
   6037 fi
   6038 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6040 $as_echo "failed" >&6; }
   6041 else
   6042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6043 $as_echo "ok" >&6; }
   6044 fi
   6045 
   6046 # Response file support.
   6047 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6048   nm_file_list_spec='@'
   6049 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6050   nm_file_list_spec='@'
   6051 fi
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6080 $as_echo_n "checking for sysroot... " >&6; }
   6081 
   6082 # Check whether --with-sysroot was given.
   6083 if test "${with_sysroot+set}" = set; then :
   6084   withval=$with_sysroot;
   6085 else
   6086   with_sysroot=no
   6087 fi
   6088 
   6089 
   6090 lt_sysroot=
   6091 case ${with_sysroot} in #(
   6092  yes)
   6093    if test "$GCC" = yes; then
   6094      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6095    fi
   6096    ;; #(
   6097  /*)
   6098    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6099    ;; #(
   6100  no|'')
   6101    ;; #(
   6102  *)
   6103    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6104 $as_echo "${with_sysroot}" >&6; }
   6105    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6106    ;;
   6107 esac
   6108 
   6109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6110 $as_echo "${lt_sysroot:-no}" >&6; }
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 # Check whether --enable-libtool-lock was given.
   6117 if test "${enable_libtool_lock+set}" = set; then :
   6118   enableval=$enable_libtool_lock;
   6119 fi
   6120 
   6121 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6122 
   6123 # Some flags need to be propagated to the compiler or linker for good
   6124 # libtool support.
   6125 case $host in
   6126 ia64-*-hpux*)
   6127   # Find out which ABI we are using.
   6128   echo 'int i;' > conftest.$ac_ext
   6129   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6130   (eval $ac_compile) 2>&5
   6131   ac_status=$?
   6132   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6133   test $ac_status = 0; }; then
   6134     case `/usr/bin/file conftest.$ac_objext` in
   6135       *ELF-32*)
   6136 	HPUX_IA64_MODE="32"
   6137 	;;
   6138       *ELF-64*)
   6139 	HPUX_IA64_MODE="64"
   6140 	;;
   6141     esac
   6142   fi
   6143   rm -rf conftest*
   6144   ;;
   6145 *-*-irix6*)
   6146   # Find out which ABI we are using.
   6147   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6148   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6149   (eval $ac_compile) 2>&5
   6150   ac_status=$?
   6151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6152   test $ac_status = 0; }; then
   6153     if test "$lt_cv_prog_gnu_ld" = yes; then
   6154       case `/usr/bin/file conftest.$ac_objext` in
   6155 	*32-bit*)
   6156 	  LD="${LD-ld} -melf32bsmip"
   6157 	  ;;
   6158 	*N32*)
   6159 	  LD="${LD-ld} -melf32bmipn32"
   6160 	  ;;
   6161 	*64-bit*)
   6162 	  LD="${LD-ld} -melf64bmip"
   6163 	;;
   6164       esac
   6165     else
   6166       case `/usr/bin/file conftest.$ac_objext` in
   6167 	*32-bit*)
   6168 	  LD="${LD-ld} -32"
   6169 	  ;;
   6170 	*N32*)
   6171 	  LD="${LD-ld} -n32"
   6172 	  ;;
   6173 	*64-bit*)
   6174 	  LD="${LD-ld} -64"
   6175 	  ;;
   6176       esac
   6177     fi
   6178   fi
   6179   rm -rf conftest*
   6180   ;;
   6181 
   6182 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6183 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6184   # Find out which ABI we are using.
   6185   echo 'int i;' > conftest.$ac_ext
   6186   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6187   (eval $ac_compile) 2>&5
   6188   ac_status=$?
   6189   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6190   test $ac_status = 0; }; then
   6191     case `/usr/bin/file conftest.o` in
   6192       *32-bit*)
   6193 	case $host in
   6194 	  x86_64-*kfreebsd*-gnu)
   6195 	    LD="${LD-ld} -m elf_i386_fbsd"
   6196 	    ;;
   6197 	  x86_64-*linux*)
   6198 	    LD="${LD-ld} -m elf_i386"
   6199 	    ;;
   6200 	  ppc64-*linux*|powerpc64-*linux*)
   6201 	    LD="${LD-ld} -m elf32ppclinux"
   6202 	    ;;
   6203 	  s390x-*linux*)
   6204 	    LD="${LD-ld} -m elf_s390"
   6205 	    ;;
   6206 	  sparc64-*linux*)
   6207 	    LD="${LD-ld} -m elf32_sparc"
   6208 	    ;;
   6209 	esac
   6210 	;;
   6211       *64-bit*)
   6212 	case $host in
   6213 	  x86_64-*kfreebsd*-gnu)
   6214 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6215 	    ;;
   6216 	  x86_64-*linux*)
   6217 	    LD="${LD-ld} -m elf_x86_64"
   6218 	    ;;
   6219 	  ppc*-*linux*|powerpc*-*linux*)
   6220 	    LD="${LD-ld} -m elf64ppc"
   6221 	    ;;
   6222 	  s390*-*linux*|s390*-*tpf*)
   6223 	    LD="${LD-ld} -m elf64_s390"
   6224 	    ;;
   6225 	  sparc*-*linux*)
   6226 	    LD="${LD-ld} -m elf64_sparc"
   6227 	    ;;
   6228 	esac
   6229 	;;
   6230     esac
   6231   fi
   6232   rm -rf conftest*
   6233   ;;
   6234 
   6235 *-*-sco3.2v5*)
   6236   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6237   SAVE_CFLAGS="$CFLAGS"
   6238   CFLAGS="$CFLAGS -belf"
   6239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6240 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6241 if ${lt_cv_cc_needs_belf+:} false; then :
   6242   $as_echo_n "(cached) " >&6
   6243 else
   6244   ac_ext=c
   6245 ac_cpp='$CPP $CPPFLAGS'
   6246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6249 
   6250      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6251 /* end confdefs.h.  */
   6252 
   6253 int
   6254 main ()
   6255 {
   6256 
   6257   ;
   6258   return 0;
   6259 }
   6260 _ACEOF
   6261 if ac_fn_c_try_link "$LINENO"; then :
   6262   lt_cv_cc_needs_belf=yes
   6263 else
   6264   lt_cv_cc_needs_belf=no
   6265 fi
   6266 rm -f core conftest.err conftest.$ac_objext \
   6267     conftest$ac_exeext conftest.$ac_ext
   6268      ac_ext=c
   6269 ac_cpp='$CPP $CPPFLAGS'
   6270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6273 
   6274 fi
   6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6276 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6277   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6278     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6279     CFLAGS="$SAVE_CFLAGS"
   6280   fi
   6281   ;;
   6282 *-*solaris*)
   6283   # Find out which ABI we are using.
   6284   echo 'int i;' > conftest.$ac_ext
   6285   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6286   (eval $ac_compile) 2>&5
   6287   ac_status=$?
   6288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6289   test $ac_status = 0; }; then
   6290     case `/usr/bin/file conftest.o` in
   6291     *64-bit*)
   6292       case $lt_cv_prog_gnu_ld in
   6293       yes*)
   6294         case $host in
   6295         i?86-*-solaris*)
   6296           LD="${LD-ld} -m elf_x86_64"
   6297           ;;
   6298         sparc*-*-solaris*)
   6299           LD="${LD-ld} -m elf64_sparc"
   6300           ;;
   6301         esac
   6302         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6303         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6304           LD="${LD-ld}_sol2"
   6305         fi
   6306         ;;
   6307       *)
   6308 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6309 	  LD="${LD-ld} -64"
   6310 	fi
   6311 	;;
   6312       esac
   6313       ;;
   6314     esac
   6315   fi
   6316   rm -rf conftest*
   6317   ;;
   6318 esac
   6319 
   6320 need_locks="$enable_libtool_lock"
   6321 
   6322 if test -n "$ac_tool_prefix"; then
   6323   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6324 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6326 $as_echo_n "checking for $ac_word... " >&6; }
   6327 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6328   $as_echo_n "(cached) " >&6
   6329 else
   6330   if test -n "$MANIFEST_TOOL"; then
   6331   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6332 else
   6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6334 for as_dir in $PATH
   6335 do
   6336   IFS=$as_save_IFS
   6337   test -z "$as_dir" && as_dir=.
   6338     for ac_exec_ext in '' $ac_executable_extensions; do
   6339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6340     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6342     break 2
   6343   fi
   6344 done
   6345   done
   6346 IFS=$as_save_IFS
   6347 
   6348 fi
   6349 fi
   6350 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6351 if test -n "$MANIFEST_TOOL"; then
   6352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6353 $as_echo "$MANIFEST_TOOL" >&6; }
   6354 else
   6355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6356 $as_echo "no" >&6; }
   6357 fi
   6358 
   6359 
   6360 fi
   6361 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6362   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6363   # Extract the first word of "mt", so it can be a program name with args.
   6364 set dummy mt; ac_word=$2
   6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6366 $as_echo_n "checking for $ac_word... " >&6; }
   6367 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6368   $as_echo_n "(cached) " >&6
   6369 else
   6370   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6371   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6372 else
   6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6374 for as_dir in $PATH
   6375 do
   6376   IFS=$as_save_IFS
   6377   test -z "$as_dir" && as_dir=.
   6378     for ac_exec_ext in '' $ac_executable_extensions; do
   6379   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6380     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6382     break 2
   6383   fi
   6384 done
   6385   done
   6386 IFS=$as_save_IFS
   6387 
   6388 fi
   6389 fi
   6390 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6391 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6393 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6394 else
   6395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6396 $as_echo "no" >&6; }
   6397 fi
   6398 
   6399   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6400     MANIFEST_TOOL=":"
   6401   else
   6402     case $cross_compiling:$ac_tool_warned in
   6403 yes:)
   6404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6406 ac_tool_warned=yes ;;
   6407 esac
   6408     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6409   fi
   6410 else
   6411   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6412 fi
   6413 
   6414 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6416 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6417 if ${lt_cv_path_mainfest_tool+:} false; then :
   6418   $as_echo_n "(cached) " >&6
   6419 else
   6420   lt_cv_path_mainfest_tool=no
   6421   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6422   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6423   cat conftest.err >&5
   6424   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6425     lt_cv_path_mainfest_tool=yes
   6426   fi
   6427   rm -f conftest*
   6428 fi
   6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6430 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6431 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6432   MANIFEST_TOOL=:
   6433 fi
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440   case $host_os in
   6441     rhapsody* | darwin*)
   6442     if test -n "$ac_tool_prefix"; then
   6443   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6444 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6446 $as_echo_n "checking for $ac_word... " >&6; }
   6447 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6448   $as_echo_n "(cached) " >&6
   6449 else
   6450   if test -n "$DSYMUTIL"; then
   6451   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6452 else
   6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6454 for as_dir in $PATH
   6455 do
   6456   IFS=$as_save_IFS
   6457   test -z "$as_dir" && as_dir=.
   6458     for ac_exec_ext in '' $ac_executable_extensions; do
   6459   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6460     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6462     break 2
   6463   fi
   6464 done
   6465   done
   6466 IFS=$as_save_IFS
   6467 
   6468 fi
   6469 fi
   6470 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6471 if test -n "$DSYMUTIL"; then
   6472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6473 $as_echo "$DSYMUTIL" >&6; }
   6474 else
   6475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6476 $as_echo "no" >&6; }
   6477 fi
   6478 
   6479 
   6480 fi
   6481 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6482   ac_ct_DSYMUTIL=$DSYMUTIL
   6483   # Extract the first word of "dsymutil", so it can be a program name with args.
   6484 set dummy dsymutil; ac_word=$2
   6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6486 $as_echo_n "checking for $ac_word... " >&6; }
   6487 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6488   $as_echo_n "(cached) " >&6
   6489 else
   6490   if test -n "$ac_ct_DSYMUTIL"; then
   6491   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6492 else
   6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6494 for as_dir in $PATH
   6495 do
   6496   IFS=$as_save_IFS
   6497   test -z "$as_dir" && as_dir=.
   6498     for ac_exec_ext in '' $ac_executable_extensions; do
   6499   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6500     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6502     break 2
   6503   fi
   6504 done
   6505   done
   6506 IFS=$as_save_IFS
   6507 
   6508 fi
   6509 fi
   6510 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6511 if test -n "$ac_ct_DSYMUTIL"; then
   6512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6513 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6514 else
   6515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6516 $as_echo "no" >&6; }
   6517 fi
   6518 
   6519   if test "x$ac_ct_DSYMUTIL" = x; then
   6520     DSYMUTIL=":"
   6521   else
   6522     case $cross_compiling:$ac_tool_warned in
   6523 yes:)
   6524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6526 ac_tool_warned=yes ;;
   6527 esac
   6528     DSYMUTIL=$ac_ct_DSYMUTIL
   6529   fi
   6530 else
   6531   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6532 fi
   6533 
   6534     if test -n "$ac_tool_prefix"; then
   6535   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6536 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6538 $as_echo_n "checking for $ac_word... " >&6; }
   6539 if ${ac_cv_prog_NMEDIT+:} false; then :
   6540   $as_echo_n "(cached) " >&6
   6541 else
   6542   if test -n "$NMEDIT"; then
   6543   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6544 else
   6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6546 for as_dir in $PATH
   6547 do
   6548   IFS=$as_save_IFS
   6549   test -z "$as_dir" && as_dir=.
   6550     for ac_exec_ext in '' $ac_executable_extensions; do
   6551   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6552     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6554     break 2
   6555   fi
   6556 done
   6557   done
   6558 IFS=$as_save_IFS
   6559 
   6560 fi
   6561 fi
   6562 NMEDIT=$ac_cv_prog_NMEDIT
   6563 if test -n "$NMEDIT"; then
   6564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6565 $as_echo "$NMEDIT" >&6; }
   6566 else
   6567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6568 $as_echo "no" >&6; }
   6569 fi
   6570 
   6571 
   6572 fi
   6573 if test -z "$ac_cv_prog_NMEDIT"; then
   6574   ac_ct_NMEDIT=$NMEDIT
   6575   # Extract the first word of "nmedit", so it can be a program name with args.
   6576 set dummy nmedit; ac_word=$2
   6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6578 $as_echo_n "checking for $ac_word... " >&6; }
   6579 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6580   $as_echo_n "(cached) " >&6
   6581 else
   6582   if test -n "$ac_ct_NMEDIT"; then
   6583   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6584 else
   6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6586 for as_dir in $PATH
   6587 do
   6588   IFS=$as_save_IFS
   6589   test -z "$as_dir" && as_dir=.
   6590     for ac_exec_ext in '' $ac_executable_extensions; do
   6591   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6592     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6594     break 2
   6595   fi
   6596 done
   6597   done
   6598 IFS=$as_save_IFS
   6599 
   6600 fi
   6601 fi
   6602 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6603 if test -n "$ac_ct_NMEDIT"; then
   6604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6605 $as_echo "$ac_ct_NMEDIT" >&6; }
   6606 else
   6607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6608 $as_echo "no" >&6; }
   6609 fi
   6610 
   6611   if test "x$ac_ct_NMEDIT" = x; then
   6612     NMEDIT=":"
   6613   else
   6614     case $cross_compiling:$ac_tool_warned in
   6615 yes:)
   6616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6618 ac_tool_warned=yes ;;
   6619 esac
   6620     NMEDIT=$ac_ct_NMEDIT
   6621   fi
   6622 else
   6623   NMEDIT="$ac_cv_prog_NMEDIT"
   6624 fi
   6625 
   6626     if test -n "$ac_tool_prefix"; then
   6627   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6628 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6630 $as_echo_n "checking for $ac_word... " >&6; }
   6631 if ${ac_cv_prog_LIPO+:} false; then :
   6632   $as_echo_n "(cached) " >&6
   6633 else
   6634   if test -n "$LIPO"; then
   6635   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6636 else
   6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6638 for as_dir in $PATH
   6639 do
   6640   IFS=$as_save_IFS
   6641   test -z "$as_dir" && as_dir=.
   6642     for ac_exec_ext in '' $ac_executable_extensions; do
   6643   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6644     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6646     break 2
   6647   fi
   6648 done
   6649   done
   6650 IFS=$as_save_IFS
   6651 
   6652 fi
   6653 fi
   6654 LIPO=$ac_cv_prog_LIPO
   6655 if test -n "$LIPO"; then
   6656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6657 $as_echo "$LIPO" >&6; }
   6658 else
   6659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6660 $as_echo "no" >&6; }
   6661 fi
   6662 
   6663 
   6664 fi
   6665 if test -z "$ac_cv_prog_LIPO"; then
   6666   ac_ct_LIPO=$LIPO
   6667   # Extract the first word of "lipo", so it can be a program name with args.
   6668 set dummy lipo; ac_word=$2
   6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6670 $as_echo_n "checking for $ac_word... " >&6; }
   6671 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6672   $as_echo_n "(cached) " >&6
   6673 else
   6674   if test -n "$ac_ct_LIPO"; then
   6675   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6676 else
   6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6678 for as_dir in $PATH
   6679 do
   6680   IFS=$as_save_IFS
   6681   test -z "$as_dir" && as_dir=.
   6682     for ac_exec_ext in '' $ac_executable_extensions; do
   6683   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6684     ac_cv_prog_ac_ct_LIPO="lipo"
   6685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6686     break 2
   6687   fi
   6688 done
   6689   done
   6690 IFS=$as_save_IFS
   6691 
   6692 fi
   6693 fi
   6694 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6695 if test -n "$ac_ct_LIPO"; then
   6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6697 $as_echo "$ac_ct_LIPO" >&6; }
   6698 else
   6699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6700 $as_echo "no" >&6; }
   6701 fi
   6702 
   6703   if test "x$ac_ct_LIPO" = x; then
   6704     LIPO=":"
   6705   else
   6706     case $cross_compiling:$ac_tool_warned in
   6707 yes:)
   6708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6710 ac_tool_warned=yes ;;
   6711 esac
   6712     LIPO=$ac_ct_LIPO
   6713   fi
   6714 else
   6715   LIPO="$ac_cv_prog_LIPO"
   6716 fi
   6717 
   6718     if test -n "$ac_tool_prefix"; then
   6719   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6720 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6722 $as_echo_n "checking for $ac_word... " >&6; }
   6723 if ${ac_cv_prog_OTOOL+:} false; then :
   6724   $as_echo_n "(cached) " >&6
   6725 else
   6726   if test -n "$OTOOL"; then
   6727   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6728 else
   6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6730 for as_dir in $PATH
   6731 do
   6732   IFS=$as_save_IFS
   6733   test -z "$as_dir" && as_dir=.
   6734     for ac_exec_ext in '' $ac_executable_extensions; do
   6735   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6736     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6738     break 2
   6739   fi
   6740 done
   6741   done
   6742 IFS=$as_save_IFS
   6743 
   6744 fi
   6745 fi
   6746 OTOOL=$ac_cv_prog_OTOOL
   6747 if test -n "$OTOOL"; then
   6748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6749 $as_echo "$OTOOL" >&6; }
   6750 else
   6751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6752 $as_echo "no" >&6; }
   6753 fi
   6754 
   6755 
   6756 fi
   6757 if test -z "$ac_cv_prog_OTOOL"; then
   6758   ac_ct_OTOOL=$OTOOL
   6759   # Extract the first word of "otool", so it can be a program name with args.
   6760 set dummy otool; ac_word=$2
   6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6762 $as_echo_n "checking for $ac_word... " >&6; }
   6763 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6764   $as_echo_n "(cached) " >&6
   6765 else
   6766   if test -n "$ac_ct_OTOOL"; then
   6767   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6768 else
   6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6770 for as_dir in $PATH
   6771 do
   6772   IFS=$as_save_IFS
   6773   test -z "$as_dir" && as_dir=.
   6774     for ac_exec_ext in '' $ac_executable_extensions; do
   6775   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6776     ac_cv_prog_ac_ct_OTOOL="otool"
   6777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6778     break 2
   6779   fi
   6780 done
   6781   done
   6782 IFS=$as_save_IFS
   6783 
   6784 fi
   6785 fi
   6786 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6787 if test -n "$ac_ct_OTOOL"; then
   6788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6789 $as_echo "$ac_ct_OTOOL" >&6; }
   6790 else
   6791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6792 $as_echo "no" >&6; }
   6793 fi
   6794 
   6795   if test "x$ac_ct_OTOOL" = x; then
   6796     OTOOL=":"
   6797   else
   6798     case $cross_compiling:$ac_tool_warned in
   6799 yes:)
   6800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6802 ac_tool_warned=yes ;;
   6803 esac
   6804     OTOOL=$ac_ct_OTOOL
   6805   fi
   6806 else
   6807   OTOOL="$ac_cv_prog_OTOOL"
   6808 fi
   6809 
   6810     if test -n "$ac_tool_prefix"; then
   6811   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6812 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6814 $as_echo_n "checking for $ac_word... " >&6; }
   6815 if ${ac_cv_prog_OTOOL64+:} false; then :
   6816   $as_echo_n "(cached) " >&6
   6817 else
   6818   if test -n "$OTOOL64"; then
   6819   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6820 else
   6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6822 for as_dir in $PATH
   6823 do
   6824   IFS=$as_save_IFS
   6825   test -z "$as_dir" && as_dir=.
   6826     for ac_exec_ext in '' $ac_executable_extensions; do
   6827   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6828     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6829     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6830     break 2
   6831   fi
   6832 done
   6833   done
   6834 IFS=$as_save_IFS
   6835 
   6836 fi
   6837 fi
   6838 OTOOL64=$ac_cv_prog_OTOOL64
   6839 if test -n "$OTOOL64"; then
   6840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6841 $as_echo "$OTOOL64" >&6; }
   6842 else
   6843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6844 $as_echo "no" >&6; }
   6845 fi
   6846 
   6847 
   6848 fi
   6849 if test -z "$ac_cv_prog_OTOOL64"; then
   6850   ac_ct_OTOOL64=$OTOOL64
   6851   # Extract the first word of "otool64", so it can be a program name with args.
   6852 set dummy otool64; ac_word=$2
   6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6854 $as_echo_n "checking for $ac_word... " >&6; }
   6855 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6856   $as_echo_n "(cached) " >&6
   6857 else
   6858   if test -n "$ac_ct_OTOOL64"; then
   6859   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6860 else
   6861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6862 for as_dir in $PATH
   6863 do
   6864   IFS=$as_save_IFS
   6865   test -z "$as_dir" && as_dir=.
   6866     for ac_exec_ext in '' $ac_executable_extensions; do
   6867   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6868     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6870     break 2
   6871   fi
   6872 done
   6873   done
   6874 IFS=$as_save_IFS
   6875 
   6876 fi
   6877 fi
   6878 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6879 if test -n "$ac_ct_OTOOL64"; then
   6880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6881 $as_echo "$ac_ct_OTOOL64" >&6; }
   6882 else
   6883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6884 $as_echo "no" >&6; }
   6885 fi
   6886 
   6887   if test "x$ac_ct_OTOOL64" = x; then
   6888     OTOOL64=":"
   6889   else
   6890     case $cross_compiling:$ac_tool_warned in
   6891 yes:)
   6892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6894 ac_tool_warned=yes ;;
   6895 esac
   6896     OTOOL64=$ac_ct_OTOOL64
   6897   fi
   6898 else
   6899   OTOOL64="$ac_cv_prog_OTOOL64"
   6900 fi
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6929 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6930 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6931   $as_echo_n "(cached) " >&6
   6932 else
   6933   lt_cv_apple_cc_single_mod=no
   6934       if test -z "${LT_MULTI_MODULE}"; then
   6935 	# By default we will add the -single_module flag. You can override
   6936 	# by either setting the environment variable LT_MULTI_MODULE
   6937 	# non-empty at configure time, or by adding -multi_module to the
   6938 	# link flags.
   6939 	rm -rf libconftest.dylib*
   6940 	echo "int foo(void){return 1;}" > conftest.c
   6941 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6942 -dynamiclib -Wl,-single_module conftest.c" >&5
   6943 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6944 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6945         _lt_result=$?
   6946 	# If there is a non-empty error log, and "single_module"
   6947 	# appears in it, assume the flag caused a linker warning
   6948         if test -s conftest.err && $GREP single_module conftest.err; then
   6949 	  cat conftest.err >&5
   6950 	# Otherwise, if the output was created with a 0 exit code from
   6951 	# the compiler, it worked.
   6952 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   6953 	  lt_cv_apple_cc_single_mod=yes
   6954 	else
   6955 	  cat conftest.err >&5
   6956 	fi
   6957 	rm -rf libconftest.dylib*
   6958 	rm -f conftest.*
   6959       fi
   6960 fi
   6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6962 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6963 
   6964     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6965 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6966 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6967   $as_echo_n "(cached) " >&6
   6968 else
   6969   lt_cv_ld_exported_symbols_list=no
   6970       save_LDFLAGS=$LDFLAGS
   6971       echo "_main" > conftest.sym
   6972       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6974 /* end confdefs.h.  */
   6975 
   6976 int
   6977 main ()
   6978 {
   6979 
   6980   ;
   6981   return 0;
   6982 }
   6983 _ACEOF
   6984 if ac_fn_c_try_link "$LINENO"; then :
   6985   lt_cv_ld_exported_symbols_list=yes
   6986 else
   6987   lt_cv_ld_exported_symbols_list=no
   6988 fi
   6989 rm -f core conftest.err conftest.$ac_objext \
   6990     conftest$ac_exeext conftest.$ac_ext
   6991 	LDFLAGS="$save_LDFLAGS"
   6992 
   6993 fi
   6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6995 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6996 
   6997     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   6998 $as_echo_n "checking for -force_load linker flag... " >&6; }
   6999 if ${lt_cv_ld_force_load+:} false; then :
   7000   $as_echo_n "(cached) " >&6
   7001 else
   7002   lt_cv_ld_force_load=no
   7003       cat > conftest.c << _LT_EOF
   7004 int forced_loaded() { return 2;}
   7005 _LT_EOF
   7006       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7007       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7008       echo "$AR cru libconftest.a conftest.o" >&5
   7009       $AR cru libconftest.a conftest.o 2>&5
   7010       echo "$RANLIB libconftest.a" >&5
   7011       $RANLIB libconftest.a 2>&5
   7012       cat > conftest.c << _LT_EOF
   7013 int main() { return 0;}
   7014 _LT_EOF
   7015       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7016       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7017       _lt_result=$?
   7018       if test -s conftest.err && $GREP force_load conftest.err; then
   7019 	cat conftest.err >&5
   7020       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7021 	lt_cv_ld_force_load=yes
   7022       else
   7023 	cat conftest.err >&5
   7024       fi
   7025         rm -f conftest.err libconftest.a conftest conftest.c
   7026         rm -rf conftest.dSYM
   7027 
   7028 fi
   7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7030 $as_echo "$lt_cv_ld_force_load" >&6; }
   7031     case $host_os in
   7032     rhapsody* | darwin1.[012])
   7033       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7034     darwin1.*)
   7035       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7036     darwin*) # darwin 5.x on
   7037       # if running on 10.5 or later, the deployment target defaults
   7038       # to the OS version, if on x86, and 10.4, the deployment
   7039       # target defaults to 10.4. Don't you love it?
   7040       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7041 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7042 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7043 	10.[012]*)
   7044 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7045 	10.*)
   7046 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7047       esac
   7048     ;;
   7049   esac
   7050     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7051       _lt_dar_single_mod='$single_module'
   7052     fi
   7053     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7054       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7055     else
   7056       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7057     fi
   7058     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7059       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7060     else
   7061       _lt_dsymutil=
   7062     fi
   7063     ;;
   7064   esac
   7065 
   7066 ac_ext=c
   7067 ac_cpp='$CPP $CPPFLAGS'
   7068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7072 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7073 # On Suns, sometimes $CPP names a directory.
   7074 if test -n "$CPP" && test -d "$CPP"; then
   7075   CPP=
   7076 fi
   7077 if test -z "$CPP"; then
   7078   if ${ac_cv_prog_CPP+:} false; then :
   7079   $as_echo_n "(cached) " >&6
   7080 else
   7081       # Double quotes because CPP needs to be expanded
   7082     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7083     do
   7084       ac_preproc_ok=false
   7085 for ac_c_preproc_warn_flag in '' yes
   7086 do
   7087   # Use a header file that comes with gcc, so configuring glibc
   7088   # with a fresh cross-compiler works.
   7089   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7090   # <limits.h> exists even on freestanding compilers.
   7091   # On the NeXT, cc -E runs the code through the compiler's parser,
   7092   # not just through cpp. "Syntax error" is here to catch this case.
   7093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7094 /* end confdefs.h.  */
   7095 #ifdef __STDC__
   7096 # include <limits.h>
   7097 #else
   7098 # include <assert.h>
   7099 #endif
   7100 		     Syntax error
   7101 _ACEOF
   7102 if ac_fn_c_try_cpp "$LINENO"; then :
   7103 
   7104 else
   7105   # Broken: fails on valid input.
   7106 continue
   7107 fi
   7108 rm -f conftest.err conftest.i conftest.$ac_ext
   7109 
   7110   # OK, works on sane cases.  Now check whether nonexistent headers
   7111   # can be detected and how.
   7112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7113 /* end confdefs.h.  */
   7114 #include <ac_nonexistent.h>
   7115 _ACEOF
   7116 if ac_fn_c_try_cpp "$LINENO"; then :
   7117   # Broken: success on invalid input.
   7118 continue
   7119 else
   7120   # Passes both tests.
   7121 ac_preproc_ok=:
   7122 break
   7123 fi
   7124 rm -f conftest.err conftest.i conftest.$ac_ext
   7125 
   7126 done
   7127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7128 rm -f conftest.i conftest.err conftest.$ac_ext
   7129 if $ac_preproc_ok; then :
   7130   break
   7131 fi
   7132 
   7133     done
   7134     ac_cv_prog_CPP=$CPP
   7135 
   7136 fi
   7137   CPP=$ac_cv_prog_CPP
   7138 else
   7139   ac_cv_prog_CPP=$CPP
   7140 fi
   7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7142 $as_echo "$CPP" >&6; }
   7143 ac_preproc_ok=false
   7144 for ac_c_preproc_warn_flag in '' yes
   7145 do
   7146   # Use a header file that comes with gcc, so configuring glibc
   7147   # with a fresh cross-compiler works.
   7148   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7149   # <limits.h> exists even on freestanding compilers.
   7150   # On the NeXT, cc -E runs the code through the compiler's parser,
   7151   # not just through cpp. "Syntax error" is here to catch this case.
   7152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7153 /* end confdefs.h.  */
   7154 #ifdef __STDC__
   7155 # include <limits.h>
   7156 #else
   7157 # include <assert.h>
   7158 #endif
   7159 		     Syntax error
   7160 _ACEOF
   7161 if ac_fn_c_try_cpp "$LINENO"; then :
   7162 
   7163 else
   7164   # Broken: fails on valid input.
   7165 continue
   7166 fi
   7167 rm -f conftest.err conftest.i conftest.$ac_ext
   7168 
   7169   # OK, works on sane cases.  Now check whether nonexistent headers
   7170   # can be detected and how.
   7171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7172 /* end confdefs.h.  */
   7173 #include <ac_nonexistent.h>
   7174 _ACEOF
   7175 if ac_fn_c_try_cpp "$LINENO"; then :
   7176   # Broken: success on invalid input.
   7177 continue
   7178 else
   7179   # Passes both tests.
   7180 ac_preproc_ok=:
   7181 break
   7182 fi
   7183 rm -f conftest.err conftest.i conftest.$ac_ext
   7184 
   7185 done
   7186 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7187 rm -f conftest.i conftest.err conftest.$ac_ext
   7188 if $ac_preproc_ok; then :
   7189 
   7190 else
   7191   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7193 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7194 See \`config.log' for more details" "$LINENO" 5; }
   7195 fi
   7196 
   7197 ac_ext=c
   7198 ac_cpp='$CPP $CPPFLAGS'
   7199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7202 
   7203 
   7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7205 $as_echo_n "checking for ANSI C header files... " >&6; }
   7206 if ${ac_cv_header_stdc+:} false; then :
   7207   $as_echo_n "(cached) " >&6
   7208 else
   7209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7210 /* end confdefs.h.  */
   7211 #include <stdlib.h>
   7212 #include <stdarg.h>
   7213 #include <string.h>
   7214 #include <float.h>
   7215 
   7216 int
   7217 main ()
   7218 {
   7219 
   7220   ;
   7221   return 0;
   7222 }
   7223 _ACEOF
   7224 if ac_fn_c_try_compile "$LINENO"; then :
   7225   ac_cv_header_stdc=yes
   7226 else
   7227   ac_cv_header_stdc=no
   7228 fi
   7229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7230 
   7231 if test $ac_cv_header_stdc = yes; then
   7232   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7234 /* end confdefs.h.  */
   7235 #include <string.h>
   7236 
   7237 _ACEOF
   7238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7239   $EGREP "memchr" >/dev/null 2>&1; then :
   7240 
   7241 else
   7242   ac_cv_header_stdc=no
   7243 fi
   7244 rm -f conftest*
   7245 
   7246 fi
   7247 
   7248 if test $ac_cv_header_stdc = yes; then
   7249   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7251 /* end confdefs.h.  */
   7252 #include <stdlib.h>
   7253 
   7254 _ACEOF
   7255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7256   $EGREP "free" >/dev/null 2>&1; then :
   7257 
   7258 else
   7259   ac_cv_header_stdc=no
   7260 fi
   7261 rm -f conftest*
   7262 
   7263 fi
   7264 
   7265 if test $ac_cv_header_stdc = yes; then
   7266   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7267   if test "$cross_compiling" = yes; then :
   7268   :
   7269 else
   7270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7271 /* end confdefs.h.  */
   7272 #include <ctype.h>
   7273 #include <stdlib.h>
   7274 #if ((' ' & 0x0FF) == 0x020)
   7275 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7276 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7277 #else
   7278 # define ISLOWER(c) \
   7279 		   (('a' <= (c) && (c) <= 'i') \
   7280 		     || ('j' <= (c) && (c) <= 'r') \
   7281 		     || ('s' <= (c) && (c) <= 'z'))
   7282 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7283 #endif
   7284 
   7285 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7286 int
   7287 main ()
   7288 {
   7289   int i;
   7290   for (i = 0; i < 256; i++)
   7291     if (XOR (islower (i), ISLOWER (i))
   7292 	|| toupper (i) != TOUPPER (i))
   7293       return 2;
   7294   return 0;
   7295 }
   7296 _ACEOF
   7297 if ac_fn_c_try_run "$LINENO"; then :
   7298 
   7299 else
   7300   ac_cv_header_stdc=no
   7301 fi
   7302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7303   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7304 fi
   7305 
   7306 fi
   7307 fi
   7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7309 $as_echo "$ac_cv_header_stdc" >&6; }
   7310 if test $ac_cv_header_stdc = yes; then
   7311 
   7312 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7313 
   7314 fi
   7315 
   7316 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7317 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7318 		  inttypes.h stdint.h unistd.h
   7319 do :
   7320   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7321 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7322 "
   7323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7324   cat >>confdefs.h <<_ACEOF
   7325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7326 _ACEOF
   7327 
   7328 fi
   7329 
   7330 done
   7331 
   7332 
   7333 for ac_header in dlfcn.h
   7334 do :
   7335   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7336 "
   7337 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7338   cat >>confdefs.h <<_ACEOF
   7339 #define HAVE_DLFCN_H 1
   7340 _ACEOF
   7341 
   7342 fi
   7343 
   7344 done
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 # Set options
   7351 
   7352 
   7353 
   7354         enable_dlopen=no
   7355 
   7356 
   7357   enable_win32_dll=no
   7358 
   7359 
   7360             # Check whether --enable-shared was given.
   7361 if test "${enable_shared+set}" = set; then :
   7362   enableval=$enable_shared; p=${PACKAGE-default}
   7363     case $enableval in
   7364     yes) enable_shared=yes ;;
   7365     no) enable_shared=no ;;
   7366     *)
   7367       enable_shared=no
   7368       # Look at the argument we got.  We use all the common list separators.
   7369       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7370       for pkg in $enableval; do
   7371 	IFS="$lt_save_ifs"
   7372 	if test "X$pkg" = "X$p"; then
   7373 	  enable_shared=yes
   7374 	fi
   7375       done
   7376       IFS="$lt_save_ifs"
   7377       ;;
   7378     esac
   7379 else
   7380   enable_shared=yes
   7381 fi
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391   # Check whether --enable-static was given.
   7392 if test "${enable_static+set}" = set; then :
   7393   enableval=$enable_static; p=${PACKAGE-default}
   7394     case $enableval in
   7395     yes) enable_static=yes ;;
   7396     no) enable_static=no ;;
   7397     *)
   7398      enable_static=no
   7399       # Look at the argument we got.  We use all the common list separators.
   7400       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7401       for pkg in $enableval; do
   7402 	IFS="$lt_save_ifs"
   7403 	if test "X$pkg" = "X$p"; then
   7404 	  enable_static=yes
   7405 	fi
   7406       done
   7407       IFS="$lt_save_ifs"
   7408       ;;
   7409     esac
   7410 else
   7411   enable_static=yes
   7412 fi
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 # Check whether --with-pic was given.
   7424 if test "${with_pic+set}" = set; then :
   7425   withval=$with_pic; lt_p=${PACKAGE-default}
   7426     case $withval in
   7427     yes|no) pic_mode=$withval ;;
   7428     *)
   7429       pic_mode=default
   7430       # Look at the argument we got.  We use all the common list separators.
   7431       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7432       for lt_pkg in $withval; do
   7433 	IFS="$lt_save_ifs"
   7434 	if test "X$lt_pkg" = "X$lt_p"; then
   7435 	  pic_mode=yes
   7436 	fi
   7437       done
   7438       IFS="$lt_save_ifs"
   7439       ;;
   7440     esac
   7441 else
   7442   pic_mode=default
   7443 fi
   7444 
   7445 
   7446 test -z "$pic_mode" && pic_mode=default
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454   # Check whether --enable-fast-install was given.
   7455 if test "${enable_fast_install+set}" = set; then :
   7456   enableval=$enable_fast_install; p=${PACKAGE-default}
   7457     case $enableval in
   7458     yes) enable_fast_install=yes ;;
   7459     no) enable_fast_install=no ;;
   7460     *)
   7461       enable_fast_install=no
   7462       # Look at the argument we got.  We use all the common list separators.
   7463       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7464       for pkg in $enableval; do
   7465 	IFS="$lt_save_ifs"
   7466 	if test "X$pkg" = "X$p"; then
   7467 	  enable_fast_install=yes
   7468 	fi
   7469       done
   7470       IFS="$lt_save_ifs"
   7471       ;;
   7472     esac
   7473 else
   7474   enable_fast_install=yes
   7475 fi
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 # This can be used to rebuild libtool when needed
   7488 LIBTOOL_DEPS="$ltmain"
   7489 
   7490 # Always use our own libtool.
   7491 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 test -z "$LN_S" && LN_S="ln -s"
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 if test -n "${ZSH_VERSION+set}" ; then
   7538    setopt NO_GLOB_SUBST
   7539 fi
   7540 
   7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7542 $as_echo_n "checking for objdir... " >&6; }
   7543 if ${lt_cv_objdir+:} false; then :
   7544   $as_echo_n "(cached) " >&6
   7545 else
   7546   rm -f .libs 2>/dev/null
   7547 mkdir .libs 2>/dev/null
   7548 if test -d .libs; then
   7549   lt_cv_objdir=.libs
   7550 else
   7551   # MS-DOS does not allow filenames that begin with a dot.
   7552   lt_cv_objdir=_libs
   7553 fi
   7554 rmdir .libs 2>/dev/null
   7555 fi
   7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7557 $as_echo "$lt_cv_objdir" >&6; }
   7558 objdir=$lt_cv_objdir
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 cat >>confdefs.h <<_ACEOF
   7565 #define LT_OBJDIR "$lt_cv_objdir/"
   7566 _ACEOF
   7567 
   7568 
   7569 
   7570 
   7571 case $host_os in
   7572 aix3*)
   7573   # AIX sometimes has problems with the GCC collect2 program.  For some
   7574   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7575   # vanish in a puff of smoke.
   7576   if test "X${COLLECT_NAMES+set}" != Xset; then
   7577     COLLECT_NAMES=
   7578     export COLLECT_NAMES
   7579   fi
   7580   ;;
   7581 esac
   7582 
   7583 # Global variables:
   7584 ofile=libtool
   7585 can_build_shared=yes
   7586 
   7587 # All known linkers require a `.a' archive for static linking (except MSVC,
   7588 # which needs '.lib').
   7589 libext=a
   7590 
   7591 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7592 
   7593 old_CC="$CC"
   7594 old_CFLAGS="$CFLAGS"
   7595 
   7596 # Set sane defaults for various variables
   7597 test -z "$CC" && CC=cc
   7598 test -z "$LTCC" && LTCC=$CC
   7599 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7600 test -z "$LD" && LD=ld
   7601 test -z "$ac_objext" && ac_objext=o
   7602 
   7603 for cc_temp in $compiler""; do
   7604   case $cc_temp in
   7605     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7606     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7607     \-*) ;;
   7608     *) break;;
   7609   esac
   7610 done
   7611 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7612 
   7613 
   7614 # Only perform the check for file, if the check method requires it
   7615 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7616 case $deplibs_check_method in
   7617 file_magic*)
   7618   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7620 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7621 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7622   $as_echo_n "(cached) " >&6
   7623 else
   7624   case $MAGIC_CMD in
   7625 [\\/*] |  ?:[\\/]*)
   7626   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7627   ;;
   7628 *)
   7629   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7630   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7631   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7632   for ac_dir in $ac_dummy; do
   7633     IFS="$lt_save_ifs"
   7634     test -z "$ac_dir" && ac_dir=.
   7635     if test -f $ac_dir/${ac_tool_prefix}file; then
   7636       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7637       if test -n "$file_magic_test_file"; then
   7638 	case $deplibs_check_method in
   7639 	"file_magic "*)
   7640 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7641 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7642 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7643 	    $EGREP "$file_magic_regex" > /dev/null; then
   7644 	    :
   7645 	  else
   7646 	    cat <<_LT_EOF 1>&2
   7647 
   7648 *** Warning: the command libtool uses to detect shared libraries,
   7649 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7650 *** The result is that libtool may fail to recognize shared libraries
   7651 *** as such.  This will affect the creation of libtool libraries that
   7652 *** depend on shared libraries, but programs linked with such libtool
   7653 *** libraries will work regardless of this problem.  Nevertheless, you
   7654 *** may want to report the problem to your system manager and/or to
   7655 *** bug-libtool@gnu.org
   7656 
   7657 _LT_EOF
   7658 	  fi ;;
   7659 	esac
   7660       fi
   7661       break
   7662     fi
   7663   done
   7664   IFS="$lt_save_ifs"
   7665   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7666   ;;
   7667 esac
   7668 fi
   7669 
   7670 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7671 if test -n "$MAGIC_CMD"; then
   7672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7673 $as_echo "$MAGIC_CMD" >&6; }
   7674 else
   7675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7676 $as_echo "no" >&6; }
   7677 fi
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7684   if test -n "$ac_tool_prefix"; then
   7685     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7686 $as_echo_n "checking for file... " >&6; }
   7687 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7688   $as_echo_n "(cached) " >&6
   7689 else
   7690   case $MAGIC_CMD in
   7691 [\\/*] |  ?:[\\/]*)
   7692   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7693   ;;
   7694 *)
   7695   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7696   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7697   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7698   for ac_dir in $ac_dummy; do
   7699     IFS="$lt_save_ifs"
   7700     test -z "$ac_dir" && ac_dir=.
   7701     if test -f $ac_dir/file; then
   7702       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7703       if test -n "$file_magic_test_file"; then
   7704 	case $deplibs_check_method in
   7705 	"file_magic "*)
   7706 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7707 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7708 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7709 	    $EGREP "$file_magic_regex" > /dev/null; then
   7710 	    :
   7711 	  else
   7712 	    cat <<_LT_EOF 1>&2
   7713 
   7714 *** Warning: the command libtool uses to detect shared libraries,
   7715 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7716 *** The result is that libtool may fail to recognize shared libraries
   7717 *** as such.  This will affect the creation of libtool libraries that
   7718 *** depend on shared libraries, but programs linked with such libtool
   7719 *** libraries will work regardless of this problem.  Nevertheless, you
   7720 *** may want to report the problem to your system manager and/or to
   7721 *** bug-libtool@gnu.org
   7722 
   7723 _LT_EOF
   7724 	  fi ;;
   7725 	esac
   7726       fi
   7727       break
   7728     fi
   7729   done
   7730   IFS="$lt_save_ifs"
   7731   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7732   ;;
   7733 esac
   7734 fi
   7735 
   7736 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7737 if test -n "$MAGIC_CMD"; then
   7738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7739 $as_echo "$MAGIC_CMD" >&6; }
   7740 else
   7741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7742 $as_echo "no" >&6; }
   7743 fi
   7744 
   7745 
   7746   else
   7747     MAGIC_CMD=:
   7748   fi
   7749 fi
   7750 
   7751   fi
   7752   ;;
   7753 esac
   7754 
   7755 # Use C for the default configuration in the libtool script
   7756 
   7757 lt_save_CC="$CC"
   7758 ac_ext=c
   7759 ac_cpp='$CPP $CPPFLAGS'
   7760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7763 
   7764 
   7765 # Source file extension for C test sources.
   7766 ac_ext=c
   7767 
   7768 # Object file extension for compiled C test sources.
   7769 objext=o
   7770 objext=$objext
   7771 
   7772 # Code to be used in simple compile tests
   7773 lt_simple_compile_test_code="int some_variable = 0;"
   7774 
   7775 # Code to be used in simple link tests
   7776 lt_simple_link_test_code='int main(){return(0);}'
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 # If no C compiler was specified, use CC.
   7785 LTCC=${LTCC-"$CC"}
   7786 
   7787 # If no C compiler flags were specified, use CFLAGS.
   7788 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7789 
   7790 # Allow CC to be a program name with arguments.
   7791 compiler=$CC
   7792 
   7793 # Save the default compiler, since it gets overwritten when the other
   7794 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7795 compiler_DEFAULT=$CC
   7796 
   7797 # save warnings/boilerplate of simple test code
   7798 ac_outfile=conftest.$ac_objext
   7799 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7800 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7801 _lt_compiler_boilerplate=`cat conftest.err`
   7802 $RM conftest*
   7803 
   7804 ac_outfile=conftest.$ac_objext
   7805 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7806 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7807 _lt_linker_boilerplate=`cat conftest.err`
   7808 $RM -r conftest*
   7809 
   7810 
   7811 if test -n "$compiler"; then
   7812 
   7813 lt_prog_compiler_no_builtin_flag=
   7814 
   7815 if test "$GCC" = yes; then
   7816   case $cc_basename in
   7817   nvcc*)
   7818     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7819   *)
   7820     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7821   esac
   7822 
   7823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7824 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7825 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7826   $as_echo_n "(cached) " >&6
   7827 else
   7828   lt_cv_prog_compiler_rtti_exceptions=no
   7829    ac_outfile=conftest.$ac_objext
   7830    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7831    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7832    # Insert the option either (1) after the last *FLAGS variable, or
   7833    # (2) before a word containing "conftest.", or (3) at the end.
   7834    # Note that $ac_compile itself does not contain backslashes and begins
   7835    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7836    # The option is referenced via a variable to avoid confusing sed.
   7837    lt_compile=`echo "$ac_compile" | $SED \
   7838    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7839    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7840    -e 's:$: $lt_compiler_flag:'`
   7841    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7842    (eval "$lt_compile" 2>conftest.err)
   7843    ac_status=$?
   7844    cat conftest.err >&5
   7845    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7846    if (exit $ac_status) && test -s "$ac_outfile"; then
   7847      # The compiler can only warn and ignore the option if not recognized
   7848      # So say no if there are warnings other than the usual output.
   7849      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7850      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7851      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7852        lt_cv_prog_compiler_rtti_exceptions=yes
   7853      fi
   7854    fi
   7855    $RM conftest*
   7856 
   7857 fi
   7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7859 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7860 
   7861 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7862     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7863 else
   7864     :
   7865 fi
   7866 
   7867 fi
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874   lt_prog_compiler_wl=
   7875 lt_prog_compiler_pic=
   7876 lt_prog_compiler_static=
   7877 
   7878 
   7879   if test "$GCC" = yes; then
   7880     lt_prog_compiler_wl='-Wl,'
   7881     lt_prog_compiler_static='-static'
   7882 
   7883     case $host_os in
   7884       aix*)
   7885       # All AIX code is PIC.
   7886       if test "$host_cpu" = ia64; then
   7887 	# AIX 5 now supports IA64 processor
   7888 	lt_prog_compiler_static='-Bstatic'
   7889       fi
   7890       ;;
   7891 
   7892     amigaos*)
   7893       case $host_cpu in
   7894       powerpc)
   7895             # see comment about AmigaOS4 .so support
   7896             lt_prog_compiler_pic='-fPIC'
   7897         ;;
   7898       m68k)
   7899             # FIXME: we need at least 68020 code to build shared libraries, but
   7900             # adding the `-m68020' flag to GCC prevents building anything better,
   7901             # like `-m68040'.
   7902             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7903         ;;
   7904       esac
   7905       ;;
   7906 
   7907     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7908       # PIC is the default for these OSes.
   7909       ;;
   7910 
   7911     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7912       # This hack is so that the source file can tell whether it is being
   7913       # built for inclusion in a dll (and should export symbols for example).
   7914       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7915       # (--disable-auto-import) libraries
   7916       lt_prog_compiler_pic='-DDLL_EXPORT'
   7917       ;;
   7918 
   7919     darwin* | rhapsody*)
   7920       # PIC is the default on this platform
   7921       # Common symbols not allowed in MH_DYLIB files
   7922       lt_prog_compiler_pic='-fno-common'
   7923       ;;
   7924 
   7925     haiku*)
   7926       # PIC is the default for Haiku.
   7927       # The "-static" flag exists, but is broken.
   7928       lt_prog_compiler_static=
   7929       ;;
   7930 
   7931     hpux*)
   7932       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7933       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7934       # sets the default TLS model and affects inlining.
   7935       case $host_cpu in
   7936       hppa*64*)
   7937 	# +Z the default
   7938 	;;
   7939       *)
   7940 	lt_prog_compiler_pic='-fPIC'
   7941 	;;
   7942       esac
   7943       ;;
   7944 
   7945     interix[3-9]*)
   7946       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7947       # Instead, we relocate shared libraries at runtime.
   7948       ;;
   7949 
   7950     msdosdjgpp*)
   7951       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7952       # on systems that don't support them.
   7953       lt_prog_compiler_can_build_shared=no
   7954       enable_shared=no
   7955       ;;
   7956 
   7957     *nto* | *qnx*)
   7958       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7959       # it will coredump.
   7960       lt_prog_compiler_pic='-fPIC -shared'
   7961       ;;
   7962 
   7963     sysv4*MP*)
   7964       if test -d /usr/nec; then
   7965 	lt_prog_compiler_pic=-Kconform_pic
   7966       fi
   7967       ;;
   7968 
   7969     *)
   7970       lt_prog_compiler_pic='-fPIC'
   7971       ;;
   7972     esac
   7973 
   7974     case $cc_basename in
   7975     nvcc*) # Cuda Compiler Driver 2.2
   7976       lt_prog_compiler_wl='-Xlinker '
   7977       if test -n "$lt_prog_compiler_pic"; then
   7978         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   7979       fi
   7980       ;;
   7981     esac
   7982   else
   7983     # PORTME Check for flag to pass linker flags through the system compiler.
   7984     case $host_os in
   7985     aix*)
   7986       lt_prog_compiler_wl='-Wl,'
   7987       if test "$host_cpu" = ia64; then
   7988 	# AIX 5 now supports IA64 processor
   7989 	lt_prog_compiler_static='-Bstatic'
   7990       else
   7991 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7992       fi
   7993       ;;
   7994 
   7995     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7996       # This hack is so that the source file can tell whether it is being
   7997       # built for inclusion in a dll (and should export symbols for example).
   7998       lt_prog_compiler_pic='-DDLL_EXPORT'
   7999       ;;
   8000 
   8001     hpux9* | hpux10* | hpux11*)
   8002       lt_prog_compiler_wl='-Wl,'
   8003       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8004       # not for PA HP-UX.
   8005       case $host_cpu in
   8006       hppa*64*|ia64*)
   8007 	# +Z the default
   8008 	;;
   8009       *)
   8010 	lt_prog_compiler_pic='+Z'
   8011 	;;
   8012       esac
   8013       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8014       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8015       ;;
   8016 
   8017     irix5* | irix6* | nonstopux*)
   8018       lt_prog_compiler_wl='-Wl,'
   8019       # PIC (with -KPIC) is the default.
   8020       lt_prog_compiler_static='-non_shared'
   8021       ;;
   8022 
   8023     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8024       case $cc_basename in
   8025       # old Intel for x86_64 which still supported -KPIC.
   8026       ecc*)
   8027 	lt_prog_compiler_wl='-Wl,'
   8028 	lt_prog_compiler_pic='-KPIC'
   8029 	lt_prog_compiler_static='-static'
   8030         ;;
   8031       # icc used to be incompatible with GCC.
   8032       # ICC 10 doesn't accept -KPIC any more.
   8033       icc* | ifort*)
   8034 	lt_prog_compiler_wl='-Wl,'
   8035 	lt_prog_compiler_pic='-fPIC'
   8036 	lt_prog_compiler_static='-static'
   8037         ;;
   8038       # Lahey Fortran 8.1.
   8039       lf95*)
   8040 	lt_prog_compiler_wl='-Wl,'
   8041 	lt_prog_compiler_pic='--shared'
   8042 	lt_prog_compiler_static='--static'
   8043 	;;
   8044       nagfor*)
   8045 	# NAG Fortran compiler
   8046 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8047 	lt_prog_compiler_pic='-PIC'
   8048 	lt_prog_compiler_static='-Bstatic'
   8049 	;;
   8050       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8051         # Portland Group compilers (*not* the Pentium gcc compiler,
   8052 	# which looks to be a dead project)
   8053 	lt_prog_compiler_wl='-Wl,'
   8054 	lt_prog_compiler_pic='-fpic'
   8055 	lt_prog_compiler_static='-Bstatic'
   8056         ;;
   8057       ccc*)
   8058         lt_prog_compiler_wl='-Wl,'
   8059         # All Alpha code is PIC.
   8060         lt_prog_compiler_static='-non_shared'
   8061         ;;
   8062       xl* | bgxl* | bgf* | mpixl*)
   8063 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8064 	lt_prog_compiler_wl='-Wl,'
   8065 	lt_prog_compiler_pic='-qpic'
   8066 	lt_prog_compiler_static='-qstaticlink'
   8067 	;;
   8068       *)
   8069 	case `$CC -V 2>&1 | sed 5q` in
   8070 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8071 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8072 	  lt_prog_compiler_pic='-KPIC'
   8073 	  lt_prog_compiler_static='-Bstatic'
   8074 	  lt_prog_compiler_wl=''
   8075 	  ;;
   8076 	*Sun\ F* | *Sun*Fortran*)
   8077 	  lt_prog_compiler_pic='-KPIC'
   8078 	  lt_prog_compiler_static='-Bstatic'
   8079 	  lt_prog_compiler_wl='-Qoption ld '
   8080 	  ;;
   8081 	*Sun\ C*)
   8082 	  # Sun C 5.9
   8083 	  lt_prog_compiler_pic='-KPIC'
   8084 	  lt_prog_compiler_static='-Bstatic'
   8085 	  lt_prog_compiler_wl='-Wl,'
   8086 	  ;;
   8087         *Intel*\ [CF]*Compiler*)
   8088 	  lt_prog_compiler_wl='-Wl,'
   8089 	  lt_prog_compiler_pic='-fPIC'
   8090 	  lt_prog_compiler_static='-static'
   8091 	  ;;
   8092 	*Portland\ Group*)
   8093 	  lt_prog_compiler_wl='-Wl,'
   8094 	  lt_prog_compiler_pic='-fpic'
   8095 	  lt_prog_compiler_static='-Bstatic'
   8096 	  ;;
   8097 	esac
   8098 	;;
   8099       esac
   8100       ;;
   8101 
   8102     newsos6)
   8103       lt_prog_compiler_pic='-KPIC'
   8104       lt_prog_compiler_static='-Bstatic'
   8105       ;;
   8106 
   8107     *nto* | *qnx*)
   8108       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8109       # it will coredump.
   8110       lt_prog_compiler_pic='-fPIC -shared'
   8111       ;;
   8112 
   8113     osf3* | osf4* | osf5*)
   8114       lt_prog_compiler_wl='-Wl,'
   8115       # All OSF/1 code is PIC.
   8116       lt_prog_compiler_static='-non_shared'
   8117       ;;
   8118 
   8119     rdos*)
   8120       lt_prog_compiler_static='-non_shared'
   8121       ;;
   8122 
   8123     solaris*)
   8124       lt_prog_compiler_pic='-KPIC'
   8125       lt_prog_compiler_static='-Bstatic'
   8126       case $cc_basename in
   8127       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8128 	lt_prog_compiler_wl='-Qoption ld ';;
   8129       *)
   8130 	lt_prog_compiler_wl='-Wl,';;
   8131       esac
   8132       ;;
   8133 
   8134     sunos4*)
   8135       lt_prog_compiler_wl='-Qoption ld '
   8136       lt_prog_compiler_pic='-PIC'
   8137       lt_prog_compiler_static='-Bstatic'
   8138       ;;
   8139 
   8140     sysv4 | sysv4.2uw2* | sysv4.3*)
   8141       lt_prog_compiler_wl='-Wl,'
   8142       lt_prog_compiler_pic='-KPIC'
   8143       lt_prog_compiler_static='-Bstatic'
   8144       ;;
   8145 
   8146     sysv4*MP*)
   8147       if test -d /usr/nec ;then
   8148 	lt_prog_compiler_pic='-Kconform_pic'
   8149 	lt_prog_compiler_static='-Bstatic'
   8150       fi
   8151       ;;
   8152 
   8153     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8154       lt_prog_compiler_wl='-Wl,'
   8155       lt_prog_compiler_pic='-KPIC'
   8156       lt_prog_compiler_static='-Bstatic'
   8157       ;;
   8158 
   8159     unicos*)
   8160       lt_prog_compiler_wl='-Wl,'
   8161       lt_prog_compiler_can_build_shared=no
   8162       ;;
   8163 
   8164     uts4*)
   8165       lt_prog_compiler_pic='-pic'
   8166       lt_prog_compiler_static='-Bstatic'
   8167       ;;
   8168 
   8169     *)
   8170       lt_prog_compiler_can_build_shared=no
   8171       ;;
   8172     esac
   8173   fi
   8174 
   8175 case $host_os in
   8176   # For platforms which do not support PIC, -DPIC is meaningless:
   8177   *djgpp*)
   8178     lt_prog_compiler_pic=
   8179     ;;
   8180   *)
   8181     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8182     ;;
   8183 esac
   8184 
   8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8186 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8187 if ${lt_cv_prog_compiler_pic+:} false; then :
   8188   $as_echo_n "(cached) " >&6
   8189 else
   8190   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8191 fi
   8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8193 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8194 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8195 
   8196 #
   8197 # Check to make sure the PIC flag actually works.
   8198 #
   8199 if test -n "$lt_prog_compiler_pic"; then
   8200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8201 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8202 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8203   $as_echo_n "(cached) " >&6
   8204 else
   8205   lt_cv_prog_compiler_pic_works=no
   8206    ac_outfile=conftest.$ac_objext
   8207    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8208    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8209    # Insert the option either (1) after the last *FLAGS variable, or
   8210    # (2) before a word containing "conftest.", or (3) at the end.
   8211    # Note that $ac_compile itself does not contain backslashes and begins
   8212    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8213    # The option is referenced via a variable to avoid confusing sed.
   8214    lt_compile=`echo "$ac_compile" | $SED \
   8215    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8216    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8217    -e 's:$: $lt_compiler_flag:'`
   8218    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8219    (eval "$lt_compile" 2>conftest.err)
   8220    ac_status=$?
   8221    cat conftest.err >&5
   8222    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8223    if (exit $ac_status) && test -s "$ac_outfile"; then
   8224      # The compiler can only warn and ignore the option if not recognized
   8225      # So say no if there are warnings other than the usual output.
   8226      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8227      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8228      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8229        lt_cv_prog_compiler_pic_works=yes
   8230      fi
   8231    fi
   8232    $RM conftest*
   8233 
   8234 fi
   8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8236 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8237 
   8238 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8239     case $lt_prog_compiler_pic in
   8240      "" | " "*) ;;
   8241      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8242      esac
   8243 else
   8244     lt_prog_compiler_pic=
   8245      lt_prog_compiler_can_build_shared=no
   8246 fi
   8247 
   8248 fi
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 #
   8261 # Check to make sure the static flag actually works.
   8262 #
   8263 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8265 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8266 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8267   $as_echo_n "(cached) " >&6
   8268 else
   8269   lt_cv_prog_compiler_static_works=no
   8270    save_LDFLAGS="$LDFLAGS"
   8271    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8272    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8273    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8274      # The linker can only warn and ignore the option if not recognized
   8275      # So say no if there are warnings
   8276      if test -s conftest.err; then
   8277        # Append any errors to the config.log.
   8278        cat conftest.err 1>&5
   8279        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8280        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8281        if diff conftest.exp conftest.er2 >/dev/null; then
   8282          lt_cv_prog_compiler_static_works=yes
   8283        fi
   8284      else
   8285        lt_cv_prog_compiler_static_works=yes
   8286      fi
   8287    fi
   8288    $RM -r conftest*
   8289    LDFLAGS="$save_LDFLAGS"
   8290 
   8291 fi
   8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8293 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8294 
   8295 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8296     :
   8297 else
   8298     lt_prog_compiler_static=
   8299 fi
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8308 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8309 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8310   $as_echo_n "(cached) " >&6
   8311 else
   8312   lt_cv_prog_compiler_c_o=no
   8313    $RM -r conftest 2>/dev/null
   8314    mkdir conftest
   8315    cd conftest
   8316    mkdir out
   8317    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8318 
   8319    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8320    # Insert the option either (1) after the last *FLAGS variable, or
   8321    # (2) before a word containing "conftest.", or (3) at the end.
   8322    # Note that $ac_compile itself does not contain backslashes and begins
   8323    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8324    lt_compile=`echo "$ac_compile" | $SED \
   8325    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8326    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8327    -e 's:$: $lt_compiler_flag:'`
   8328    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8329    (eval "$lt_compile" 2>out/conftest.err)
   8330    ac_status=$?
   8331    cat out/conftest.err >&5
   8332    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8333    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8334    then
   8335      # The compiler can only warn and ignore the option if not recognized
   8336      # So say no if there are warnings
   8337      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8338      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8339      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8340        lt_cv_prog_compiler_c_o=yes
   8341      fi
   8342    fi
   8343    chmod u+w . 2>&5
   8344    $RM conftest*
   8345    # SGI C++ compiler will create directory out/ii_files/ for
   8346    # template instantiation
   8347    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8348    $RM out/* && rmdir out
   8349    cd ..
   8350    $RM -r conftest
   8351    $RM conftest*
   8352 
   8353 fi
   8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8355 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8356 
   8357 
   8358 
   8359 
   8360 
   8361 
   8362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8363 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8364 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8365   $as_echo_n "(cached) " >&6
   8366 else
   8367   lt_cv_prog_compiler_c_o=no
   8368    $RM -r conftest 2>/dev/null
   8369    mkdir conftest
   8370    cd conftest
   8371    mkdir out
   8372    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8373 
   8374    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8375    # Insert the option either (1) after the last *FLAGS variable, or
   8376    # (2) before a word containing "conftest.", or (3) at the end.
   8377    # Note that $ac_compile itself does not contain backslashes and begins
   8378    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8379    lt_compile=`echo "$ac_compile" | $SED \
   8380    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8381    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8382    -e 's:$: $lt_compiler_flag:'`
   8383    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8384    (eval "$lt_compile" 2>out/conftest.err)
   8385    ac_status=$?
   8386    cat out/conftest.err >&5
   8387    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8388    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8389    then
   8390      # The compiler can only warn and ignore the option if not recognized
   8391      # So say no if there are warnings
   8392      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8393      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8394      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8395        lt_cv_prog_compiler_c_o=yes
   8396      fi
   8397    fi
   8398    chmod u+w . 2>&5
   8399    $RM conftest*
   8400    # SGI C++ compiler will create directory out/ii_files/ for
   8401    # template instantiation
   8402    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8403    $RM out/* && rmdir out
   8404    cd ..
   8405    $RM -r conftest
   8406    $RM conftest*
   8407 
   8408 fi
   8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8410 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8411 
   8412 
   8413 
   8414 
   8415 hard_links="nottested"
   8416 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8417   # do not overwrite the value of need_locks provided by the user
   8418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8419 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8420   hard_links=yes
   8421   $RM conftest*
   8422   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8423   touch conftest.a
   8424   ln conftest.a conftest.b 2>&5 || hard_links=no
   8425   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8427 $as_echo "$hard_links" >&6; }
   8428   if test "$hard_links" = no; then
   8429     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8430 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8431     need_locks=warn
   8432   fi
   8433 else
   8434   need_locks=no
   8435 fi
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8443 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8444 
   8445   runpath_var=
   8446   allow_undefined_flag=
   8447   always_export_symbols=no
   8448   archive_cmds=
   8449   archive_expsym_cmds=
   8450   compiler_needs_object=no
   8451   enable_shared_with_static_runtimes=no
   8452   export_dynamic_flag_spec=
   8453   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8454   hardcode_automatic=no
   8455   hardcode_direct=no
   8456   hardcode_direct_absolute=no
   8457   hardcode_libdir_flag_spec=
   8458   hardcode_libdir_separator=
   8459   hardcode_minus_L=no
   8460   hardcode_shlibpath_var=unsupported
   8461   inherit_rpath=no
   8462   link_all_deplibs=unknown
   8463   module_cmds=
   8464   module_expsym_cmds=
   8465   old_archive_from_new_cmds=
   8466   old_archive_from_expsyms_cmds=
   8467   thread_safe_flag_spec=
   8468   whole_archive_flag_spec=
   8469   # include_expsyms should be a list of space-separated symbols to be *always*
   8470   # included in the symbol list
   8471   include_expsyms=
   8472   # exclude_expsyms can be an extended regexp of symbols to exclude
   8473   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8474   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8475   # as well as any symbol that contains `d'.
   8476   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8477   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8478   # platforms (ab)use it in PIC code, but their linkers get confused if
   8479   # the symbol is explicitly referenced.  Since portable code cannot
   8480   # rely on this symbol name, it's probably fine to never include it in
   8481   # preloaded symbol tables.
   8482   # Exclude shared library initialization/finalization symbols.
   8483   extract_expsyms_cmds=
   8484 
   8485   case $host_os in
   8486   cygwin* | mingw* | pw32* | cegcc*)
   8487     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8488     # When not using gcc, we currently assume that we are using
   8489     # Microsoft Visual C++.
   8490     if test "$GCC" != yes; then
   8491       with_gnu_ld=no
   8492     fi
   8493     ;;
   8494   interix*)
   8495     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8496     with_gnu_ld=yes
   8497     ;;
   8498   openbsd*)
   8499     with_gnu_ld=no
   8500     ;;
   8501   esac
   8502 
   8503   ld_shlibs=yes
   8504 
   8505   # On some targets, GNU ld is compatible enough with the native linker
   8506   # that we're better off using the native interface for both.
   8507   lt_use_gnu_ld_interface=no
   8508   if test "$with_gnu_ld" = yes; then
   8509     case $host_os in
   8510       aix*)
   8511 	# The AIX port of GNU ld has always aspired to compatibility
   8512 	# with the native linker.  However, as the warning in the GNU ld
   8513 	# block says, versions before 2.19.5* couldn't really create working
   8514 	# shared libraries, regardless of the interface used.
   8515 	case `$LD -v 2>&1` in
   8516 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8517 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8518 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8519 	  *)
   8520 	    lt_use_gnu_ld_interface=yes
   8521 	    ;;
   8522 	esac
   8523 	;;
   8524       *)
   8525 	lt_use_gnu_ld_interface=yes
   8526 	;;
   8527     esac
   8528   fi
   8529 
   8530   if test "$lt_use_gnu_ld_interface" = yes; then
   8531     # If archive_cmds runs LD, not CC, wlarc should be empty
   8532     wlarc='${wl}'
   8533 
   8534     # Set some defaults for GNU ld with shared library support. These
   8535     # are reset later if shared libraries are not supported. Putting them
   8536     # here allows them to be overridden if necessary.
   8537     runpath_var=LD_RUN_PATH
   8538     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8539     export_dynamic_flag_spec='${wl}--export-dynamic'
   8540     # ancient GNU ld didn't support --whole-archive et. al.
   8541     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8542       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8543     else
   8544       whole_archive_flag_spec=
   8545     fi
   8546     supports_anon_versioning=no
   8547     case `$LD -v 2>&1` in
   8548       *GNU\ gold*) supports_anon_versioning=yes ;;
   8549       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8550       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8551       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8552       *\ 2.11.*) ;; # other 2.11 versions
   8553       *) supports_anon_versioning=yes ;;
   8554     esac
   8555 
   8556     # See if GNU ld supports shared libraries.
   8557     case $host_os in
   8558     aix[3-9]*)
   8559       # On AIX/PPC, the GNU linker is very broken
   8560       if test "$host_cpu" != ia64; then
   8561 	ld_shlibs=no
   8562 	cat <<_LT_EOF 1>&2
   8563 
   8564 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8565 *** to be unable to reliably create shared libraries on AIX.
   8566 *** Therefore, libtool is disabling shared libraries support.  If you
   8567 *** really care for shared libraries, you may want to install binutils
   8568 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8569 *** You will then need to restart the configuration process.
   8570 
   8571 _LT_EOF
   8572       fi
   8573       ;;
   8574 
   8575     amigaos*)
   8576       case $host_cpu in
   8577       powerpc)
   8578             # see comment about AmigaOS4 .so support
   8579             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8580             archive_expsym_cmds=''
   8581         ;;
   8582       m68k)
   8583             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)'
   8584             hardcode_libdir_flag_spec='-L$libdir'
   8585             hardcode_minus_L=yes
   8586         ;;
   8587       esac
   8588       ;;
   8589 
   8590     beos*)
   8591       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8592 	allow_undefined_flag=unsupported
   8593 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8594 	# support --undefined.  This deserves some investigation.  FIXME
   8595 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8596       else
   8597 	ld_shlibs=no
   8598       fi
   8599       ;;
   8600 
   8601     cygwin* | mingw* | pw32* | cegcc*)
   8602       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8603       # as there is no search path for DLLs.
   8604       hardcode_libdir_flag_spec='-L$libdir'
   8605       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8606       allow_undefined_flag=unsupported
   8607       always_export_symbols=no
   8608       enable_shared_with_static_runtimes=yes
   8609       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'
   8610       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8611 
   8612       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8613         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8614 	# If the export-symbols file already is a .def file (1st line
   8615 	# is EXPORTS), use it as is; otherwise, prepend...
   8616 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8617 	  cp $export_symbols $output_objdir/$soname.def;
   8618 	else
   8619 	  echo EXPORTS > $output_objdir/$soname.def;
   8620 	  cat $export_symbols >> $output_objdir/$soname.def;
   8621 	fi~
   8622 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8623       else
   8624 	ld_shlibs=no
   8625       fi
   8626       ;;
   8627 
   8628     haiku*)
   8629       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8630       link_all_deplibs=yes
   8631       ;;
   8632 
   8633     interix[3-9]*)
   8634       hardcode_direct=no
   8635       hardcode_shlibpath_var=no
   8636       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8637       export_dynamic_flag_spec='${wl}-E'
   8638       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8639       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8640       # default) and relocated if they conflict, which is a slow very memory
   8641       # consuming and fragmenting process.  To avoid this, we pick a random,
   8642       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8643       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8644       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8645       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'
   8646       ;;
   8647 
   8648     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8649       tmp_diet=no
   8650       if test "$host_os" = linux-dietlibc; then
   8651 	case $cc_basename in
   8652 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8653 	esac
   8654       fi
   8655       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8656 	 && test "$tmp_diet" = no
   8657       then
   8658 	tmp_addflag=' $pic_flag'
   8659 	tmp_sharedflag='-shared'
   8660 	case $cc_basename,$host_cpu in
   8661         pgcc*)				# Portland Group C compiler
   8662 	  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'
   8663 	  tmp_addflag=' $pic_flag'
   8664 	  ;;
   8665 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8666 					# Portland Group f77 and f90 compilers
   8667 	  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'
   8668 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8669 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8670 	  tmp_addflag=' -i_dynamic' ;;
   8671 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8672 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8673 	ifc* | ifort*)			# Intel Fortran compiler
   8674 	  tmp_addflag=' -nofor_main' ;;
   8675 	lf95*)				# Lahey Fortran 8.1
   8676 	  whole_archive_flag_spec=
   8677 	  tmp_sharedflag='--shared' ;;
   8678 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8679 	  tmp_sharedflag='-qmkshrobj'
   8680 	  tmp_addflag= ;;
   8681 	nvcc*)	# Cuda Compiler Driver 2.2
   8682 	  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'
   8683 	  compiler_needs_object=yes
   8684 	  ;;
   8685 	esac
   8686 	case `$CC -V 2>&1 | sed 5q` in
   8687 	*Sun\ C*)			# Sun C 5.9
   8688 	  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'
   8689 	  compiler_needs_object=yes
   8690 	  tmp_sharedflag='-G' ;;
   8691 	*Sun\ F*)			# Sun Fortran 8.3
   8692 	  tmp_sharedflag='-G' ;;
   8693 	esac
   8694 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8695 
   8696         if test "x$supports_anon_versioning" = xyes; then
   8697           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8698 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8699 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8700 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8701         fi
   8702 
   8703 	case $cc_basename in
   8704 	xlf* | bgf* | bgxlf* | mpixlf*)
   8705 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8706 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8707 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8708 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8709 	  if test "x$supports_anon_versioning" = xyes; then
   8710 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8711 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8712 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8713 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8714 	  fi
   8715 	  ;;
   8716 	esac
   8717       else
   8718         ld_shlibs=no
   8719       fi
   8720       ;;
   8721 
   8722     netbsd*)
   8723       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8724 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8725 	wlarc=
   8726       else
   8727 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8728 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8729       fi
   8730       ;;
   8731 
   8732     solaris*)
   8733       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8734 	ld_shlibs=no
   8735 	cat <<_LT_EOF 1>&2
   8736 
   8737 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8738 *** create shared libraries on Solaris systems.  Therefore, libtool
   8739 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8740 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8741 *** your PATH or compiler configuration so that the native linker is
   8742 *** used, and then restart.
   8743 
   8744 _LT_EOF
   8745       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8746 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8747 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8748       else
   8749 	ld_shlibs=no
   8750       fi
   8751       ;;
   8752 
   8753     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8754       case `$LD -v 2>&1` in
   8755         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8756 	ld_shlibs=no
   8757 	cat <<_LT_EOF 1>&2
   8758 
   8759 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8760 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8761 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8762 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8763 *** your PATH or compiler configuration so that the native linker is
   8764 *** used, and then restart.
   8765 
   8766 _LT_EOF
   8767 	;;
   8768 	*)
   8769 	  # For security reasons, it is highly recommended that you always
   8770 	  # use absolute paths for naming shared libraries, and exclude the
   8771 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8772 	  # requires that you compile everything twice, which is a pain.
   8773 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8774 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8775 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8776 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8777 	  else
   8778 	    ld_shlibs=no
   8779 	  fi
   8780 	;;
   8781       esac
   8782       ;;
   8783 
   8784     sunos4*)
   8785       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8786       wlarc=
   8787       hardcode_direct=yes
   8788       hardcode_shlibpath_var=no
   8789       ;;
   8790 
   8791     *)
   8792       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8793 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8794 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8795       else
   8796 	ld_shlibs=no
   8797       fi
   8798       ;;
   8799     esac
   8800 
   8801     if test "$ld_shlibs" = no; then
   8802       runpath_var=
   8803       hardcode_libdir_flag_spec=
   8804       export_dynamic_flag_spec=
   8805       whole_archive_flag_spec=
   8806     fi
   8807   else
   8808     # PORTME fill in a description of your system's linker (not GNU ld)
   8809     case $host_os in
   8810     aix3*)
   8811       allow_undefined_flag=unsupported
   8812       always_export_symbols=yes
   8813       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'
   8814       # Note: this linker hardcodes the directories in LIBPATH if there
   8815       # are no directories specified by -L.
   8816       hardcode_minus_L=yes
   8817       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8818 	# Neither direct hardcoding nor static linking is supported with a
   8819 	# broken collect2.
   8820 	hardcode_direct=unsupported
   8821       fi
   8822       ;;
   8823 
   8824     aix[4-9]*)
   8825       if test "$host_cpu" = ia64; then
   8826 	# On IA64, the linker does run time linking by default, so we don't
   8827 	# have to do anything special.
   8828 	aix_use_runtimelinking=no
   8829 	exp_sym_flag='-Bexport'
   8830 	no_entry_flag=""
   8831       else
   8832 	# If we're using GNU nm, then we don't want the "-C" option.
   8833 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8834 	# Also, AIX nm treats weak defined symbols like other global
   8835 	# defined symbols, whereas GNU nm marks them as "W".
   8836 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8837 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8838 	else
   8839 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8840 	fi
   8841 	aix_use_runtimelinking=no
   8842 
   8843 	# Test if we are trying to use run time linking or normal
   8844 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8845 	# need to do runtime linking.
   8846 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8847 	  for ld_flag in $LDFLAGS; do
   8848 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8849 	    aix_use_runtimelinking=yes
   8850 	    break
   8851 	  fi
   8852 	  done
   8853 	  ;;
   8854 	esac
   8855 
   8856 	exp_sym_flag='-bexport'
   8857 	no_entry_flag='-bnoentry'
   8858       fi
   8859 
   8860       # When large executables or shared objects are built, AIX ld can
   8861       # have problems creating the table of contents.  If linking a library
   8862       # or program results in "error TOC overflow" add -mminimal-toc to
   8863       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8864       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8865 
   8866       archive_cmds=''
   8867       hardcode_direct=yes
   8868       hardcode_direct_absolute=yes
   8869       hardcode_libdir_separator=':'
   8870       link_all_deplibs=yes
   8871       file_list_spec='${wl}-f,'
   8872 
   8873       if test "$GCC" = yes; then
   8874 	case $host_os in aix4.[012]|aix4.[012].*)
   8875 	# We only want to do this on AIX 4.2 and lower, the check
   8876 	# below for broken collect2 doesn't work under 4.3+
   8877 	  collect2name=`${CC} -print-prog-name=collect2`
   8878 	  if test -f "$collect2name" &&
   8879 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8880 	  then
   8881 	  # We have reworked collect2
   8882 	  :
   8883 	  else
   8884 	  # We have old collect2
   8885 	  hardcode_direct=unsupported
   8886 	  # It fails to find uninstalled libraries when the uninstalled
   8887 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8888 	  # to unsupported forces relinking
   8889 	  hardcode_minus_L=yes
   8890 	  hardcode_libdir_flag_spec='-L$libdir'
   8891 	  hardcode_libdir_separator=
   8892 	  fi
   8893 	  ;;
   8894 	esac
   8895 	shared_flag='-shared'
   8896 	if test "$aix_use_runtimelinking" = yes; then
   8897 	  shared_flag="$shared_flag "'${wl}-G'
   8898 	fi
   8899       else
   8900 	# not using gcc
   8901 	if test "$host_cpu" = ia64; then
   8902 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8903 	# chokes on -Wl,-G. The following line is correct:
   8904 	  shared_flag='-G'
   8905 	else
   8906 	  if test "$aix_use_runtimelinking" = yes; then
   8907 	    shared_flag='${wl}-G'
   8908 	  else
   8909 	    shared_flag='${wl}-bM:SRE'
   8910 	  fi
   8911 	fi
   8912       fi
   8913 
   8914       export_dynamic_flag_spec='${wl}-bexpall'
   8915       # It seems that -bexpall does not export symbols beginning with
   8916       # underscore (_), so it is better to generate a list of symbols to export.
   8917       always_export_symbols=yes
   8918       if test "$aix_use_runtimelinking" = yes; then
   8919 	# Warning - without using the other runtime loading flags (-brtl),
   8920 	# -berok will link without error, but may produce a broken library.
   8921 	allow_undefined_flag='-berok'
   8922         # Determine the default libpath from the value encoded in an
   8923         # empty executable.
   8924         if test "${lt_cv_aix_libpath+set}" = set; then
   8925   aix_libpath=$lt_cv_aix_libpath
   8926 else
   8927   if ${lt_cv_aix_libpath_+:} false; then :
   8928   $as_echo_n "(cached) " >&6
   8929 else
   8930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8931 /* end confdefs.h.  */
   8932 
   8933 int
   8934 main ()
   8935 {
   8936 
   8937   ;
   8938   return 0;
   8939 }
   8940 _ACEOF
   8941 if ac_fn_c_try_link "$LINENO"; then :
   8942 
   8943   lt_aix_libpath_sed='
   8944       /Import File Strings/,/^$/ {
   8945 	  /^0/ {
   8946 	      s/^0  *\([^ ]*\) *$/\1/
   8947 	      p
   8948 	  }
   8949       }'
   8950   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8951   # Check for a 64-bit object if we didn't find anything.
   8952   if test -z "$lt_cv_aix_libpath_"; then
   8953     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8954   fi
   8955 fi
   8956 rm -f core conftest.err conftest.$ac_objext \
   8957     conftest$ac_exeext conftest.$ac_ext
   8958   if test -z "$lt_cv_aix_libpath_"; then
   8959     lt_cv_aix_libpath_="/usr/lib:/lib"
   8960   fi
   8961 
   8962 fi
   8963 
   8964   aix_libpath=$lt_cv_aix_libpath_
   8965 fi
   8966 
   8967         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8968         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8969       else
   8970 	if test "$host_cpu" = ia64; then
   8971 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8972 	  allow_undefined_flag="-z nodefs"
   8973 	  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"
   8974 	else
   8975 	 # Determine the default libpath from the value encoded in an
   8976 	 # empty executable.
   8977 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8978   aix_libpath=$lt_cv_aix_libpath
   8979 else
   8980   if ${lt_cv_aix_libpath_+:} false; then :
   8981   $as_echo_n "(cached) " >&6
   8982 else
   8983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8984 /* end confdefs.h.  */
   8985 
   8986 int
   8987 main ()
   8988 {
   8989 
   8990   ;
   8991   return 0;
   8992 }
   8993 _ACEOF
   8994 if ac_fn_c_try_link "$LINENO"; then :
   8995 
   8996   lt_aix_libpath_sed='
   8997       /Import File Strings/,/^$/ {
   8998 	  /^0/ {
   8999 	      s/^0  *\([^ ]*\) *$/\1/
   9000 	      p
   9001 	  }
   9002       }'
   9003   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9004   # Check for a 64-bit object if we didn't find anything.
   9005   if test -z "$lt_cv_aix_libpath_"; then
   9006     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9007   fi
   9008 fi
   9009 rm -f core conftest.err conftest.$ac_objext \
   9010     conftest$ac_exeext conftest.$ac_ext
   9011   if test -z "$lt_cv_aix_libpath_"; then
   9012     lt_cv_aix_libpath_="/usr/lib:/lib"
   9013   fi
   9014 
   9015 fi
   9016 
   9017   aix_libpath=$lt_cv_aix_libpath_
   9018 fi
   9019 
   9020 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9021 	  # Warning - without using the other run time loading flags,
   9022 	  # -berok will link without error, but may produce a broken library.
   9023 	  no_undefined_flag=' ${wl}-bernotok'
   9024 	  allow_undefined_flag=' ${wl}-berok'
   9025 	  if test "$with_gnu_ld" = yes; then
   9026 	    # We only use this code for GNU lds that support --whole-archive.
   9027 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9028 	  else
   9029 	    # Exported symbols can be pulled into shared objects from archives
   9030 	    whole_archive_flag_spec='$convenience'
   9031 	  fi
   9032 	  archive_cmds_need_lc=yes
   9033 	  # This is similar to how AIX traditionally builds its shared libraries.
   9034 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9035 	fi
   9036       fi
   9037       ;;
   9038 
   9039     amigaos*)
   9040       case $host_cpu in
   9041       powerpc)
   9042             # see comment about AmigaOS4 .so support
   9043             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9044             archive_expsym_cmds=''
   9045         ;;
   9046       m68k)
   9047             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)'
   9048             hardcode_libdir_flag_spec='-L$libdir'
   9049             hardcode_minus_L=yes
   9050         ;;
   9051       esac
   9052       ;;
   9053 
   9054     bsdi[45]*)
   9055       export_dynamic_flag_spec=-rdynamic
   9056       ;;
   9057 
   9058     cygwin* | mingw* | pw32* | cegcc*)
   9059       # When not using gcc, we currently assume that we are using
   9060       # Microsoft Visual C++.
   9061       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9062       # no search path for DLLs.
   9063       case $cc_basename in
   9064       cl*)
   9065 	# Native MSVC
   9066 	hardcode_libdir_flag_spec=' '
   9067 	allow_undefined_flag=unsupported
   9068 	always_export_symbols=yes
   9069 	file_list_spec='@'
   9070 	# Tell ltmain to make .lib files, not .a files.
   9071 	libext=lib
   9072 	# Tell ltmain to make .dll files, not .so files.
   9073 	shrext_cmds=".dll"
   9074 	# FIXME: Setting linknames here is a bad hack.
   9075 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9076 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9077 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9078 	  else
   9079 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9080 	  fi~
   9081 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9082 	  linknames='
   9083 	# The linker will not automatically build a static lib if we build a DLL.
   9084 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9085 	enable_shared_with_static_runtimes=yes
   9086 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9087 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9088 	# Don't use ranlib
   9089 	old_postinstall_cmds='chmod 644 $oldlib'
   9090 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9091 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9092 	  case $lt_outputfile in
   9093 	    *.exe|*.EXE) ;;
   9094 	    *)
   9095 	      lt_outputfile="$lt_outputfile.exe"
   9096 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9097 	      ;;
   9098 	  esac~
   9099 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9100 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9101 	    $RM "$lt_outputfile.manifest";
   9102 	  fi'
   9103 	;;
   9104       *)
   9105 	# Assume MSVC wrapper
   9106 	hardcode_libdir_flag_spec=' '
   9107 	allow_undefined_flag=unsupported
   9108 	# Tell ltmain to make .lib files, not .a files.
   9109 	libext=lib
   9110 	# Tell ltmain to make .dll files, not .so files.
   9111 	shrext_cmds=".dll"
   9112 	# FIXME: Setting linknames here is a bad hack.
   9113 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9114 	# The linker will automatically build a .lib file if we build a DLL.
   9115 	old_archive_from_new_cmds='true'
   9116 	# FIXME: Should let the user specify the lib program.
   9117 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9118 	enable_shared_with_static_runtimes=yes
   9119 	;;
   9120       esac
   9121       ;;
   9122 
   9123     darwin* | rhapsody*)
   9124 
   9125 
   9126   archive_cmds_need_lc=no
   9127   hardcode_direct=no
   9128   hardcode_automatic=yes
   9129   hardcode_shlibpath_var=unsupported
   9130   if test "$lt_cv_ld_force_load" = "yes"; then
   9131     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\"`'
   9132 
   9133   else
   9134     whole_archive_flag_spec=''
   9135   fi
   9136   link_all_deplibs=yes
   9137   allow_undefined_flag="$_lt_dar_allow_undefined"
   9138   case $cc_basename in
   9139      ifort*) _lt_dar_can_shared=yes ;;
   9140      *) _lt_dar_can_shared=$GCC ;;
   9141   esac
   9142   if test "$_lt_dar_can_shared" = "yes"; then
   9143     output_verbose_link_cmd=func_echo_all
   9144     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9145     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9146     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}"
   9147     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}"
   9148 
   9149   else
   9150   ld_shlibs=no
   9151   fi
   9152 
   9153       ;;
   9154 
   9155     dgux*)
   9156       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9157       hardcode_libdir_flag_spec='-L$libdir'
   9158       hardcode_shlibpath_var=no
   9159       ;;
   9160 
   9161     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9162     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9163     # does not break anything, and helps significantly (at the cost of a little
   9164     # extra space).
   9165     freebsd2.2*)
   9166       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9167       hardcode_libdir_flag_spec='-R$libdir'
   9168       hardcode_direct=yes
   9169       hardcode_shlibpath_var=no
   9170       ;;
   9171 
   9172     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9173     freebsd2.*)
   9174       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9175       hardcode_direct=yes
   9176       hardcode_minus_L=yes
   9177       hardcode_shlibpath_var=no
   9178       ;;
   9179 
   9180     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9181     freebsd* | dragonfly*)
   9182       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9183       hardcode_libdir_flag_spec='-R$libdir'
   9184       hardcode_direct=yes
   9185       hardcode_shlibpath_var=no
   9186       ;;
   9187 
   9188     hpux9*)
   9189       if test "$GCC" = yes; then
   9190 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9191       else
   9192 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9193       fi
   9194       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9195       hardcode_libdir_separator=:
   9196       hardcode_direct=yes
   9197 
   9198       # hardcode_minus_L: Not really in the search PATH,
   9199       # but as the default location of the library.
   9200       hardcode_minus_L=yes
   9201       export_dynamic_flag_spec='${wl}-E'
   9202       ;;
   9203 
   9204     hpux10*)
   9205       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9206 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9207       else
   9208 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9209       fi
   9210       if test "$with_gnu_ld" = no; then
   9211 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9212 	hardcode_libdir_separator=:
   9213 	hardcode_direct=yes
   9214 	hardcode_direct_absolute=yes
   9215 	export_dynamic_flag_spec='${wl}-E'
   9216 	# hardcode_minus_L: Not really in the search PATH,
   9217 	# but as the default location of the library.
   9218 	hardcode_minus_L=yes
   9219       fi
   9220       ;;
   9221 
   9222     hpux11*)
   9223       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9224 	case $host_cpu in
   9225 	hppa*64*)
   9226 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9227 	  ;;
   9228 	ia64*)
   9229 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9230 	  ;;
   9231 	*)
   9232 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9233 	  ;;
   9234 	esac
   9235       else
   9236 	case $host_cpu in
   9237 	hppa*64*)
   9238 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9239 	  ;;
   9240 	ia64*)
   9241 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9242 	  ;;
   9243 	*)
   9244 
   9245 	  # Older versions of the 11.00 compiler do not understand -b yet
   9246 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9247 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9248 $as_echo_n "checking if $CC understands -b... " >&6; }
   9249 if ${lt_cv_prog_compiler__b+:} false; then :
   9250   $as_echo_n "(cached) " >&6
   9251 else
   9252   lt_cv_prog_compiler__b=no
   9253    save_LDFLAGS="$LDFLAGS"
   9254    LDFLAGS="$LDFLAGS -b"
   9255    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9256    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9257      # The linker can only warn and ignore the option if not recognized
   9258      # So say no if there are warnings
   9259      if test -s conftest.err; then
   9260        # Append any errors to the config.log.
   9261        cat conftest.err 1>&5
   9262        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9263        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9264        if diff conftest.exp conftest.er2 >/dev/null; then
   9265          lt_cv_prog_compiler__b=yes
   9266        fi
   9267      else
   9268        lt_cv_prog_compiler__b=yes
   9269      fi
   9270    fi
   9271    $RM -r conftest*
   9272    LDFLAGS="$save_LDFLAGS"
   9273 
   9274 fi
   9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9276 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9277 
   9278 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9279     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9280 else
   9281     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9282 fi
   9283 
   9284 	  ;;
   9285 	esac
   9286       fi
   9287       if test "$with_gnu_ld" = no; then
   9288 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9289 	hardcode_libdir_separator=:
   9290 
   9291 	case $host_cpu in
   9292 	hppa*64*|ia64*)
   9293 	  hardcode_direct=no
   9294 	  hardcode_shlibpath_var=no
   9295 	  ;;
   9296 	*)
   9297 	  hardcode_direct=yes
   9298 	  hardcode_direct_absolute=yes
   9299 	  export_dynamic_flag_spec='${wl}-E'
   9300 
   9301 	  # hardcode_minus_L: Not really in the search PATH,
   9302 	  # but as the default location of the library.
   9303 	  hardcode_minus_L=yes
   9304 	  ;;
   9305 	esac
   9306       fi
   9307       ;;
   9308 
   9309     irix5* | irix6* | nonstopux*)
   9310       if test "$GCC" = yes; then
   9311 	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'
   9312 	# Try to use the -exported_symbol ld option, if it does not
   9313 	# work, assume that -exports_file does not work either and
   9314 	# implicitly export all symbols.
   9315 	# This should be the same for all languages, so no per-tag cache variable.
   9316 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9317 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9318 if ${lt_cv_irix_exported_symbol+:} false; then :
   9319   $as_echo_n "(cached) " >&6
   9320 else
   9321   save_LDFLAGS="$LDFLAGS"
   9322 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9323 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9324 /* end confdefs.h.  */
   9325 int foo (void) { return 0; }
   9326 _ACEOF
   9327 if ac_fn_c_try_link "$LINENO"; then :
   9328   lt_cv_irix_exported_symbol=yes
   9329 else
   9330   lt_cv_irix_exported_symbol=no
   9331 fi
   9332 rm -f core conftest.err conftest.$ac_objext \
   9333     conftest$ac_exeext conftest.$ac_ext
   9334            LDFLAGS="$save_LDFLAGS"
   9335 fi
   9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9337 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9338 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9339           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'
   9340 	fi
   9341       else
   9342 	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'
   9343 	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'
   9344       fi
   9345       archive_cmds_need_lc='no'
   9346       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9347       hardcode_libdir_separator=:
   9348       inherit_rpath=yes
   9349       link_all_deplibs=yes
   9350       ;;
   9351 
   9352     netbsd*)
   9353       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9354 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9355       else
   9356 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9357       fi
   9358       hardcode_libdir_flag_spec='-R$libdir'
   9359       hardcode_direct=yes
   9360       hardcode_shlibpath_var=no
   9361       ;;
   9362 
   9363     newsos6)
   9364       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9365       hardcode_direct=yes
   9366       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9367       hardcode_libdir_separator=:
   9368       hardcode_shlibpath_var=no
   9369       ;;
   9370 
   9371     *nto* | *qnx*)
   9372       ;;
   9373 
   9374     openbsd*)
   9375       if test -f /usr/libexec/ld.so; then
   9376 	hardcode_direct=yes
   9377 	hardcode_shlibpath_var=no
   9378 	hardcode_direct_absolute=yes
   9379 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9380 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9381 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9382 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9383 	  export_dynamic_flag_spec='${wl}-E'
   9384 	else
   9385 	  case $host_os in
   9386 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9387 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9388 	     hardcode_libdir_flag_spec='-R$libdir'
   9389 	     ;;
   9390 	   *)
   9391 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9392 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9393 	     ;;
   9394 	  esac
   9395 	fi
   9396       else
   9397 	ld_shlibs=no
   9398       fi
   9399       ;;
   9400 
   9401     os2*)
   9402       hardcode_libdir_flag_spec='-L$libdir'
   9403       hardcode_minus_L=yes
   9404       allow_undefined_flag=unsupported
   9405       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9406       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9407       ;;
   9408 
   9409     osf3*)
   9410       if test "$GCC" = yes; then
   9411 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9412 	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'
   9413       else
   9414 	allow_undefined_flag=' -expect_unresolved \*'
   9415 	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'
   9416       fi
   9417       archive_cmds_need_lc='no'
   9418       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9419       hardcode_libdir_separator=:
   9420       ;;
   9421 
   9422     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9423       if test "$GCC" = yes; then
   9424 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9425 	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'
   9426 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9427       else
   9428 	allow_undefined_flag=' -expect_unresolved \*'
   9429 	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'
   9430 	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~
   9431 	$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'
   9432 
   9433 	# Both c and cxx compiler support -rpath directly
   9434 	hardcode_libdir_flag_spec='-rpath $libdir'
   9435       fi
   9436       archive_cmds_need_lc='no'
   9437       hardcode_libdir_separator=:
   9438       ;;
   9439 
   9440     solaris*)
   9441       no_undefined_flag=' -z defs'
   9442       if test "$GCC" = yes; then
   9443 	wlarc='${wl}'
   9444 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9445 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9446 	  $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'
   9447       else
   9448 	case `$CC -V 2>&1` in
   9449 	*"Compilers 5.0"*)
   9450 	  wlarc=''
   9451 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9452 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9453 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9454 	  ;;
   9455 	*)
   9456 	  wlarc='${wl}'
   9457 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9458 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9459 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9460 	  ;;
   9461 	esac
   9462       fi
   9463       hardcode_libdir_flag_spec='-R$libdir'
   9464       hardcode_shlibpath_var=no
   9465       case $host_os in
   9466       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9467       *)
   9468 	# The compiler driver will combine and reorder linker options,
   9469 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9470 	# but is careful enough not to reorder.
   9471 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9472 	if test "$GCC" = yes; then
   9473 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9474 	else
   9475 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9476 	fi
   9477 	;;
   9478       esac
   9479       link_all_deplibs=yes
   9480       ;;
   9481 
   9482     sunos4*)
   9483       if test "x$host_vendor" = xsequent; then
   9484 	# Use $CC to link under sequent, because it throws in some extra .o
   9485 	# files that make .init and .fini sections work.
   9486 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9487       else
   9488 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9489       fi
   9490       hardcode_libdir_flag_spec='-L$libdir'
   9491       hardcode_direct=yes
   9492       hardcode_minus_L=yes
   9493       hardcode_shlibpath_var=no
   9494       ;;
   9495 
   9496     sysv4)
   9497       case $host_vendor in
   9498 	sni)
   9499 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9500 	  hardcode_direct=yes # is this really true???
   9501 	;;
   9502 	siemens)
   9503 	  ## LD is ld it makes a PLAMLIB
   9504 	  ## CC just makes a GrossModule.
   9505 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9506 	  reload_cmds='$CC -r -o $output$reload_objs'
   9507 	  hardcode_direct=no
   9508         ;;
   9509 	motorola)
   9510 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9511 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9512 	;;
   9513       esac
   9514       runpath_var='LD_RUN_PATH'
   9515       hardcode_shlibpath_var=no
   9516       ;;
   9517 
   9518     sysv4.3*)
   9519       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9520       hardcode_shlibpath_var=no
   9521       export_dynamic_flag_spec='-Bexport'
   9522       ;;
   9523 
   9524     sysv4*MP*)
   9525       if test -d /usr/nec; then
   9526 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9527 	hardcode_shlibpath_var=no
   9528 	runpath_var=LD_RUN_PATH
   9529 	hardcode_runpath_var=yes
   9530 	ld_shlibs=yes
   9531       fi
   9532       ;;
   9533 
   9534     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9535       no_undefined_flag='${wl}-z,text'
   9536       archive_cmds_need_lc=no
   9537       hardcode_shlibpath_var=no
   9538       runpath_var='LD_RUN_PATH'
   9539 
   9540       if test "$GCC" = yes; then
   9541 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9542 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9543       else
   9544 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9545 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9546       fi
   9547       ;;
   9548 
   9549     sysv5* | sco3.2v5* | sco5v6*)
   9550       # Note: We can NOT use -z defs as we might desire, because we do not
   9551       # link with -lc, and that would cause any symbols used from libc to
   9552       # always be unresolved, which means just about no library would
   9553       # ever link correctly.  If we're not using GNU ld we use -z text
   9554       # though, which does catch some bad symbols but isn't as heavy-handed
   9555       # as -z defs.
   9556       no_undefined_flag='${wl}-z,text'
   9557       allow_undefined_flag='${wl}-z,nodefs'
   9558       archive_cmds_need_lc=no
   9559       hardcode_shlibpath_var=no
   9560       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9561       hardcode_libdir_separator=':'
   9562       link_all_deplibs=yes
   9563       export_dynamic_flag_spec='${wl}-Bexport'
   9564       runpath_var='LD_RUN_PATH'
   9565 
   9566       if test "$GCC" = yes; then
   9567 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9568 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9569       else
   9570 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9571 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9572       fi
   9573       ;;
   9574 
   9575     uts4*)
   9576       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9577       hardcode_libdir_flag_spec='-L$libdir'
   9578       hardcode_shlibpath_var=no
   9579       ;;
   9580 
   9581     *)
   9582       ld_shlibs=no
   9583       ;;
   9584     esac
   9585 
   9586     if test x$host_vendor = xsni; then
   9587       case $host in
   9588       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9589 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9590 	;;
   9591       esac
   9592     fi
   9593   fi
   9594 
   9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9596 $as_echo "$ld_shlibs" >&6; }
   9597 test "$ld_shlibs" = no && can_build_shared=no
   9598 
   9599 with_gnu_ld=$with_gnu_ld
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 #
   9616 # Do we need to explicitly link libc?
   9617 #
   9618 case "x$archive_cmds_need_lc" in
   9619 x|xyes)
   9620   # Assume -lc should be added
   9621   archive_cmds_need_lc=yes
   9622 
   9623   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9624     case $archive_cmds in
   9625     *'~'*)
   9626       # FIXME: we may have to deal with multi-command sequences.
   9627       ;;
   9628     '$CC '*)
   9629       # Test whether the compiler implicitly links with -lc since on some
   9630       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9631       # to ld, don't add -lc before -lgcc.
   9632       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9633 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9634 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9635   $as_echo_n "(cached) " >&6
   9636 else
   9637   $RM conftest*
   9638 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9639 
   9640 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9641   (eval $ac_compile) 2>&5
   9642   ac_status=$?
   9643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9644   test $ac_status = 0; } 2>conftest.err; then
   9645 	  soname=conftest
   9646 	  lib=conftest
   9647 	  libobjs=conftest.$ac_objext
   9648 	  deplibs=
   9649 	  wl=$lt_prog_compiler_wl
   9650 	  pic_flag=$lt_prog_compiler_pic
   9651 	  compiler_flags=-v
   9652 	  linker_flags=-v
   9653 	  verstring=
   9654 	  output_objdir=.
   9655 	  libname=conftest
   9656 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9657 	  allow_undefined_flag=
   9658 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9659   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9660   ac_status=$?
   9661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9662   test $ac_status = 0; }
   9663 	  then
   9664 	    lt_cv_archive_cmds_need_lc=no
   9665 	  else
   9666 	    lt_cv_archive_cmds_need_lc=yes
   9667 	  fi
   9668 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9669 	else
   9670 	  cat conftest.err 1>&5
   9671 	fi
   9672 	$RM conftest*
   9673 
   9674 fi
   9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9676 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9677       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9678       ;;
   9679     esac
   9680   fi
   9681   ;;
   9682 esac
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9836 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9837 
   9838 if test "$GCC" = yes; then
   9839   case $host_os in
   9840     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9841     *) lt_awk_arg="/^libraries:/" ;;
   9842   esac
   9843   case $host_os in
   9844     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9845     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9846   esac
   9847   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9848   case $lt_search_path_spec in
   9849   *\;*)
   9850     # if the path contains ";" then we assume it to be the separator
   9851     # otherwise default to the standard path separator (i.e. ":") - it is
   9852     # assumed that no part of a normal pathname contains ";" but that should
   9853     # okay in the real world where ";" in dirpaths is itself problematic.
   9854     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9855     ;;
   9856   *)
   9857     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9858     ;;
   9859   esac
   9860   # Ok, now we have the path, separated by spaces, we can step through it
   9861   # and add multilib dir if necessary.
   9862   lt_tmp_lt_search_path_spec=
   9863   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9864   for lt_sys_path in $lt_search_path_spec; do
   9865     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9866       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9867     else
   9868       test -d "$lt_sys_path" && \
   9869 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9870     fi
   9871   done
   9872   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9873 BEGIN {RS=" "; FS="/|\n";} {
   9874   lt_foo="";
   9875   lt_count=0;
   9876   for (lt_i = NF; lt_i > 0; lt_i--) {
   9877     if ($lt_i != "" && $lt_i != ".") {
   9878       if ($lt_i == "..") {
   9879         lt_count++;
   9880       } else {
   9881         if (lt_count == 0) {
   9882           lt_foo="/" $lt_i lt_foo;
   9883         } else {
   9884           lt_count--;
   9885         }
   9886       }
   9887     }
   9888   }
   9889   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9890   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9891 }'`
   9892   # AWK program above erroneously prepends '/' to C:/dos/paths
   9893   # for these hosts.
   9894   case $host_os in
   9895     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9896       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9897   esac
   9898   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9899 else
   9900   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9901 fi
   9902 library_names_spec=
   9903 libname_spec='lib$name'
   9904 soname_spec=
   9905 shrext_cmds=".so"
   9906 postinstall_cmds=
   9907 postuninstall_cmds=
   9908 finish_cmds=
   9909 finish_eval=
   9910 shlibpath_var=
   9911 shlibpath_overrides_runpath=unknown
   9912 version_type=none
   9913 dynamic_linker="$host_os ld.so"
   9914 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9915 need_lib_prefix=unknown
   9916 hardcode_into_libs=no
   9917 
   9918 # when you set need_version to no, make sure it does not cause -set_version
   9919 # flags to be left without arguments
   9920 need_version=unknown
   9921 
   9922 case $host_os in
   9923 aix3*)
   9924   version_type=linux # correct to gnu/linux during the next big refactor
   9925   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9926   shlibpath_var=LIBPATH
   9927 
   9928   # AIX 3 has no versioning support, so we append a major version to the name.
   9929   soname_spec='${libname}${release}${shared_ext}$major'
   9930   ;;
   9931 
   9932 aix[4-9]*)
   9933   version_type=linux # correct to gnu/linux during the next big refactor
   9934   need_lib_prefix=no
   9935   need_version=no
   9936   hardcode_into_libs=yes
   9937   if test "$host_cpu" = ia64; then
   9938     # AIX 5 supports IA64
   9939     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9940     shlibpath_var=LD_LIBRARY_PATH
   9941   else
   9942     # With GCC up to 2.95.x, collect2 would create an import file
   9943     # for dependence libraries.  The import file would start with
   9944     # the line `#! .'.  This would cause the generated library to
   9945     # depend on `.', always an invalid library.  This was fixed in
   9946     # development snapshots of GCC prior to 3.0.
   9947     case $host_os in
   9948       aix4 | aix4.[01] | aix4.[01].*)
   9949       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9950 	   echo ' yes '
   9951 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9952 	:
   9953       else
   9954 	can_build_shared=no
   9955       fi
   9956       ;;
   9957     esac
   9958     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9959     # soname into executable. Probably we can add versioning support to
   9960     # collect2, so additional links can be useful in future.
   9961     if test "$aix_use_runtimelinking" = yes; then
   9962       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9963       # instead of lib<name>.a to let people know that these are not
   9964       # typical AIX shared libraries.
   9965       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9966     else
   9967       # We preserve .a as extension for shared libraries through AIX4.2
   9968       # and later when we are not doing run time linking.
   9969       library_names_spec='${libname}${release}.a $libname.a'
   9970       soname_spec='${libname}${release}${shared_ext}$major'
   9971     fi
   9972     shlibpath_var=LIBPATH
   9973   fi
   9974   ;;
   9975 
   9976 amigaos*)
   9977   case $host_cpu in
   9978   powerpc)
   9979     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9980     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9981     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9982     ;;
   9983   m68k)
   9984     library_names_spec='$libname.ixlibrary $libname.a'
   9985     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9986     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   9987     ;;
   9988   esac
   9989   ;;
   9990 
   9991 beos*)
   9992   library_names_spec='${libname}${shared_ext}'
   9993   dynamic_linker="$host_os ld.so"
   9994   shlibpath_var=LIBRARY_PATH
   9995   ;;
   9996 
   9997 bsdi[45]*)
   9998   version_type=linux # correct to gnu/linux during the next big refactor
   9999   need_version=no
   10000   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10001   soname_spec='${libname}${release}${shared_ext}$major'
   10002   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10003   shlibpath_var=LD_LIBRARY_PATH
   10004   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10005   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10006   # the default ld.so.conf also contains /usr/contrib/lib and
   10007   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10008   # libtool to hard-code these into programs
   10009   ;;
   10010 
   10011 cygwin* | mingw* | pw32* | cegcc*)
   10012   version_type=windows
   10013   shrext_cmds=".dll"
   10014   need_version=no
   10015   need_lib_prefix=no
   10016 
   10017   case $GCC,$cc_basename in
   10018   yes,*)
   10019     # gcc
   10020     library_names_spec='$libname.dll.a'
   10021     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10022     postinstall_cmds='base_file=`basename \${file}`~
   10023       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10024       dldir=$destdir/`dirname \$dlpath`~
   10025       test -d \$dldir || mkdir -p \$dldir~
   10026       $install_prog $dir/$dlname \$dldir/$dlname~
   10027       chmod a+x \$dldir/$dlname~
   10028       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10029         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10030       fi'
   10031     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10032       dlpath=$dir/\$dldll~
   10033        $RM \$dlpath'
   10034     shlibpath_overrides_runpath=yes
   10035 
   10036     case $host_os in
   10037     cygwin*)
   10038       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10039       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10040 
   10041       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10042       ;;
   10043     mingw* | cegcc*)
   10044       # MinGW DLLs use traditional 'lib' prefix
   10045       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10046       ;;
   10047     pw32*)
   10048       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10049       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10050       ;;
   10051     esac
   10052     dynamic_linker='Win32 ld.exe'
   10053     ;;
   10054 
   10055   *,cl*)
   10056     # Native MSVC
   10057     libname_spec='$name'
   10058     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10059     library_names_spec='${libname}.dll.lib'
   10060 
   10061     case $build_os in
   10062     mingw*)
   10063       sys_lib_search_path_spec=
   10064       lt_save_ifs=$IFS
   10065       IFS=';'
   10066       for lt_path in $LIB
   10067       do
   10068         IFS=$lt_save_ifs
   10069         # Let DOS variable expansion print the short 8.3 style file name.
   10070         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10071         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10072       done
   10073       IFS=$lt_save_ifs
   10074       # Convert to MSYS style.
   10075       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10076       ;;
   10077     cygwin*)
   10078       # Convert to unix form, then to dos form, then back to unix form
   10079       # but this time dos style (no spaces!) so that the unix form looks
   10080       # like /cygdrive/c/PROGRA~1:/cygdr...
   10081       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10082       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10083       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10084       ;;
   10085     *)
   10086       sys_lib_search_path_spec="$LIB"
   10087       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10088         # It is most probably a Windows format PATH.
   10089         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10090       else
   10091         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10092       fi
   10093       # FIXME: find the short name or the path components, as spaces are
   10094       # common. (e.g. "Program Files" -> "PROGRA~1")
   10095       ;;
   10096     esac
   10097 
   10098     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10099     postinstall_cmds='base_file=`basename \${file}`~
   10100       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10101       dldir=$destdir/`dirname \$dlpath`~
   10102       test -d \$dldir || mkdir -p \$dldir~
   10103       $install_prog $dir/$dlname \$dldir/$dlname'
   10104     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10105       dlpath=$dir/\$dldll~
   10106        $RM \$dlpath'
   10107     shlibpath_overrides_runpath=yes
   10108     dynamic_linker='Win32 link.exe'
   10109     ;;
   10110 
   10111   *)
   10112     # Assume MSVC wrapper
   10113     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10114     dynamic_linker='Win32 ld.exe'
   10115     ;;
   10116   esac
   10117   # FIXME: first we should search . and the directory the executable is in
   10118   shlibpath_var=PATH
   10119   ;;
   10120 
   10121 darwin* | rhapsody*)
   10122   dynamic_linker="$host_os dyld"
   10123   version_type=darwin
   10124   need_lib_prefix=no
   10125   need_version=no
   10126   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10127   soname_spec='${libname}${release}${major}$shared_ext'
   10128   shlibpath_overrides_runpath=yes
   10129   shlibpath_var=DYLD_LIBRARY_PATH
   10130   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10131 
   10132   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10133   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10134   ;;
   10135 
   10136 dgux*)
   10137   version_type=linux # correct to gnu/linux during the next big refactor
   10138   need_lib_prefix=no
   10139   need_version=no
   10140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10141   soname_spec='${libname}${release}${shared_ext}$major'
   10142   shlibpath_var=LD_LIBRARY_PATH
   10143   ;;
   10144 
   10145 freebsd* | dragonfly*)
   10146   # DragonFly does not have aout.  When/if they implement a new
   10147   # versioning mechanism, adjust this.
   10148   if test -x /usr/bin/objformat; then
   10149     objformat=`/usr/bin/objformat`
   10150   else
   10151     case $host_os in
   10152     freebsd[23].*) objformat=aout ;;
   10153     *) objformat=elf ;;
   10154     esac
   10155   fi
   10156   version_type=freebsd-$objformat
   10157   case $version_type in
   10158     freebsd-elf*)
   10159       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10160       need_version=no
   10161       need_lib_prefix=no
   10162       ;;
   10163     freebsd-*)
   10164       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10165       need_version=yes
   10166       ;;
   10167   esac
   10168   shlibpath_var=LD_LIBRARY_PATH
   10169   case $host_os in
   10170   freebsd2.*)
   10171     shlibpath_overrides_runpath=yes
   10172     ;;
   10173   freebsd3.[01]* | freebsdelf3.[01]*)
   10174     shlibpath_overrides_runpath=yes
   10175     hardcode_into_libs=yes
   10176     ;;
   10177   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10178   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10179     shlibpath_overrides_runpath=no
   10180     hardcode_into_libs=yes
   10181     ;;
   10182   *) # from 4.6 on, and DragonFly
   10183     shlibpath_overrides_runpath=yes
   10184     hardcode_into_libs=yes
   10185     ;;
   10186   esac
   10187   ;;
   10188 
   10189 gnu*)
   10190   version_type=linux # correct to gnu/linux during the next big refactor
   10191   need_lib_prefix=no
   10192   need_version=no
   10193   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10194   soname_spec='${libname}${release}${shared_ext}$major'
   10195   shlibpath_var=LD_LIBRARY_PATH
   10196   shlibpath_overrides_runpath=no
   10197   hardcode_into_libs=yes
   10198   ;;
   10199 
   10200 haiku*)
   10201   version_type=linux # correct to gnu/linux during the next big refactor
   10202   need_lib_prefix=no
   10203   need_version=no
   10204   dynamic_linker="$host_os runtime_loader"
   10205   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10206   soname_spec='${libname}${release}${shared_ext}$major'
   10207   shlibpath_var=LIBRARY_PATH
   10208   shlibpath_overrides_runpath=yes
   10209   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10210   hardcode_into_libs=yes
   10211   ;;
   10212 
   10213 hpux9* | hpux10* | hpux11*)
   10214   # Give a soname corresponding to the major version so that dld.sl refuses to
   10215   # link against other versions.
   10216   version_type=sunos
   10217   need_lib_prefix=no
   10218   need_version=no
   10219   case $host_cpu in
   10220   ia64*)
   10221     shrext_cmds='.so'
   10222     hardcode_into_libs=yes
   10223     dynamic_linker="$host_os dld.so"
   10224     shlibpath_var=LD_LIBRARY_PATH
   10225     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10226     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10227     soname_spec='${libname}${release}${shared_ext}$major'
   10228     if test "X$HPUX_IA64_MODE" = X32; then
   10229       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10230     else
   10231       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10232     fi
   10233     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10234     ;;
   10235   hppa*64*)
   10236     shrext_cmds='.sl'
   10237     hardcode_into_libs=yes
   10238     dynamic_linker="$host_os dld.sl"
   10239     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10240     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10241     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10242     soname_spec='${libname}${release}${shared_ext}$major'
   10243     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10244     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10245     ;;
   10246   *)
   10247     shrext_cmds='.sl'
   10248     dynamic_linker="$host_os dld.sl"
   10249     shlibpath_var=SHLIB_PATH
   10250     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10251     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10252     soname_spec='${libname}${release}${shared_ext}$major'
   10253     ;;
   10254   esac
   10255   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10256   postinstall_cmds='chmod 555 $lib'
   10257   # or fails outright, so override atomically:
   10258   install_override_mode=555
   10259   ;;
   10260 
   10261 interix[3-9]*)
   10262   version_type=linux # correct to gnu/linux during the next big refactor
   10263   need_lib_prefix=no
   10264   need_version=no
   10265   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10266   soname_spec='${libname}${release}${shared_ext}$major'
   10267   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10268   shlibpath_var=LD_LIBRARY_PATH
   10269   shlibpath_overrides_runpath=no
   10270   hardcode_into_libs=yes
   10271   ;;
   10272 
   10273 irix5* | irix6* | nonstopux*)
   10274   case $host_os in
   10275     nonstopux*) version_type=nonstopux ;;
   10276     *)
   10277 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10278 		version_type=linux # correct to gnu/linux during the next big refactor
   10279 	else
   10280 		version_type=irix
   10281 	fi ;;
   10282   esac
   10283   need_lib_prefix=no
   10284   need_version=no
   10285   soname_spec='${libname}${release}${shared_ext}$major'
   10286   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10287   case $host_os in
   10288   irix5* | nonstopux*)
   10289     libsuff= shlibsuff=
   10290     ;;
   10291   *)
   10292     case $LD in # libtool.m4 will add one of these switches to LD
   10293     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10294       libsuff= shlibsuff= libmagic=32-bit;;
   10295     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10296       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10297     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10298       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10299     *) libsuff= shlibsuff= libmagic=never-match;;
   10300     esac
   10301     ;;
   10302   esac
   10303   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10304   shlibpath_overrides_runpath=no
   10305   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10306   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10307   hardcode_into_libs=yes
   10308   ;;
   10309 
   10310 # No shared lib support for Linux oldld, aout, or coff.
   10311 linux*oldld* | linux*aout* | linux*coff*)
   10312   dynamic_linker=no
   10313   ;;
   10314 
   10315 # This must be glibc/ELF.
   10316 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10317   version_type=linux # correct to gnu/linux during the next big refactor
   10318   need_lib_prefix=no
   10319   need_version=no
   10320   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10321   soname_spec='${libname}${release}${shared_ext}$major'
   10322   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10323   shlibpath_var=LD_LIBRARY_PATH
   10324   shlibpath_overrides_runpath=no
   10325 
   10326   # Some binutils ld are patched to set DT_RUNPATH
   10327   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10328   $as_echo_n "(cached) " >&6
   10329 else
   10330   lt_cv_shlibpath_overrides_runpath=no
   10331     save_LDFLAGS=$LDFLAGS
   10332     save_libdir=$libdir
   10333     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10334 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10335     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10336 /* end confdefs.h.  */
   10337 
   10338 int
   10339 main ()
   10340 {
   10341 
   10342   ;
   10343   return 0;
   10344 }
   10345 _ACEOF
   10346 if ac_fn_c_try_link "$LINENO"; then :
   10347   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10348   lt_cv_shlibpath_overrides_runpath=yes
   10349 fi
   10350 fi
   10351 rm -f core conftest.err conftest.$ac_objext \
   10352     conftest$ac_exeext conftest.$ac_ext
   10353     LDFLAGS=$save_LDFLAGS
   10354     libdir=$save_libdir
   10355 
   10356 fi
   10357 
   10358   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10359 
   10360   # This implies no fast_install, which is unacceptable.
   10361   # Some rework will be needed to allow for fast_install
   10362   # before this can be enabled.
   10363   hardcode_into_libs=yes
   10364 
   10365   # Append ld.so.conf contents to the search path
   10366   if test -f /etc/ld.so.conf; then
   10367     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' ' '`
   10368     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10369   fi
   10370 
   10371   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10372   # powerpc, because MkLinux only supported shared libraries with the
   10373   # GNU dynamic linker.  Since this was broken with cross compilers,
   10374   # most powerpc-linux boxes support dynamic linking these days and
   10375   # people can always --disable-shared, the test was removed, and we
   10376   # assume the GNU/Linux dynamic linker is in use.
   10377   dynamic_linker='GNU/Linux ld.so'
   10378   ;;
   10379 
   10380 netbsd*)
   10381   version_type=sunos
   10382   need_lib_prefix=no
   10383   need_version=no
   10384   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10385     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10386     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10387     dynamic_linker='NetBSD (a.out) ld.so'
   10388   else
   10389     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10390     soname_spec='${libname}${release}${shared_ext}$major'
   10391     dynamic_linker='NetBSD ld.elf_so'
   10392   fi
   10393   shlibpath_var=LD_LIBRARY_PATH
   10394   shlibpath_overrides_runpath=yes
   10395   hardcode_into_libs=yes
   10396   ;;
   10397 
   10398 newsos6)
   10399   version_type=linux # correct to gnu/linux during the next big refactor
   10400   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10401   shlibpath_var=LD_LIBRARY_PATH
   10402   shlibpath_overrides_runpath=yes
   10403   ;;
   10404 
   10405 *nto* | *qnx*)
   10406   version_type=qnx
   10407   need_lib_prefix=no
   10408   need_version=no
   10409   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10410   soname_spec='${libname}${release}${shared_ext}$major'
   10411   shlibpath_var=LD_LIBRARY_PATH
   10412   shlibpath_overrides_runpath=no
   10413   hardcode_into_libs=yes
   10414   dynamic_linker='ldqnx.so'
   10415   ;;
   10416 
   10417 openbsd*)
   10418   version_type=sunos
   10419   sys_lib_dlsearch_path_spec="/usr/lib"
   10420   need_lib_prefix=no
   10421   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10422   case $host_os in
   10423     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10424     *)				need_version=no  ;;
   10425   esac
   10426   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10427   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10428   shlibpath_var=LD_LIBRARY_PATH
   10429   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10430     case $host_os in
   10431       openbsd2.[89] | openbsd2.[89].*)
   10432 	shlibpath_overrides_runpath=no
   10433 	;;
   10434       *)
   10435 	shlibpath_overrides_runpath=yes
   10436 	;;
   10437       esac
   10438   else
   10439     shlibpath_overrides_runpath=yes
   10440   fi
   10441   ;;
   10442 
   10443 os2*)
   10444   libname_spec='$name'
   10445   shrext_cmds=".dll"
   10446   need_lib_prefix=no
   10447   library_names_spec='$libname${shared_ext} $libname.a'
   10448   dynamic_linker='OS/2 ld.exe'
   10449   shlibpath_var=LIBPATH
   10450   ;;
   10451 
   10452 osf3* | osf4* | osf5*)
   10453   version_type=osf
   10454   need_lib_prefix=no
   10455   need_version=no
   10456   soname_spec='${libname}${release}${shared_ext}$major'
   10457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10458   shlibpath_var=LD_LIBRARY_PATH
   10459   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10460   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10461   ;;
   10462 
   10463 rdos*)
   10464   dynamic_linker=no
   10465   ;;
   10466 
   10467 solaris*)
   10468   version_type=linux # correct to gnu/linux during the next big refactor
   10469   need_lib_prefix=no
   10470   need_version=no
   10471   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10472   soname_spec='${libname}${release}${shared_ext}$major'
   10473   shlibpath_var=LD_LIBRARY_PATH
   10474   shlibpath_overrides_runpath=yes
   10475   hardcode_into_libs=yes
   10476   # ldd complains unless libraries are executable
   10477   postinstall_cmds='chmod +x $lib'
   10478   ;;
   10479 
   10480 sunos4*)
   10481   version_type=sunos
   10482   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10483   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10484   shlibpath_var=LD_LIBRARY_PATH
   10485   shlibpath_overrides_runpath=yes
   10486   if test "$with_gnu_ld" = yes; then
   10487     need_lib_prefix=no
   10488   fi
   10489   need_version=yes
   10490   ;;
   10491 
   10492 sysv4 | sysv4.3*)
   10493   version_type=linux # correct to gnu/linux during the next big refactor
   10494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10495   soname_spec='${libname}${release}${shared_ext}$major'
   10496   shlibpath_var=LD_LIBRARY_PATH
   10497   case $host_vendor in
   10498     sni)
   10499       shlibpath_overrides_runpath=no
   10500       need_lib_prefix=no
   10501       runpath_var=LD_RUN_PATH
   10502       ;;
   10503     siemens)
   10504       need_lib_prefix=no
   10505       ;;
   10506     motorola)
   10507       need_lib_prefix=no
   10508       need_version=no
   10509       shlibpath_overrides_runpath=no
   10510       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10511       ;;
   10512   esac
   10513   ;;
   10514 
   10515 sysv4*MP*)
   10516   if test -d /usr/nec ;then
   10517     version_type=linux # correct to gnu/linux during the next big refactor
   10518     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10519     soname_spec='$libname${shared_ext}.$major'
   10520     shlibpath_var=LD_LIBRARY_PATH
   10521   fi
   10522   ;;
   10523 
   10524 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10525   version_type=freebsd-elf
   10526   need_lib_prefix=no
   10527   need_version=no
   10528   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10529   soname_spec='${libname}${release}${shared_ext}$major'
   10530   shlibpath_var=LD_LIBRARY_PATH
   10531   shlibpath_overrides_runpath=yes
   10532   hardcode_into_libs=yes
   10533   if test "$with_gnu_ld" = yes; then
   10534     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10535   else
   10536     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10537     case $host_os in
   10538       sco3.2v5*)
   10539         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10540 	;;
   10541     esac
   10542   fi
   10543   sys_lib_dlsearch_path_spec='/usr/lib'
   10544   ;;
   10545 
   10546 tpf*)
   10547   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10548   version_type=linux # correct to gnu/linux during the next big refactor
   10549   need_lib_prefix=no
   10550   need_version=no
   10551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10552   shlibpath_var=LD_LIBRARY_PATH
   10553   shlibpath_overrides_runpath=no
   10554   hardcode_into_libs=yes
   10555   ;;
   10556 
   10557 uts4*)
   10558   version_type=linux # correct to gnu/linux during the next big refactor
   10559   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10560   soname_spec='${libname}${release}${shared_ext}$major'
   10561   shlibpath_var=LD_LIBRARY_PATH
   10562   ;;
   10563 
   10564 *)
   10565   dynamic_linker=no
   10566   ;;
   10567 esac
   10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10569 $as_echo "$dynamic_linker" >&6; }
   10570 test "$dynamic_linker" = no && can_build_shared=no
   10571 
   10572 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10573 if test "$GCC" = yes; then
   10574   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10575 fi
   10576 
   10577 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10578   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10579 fi
   10580 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10581   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10582 fi
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10676 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10677 hardcode_action=
   10678 if test -n "$hardcode_libdir_flag_spec" ||
   10679    test -n "$runpath_var" ||
   10680    test "X$hardcode_automatic" = "Xyes" ; then
   10681 
   10682   # We can hardcode non-existent directories.
   10683   if test "$hardcode_direct" != no &&
   10684      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10685      # have to relink, otherwise we might link with an installed library
   10686      # when we should be linking with a yet-to-be-installed one
   10687      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10688      test "$hardcode_minus_L" != no; then
   10689     # Linking always hardcodes the temporary library directory.
   10690     hardcode_action=relink
   10691   else
   10692     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10693     hardcode_action=immediate
   10694   fi
   10695 else
   10696   # We cannot hardcode anything, or else we can only hardcode existing
   10697   # directories.
   10698   hardcode_action=unsupported
   10699 fi
   10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10701 $as_echo "$hardcode_action" >&6; }
   10702 
   10703 if test "$hardcode_action" = relink ||
   10704    test "$inherit_rpath" = yes; then
   10705   # Fast installation is not supported
   10706   enable_fast_install=no
   10707 elif test "$shlibpath_overrides_runpath" = yes ||
   10708      test "$enable_shared" = no; then
   10709   # Fast installation is not necessary
   10710   enable_fast_install=needless
   10711 fi
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718   if test "x$enable_dlopen" != xyes; then
   10719   enable_dlopen=unknown
   10720   enable_dlopen_self=unknown
   10721   enable_dlopen_self_static=unknown
   10722 else
   10723   lt_cv_dlopen=no
   10724   lt_cv_dlopen_libs=
   10725 
   10726   case $host_os in
   10727   beos*)
   10728     lt_cv_dlopen="load_add_on"
   10729     lt_cv_dlopen_libs=
   10730     lt_cv_dlopen_self=yes
   10731     ;;
   10732 
   10733   mingw* | pw32* | cegcc*)
   10734     lt_cv_dlopen="LoadLibrary"
   10735     lt_cv_dlopen_libs=
   10736     ;;
   10737 
   10738   cygwin*)
   10739     lt_cv_dlopen="dlopen"
   10740     lt_cv_dlopen_libs=
   10741     ;;
   10742 
   10743   darwin*)
   10744   # if libdl is installed we need to link against it
   10745     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10746 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10747 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10748   $as_echo_n "(cached) " >&6
   10749 else
   10750   ac_check_lib_save_LIBS=$LIBS
   10751 LIBS="-ldl  $LIBS"
   10752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10753 /* end confdefs.h.  */
   10754 
   10755 /* Override any GCC internal prototype to avoid an error.
   10756    Use char because int might match the return type of a GCC
   10757    builtin and then its argument prototype would still apply.  */
   10758 #ifdef __cplusplus
   10759 extern "C"
   10760 #endif
   10761 char dlopen ();
   10762 int
   10763 main ()
   10764 {
   10765 return dlopen ();
   10766   ;
   10767   return 0;
   10768 }
   10769 _ACEOF
   10770 if ac_fn_c_try_link "$LINENO"; then :
   10771   ac_cv_lib_dl_dlopen=yes
   10772 else
   10773   ac_cv_lib_dl_dlopen=no
   10774 fi
   10775 rm -f core conftest.err conftest.$ac_objext \
   10776     conftest$ac_exeext conftest.$ac_ext
   10777 LIBS=$ac_check_lib_save_LIBS
   10778 fi
   10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10780 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10781 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10782   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10783 else
   10784 
   10785     lt_cv_dlopen="dyld"
   10786     lt_cv_dlopen_libs=
   10787     lt_cv_dlopen_self=yes
   10788 
   10789 fi
   10790 
   10791     ;;
   10792 
   10793   *)
   10794     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10795 if test "x$ac_cv_func_shl_load" = xyes; then :
   10796   lt_cv_dlopen="shl_load"
   10797 else
   10798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10799 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10800 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10801   $as_echo_n "(cached) " >&6
   10802 else
   10803   ac_check_lib_save_LIBS=$LIBS
   10804 LIBS="-ldld  $LIBS"
   10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10806 /* end confdefs.h.  */
   10807 
   10808 /* Override any GCC internal prototype to avoid an error.
   10809    Use char because int might match the return type of a GCC
   10810    builtin and then its argument prototype would still apply.  */
   10811 #ifdef __cplusplus
   10812 extern "C"
   10813 #endif
   10814 char shl_load ();
   10815 int
   10816 main ()
   10817 {
   10818 return shl_load ();
   10819   ;
   10820   return 0;
   10821 }
   10822 _ACEOF
   10823 if ac_fn_c_try_link "$LINENO"; then :
   10824   ac_cv_lib_dld_shl_load=yes
   10825 else
   10826   ac_cv_lib_dld_shl_load=no
   10827 fi
   10828 rm -f core conftest.err conftest.$ac_objext \
   10829     conftest$ac_exeext conftest.$ac_ext
   10830 LIBS=$ac_check_lib_save_LIBS
   10831 fi
   10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10833 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10834 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10835   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10836 else
   10837   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10838 if test "x$ac_cv_func_dlopen" = xyes; then :
   10839   lt_cv_dlopen="dlopen"
   10840 else
   10841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10842 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10843 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10844   $as_echo_n "(cached) " >&6
   10845 else
   10846   ac_check_lib_save_LIBS=$LIBS
   10847 LIBS="-ldl  $LIBS"
   10848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10849 /* end confdefs.h.  */
   10850 
   10851 /* Override any GCC internal prototype to avoid an error.
   10852    Use char because int might match the return type of a GCC
   10853    builtin and then its argument prototype would still apply.  */
   10854 #ifdef __cplusplus
   10855 extern "C"
   10856 #endif
   10857 char dlopen ();
   10858 int
   10859 main ()
   10860 {
   10861 return dlopen ();
   10862   ;
   10863   return 0;
   10864 }
   10865 _ACEOF
   10866 if ac_fn_c_try_link "$LINENO"; then :
   10867   ac_cv_lib_dl_dlopen=yes
   10868 else
   10869   ac_cv_lib_dl_dlopen=no
   10870 fi
   10871 rm -f core conftest.err conftest.$ac_objext \
   10872     conftest$ac_exeext conftest.$ac_ext
   10873 LIBS=$ac_check_lib_save_LIBS
   10874 fi
   10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10876 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10877 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10878   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10879 else
   10880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10881 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10882 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10883   $as_echo_n "(cached) " >&6
   10884 else
   10885   ac_check_lib_save_LIBS=$LIBS
   10886 LIBS="-lsvld  $LIBS"
   10887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10888 /* end confdefs.h.  */
   10889 
   10890 /* Override any GCC internal prototype to avoid an error.
   10891    Use char because int might match the return type of a GCC
   10892    builtin and then its argument prototype would still apply.  */
   10893 #ifdef __cplusplus
   10894 extern "C"
   10895 #endif
   10896 char dlopen ();
   10897 int
   10898 main ()
   10899 {
   10900 return dlopen ();
   10901   ;
   10902   return 0;
   10903 }
   10904 _ACEOF
   10905 if ac_fn_c_try_link "$LINENO"; then :
   10906   ac_cv_lib_svld_dlopen=yes
   10907 else
   10908   ac_cv_lib_svld_dlopen=no
   10909 fi
   10910 rm -f core conftest.err conftest.$ac_objext \
   10911     conftest$ac_exeext conftest.$ac_ext
   10912 LIBS=$ac_check_lib_save_LIBS
   10913 fi
   10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10915 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10916 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10917   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10918 else
   10919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10920 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10921 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10922   $as_echo_n "(cached) " >&6
   10923 else
   10924   ac_check_lib_save_LIBS=$LIBS
   10925 LIBS="-ldld  $LIBS"
   10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10927 /* end confdefs.h.  */
   10928 
   10929 /* Override any GCC internal prototype to avoid an error.
   10930    Use char because int might match the return type of a GCC
   10931    builtin and then its argument prototype would still apply.  */
   10932 #ifdef __cplusplus
   10933 extern "C"
   10934 #endif
   10935 char dld_link ();
   10936 int
   10937 main ()
   10938 {
   10939 return dld_link ();
   10940   ;
   10941   return 0;
   10942 }
   10943 _ACEOF
   10944 if ac_fn_c_try_link "$LINENO"; then :
   10945   ac_cv_lib_dld_dld_link=yes
   10946 else
   10947   ac_cv_lib_dld_dld_link=no
   10948 fi
   10949 rm -f core conftest.err conftest.$ac_objext \
   10950     conftest$ac_exeext conftest.$ac_ext
   10951 LIBS=$ac_check_lib_save_LIBS
   10952 fi
   10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10954 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10955 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10956   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10957 fi
   10958 
   10959 
   10960 fi
   10961 
   10962 
   10963 fi
   10964 
   10965 
   10966 fi
   10967 
   10968 
   10969 fi
   10970 
   10971 
   10972 fi
   10973 
   10974     ;;
   10975   esac
   10976 
   10977   if test "x$lt_cv_dlopen" != xno; then
   10978     enable_dlopen=yes
   10979   else
   10980     enable_dlopen=no
   10981   fi
   10982 
   10983   case $lt_cv_dlopen in
   10984   dlopen)
   10985     save_CPPFLAGS="$CPPFLAGS"
   10986     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10987 
   10988     save_LDFLAGS="$LDFLAGS"
   10989     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10990 
   10991     save_LIBS="$LIBS"
   10992     LIBS="$lt_cv_dlopen_libs $LIBS"
   10993 
   10994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10995 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10996 if ${lt_cv_dlopen_self+:} false; then :
   10997   $as_echo_n "(cached) " >&6
   10998 else
   10999   	  if test "$cross_compiling" = yes; then :
   11000   lt_cv_dlopen_self=cross
   11001 else
   11002   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11003   lt_status=$lt_dlunknown
   11004   cat > conftest.$ac_ext <<_LT_EOF
   11005 #line $LINENO "configure"
   11006 #include "confdefs.h"
   11007 
   11008 #if HAVE_DLFCN_H
   11009 #include <dlfcn.h>
   11010 #endif
   11011 
   11012 #include <stdio.h>
   11013 
   11014 #ifdef RTLD_GLOBAL
   11015 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11016 #else
   11017 #  ifdef DL_GLOBAL
   11018 #    define LT_DLGLOBAL		DL_GLOBAL
   11019 #  else
   11020 #    define LT_DLGLOBAL		0
   11021 #  endif
   11022 #endif
   11023 
   11024 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11025    find out it does not work in some platform. */
   11026 #ifndef LT_DLLAZY_OR_NOW
   11027 #  ifdef RTLD_LAZY
   11028 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11029 #  else
   11030 #    ifdef DL_LAZY
   11031 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11032 #    else
   11033 #      ifdef RTLD_NOW
   11034 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11035 #      else
   11036 #        ifdef DL_NOW
   11037 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11038 #        else
   11039 #          define LT_DLLAZY_OR_NOW	0
   11040 #        endif
   11041 #      endif
   11042 #    endif
   11043 #  endif
   11044 #endif
   11045 
   11046 /* When -fvisbility=hidden is used, assume the code has been annotated
   11047    correspondingly for the symbols needed.  */
   11048 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11049 int fnord () __attribute__((visibility("default")));
   11050 #endif
   11051 
   11052 int fnord () { return 42; }
   11053 int main ()
   11054 {
   11055   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11056   int status = $lt_dlunknown;
   11057 
   11058   if (self)
   11059     {
   11060       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11061       else
   11062         {
   11063 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11064           else puts (dlerror ());
   11065 	}
   11066       /* dlclose (self); */
   11067     }
   11068   else
   11069     puts (dlerror ());
   11070 
   11071   return status;
   11072 }
   11073 _LT_EOF
   11074   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11075   (eval $ac_link) 2>&5
   11076   ac_status=$?
   11077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11078   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11079     (./conftest; exit; ) >&5 2>/dev/null
   11080     lt_status=$?
   11081     case x$lt_status in
   11082       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11083       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11084       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11085     esac
   11086   else :
   11087     # compilation failed
   11088     lt_cv_dlopen_self=no
   11089   fi
   11090 fi
   11091 rm -fr conftest*
   11092 
   11093 
   11094 fi
   11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11096 $as_echo "$lt_cv_dlopen_self" >&6; }
   11097 
   11098     if test "x$lt_cv_dlopen_self" = xyes; then
   11099       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11100       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11101 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11102 if ${lt_cv_dlopen_self_static+:} false; then :
   11103   $as_echo_n "(cached) " >&6
   11104 else
   11105   	  if test "$cross_compiling" = yes; then :
   11106   lt_cv_dlopen_self_static=cross
   11107 else
   11108   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11109   lt_status=$lt_dlunknown
   11110   cat > conftest.$ac_ext <<_LT_EOF
   11111 #line $LINENO "configure"
   11112 #include "confdefs.h"
   11113 
   11114 #if HAVE_DLFCN_H
   11115 #include <dlfcn.h>
   11116 #endif
   11117 
   11118 #include <stdio.h>
   11119 
   11120 #ifdef RTLD_GLOBAL
   11121 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11122 #else
   11123 #  ifdef DL_GLOBAL
   11124 #    define LT_DLGLOBAL		DL_GLOBAL
   11125 #  else
   11126 #    define LT_DLGLOBAL		0
   11127 #  endif
   11128 #endif
   11129 
   11130 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11131    find out it does not work in some platform. */
   11132 #ifndef LT_DLLAZY_OR_NOW
   11133 #  ifdef RTLD_LAZY
   11134 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11135 #  else
   11136 #    ifdef DL_LAZY
   11137 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11138 #    else
   11139 #      ifdef RTLD_NOW
   11140 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11141 #      else
   11142 #        ifdef DL_NOW
   11143 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11144 #        else
   11145 #          define LT_DLLAZY_OR_NOW	0
   11146 #        endif
   11147 #      endif
   11148 #    endif
   11149 #  endif
   11150 #endif
   11151 
   11152 /* When -fvisbility=hidden is used, assume the code has been annotated
   11153    correspondingly for the symbols needed.  */
   11154 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11155 int fnord () __attribute__((visibility("default")));
   11156 #endif
   11157 
   11158 int fnord () { return 42; }
   11159 int main ()
   11160 {
   11161   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11162   int status = $lt_dlunknown;
   11163 
   11164   if (self)
   11165     {
   11166       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11167       else
   11168         {
   11169 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11170           else puts (dlerror ());
   11171 	}
   11172       /* dlclose (self); */
   11173     }
   11174   else
   11175     puts (dlerror ());
   11176 
   11177   return status;
   11178 }
   11179 _LT_EOF
   11180   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11181   (eval $ac_link) 2>&5
   11182   ac_status=$?
   11183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11184   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11185     (./conftest; exit; ) >&5 2>/dev/null
   11186     lt_status=$?
   11187     case x$lt_status in
   11188       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11189       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11190       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11191     esac
   11192   else :
   11193     # compilation failed
   11194     lt_cv_dlopen_self_static=no
   11195   fi
   11196 fi
   11197 rm -fr conftest*
   11198 
   11199 
   11200 fi
   11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11202 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11203     fi
   11204 
   11205     CPPFLAGS="$save_CPPFLAGS"
   11206     LDFLAGS="$save_LDFLAGS"
   11207     LIBS="$save_LIBS"
   11208     ;;
   11209   esac
   11210 
   11211   case $lt_cv_dlopen_self in
   11212   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11213   *) enable_dlopen_self=unknown ;;
   11214   esac
   11215 
   11216   case $lt_cv_dlopen_self_static in
   11217   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11218   *) enable_dlopen_self_static=unknown ;;
   11219   esac
   11220 fi
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 striplib=
   11239 old_striplib=
   11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11241 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11242 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11243   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11244   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11246 $as_echo "yes" >&6; }
   11247 else
   11248 # FIXME - insert some real tests, host_os isn't really good enough
   11249   case $host_os in
   11250   darwin*)
   11251     if test -n "$STRIP" ; then
   11252       striplib="$STRIP -x"
   11253       old_striplib="$STRIP -S"
   11254       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11255 $as_echo "yes" >&6; }
   11256     else
   11257       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11258 $as_echo "no" >&6; }
   11259     fi
   11260     ;;
   11261   *)
   11262     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11263 $as_echo "no" >&6; }
   11264     ;;
   11265   esac
   11266 fi
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279   # Report which library types will actually be built
   11280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11281 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11283 $as_echo "$can_build_shared" >&6; }
   11284 
   11285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11286 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11287   test "$can_build_shared" = "no" && enable_shared=no
   11288 
   11289   # On AIX, shared libraries and static libraries use the same namespace, and
   11290   # are all built from PIC.
   11291   case $host_os in
   11292   aix3*)
   11293     test "$enable_shared" = yes && enable_static=no
   11294     if test -n "$RANLIB"; then
   11295       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11296       postinstall_cmds='$RANLIB $lib'
   11297     fi
   11298     ;;
   11299 
   11300   aix[4-9]*)
   11301     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11302       test "$enable_shared" = yes && enable_static=no
   11303     fi
   11304     ;;
   11305   esac
   11306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11307 $as_echo "$enable_shared" >&6; }
   11308 
   11309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11310 $as_echo_n "checking whether to build static libraries... " >&6; }
   11311   # Make sure either enable_shared or enable_static is yes.
   11312   test "$enable_shared" = yes || enable_static=yes
   11313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11314 $as_echo "$enable_static" >&6; }
   11315 
   11316 
   11317 
   11318 
   11319 fi
   11320 ac_ext=c
   11321 ac_cpp='$CPP $CPPFLAGS'
   11322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11325 
   11326 CC="$lt_save_CC"
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342         ac_config_commands="$ac_config_commands libtool"
   11343 
   11344 
   11345 
   11346 
   11347 # Only expand once:
   11348 
   11349 
   11350    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11351 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11352 if ${ac_cv_prog_cc_c99+:} false; then :
   11353   $as_echo_n "(cached) " >&6
   11354 else
   11355   ac_cv_prog_cc_c99=no
   11356 ac_save_CC=$CC
   11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11358 /* end confdefs.h.  */
   11359 #include <stdarg.h>
   11360 #include <stdbool.h>
   11361 #include <stdlib.h>
   11362 #include <wchar.h>
   11363 #include <stdio.h>
   11364 
   11365 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11366 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11367 #define showlist(...) puts (#__VA_ARGS__)
   11368 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11369 static void
   11370 test_varargs_macros (void)
   11371 {
   11372   int x = 1234;
   11373   int y = 5678;
   11374   debug ("Flag");
   11375   debug ("X = %d\n", x);
   11376   showlist (The first, second, and third items.);
   11377   report (x>y, "x is %d but y is %d", x, y);
   11378 }
   11379 
   11380 // Check long long types.
   11381 #define BIG64 18446744073709551615ull
   11382 #define BIG32 4294967295ul
   11383 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11384 #if !BIG_OK
   11385   your preprocessor is broken;
   11386 #endif
   11387 #if BIG_OK
   11388 #else
   11389   your preprocessor is broken;
   11390 #endif
   11391 static long long int bignum = -9223372036854775807LL;
   11392 static unsigned long long int ubignum = BIG64;
   11393 
   11394 struct incomplete_array
   11395 {
   11396   int datasize;
   11397   double data[];
   11398 };
   11399 
   11400 struct named_init {
   11401   int number;
   11402   const wchar_t *name;
   11403   double average;
   11404 };
   11405 
   11406 typedef const char *ccp;
   11407 
   11408 static inline int
   11409 test_restrict (ccp restrict text)
   11410 {
   11411   // See if C++-style comments work.
   11412   // Iterate through items via the restricted pointer.
   11413   // Also check for declarations in for loops.
   11414   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11415     continue;
   11416   return 0;
   11417 }
   11418 
   11419 // Check varargs and va_copy.
   11420 static void
   11421 test_varargs (const char *format, ...)
   11422 {
   11423   va_list args;
   11424   va_start (args, format);
   11425   va_list args_copy;
   11426   va_copy (args_copy, args);
   11427 
   11428   const char *str;
   11429   int number;
   11430   float fnumber;
   11431 
   11432   while (*format)
   11433     {
   11434       switch (*format++)
   11435 	{
   11436 	case 's': // string
   11437 	  str = va_arg (args_copy, const char *);
   11438 	  break;
   11439 	case 'd': // int
   11440 	  number = va_arg (args_copy, int);
   11441 	  break;
   11442 	case 'f': // float
   11443 	  fnumber = va_arg (args_copy, double);
   11444 	  break;
   11445 	default:
   11446 	  break;
   11447 	}
   11448     }
   11449   va_end (args_copy);
   11450   va_end (args);
   11451 }
   11452 
   11453 int
   11454 main ()
   11455 {
   11456 
   11457   // Check bool.
   11458   _Bool success = false;
   11459 
   11460   // Check restrict.
   11461   if (test_restrict ("String literal") == 0)
   11462     success = true;
   11463   char *restrict newvar = "Another string";
   11464 
   11465   // Check varargs.
   11466   test_varargs ("s, d' f .", "string", 65, 34.234);
   11467   test_varargs_macros ();
   11468 
   11469   // Check flexible array members.
   11470   struct incomplete_array *ia =
   11471     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11472   ia->datasize = 10;
   11473   for (int i = 0; i < ia->datasize; ++i)
   11474     ia->data[i] = i * 1.234;
   11475 
   11476   // Check named initializers.
   11477   struct named_init ni = {
   11478     .number = 34,
   11479     .name = L"Test wide string",
   11480     .average = 543.34343,
   11481   };
   11482 
   11483   ni.number = 58;
   11484 
   11485   int dynamic_array[ni.number];
   11486   dynamic_array[ni.number - 1] = 543;
   11487 
   11488   // work around unused variable warnings
   11489   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11490 	  || dynamic_array[ni.number - 1] != 543);
   11491 
   11492   ;
   11493   return 0;
   11494 }
   11495 _ACEOF
   11496 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11497 do
   11498   CC="$ac_save_CC $ac_arg"
   11499   if ac_fn_c_try_compile "$LINENO"; then :
   11500   ac_cv_prog_cc_c99=$ac_arg
   11501 fi
   11502 rm -f core conftest.err conftest.$ac_objext
   11503   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11504 done
   11505 rm -f conftest.$ac_ext
   11506 CC=$ac_save_CC
   11507 
   11508 fi
   11509 # AC_CACHE_VAL
   11510 case "x$ac_cv_prog_cc_c99" in
   11511   x)
   11512     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11513 $as_echo "none needed" >&6; } ;;
   11514   xno)
   11515     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11516 $as_echo "unsupported" >&6; } ;;
   11517   *)
   11518     CC="$CC $ac_cv_prog_cc_c99"
   11519     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11520 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11521 esac
   11522 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11523 
   11524 fi
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11532 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11533   CLANGCC="yes"
   11534 else
   11535   CLANGCC="no"
   11536 fi
   11537 
   11538 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11539 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11540   INTELCC="yes"
   11541 else
   11542   INTELCC="no"
   11543 fi
   11544 
   11545 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11546 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11547   SUNCC="yes"
   11548 else
   11549   SUNCC="no"
   11550 fi
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 # Check whether --enable-selective-werror was given.
   11557 if test "${enable_selective_werror+set}" = set; then :
   11558   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11559 else
   11560   SELECTIVE_WERROR=yes
   11561 fi
   11562 
   11563 
   11564 
   11565 
   11566 
   11567 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11568 if test "x$SUNCC" = "xyes"; then
   11569     BASE_CFLAGS="-v"
   11570 else
   11571     BASE_CFLAGS=""
   11572 fi
   11573 
   11574 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11575 
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 
   11586 
   11587 
   11588 xorg_testset_save_CFLAGS="$CFLAGS"
   11589 
   11590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11592 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11593 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11594 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11595   $as_echo_n "(cached) " >&6
   11596 else
   11597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11598 /* end confdefs.h.  */
   11599 int i;
   11600 _ACEOF
   11601 if ac_fn_c_try_compile "$LINENO"; then :
   11602   xorg_cv_cc_flag_unknown_warning_option=yes
   11603 else
   11604   xorg_cv_cc_flag_unknown_warning_option=no
   11605 fi
   11606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11607 fi
   11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11609 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11610 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11611 	CFLAGS="$xorg_testset_save_CFLAGS"
   11612 fi
   11613 
   11614 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11615 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11616 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11617 	fi
   11618 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11619 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11620 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11621 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11622   $as_echo_n "(cached) " >&6
   11623 else
   11624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11625 /* end confdefs.h.  */
   11626 int i;
   11627 _ACEOF
   11628 if ac_fn_c_try_compile "$LINENO"; then :
   11629   xorg_cv_cc_flag_unused_command_line_argument=yes
   11630 else
   11631   xorg_cv_cc_flag_unused_command_line_argument=no
   11632 fi
   11633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11634 fi
   11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11636 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11637 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11638 	CFLAGS="$xorg_testset_save_CFLAGS"
   11639 fi
   11640 
   11641 found="no"
   11642 
   11643 	if test $found = "no" ; then
   11644 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11645 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11646 		fi
   11647 
   11648 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11649 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11650 		fi
   11651 
   11652 		CFLAGS="$CFLAGS -Wall"
   11653 
   11654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11655 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11656 		cacheid=xorg_cv_cc_flag__Wall
   11657 		if eval \${$cacheid+:} false; then :
   11658   $as_echo_n "(cached) " >&6
   11659 else
   11660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11661 /* end confdefs.h.  */
   11662 int i;
   11663 int
   11664 main ()
   11665 {
   11666 
   11667   ;
   11668   return 0;
   11669 }
   11670 _ACEOF
   11671 if ac_fn_c_try_link "$LINENO"; then :
   11672   eval $cacheid=yes
   11673 else
   11674   eval $cacheid=no
   11675 fi
   11676 rm -f core conftest.err conftest.$ac_objext \
   11677     conftest$ac_exeext conftest.$ac_ext
   11678 fi
   11679 
   11680 
   11681 		CFLAGS="$xorg_testset_save_CFLAGS"
   11682 
   11683 		eval supported=\$$cacheid
   11684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11685 $as_echo "$supported" >&6; }
   11686 		if test "$supported" = "yes" ; then
   11687 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11688 			found="yes"
   11689 		fi
   11690 	fi
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 xorg_testset_save_CFLAGS="$CFLAGS"
   11707 
   11708 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11709 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11710 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11711 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11712 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11713   $as_echo_n "(cached) " >&6
   11714 else
   11715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11716 /* end confdefs.h.  */
   11717 int i;
   11718 _ACEOF
   11719 if ac_fn_c_try_compile "$LINENO"; then :
   11720   xorg_cv_cc_flag_unknown_warning_option=yes
   11721 else
   11722   xorg_cv_cc_flag_unknown_warning_option=no
   11723 fi
   11724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11725 fi
   11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11727 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11728 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11729 	CFLAGS="$xorg_testset_save_CFLAGS"
   11730 fi
   11731 
   11732 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11733 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11734 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11735 	fi
   11736 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11737 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11738 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11739 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11740   $as_echo_n "(cached) " >&6
   11741 else
   11742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11743 /* end confdefs.h.  */
   11744 int i;
   11745 _ACEOF
   11746 if ac_fn_c_try_compile "$LINENO"; then :
   11747   xorg_cv_cc_flag_unused_command_line_argument=yes
   11748 else
   11749   xorg_cv_cc_flag_unused_command_line_argument=no
   11750 fi
   11751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11752 fi
   11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11754 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11755 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11756 	CFLAGS="$xorg_testset_save_CFLAGS"
   11757 fi
   11758 
   11759 found="no"
   11760 
   11761 	if test $found = "no" ; then
   11762 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11763 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11764 		fi
   11765 
   11766 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11767 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11768 		fi
   11769 
   11770 		CFLAGS="$CFLAGS -Wpointer-arith"
   11771 
   11772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11773 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11774 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11775 		if eval \${$cacheid+:} false; then :
   11776   $as_echo_n "(cached) " >&6
   11777 else
   11778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11779 /* end confdefs.h.  */
   11780 int i;
   11781 int
   11782 main ()
   11783 {
   11784 
   11785   ;
   11786   return 0;
   11787 }
   11788 _ACEOF
   11789 if ac_fn_c_try_link "$LINENO"; then :
   11790   eval $cacheid=yes
   11791 else
   11792   eval $cacheid=no
   11793 fi
   11794 rm -f core conftest.err conftest.$ac_objext \
   11795     conftest$ac_exeext conftest.$ac_ext
   11796 fi
   11797 
   11798 
   11799 		CFLAGS="$xorg_testset_save_CFLAGS"
   11800 
   11801 		eval supported=\$$cacheid
   11802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11803 $as_echo "$supported" >&6; }
   11804 		if test "$supported" = "yes" ; then
   11805 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11806 			found="yes"
   11807 		fi
   11808 	fi
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 xorg_testset_save_CFLAGS="$CFLAGS"
   11825 
   11826 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11827 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11828 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11829 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11830 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11831   $as_echo_n "(cached) " >&6
   11832 else
   11833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11834 /* end confdefs.h.  */
   11835 int i;
   11836 _ACEOF
   11837 if ac_fn_c_try_compile "$LINENO"; then :
   11838   xorg_cv_cc_flag_unknown_warning_option=yes
   11839 else
   11840   xorg_cv_cc_flag_unknown_warning_option=no
   11841 fi
   11842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11843 fi
   11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11845 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11846 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11847 	CFLAGS="$xorg_testset_save_CFLAGS"
   11848 fi
   11849 
   11850 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11851 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11852 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11853 	fi
   11854 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11855 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11856 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11857 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11858   $as_echo_n "(cached) " >&6
   11859 else
   11860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11861 /* end confdefs.h.  */
   11862 int i;
   11863 _ACEOF
   11864 if ac_fn_c_try_compile "$LINENO"; then :
   11865   xorg_cv_cc_flag_unused_command_line_argument=yes
   11866 else
   11867   xorg_cv_cc_flag_unused_command_line_argument=no
   11868 fi
   11869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11870 fi
   11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11872 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11873 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11874 	CFLAGS="$xorg_testset_save_CFLAGS"
   11875 fi
   11876 
   11877 found="no"
   11878 
   11879 	if test $found = "no" ; then
   11880 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11881 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11882 		fi
   11883 
   11884 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11885 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11886 		fi
   11887 
   11888 		CFLAGS="$CFLAGS -Wmissing-declarations"
   11889 
   11890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   11891 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   11892 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   11893 		if eval \${$cacheid+:} false; then :
   11894   $as_echo_n "(cached) " >&6
   11895 else
   11896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11897 /* end confdefs.h.  */
   11898 int i;
   11899 int
   11900 main ()
   11901 {
   11902 
   11903   ;
   11904   return 0;
   11905 }
   11906 _ACEOF
   11907 if ac_fn_c_try_link "$LINENO"; then :
   11908   eval $cacheid=yes
   11909 else
   11910   eval $cacheid=no
   11911 fi
   11912 rm -f core conftest.err conftest.$ac_objext \
   11913     conftest$ac_exeext conftest.$ac_ext
   11914 fi
   11915 
   11916 
   11917 		CFLAGS="$xorg_testset_save_CFLAGS"
   11918 
   11919 		eval supported=\$$cacheid
   11920 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11921 $as_echo "$supported" >&6; }
   11922 		if test "$supported" = "yes" ; then
   11923 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   11924 			found="yes"
   11925 		fi
   11926 	fi
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 xorg_testset_save_CFLAGS="$CFLAGS"
   11943 
   11944 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11945 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11947 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11948 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11949   $as_echo_n "(cached) " >&6
   11950 else
   11951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11952 /* end confdefs.h.  */
   11953 int i;
   11954 _ACEOF
   11955 if ac_fn_c_try_compile "$LINENO"; then :
   11956   xorg_cv_cc_flag_unknown_warning_option=yes
   11957 else
   11958   xorg_cv_cc_flag_unknown_warning_option=no
   11959 fi
   11960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11961 fi
   11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11963 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11964 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11965 	CFLAGS="$xorg_testset_save_CFLAGS"
   11966 fi
   11967 
   11968 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11969 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11971 	fi
   11972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11973 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11974 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11975 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11976   $as_echo_n "(cached) " >&6
   11977 else
   11978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11979 /* end confdefs.h.  */
   11980 int i;
   11981 _ACEOF
   11982 if ac_fn_c_try_compile "$LINENO"; then :
   11983   xorg_cv_cc_flag_unused_command_line_argument=yes
   11984 else
   11985   xorg_cv_cc_flag_unused_command_line_argument=no
   11986 fi
   11987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11988 fi
   11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11990 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11992 	CFLAGS="$xorg_testset_save_CFLAGS"
   11993 fi
   11994 
   11995 found="no"
   11996 
   11997 	if test $found = "no" ; then
   11998 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12000 		fi
   12001 
   12002 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12004 		fi
   12005 
   12006 		CFLAGS="$CFLAGS -Wformat=2"
   12007 
   12008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12009 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12010 		cacheid=xorg_cv_cc_flag__Wformat_2
   12011 		if eval \${$cacheid+:} false; then :
   12012   $as_echo_n "(cached) " >&6
   12013 else
   12014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12015 /* end confdefs.h.  */
   12016 int i;
   12017 int
   12018 main ()
   12019 {
   12020 
   12021   ;
   12022   return 0;
   12023 }
   12024 _ACEOF
   12025 if ac_fn_c_try_link "$LINENO"; then :
   12026   eval $cacheid=yes
   12027 else
   12028   eval $cacheid=no
   12029 fi
   12030 rm -f core conftest.err conftest.$ac_objext \
   12031     conftest$ac_exeext conftest.$ac_ext
   12032 fi
   12033 
   12034 
   12035 		CFLAGS="$xorg_testset_save_CFLAGS"
   12036 
   12037 		eval supported=\$$cacheid
   12038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12039 $as_echo "$supported" >&6; }
   12040 		if test "$supported" = "yes" ; then
   12041 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12042 			found="yes"
   12043 		fi
   12044 	fi
   12045 
   12046 	if test $found = "no" ; then
   12047 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12048 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12049 		fi
   12050 
   12051 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12052 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12053 		fi
   12054 
   12055 		CFLAGS="$CFLAGS -Wformat"
   12056 
   12057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12058 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12059 		cacheid=xorg_cv_cc_flag__Wformat
   12060 		if eval \${$cacheid+:} false; then :
   12061   $as_echo_n "(cached) " >&6
   12062 else
   12063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12064 /* end confdefs.h.  */
   12065 int i;
   12066 int
   12067 main ()
   12068 {
   12069 
   12070   ;
   12071   return 0;
   12072 }
   12073 _ACEOF
   12074 if ac_fn_c_try_link "$LINENO"; then :
   12075   eval $cacheid=yes
   12076 else
   12077   eval $cacheid=no
   12078 fi
   12079 rm -f core conftest.err conftest.$ac_objext \
   12080     conftest$ac_exeext conftest.$ac_ext
   12081 fi
   12082 
   12083 
   12084 		CFLAGS="$xorg_testset_save_CFLAGS"
   12085 
   12086 		eval supported=\$$cacheid
   12087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12088 $as_echo "$supported" >&6; }
   12089 		if test "$supported" = "yes" ; then
   12090 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12091 			found="yes"
   12092 		fi
   12093 	fi
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 xorg_testset_save_CFLAGS="$CFLAGS"
   12112 
   12113 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12114 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12116 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12117 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12118   $as_echo_n "(cached) " >&6
   12119 else
   12120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12121 /* end confdefs.h.  */
   12122 int i;
   12123 _ACEOF
   12124 if ac_fn_c_try_compile "$LINENO"; then :
   12125   xorg_cv_cc_flag_unknown_warning_option=yes
   12126 else
   12127   xorg_cv_cc_flag_unknown_warning_option=no
   12128 fi
   12129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12130 fi
   12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12132 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12133 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12134 	CFLAGS="$xorg_testset_save_CFLAGS"
   12135 fi
   12136 
   12137 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12138 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12139 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12140 	fi
   12141 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12142 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12143 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12144 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12145   $as_echo_n "(cached) " >&6
   12146 else
   12147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12148 /* end confdefs.h.  */
   12149 int i;
   12150 _ACEOF
   12151 if ac_fn_c_try_compile "$LINENO"; then :
   12152   xorg_cv_cc_flag_unused_command_line_argument=yes
   12153 else
   12154   xorg_cv_cc_flag_unused_command_line_argument=no
   12155 fi
   12156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12157 fi
   12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12159 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12160 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12161 	CFLAGS="$xorg_testset_save_CFLAGS"
   12162 fi
   12163 
   12164 found="no"
   12165 
   12166 	if test $found = "no" ; then
   12167 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12168 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12169 		fi
   12170 
   12171 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12172 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12173 		fi
   12174 
   12175 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12176 
   12177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12178 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12179 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12180 		if eval \${$cacheid+:} false; then :
   12181   $as_echo_n "(cached) " >&6
   12182 else
   12183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12184 /* end confdefs.h.  */
   12185 int i;
   12186 int
   12187 main ()
   12188 {
   12189 
   12190   ;
   12191   return 0;
   12192 }
   12193 _ACEOF
   12194 if ac_fn_c_try_link "$LINENO"; then :
   12195   eval $cacheid=yes
   12196 else
   12197   eval $cacheid=no
   12198 fi
   12199 rm -f core conftest.err conftest.$ac_objext \
   12200     conftest$ac_exeext conftest.$ac_ext
   12201 fi
   12202 
   12203 
   12204 		CFLAGS="$xorg_testset_save_CFLAGS"
   12205 
   12206 		eval supported=\$$cacheid
   12207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12208 $as_echo "$supported" >&6; }
   12209 		if test "$supported" = "yes" ; then
   12210 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12211 			found="yes"
   12212 		fi
   12213 	fi
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 xorg_testset_save_CFLAGS="$CFLAGS"
   12230 
   12231 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12232 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12233 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12234 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12235 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12236   $as_echo_n "(cached) " >&6
   12237 else
   12238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12239 /* end confdefs.h.  */
   12240 int i;
   12241 _ACEOF
   12242 if ac_fn_c_try_compile "$LINENO"; then :
   12243   xorg_cv_cc_flag_unknown_warning_option=yes
   12244 else
   12245   xorg_cv_cc_flag_unknown_warning_option=no
   12246 fi
   12247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12248 fi
   12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12250 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12251 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12252 	CFLAGS="$xorg_testset_save_CFLAGS"
   12253 fi
   12254 
   12255 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12256 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12257 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12258 	fi
   12259 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12260 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12261 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12262 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12263   $as_echo_n "(cached) " >&6
   12264 else
   12265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12266 /* end confdefs.h.  */
   12267 int i;
   12268 _ACEOF
   12269 if ac_fn_c_try_compile "$LINENO"; then :
   12270   xorg_cv_cc_flag_unused_command_line_argument=yes
   12271 else
   12272   xorg_cv_cc_flag_unused_command_line_argument=no
   12273 fi
   12274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12275 fi
   12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12277 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12278 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12279 	CFLAGS="$xorg_testset_save_CFLAGS"
   12280 fi
   12281 
   12282 found="no"
   12283 
   12284 	if test $found = "no" ; then
   12285 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12286 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12287 		fi
   12288 
   12289 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12290 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12291 		fi
   12292 
   12293 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12294 
   12295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12296 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12297 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12298 		if eval \${$cacheid+:} false; then :
   12299   $as_echo_n "(cached) " >&6
   12300 else
   12301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12302 /* end confdefs.h.  */
   12303 int i;
   12304 int
   12305 main ()
   12306 {
   12307 
   12308   ;
   12309   return 0;
   12310 }
   12311 _ACEOF
   12312 if ac_fn_c_try_link "$LINENO"; then :
   12313   eval $cacheid=yes
   12314 else
   12315   eval $cacheid=no
   12316 fi
   12317 rm -f core conftest.err conftest.$ac_objext \
   12318     conftest$ac_exeext conftest.$ac_ext
   12319 fi
   12320 
   12321 
   12322 		CFLAGS="$xorg_testset_save_CFLAGS"
   12323 
   12324 		eval supported=\$$cacheid
   12325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12326 $as_echo "$supported" >&6; }
   12327 		if test "$supported" = "yes" ; then
   12328 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12329 			found="yes"
   12330 		fi
   12331 	fi
   12332 
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 xorg_testset_save_CFLAGS="$CFLAGS"
   12348 
   12349 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12350 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12351 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12352 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12353 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12354   $as_echo_n "(cached) " >&6
   12355 else
   12356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12357 /* end confdefs.h.  */
   12358 int i;
   12359 _ACEOF
   12360 if ac_fn_c_try_compile "$LINENO"; then :
   12361   xorg_cv_cc_flag_unknown_warning_option=yes
   12362 else
   12363   xorg_cv_cc_flag_unknown_warning_option=no
   12364 fi
   12365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12366 fi
   12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12368 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12369 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12370 	CFLAGS="$xorg_testset_save_CFLAGS"
   12371 fi
   12372 
   12373 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12374 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12375 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12376 	fi
   12377 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12378 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12379 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12380 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12381   $as_echo_n "(cached) " >&6
   12382 else
   12383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12384 /* end confdefs.h.  */
   12385 int i;
   12386 _ACEOF
   12387 if ac_fn_c_try_compile "$LINENO"; then :
   12388   xorg_cv_cc_flag_unused_command_line_argument=yes
   12389 else
   12390   xorg_cv_cc_flag_unused_command_line_argument=no
   12391 fi
   12392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12393 fi
   12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12395 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12396 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12397 	CFLAGS="$xorg_testset_save_CFLAGS"
   12398 fi
   12399 
   12400 found="no"
   12401 
   12402 	if test $found = "no" ; then
   12403 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12404 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12405 		fi
   12406 
   12407 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12408 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12409 		fi
   12410 
   12411 		CFLAGS="$CFLAGS -Wnested-externs"
   12412 
   12413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12414 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12415 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12416 		if eval \${$cacheid+:} false; then :
   12417   $as_echo_n "(cached) " >&6
   12418 else
   12419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12420 /* end confdefs.h.  */
   12421 int i;
   12422 int
   12423 main ()
   12424 {
   12425 
   12426   ;
   12427   return 0;
   12428 }
   12429 _ACEOF
   12430 if ac_fn_c_try_link "$LINENO"; then :
   12431   eval $cacheid=yes
   12432 else
   12433   eval $cacheid=no
   12434 fi
   12435 rm -f core conftest.err conftest.$ac_objext \
   12436     conftest$ac_exeext conftest.$ac_ext
   12437 fi
   12438 
   12439 
   12440 		CFLAGS="$xorg_testset_save_CFLAGS"
   12441 
   12442 		eval supported=\$$cacheid
   12443 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12444 $as_echo "$supported" >&6; }
   12445 		if test "$supported" = "yes" ; then
   12446 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12447 			found="yes"
   12448 		fi
   12449 	fi
   12450 
   12451 
   12452 
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 xorg_testset_save_CFLAGS="$CFLAGS"
   12466 
   12467 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12468 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12469 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12470 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12471 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12472   $as_echo_n "(cached) " >&6
   12473 else
   12474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12475 /* end confdefs.h.  */
   12476 int i;
   12477 _ACEOF
   12478 if ac_fn_c_try_compile "$LINENO"; then :
   12479   xorg_cv_cc_flag_unknown_warning_option=yes
   12480 else
   12481   xorg_cv_cc_flag_unknown_warning_option=no
   12482 fi
   12483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12484 fi
   12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12486 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12487 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12488 	CFLAGS="$xorg_testset_save_CFLAGS"
   12489 fi
   12490 
   12491 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12492 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12493 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12494 	fi
   12495 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12496 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12497 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12498 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12499   $as_echo_n "(cached) " >&6
   12500 else
   12501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12502 /* end confdefs.h.  */
   12503 int i;
   12504 _ACEOF
   12505 if ac_fn_c_try_compile "$LINENO"; then :
   12506   xorg_cv_cc_flag_unused_command_line_argument=yes
   12507 else
   12508   xorg_cv_cc_flag_unused_command_line_argument=no
   12509 fi
   12510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12511 fi
   12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12513 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12514 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12515 	CFLAGS="$xorg_testset_save_CFLAGS"
   12516 fi
   12517 
   12518 found="no"
   12519 
   12520 	if test $found = "no" ; then
   12521 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12522 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12523 		fi
   12524 
   12525 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12526 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12527 		fi
   12528 
   12529 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12530 
   12531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12532 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12533 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12534 		if eval \${$cacheid+:} false; then :
   12535   $as_echo_n "(cached) " >&6
   12536 else
   12537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12538 /* end confdefs.h.  */
   12539 int i;
   12540 int
   12541 main ()
   12542 {
   12543 
   12544   ;
   12545   return 0;
   12546 }
   12547 _ACEOF
   12548 if ac_fn_c_try_link "$LINENO"; then :
   12549   eval $cacheid=yes
   12550 else
   12551   eval $cacheid=no
   12552 fi
   12553 rm -f core conftest.err conftest.$ac_objext \
   12554     conftest$ac_exeext conftest.$ac_ext
   12555 fi
   12556 
   12557 
   12558 		CFLAGS="$xorg_testset_save_CFLAGS"
   12559 
   12560 		eval supported=\$$cacheid
   12561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12562 $as_echo "$supported" >&6; }
   12563 		if test "$supported" = "yes" ; then
   12564 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12565 			found="yes"
   12566 		fi
   12567 	fi
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 xorg_testset_save_CFLAGS="$CFLAGS"
   12584 
   12585 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12586 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12588 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12589 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12590   $as_echo_n "(cached) " >&6
   12591 else
   12592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12593 /* end confdefs.h.  */
   12594 int i;
   12595 _ACEOF
   12596 if ac_fn_c_try_compile "$LINENO"; then :
   12597   xorg_cv_cc_flag_unknown_warning_option=yes
   12598 else
   12599   xorg_cv_cc_flag_unknown_warning_option=no
   12600 fi
   12601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12602 fi
   12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12604 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12605 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12606 	CFLAGS="$xorg_testset_save_CFLAGS"
   12607 fi
   12608 
   12609 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12610 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12612 	fi
   12613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12615 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12616 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12617   $as_echo_n "(cached) " >&6
   12618 else
   12619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12620 /* end confdefs.h.  */
   12621 int i;
   12622 _ACEOF
   12623 if ac_fn_c_try_compile "$LINENO"; then :
   12624   xorg_cv_cc_flag_unused_command_line_argument=yes
   12625 else
   12626   xorg_cv_cc_flag_unused_command_line_argument=no
   12627 fi
   12628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12629 fi
   12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12631 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12632 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12633 	CFLAGS="$xorg_testset_save_CFLAGS"
   12634 fi
   12635 
   12636 found="no"
   12637 
   12638 	if test $found = "no" ; then
   12639 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12640 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12641 		fi
   12642 
   12643 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12644 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12645 		fi
   12646 
   12647 		CFLAGS="$CFLAGS -Wold-style-definition"
   12648 
   12649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12650 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12651 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12652 		if eval \${$cacheid+:} false; then :
   12653   $as_echo_n "(cached) " >&6
   12654 else
   12655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12656 /* end confdefs.h.  */
   12657 int i;
   12658 int
   12659 main ()
   12660 {
   12661 
   12662   ;
   12663   return 0;
   12664 }
   12665 _ACEOF
   12666 if ac_fn_c_try_link "$LINENO"; then :
   12667   eval $cacheid=yes
   12668 else
   12669   eval $cacheid=no
   12670 fi
   12671 rm -f core conftest.err conftest.$ac_objext \
   12672     conftest$ac_exeext conftest.$ac_ext
   12673 fi
   12674 
   12675 
   12676 		CFLAGS="$xorg_testset_save_CFLAGS"
   12677 
   12678 		eval supported=\$$cacheid
   12679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12680 $as_echo "$supported" >&6; }
   12681 		if test "$supported" = "yes" ; then
   12682 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12683 			found="yes"
   12684 		fi
   12685 	fi
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 xorg_testset_save_CFLAGS="$CFLAGS"
   12702 
   12703 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12704 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12705 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12706 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12707 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12708   $as_echo_n "(cached) " >&6
   12709 else
   12710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12711 /* end confdefs.h.  */
   12712 int i;
   12713 _ACEOF
   12714 if ac_fn_c_try_compile "$LINENO"; then :
   12715   xorg_cv_cc_flag_unknown_warning_option=yes
   12716 else
   12717   xorg_cv_cc_flag_unknown_warning_option=no
   12718 fi
   12719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12720 fi
   12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12722 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12723 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12724 	CFLAGS="$xorg_testset_save_CFLAGS"
   12725 fi
   12726 
   12727 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12728 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12729 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12730 	fi
   12731 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12732 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12733 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12734 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12735   $as_echo_n "(cached) " >&6
   12736 else
   12737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12738 /* end confdefs.h.  */
   12739 int i;
   12740 _ACEOF
   12741 if ac_fn_c_try_compile "$LINENO"; then :
   12742   xorg_cv_cc_flag_unused_command_line_argument=yes
   12743 else
   12744   xorg_cv_cc_flag_unused_command_line_argument=no
   12745 fi
   12746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12747 fi
   12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12749 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12750 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12751 	CFLAGS="$xorg_testset_save_CFLAGS"
   12752 fi
   12753 
   12754 found="no"
   12755 
   12756 	if test $found = "no" ; then
   12757 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12758 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12759 		fi
   12760 
   12761 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12762 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12763 		fi
   12764 
   12765 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12766 
   12767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12768 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12769 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12770 		if eval \${$cacheid+:} false; then :
   12771   $as_echo_n "(cached) " >&6
   12772 else
   12773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12774 /* end confdefs.h.  */
   12775 int i;
   12776 int
   12777 main ()
   12778 {
   12779 
   12780   ;
   12781   return 0;
   12782 }
   12783 _ACEOF
   12784 if ac_fn_c_try_link "$LINENO"; then :
   12785   eval $cacheid=yes
   12786 else
   12787   eval $cacheid=no
   12788 fi
   12789 rm -f core conftest.err conftest.$ac_objext \
   12790     conftest$ac_exeext conftest.$ac_ext
   12791 fi
   12792 
   12793 
   12794 		CFLAGS="$xorg_testset_save_CFLAGS"
   12795 
   12796 		eval supported=\$$cacheid
   12797 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12798 $as_echo "$supported" >&6; }
   12799 		if test "$supported" = "yes" ; then
   12800 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12801 			found="yes"
   12802 		fi
   12803 	fi
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 # This chunk adds additional warnings that could catch undesired effects.
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 xorg_testset_save_CFLAGS="$CFLAGS"
   12824 
   12825 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12826 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12828 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12829 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12830   $as_echo_n "(cached) " >&6
   12831 else
   12832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12833 /* end confdefs.h.  */
   12834 int i;
   12835 _ACEOF
   12836 if ac_fn_c_try_compile "$LINENO"; then :
   12837   xorg_cv_cc_flag_unknown_warning_option=yes
   12838 else
   12839   xorg_cv_cc_flag_unknown_warning_option=no
   12840 fi
   12841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12842 fi
   12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12844 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12845 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12846 	CFLAGS="$xorg_testset_save_CFLAGS"
   12847 fi
   12848 
   12849 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12850 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12851 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12852 	fi
   12853 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12855 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12856 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12857   $as_echo_n "(cached) " >&6
   12858 else
   12859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12860 /* end confdefs.h.  */
   12861 int i;
   12862 _ACEOF
   12863 if ac_fn_c_try_compile "$LINENO"; then :
   12864   xorg_cv_cc_flag_unused_command_line_argument=yes
   12865 else
   12866   xorg_cv_cc_flag_unused_command_line_argument=no
   12867 fi
   12868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12869 fi
   12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12871 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12873 	CFLAGS="$xorg_testset_save_CFLAGS"
   12874 fi
   12875 
   12876 found="no"
   12877 
   12878 	if test $found = "no" ; then
   12879 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12881 		fi
   12882 
   12883 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12885 		fi
   12886 
   12887 		CFLAGS="$CFLAGS -Wunused"
   12888 
   12889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   12890 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   12891 		cacheid=xorg_cv_cc_flag__Wunused
   12892 		if eval \${$cacheid+:} false; then :
   12893   $as_echo_n "(cached) " >&6
   12894 else
   12895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12896 /* end confdefs.h.  */
   12897 int i;
   12898 int
   12899 main ()
   12900 {
   12901 
   12902   ;
   12903   return 0;
   12904 }
   12905 _ACEOF
   12906 if ac_fn_c_try_link "$LINENO"; then :
   12907   eval $cacheid=yes
   12908 else
   12909   eval $cacheid=no
   12910 fi
   12911 rm -f core conftest.err conftest.$ac_objext \
   12912     conftest$ac_exeext conftest.$ac_ext
   12913 fi
   12914 
   12915 
   12916 		CFLAGS="$xorg_testset_save_CFLAGS"
   12917 
   12918 		eval supported=\$$cacheid
   12919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12920 $as_echo "$supported" >&6; }
   12921 		if test "$supported" = "yes" ; then
   12922 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   12923 			found="yes"
   12924 		fi
   12925 	fi
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 xorg_testset_save_CFLAGS="$CFLAGS"
   12942 
   12943 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12944 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12946 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12947 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12948   $as_echo_n "(cached) " >&6
   12949 else
   12950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12951 /* end confdefs.h.  */
   12952 int i;
   12953 _ACEOF
   12954 if ac_fn_c_try_compile "$LINENO"; then :
   12955   xorg_cv_cc_flag_unknown_warning_option=yes
   12956 else
   12957   xorg_cv_cc_flag_unknown_warning_option=no
   12958 fi
   12959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12960 fi
   12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12962 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12963 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12964 	CFLAGS="$xorg_testset_save_CFLAGS"
   12965 fi
   12966 
   12967 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12968 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12969 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12970 	fi
   12971 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12973 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12974 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12975   $as_echo_n "(cached) " >&6
   12976 else
   12977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12978 /* end confdefs.h.  */
   12979 int i;
   12980 _ACEOF
   12981 if ac_fn_c_try_compile "$LINENO"; then :
   12982   xorg_cv_cc_flag_unused_command_line_argument=yes
   12983 else
   12984   xorg_cv_cc_flag_unused_command_line_argument=no
   12985 fi
   12986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12987 fi
   12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12989 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12990 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12991 	CFLAGS="$xorg_testset_save_CFLAGS"
   12992 fi
   12993 
   12994 found="no"
   12995 
   12996 	if test $found = "no" ; then
   12997 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12998 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12999 		fi
   13000 
   13001 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13002 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13003 		fi
   13004 
   13005 		CFLAGS="$CFLAGS -Wuninitialized"
   13006 
   13007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13008 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13009 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13010 		if eval \${$cacheid+:} false; then :
   13011   $as_echo_n "(cached) " >&6
   13012 else
   13013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13014 /* end confdefs.h.  */
   13015 int i;
   13016 int
   13017 main ()
   13018 {
   13019 
   13020   ;
   13021   return 0;
   13022 }
   13023 _ACEOF
   13024 if ac_fn_c_try_link "$LINENO"; then :
   13025   eval $cacheid=yes
   13026 else
   13027   eval $cacheid=no
   13028 fi
   13029 rm -f core conftest.err conftest.$ac_objext \
   13030     conftest$ac_exeext conftest.$ac_ext
   13031 fi
   13032 
   13033 
   13034 		CFLAGS="$xorg_testset_save_CFLAGS"
   13035 
   13036 		eval supported=\$$cacheid
   13037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13038 $as_echo "$supported" >&6; }
   13039 		if test "$supported" = "yes" ; then
   13040 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13041 			found="yes"
   13042 		fi
   13043 	fi
   13044 
   13045 
   13046 
   13047 
   13048 
   13049 
   13050 
   13051 
   13052 
   13053 
   13054 
   13055 
   13056 
   13057 
   13058 
   13059 xorg_testset_save_CFLAGS="$CFLAGS"
   13060 
   13061 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13062 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13064 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13065 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   13074 else
   13075   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   13080 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13081 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13082 	CFLAGS="$xorg_testset_save_CFLAGS"
   13083 fi
   13084 
   13085 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13086 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13087 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13088 	fi
   13089 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13091 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13092 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13093   $as_echo_n "(cached) " >&6
   13094 else
   13095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13096 /* end confdefs.h.  */
   13097 int i;
   13098 _ACEOF
   13099 if ac_fn_c_try_compile "$LINENO"; then :
   13100   xorg_cv_cc_flag_unused_command_line_argument=yes
   13101 else
   13102   xorg_cv_cc_flag_unused_command_line_argument=no
   13103 fi
   13104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13105 fi
   13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13107 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13108 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13109 	CFLAGS="$xorg_testset_save_CFLAGS"
   13110 fi
   13111 
   13112 found="no"
   13113 
   13114 	if test $found = "no" ; then
   13115 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13116 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13117 		fi
   13118 
   13119 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13120 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13121 		fi
   13122 
   13123 		CFLAGS="$CFLAGS -Wshadow"
   13124 
   13125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13126 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13127 		cacheid=xorg_cv_cc_flag__Wshadow
   13128 		if eval \${$cacheid+:} false; then :
   13129   $as_echo_n "(cached) " >&6
   13130 else
   13131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13132 /* end confdefs.h.  */
   13133 int i;
   13134 int
   13135 main ()
   13136 {
   13137 
   13138   ;
   13139   return 0;
   13140 }
   13141 _ACEOF
   13142 if ac_fn_c_try_link "$LINENO"; then :
   13143   eval $cacheid=yes
   13144 else
   13145   eval $cacheid=no
   13146 fi
   13147 rm -f core conftest.err conftest.$ac_objext \
   13148     conftest$ac_exeext conftest.$ac_ext
   13149 fi
   13150 
   13151 
   13152 		CFLAGS="$xorg_testset_save_CFLAGS"
   13153 
   13154 		eval supported=\$$cacheid
   13155 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13156 $as_echo "$supported" >&6; }
   13157 		if test "$supported" = "yes" ; then
   13158 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13159 			found="yes"
   13160 		fi
   13161 	fi
   13162 
   13163 
   13164 
   13165 
   13166 
   13167 
   13168 
   13169 
   13170 
   13171 
   13172 
   13173 
   13174 
   13175 
   13176 
   13177 xorg_testset_save_CFLAGS="$CFLAGS"
   13178 
   13179 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13180 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13182 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13183 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   13192 else
   13193   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   13198 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13199 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13200 	CFLAGS="$xorg_testset_save_CFLAGS"
   13201 fi
   13202 
   13203 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13204 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13205 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13206 	fi
   13207 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13208 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13209 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13210 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13211   $as_echo_n "(cached) " >&6
   13212 else
   13213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13214 /* end confdefs.h.  */
   13215 int i;
   13216 _ACEOF
   13217 if ac_fn_c_try_compile "$LINENO"; then :
   13218   xorg_cv_cc_flag_unused_command_line_argument=yes
   13219 else
   13220   xorg_cv_cc_flag_unused_command_line_argument=no
   13221 fi
   13222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13223 fi
   13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13225 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13226 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13227 	CFLAGS="$xorg_testset_save_CFLAGS"
   13228 fi
   13229 
   13230 found="no"
   13231 
   13232 	if test $found = "no" ; then
   13233 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13234 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13235 		fi
   13236 
   13237 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13238 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13239 		fi
   13240 
   13241 		CFLAGS="$CFLAGS -Wcast-qual"
   13242 
   13243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13244 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13245 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13246 		if eval \${$cacheid+:} false; then :
   13247   $as_echo_n "(cached) " >&6
   13248 else
   13249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13250 /* end confdefs.h.  */
   13251 int i;
   13252 int
   13253 main ()
   13254 {
   13255 
   13256   ;
   13257   return 0;
   13258 }
   13259 _ACEOF
   13260 if ac_fn_c_try_link "$LINENO"; then :
   13261   eval $cacheid=yes
   13262 else
   13263   eval $cacheid=no
   13264 fi
   13265 rm -f core conftest.err conftest.$ac_objext \
   13266     conftest$ac_exeext conftest.$ac_ext
   13267 fi
   13268 
   13269 
   13270 		CFLAGS="$xorg_testset_save_CFLAGS"
   13271 
   13272 		eval supported=\$$cacheid
   13273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13274 $as_echo "$supported" >&6; }
   13275 		if test "$supported" = "yes" ; then
   13276 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13277 			found="yes"
   13278 		fi
   13279 	fi
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 
   13287 
   13288 
   13289 
   13290 
   13291 
   13292 
   13293 
   13294 
   13295 xorg_testset_save_CFLAGS="$CFLAGS"
   13296 
   13297 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13298 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13300 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13301 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   13310 else
   13311   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   13316 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13317 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13318 	CFLAGS="$xorg_testset_save_CFLAGS"
   13319 fi
   13320 
   13321 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13322 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13323 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13324 	fi
   13325 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13327 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13328 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13329   $as_echo_n "(cached) " >&6
   13330 else
   13331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13332 /* end confdefs.h.  */
   13333 int i;
   13334 _ACEOF
   13335 if ac_fn_c_try_compile "$LINENO"; then :
   13336   xorg_cv_cc_flag_unused_command_line_argument=yes
   13337 else
   13338   xorg_cv_cc_flag_unused_command_line_argument=no
   13339 fi
   13340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13341 fi
   13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13343 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13344 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13345 	CFLAGS="$xorg_testset_save_CFLAGS"
   13346 fi
   13347 
   13348 found="no"
   13349 
   13350 	if test $found = "no" ; then
   13351 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13352 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13353 		fi
   13354 
   13355 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13356 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13357 		fi
   13358 
   13359 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13360 
   13361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13362 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13363 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13364 		if eval \${$cacheid+:} false; then :
   13365   $as_echo_n "(cached) " >&6
   13366 else
   13367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13368 /* end confdefs.h.  */
   13369 int i;
   13370 int
   13371 main ()
   13372 {
   13373 
   13374   ;
   13375   return 0;
   13376 }
   13377 _ACEOF
   13378 if ac_fn_c_try_link "$LINENO"; then :
   13379   eval $cacheid=yes
   13380 else
   13381   eval $cacheid=no
   13382 fi
   13383 rm -f core conftest.err conftest.$ac_objext \
   13384     conftest$ac_exeext conftest.$ac_ext
   13385 fi
   13386 
   13387 
   13388 		CFLAGS="$xorg_testset_save_CFLAGS"
   13389 
   13390 		eval supported=\$$cacheid
   13391 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13392 $as_echo "$supported" >&6; }
   13393 		if test "$supported" = "yes" ; then
   13394 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13395 			found="yes"
   13396 		fi
   13397 	fi
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 
   13409 
   13410 
   13411 
   13412 
   13413 xorg_testset_save_CFLAGS="$CFLAGS"
   13414 
   13415 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13416 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13418 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13419 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   13428 else
   13429   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   13434 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13436 	CFLAGS="$xorg_testset_save_CFLAGS"
   13437 fi
   13438 
   13439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13442 	fi
   13443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13445 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13446 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13447   $as_echo_n "(cached) " >&6
   13448 else
   13449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13450 /* end confdefs.h.  */
   13451 int i;
   13452 _ACEOF
   13453 if ac_fn_c_try_compile "$LINENO"; then :
   13454   xorg_cv_cc_flag_unused_command_line_argument=yes
   13455 else
   13456   xorg_cv_cc_flag_unused_command_line_argument=no
   13457 fi
   13458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13459 fi
   13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13461 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13462 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13463 	CFLAGS="$xorg_testset_save_CFLAGS"
   13464 fi
   13465 
   13466 found="no"
   13467 
   13468 	if test $found = "no" ; then
   13469 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13471 		fi
   13472 
   13473 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13475 		fi
   13476 
   13477 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13478 
   13479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13480 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13481 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13482 		if eval \${$cacheid+:} false; then :
   13483   $as_echo_n "(cached) " >&6
   13484 else
   13485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13486 /* end confdefs.h.  */
   13487 int i;
   13488 int
   13489 main ()
   13490 {
   13491 
   13492   ;
   13493   return 0;
   13494 }
   13495 _ACEOF
   13496 if ac_fn_c_try_link "$LINENO"; then :
   13497   eval $cacheid=yes
   13498 else
   13499   eval $cacheid=no
   13500 fi
   13501 rm -f core conftest.err conftest.$ac_objext \
   13502     conftest$ac_exeext conftest.$ac_ext
   13503 fi
   13504 
   13505 
   13506 		CFLAGS="$xorg_testset_save_CFLAGS"
   13507 
   13508 		eval supported=\$$cacheid
   13509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13510 $as_echo "$supported" >&6; }
   13511 		if test "$supported" = "yes" ; then
   13512 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13513 			found="yes"
   13514 		fi
   13515 	fi
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 xorg_testset_save_CFLAGS="$CFLAGS"
   13532 
   13533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13536 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13537 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   13546 else
   13547   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   13552 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13554 	CFLAGS="$xorg_testset_save_CFLAGS"
   13555 fi
   13556 
   13557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13560 	fi
   13561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13563 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13564 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13565   $as_echo_n "(cached) " >&6
   13566 else
   13567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13568 /* end confdefs.h.  */
   13569 int i;
   13570 _ACEOF
   13571 if ac_fn_c_try_compile "$LINENO"; then :
   13572   xorg_cv_cc_flag_unused_command_line_argument=yes
   13573 else
   13574   xorg_cv_cc_flag_unused_command_line_argument=no
   13575 fi
   13576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13577 fi
   13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13579 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13581 	CFLAGS="$xorg_testset_save_CFLAGS"
   13582 fi
   13583 
   13584 found="no"
   13585 
   13586 	if test $found = "no" ; then
   13587 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13589 		fi
   13590 
   13591 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13593 		fi
   13594 
   13595 		CFLAGS="$CFLAGS -Wredundant-decls"
   13596 
   13597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13598 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13599 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13600 		if eval \${$cacheid+:} false; then :
   13601   $as_echo_n "(cached) " >&6
   13602 else
   13603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13604 /* end confdefs.h.  */
   13605 int i;
   13606 int
   13607 main ()
   13608 {
   13609 
   13610   ;
   13611   return 0;
   13612 }
   13613 _ACEOF
   13614 if ac_fn_c_try_link "$LINENO"; then :
   13615   eval $cacheid=yes
   13616 else
   13617   eval $cacheid=no
   13618 fi
   13619 rm -f core conftest.err conftest.$ac_objext \
   13620     conftest$ac_exeext conftest.$ac_ext
   13621 fi
   13622 
   13623 
   13624 		CFLAGS="$xorg_testset_save_CFLAGS"
   13625 
   13626 		eval supported=\$$cacheid
   13627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13628 $as_echo "$supported" >&6; }
   13629 		if test "$supported" = "yes" ; then
   13630 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13631 			found="yes"
   13632 		fi
   13633 	fi
   13634 
   13635 
   13636 
   13637 # These are currently disabled because they are noisy.  They will be enabled
   13638 # in the future once the codebase is sufficiently modernized to silence
   13639 # them.  For now, I don't want them to drown out the other warnings.
   13640 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13641 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13642 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13643 
   13644 # Turn some warnings into errors, so we don't accidently get successful builds
   13645 # when there are problems that should be fixed.
   13646 
   13647 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13648 
   13649 
   13650 
   13651 
   13652 
   13653 
   13654 
   13655 
   13656 
   13657 
   13658 
   13659 
   13660 
   13661 xorg_testset_save_CFLAGS="$CFLAGS"
   13662 
   13663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13664 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13666 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13667 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13668   $as_echo_n "(cached) " >&6
   13669 else
   13670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13671 /* end confdefs.h.  */
   13672 int i;
   13673 _ACEOF
   13674 if ac_fn_c_try_compile "$LINENO"; then :
   13675   xorg_cv_cc_flag_unknown_warning_option=yes
   13676 else
   13677   xorg_cv_cc_flag_unknown_warning_option=no
   13678 fi
   13679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13680 fi
   13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13682 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13683 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13684 	CFLAGS="$xorg_testset_save_CFLAGS"
   13685 fi
   13686 
   13687 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13688 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13689 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13690 	fi
   13691 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13692 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13693 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13694 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13695   $as_echo_n "(cached) " >&6
   13696 else
   13697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13698 /* end confdefs.h.  */
   13699 int i;
   13700 _ACEOF
   13701 if ac_fn_c_try_compile "$LINENO"; then :
   13702   xorg_cv_cc_flag_unused_command_line_argument=yes
   13703 else
   13704   xorg_cv_cc_flag_unused_command_line_argument=no
   13705 fi
   13706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13707 fi
   13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13709 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13710 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13711 	CFLAGS="$xorg_testset_save_CFLAGS"
   13712 fi
   13713 
   13714 found="no"
   13715 
   13716 	if test $found = "no" ; then
   13717 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13718 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13719 		fi
   13720 
   13721 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13722 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13723 		fi
   13724 
   13725 		CFLAGS="$CFLAGS -Werror=implicit"
   13726 
   13727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13728 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13729 		cacheid=xorg_cv_cc_flag__Werror_implicit
   13730 		if eval \${$cacheid+:} false; then :
   13731   $as_echo_n "(cached) " >&6
   13732 else
   13733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13734 /* end confdefs.h.  */
   13735 int i;
   13736 int
   13737 main ()
   13738 {
   13739 
   13740   ;
   13741   return 0;
   13742 }
   13743 _ACEOF
   13744 if ac_fn_c_try_link "$LINENO"; then :
   13745   eval $cacheid=yes
   13746 else
   13747   eval $cacheid=no
   13748 fi
   13749 rm -f core conftest.err conftest.$ac_objext \
   13750     conftest$ac_exeext conftest.$ac_ext
   13751 fi
   13752 
   13753 
   13754 		CFLAGS="$xorg_testset_save_CFLAGS"
   13755 
   13756 		eval supported=\$$cacheid
   13757 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13758 $as_echo "$supported" >&6; }
   13759 		if test "$supported" = "yes" ; then
   13760 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13761 			found="yes"
   13762 		fi
   13763 	fi
   13764 
   13765 	if test $found = "no" ; then
   13766 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13768 		fi
   13769 
   13770 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13772 		fi
   13773 
   13774 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13775 
   13776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13777 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13778 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   13779 		if eval \${$cacheid+:} false; then :
   13780   $as_echo_n "(cached) " >&6
   13781 else
   13782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13783 /* end confdefs.h.  */
   13784 int i;
   13785 int
   13786 main ()
   13787 {
   13788 
   13789   ;
   13790   return 0;
   13791 }
   13792 _ACEOF
   13793 if ac_fn_c_try_link "$LINENO"; then :
   13794   eval $cacheid=yes
   13795 else
   13796   eval $cacheid=no
   13797 fi
   13798 rm -f core conftest.err conftest.$ac_objext \
   13799     conftest$ac_exeext conftest.$ac_ext
   13800 fi
   13801 
   13802 
   13803 		CFLAGS="$xorg_testset_save_CFLAGS"
   13804 
   13805 		eval supported=\$$cacheid
   13806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13807 $as_echo "$supported" >&6; }
   13808 		if test "$supported" = "yes" ; then
   13809 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13810 			found="yes"
   13811 		fi
   13812 	fi
   13813 
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 xorg_testset_save_CFLAGS="$CFLAGS"
   13829 
   13830 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13831 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13833 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13834 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13835   $as_echo_n "(cached) " >&6
   13836 else
   13837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13838 /* end confdefs.h.  */
   13839 int i;
   13840 _ACEOF
   13841 if ac_fn_c_try_compile "$LINENO"; then :
   13842   xorg_cv_cc_flag_unknown_warning_option=yes
   13843 else
   13844   xorg_cv_cc_flag_unknown_warning_option=no
   13845 fi
   13846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13847 fi
   13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13849 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13850 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13851 	CFLAGS="$xorg_testset_save_CFLAGS"
   13852 fi
   13853 
   13854 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13855 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13856 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13857 	fi
   13858 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13860 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13861 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13862   $as_echo_n "(cached) " >&6
   13863 else
   13864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13865 /* end confdefs.h.  */
   13866 int i;
   13867 _ACEOF
   13868 if ac_fn_c_try_compile "$LINENO"; then :
   13869   xorg_cv_cc_flag_unused_command_line_argument=yes
   13870 else
   13871   xorg_cv_cc_flag_unused_command_line_argument=no
   13872 fi
   13873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13874 fi
   13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13876 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13877 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13878 	CFLAGS="$xorg_testset_save_CFLAGS"
   13879 fi
   13880 
   13881 found="no"
   13882 
   13883 	if test $found = "no" ; then
   13884 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13885 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13886 		fi
   13887 
   13888 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13889 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13890 		fi
   13891 
   13892 		CFLAGS="$CFLAGS -Werror=nonnull"
   13893 
   13894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   13895 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   13896 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   13897 		if eval \${$cacheid+:} false; then :
   13898   $as_echo_n "(cached) " >&6
   13899 else
   13900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13901 /* end confdefs.h.  */
   13902 int i;
   13903 int
   13904 main ()
   13905 {
   13906 
   13907   ;
   13908   return 0;
   13909 }
   13910 _ACEOF
   13911 if ac_fn_c_try_link "$LINENO"; then :
   13912   eval $cacheid=yes
   13913 else
   13914   eval $cacheid=no
   13915 fi
   13916 rm -f core conftest.err conftest.$ac_objext \
   13917     conftest$ac_exeext conftest.$ac_ext
   13918 fi
   13919 
   13920 
   13921 		CFLAGS="$xorg_testset_save_CFLAGS"
   13922 
   13923 		eval supported=\$$cacheid
   13924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13925 $as_echo "$supported" >&6; }
   13926 		if test "$supported" = "yes" ; then
   13927 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   13928 			found="yes"
   13929 		fi
   13930 	fi
   13931 
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 
   13939 
   13940 
   13941 
   13942 
   13943 
   13944 
   13945 
   13946 xorg_testset_save_CFLAGS="$CFLAGS"
   13947 
   13948 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13949 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13951 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13952 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13953   $as_echo_n "(cached) " >&6
   13954 else
   13955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13956 /* end confdefs.h.  */
   13957 int i;
   13958 _ACEOF
   13959 if ac_fn_c_try_compile "$LINENO"; then :
   13960   xorg_cv_cc_flag_unknown_warning_option=yes
   13961 else
   13962   xorg_cv_cc_flag_unknown_warning_option=no
   13963 fi
   13964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13965 fi
   13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13967 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13968 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13969 	CFLAGS="$xorg_testset_save_CFLAGS"
   13970 fi
   13971 
   13972 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13973 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13974 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13975 	fi
   13976 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13978 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13979 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13980   $as_echo_n "(cached) " >&6
   13981 else
   13982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13983 /* end confdefs.h.  */
   13984 int i;
   13985 _ACEOF
   13986 if ac_fn_c_try_compile "$LINENO"; then :
   13987   xorg_cv_cc_flag_unused_command_line_argument=yes
   13988 else
   13989   xorg_cv_cc_flag_unused_command_line_argument=no
   13990 fi
   13991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13992 fi
   13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13994 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13995 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13996 	CFLAGS="$xorg_testset_save_CFLAGS"
   13997 fi
   13998 
   13999 found="no"
   14000 
   14001 	if test $found = "no" ; then
   14002 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14003 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14004 		fi
   14005 
   14006 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14007 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14008 		fi
   14009 
   14010 		CFLAGS="$CFLAGS -Werror=init-self"
   14011 
   14012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14013 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14014 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14015 		if eval \${$cacheid+:} false; then :
   14016   $as_echo_n "(cached) " >&6
   14017 else
   14018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14019 /* end confdefs.h.  */
   14020 int i;
   14021 int
   14022 main ()
   14023 {
   14024 
   14025   ;
   14026   return 0;
   14027 }
   14028 _ACEOF
   14029 if ac_fn_c_try_link "$LINENO"; then :
   14030   eval $cacheid=yes
   14031 else
   14032   eval $cacheid=no
   14033 fi
   14034 rm -f core conftest.err conftest.$ac_objext \
   14035     conftest$ac_exeext conftest.$ac_ext
   14036 fi
   14037 
   14038 
   14039 		CFLAGS="$xorg_testset_save_CFLAGS"
   14040 
   14041 		eval supported=\$$cacheid
   14042 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14043 $as_echo "$supported" >&6; }
   14044 		if test "$supported" = "yes" ; then
   14045 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14046 			found="yes"
   14047 		fi
   14048 	fi
   14049 
   14050 
   14051 
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 xorg_testset_save_CFLAGS="$CFLAGS"
   14065 
   14066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14067 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14069 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14070 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14071   $as_echo_n "(cached) " >&6
   14072 else
   14073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14074 /* end confdefs.h.  */
   14075 int i;
   14076 _ACEOF
   14077 if ac_fn_c_try_compile "$LINENO"; then :
   14078   xorg_cv_cc_flag_unknown_warning_option=yes
   14079 else
   14080   xorg_cv_cc_flag_unknown_warning_option=no
   14081 fi
   14082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14083 fi
   14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14085 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14086 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14087 	CFLAGS="$xorg_testset_save_CFLAGS"
   14088 fi
   14089 
   14090 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14091 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14092 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14093 	fi
   14094 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14095 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14096 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14097 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14098   $as_echo_n "(cached) " >&6
   14099 else
   14100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14101 /* end confdefs.h.  */
   14102 int i;
   14103 _ACEOF
   14104 if ac_fn_c_try_compile "$LINENO"; then :
   14105   xorg_cv_cc_flag_unused_command_line_argument=yes
   14106 else
   14107   xorg_cv_cc_flag_unused_command_line_argument=no
   14108 fi
   14109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14110 fi
   14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14112 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14113 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14114 	CFLAGS="$xorg_testset_save_CFLAGS"
   14115 fi
   14116 
   14117 found="no"
   14118 
   14119 	if test $found = "no" ; then
   14120 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14121 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14122 		fi
   14123 
   14124 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14125 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14126 		fi
   14127 
   14128 		CFLAGS="$CFLAGS -Werror=main"
   14129 
   14130 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14131 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14132 		cacheid=xorg_cv_cc_flag__Werror_main
   14133 		if eval \${$cacheid+:} false; then :
   14134   $as_echo_n "(cached) " >&6
   14135 else
   14136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14137 /* end confdefs.h.  */
   14138 int i;
   14139 int
   14140 main ()
   14141 {
   14142 
   14143   ;
   14144   return 0;
   14145 }
   14146 _ACEOF
   14147 if ac_fn_c_try_link "$LINENO"; then :
   14148   eval $cacheid=yes
   14149 else
   14150   eval $cacheid=no
   14151 fi
   14152 rm -f core conftest.err conftest.$ac_objext \
   14153     conftest$ac_exeext conftest.$ac_ext
   14154 fi
   14155 
   14156 
   14157 		CFLAGS="$xorg_testset_save_CFLAGS"
   14158 
   14159 		eval supported=\$$cacheid
   14160 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14161 $as_echo "$supported" >&6; }
   14162 		if test "$supported" = "yes" ; then
   14163 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14164 			found="yes"
   14165 		fi
   14166 	fi
   14167 
   14168 
   14169 
   14170 
   14171 
   14172 
   14173 
   14174 
   14175 
   14176 
   14177 
   14178 
   14179 
   14180 
   14181 
   14182 xorg_testset_save_CFLAGS="$CFLAGS"
   14183 
   14184 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14185 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14187 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14188 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14189   $as_echo_n "(cached) " >&6
   14190 else
   14191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14192 /* end confdefs.h.  */
   14193 int i;
   14194 _ACEOF
   14195 if ac_fn_c_try_compile "$LINENO"; then :
   14196   xorg_cv_cc_flag_unknown_warning_option=yes
   14197 else
   14198   xorg_cv_cc_flag_unknown_warning_option=no
   14199 fi
   14200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14201 fi
   14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14203 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14204 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14205 	CFLAGS="$xorg_testset_save_CFLAGS"
   14206 fi
   14207 
   14208 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14209 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14210 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14211 	fi
   14212 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14213 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14214 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14215 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14216   $as_echo_n "(cached) " >&6
   14217 else
   14218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14219 /* end confdefs.h.  */
   14220 int i;
   14221 _ACEOF
   14222 if ac_fn_c_try_compile "$LINENO"; then :
   14223   xorg_cv_cc_flag_unused_command_line_argument=yes
   14224 else
   14225   xorg_cv_cc_flag_unused_command_line_argument=no
   14226 fi
   14227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14228 fi
   14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14230 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14231 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14232 	CFLAGS="$xorg_testset_save_CFLAGS"
   14233 fi
   14234 
   14235 found="no"
   14236 
   14237 	if test $found = "no" ; then
   14238 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14239 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14240 		fi
   14241 
   14242 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14243 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14244 		fi
   14245 
   14246 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14247 
   14248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14249 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14250 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14251 		if eval \${$cacheid+:} false; then :
   14252   $as_echo_n "(cached) " >&6
   14253 else
   14254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14255 /* end confdefs.h.  */
   14256 int i;
   14257 int
   14258 main ()
   14259 {
   14260 
   14261   ;
   14262   return 0;
   14263 }
   14264 _ACEOF
   14265 if ac_fn_c_try_link "$LINENO"; then :
   14266   eval $cacheid=yes
   14267 else
   14268   eval $cacheid=no
   14269 fi
   14270 rm -f core conftest.err conftest.$ac_objext \
   14271     conftest$ac_exeext conftest.$ac_ext
   14272 fi
   14273 
   14274 
   14275 		CFLAGS="$xorg_testset_save_CFLAGS"
   14276 
   14277 		eval supported=\$$cacheid
   14278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14279 $as_echo "$supported" >&6; }
   14280 		if test "$supported" = "yes" ; then
   14281 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14282 			found="yes"
   14283 		fi
   14284 	fi
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 
   14294 
   14295 
   14296 
   14297 
   14298 
   14299 
   14300 xorg_testset_save_CFLAGS="$CFLAGS"
   14301 
   14302 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14303 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14305 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14306 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14307   $as_echo_n "(cached) " >&6
   14308 else
   14309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14310 /* end confdefs.h.  */
   14311 int i;
   14312 _ACEOF
   14313 if ac_fn_c_try_compile "$LINENO"; then :
   14314   xorg_cv_cc_flag_unknown_warning_option=yes
   14315 else
   14316   xorg_cv_cc_flag_unknown_warning_option=no
   14317 fi
   14318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14319 fi
   14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14321 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14322 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14323 	CFLAGS="$xorg_testset_save_CFLAGS"
   14324 fi
   14325 
   14326 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14327 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14328 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14329 	fi
   14330 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14331 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14332 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14333 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14334   $as_echo_n "(cached) " >&6
   14335 else
   14336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14337 /* end confdefs.h.  */
   14338 int i;
   14339 _ACEOF
   14340 if ac_fn_c_try_compile "$LINENO"; then :
   14341   xorg_cv_cc_flag_unused_command_line_argument=yes
   14342 else
   14343   xorg_cv_cc_flag_unused_command_line_argument=no
   14344 fi
   14345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14346 fi
   14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14348 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14349 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14350 	CFLAGS="$xorg_testset_save_CFLAGS"
   14351 fi
   14352 
   14353 found="no"
   14354 
   14355 	if test $found = "no" ; then
   14356 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14357 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14358 		fi
   14359 
   14360 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14361 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14362 		fi
   14363 
   14364 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14365 
   14366 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14367 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14368 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14369 		if eval \${$cacheid+:} false; then :
   14370   $as_echo_n "(cached) " >&6
   14371 else
   14372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14373 /* end confdefs.h.  */
   14374 int i;
   14375 int
   14376 main ()
   14377 {
   14378 
   14379   ;
   14380   return 0;
   14381 }
   14382 _ACEOF
   14383 if ac_fn_c_try_link "$LINENO"; then :
   14384   eval $cacheid=yes
   14385 else
   14386   eval $cacheid=no
   14387 fi
   14388 rm -f core conftest.err conftest.$ac_objext \
   14389     conftest$ac_exeext conftest.$ac_ext
   14390 fi
   14391 
   14392 
   14393 		CFLAGS="$xorg_testset_save_CFLAGS"
   14394 
   14395 		eval supported=\$$cacheid
   14396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14397 $as_echo "$supported" >&6; }
   14398 		if test "$supported" = "yes" ; then
   14399 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14400 			found="yes"
   14401 		fi
   14402 	fi
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 xorg_testset_save_CFLAGS="$CFLAGS"
   14419 
   14420 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14421 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14423 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14424 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14425   $as_echo_n "(cached) " >&6
   14426 else
   14427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14428 /* end confdefs.h.  */
   14429 int i;
   14430 _ACEOF
   14431 if ac_fn_c_try_compile "$LINENO"; then :
   14432   xorg_cv_cc_flag_unknown_warning_option=yes
   14433 else
   14434   xorg_cv_cc_flag_unknown_warning_option=no
   14435 fi
   14436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14437 fi
   14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14439 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14440 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14441 	CFLAGS="$xorg_testset_save_CFLAGS"
   14442 fi
   14443 
   14444 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14445 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14446 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14447 	fi
   14448 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14449 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14450 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14451 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14452   $as_echo_n "(cached) " >&6
   14453 else
   14454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14455 /* end confdefs.h.  */
   14456 int i;
   14457 _ACEOF
   14458 if ac_fn_c_try_compile "$LINENO"; then :
   14459   xorg_cv_cc_flag_unused_command_line_argument=yes
   14460 else
   14461   xorg_cv_cc_flag_unused_command_line_argument=no
   14462 fi
   14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14464 fi
   14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14466 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14467 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14468 	CFLAGS="$xorg_testset_save_CFLAGS"
   14469 fi
   14470 
   14471 found="no"
   14472 
   14473 	if test $found = "no" ; then
   14474 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14475 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14476 		fi
   14477 
   14478 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14479 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14480 		fi
   14481 
   14482 		CFLAGS="$CFLAGS -Werror=return-type"
   14483 
   14484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14485 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14486 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14487 		if eval \${$cacheid+:} false; then :
   14488   $as_echo_n "(cached) " >&6
   14489 else
   14490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14491 /* end confdefs.h.  */
   14492 int i;
   14493 int
   14494 main ()
   14495 {
   14496 
   14497   ;
   14498   return 0;
   14499 }
   14500 _ACEOF
   14501 if ac_fn_c_try_link "$LINENO"; then :
   14502   eval $cacheid=yes
   14503 else
   14504   eval $cacheid=no
   14505 fi
   14506 rm -f core conftest.err conftest.$ac_objext \
   14507     conftest$ac_exeext conftest.$ac_ext
   14508 fi
   14509 
   14510 
   14511 		CFLAGS="$xorg_testset_save_CFLAGS"
   14512 
   14513 		eval supported=\$$cacheid
   14514 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14515 $as_echo "$supported" >&6; }
   14516 		if test "$supported" = "yes" ; then
   14517 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14518 			found="yes"
   14519 		fi
   14520 	fi
   14521 
   14522 	if test $found = "no" ; then
   14523 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14525 		fi
   14526 
   14527 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14529 		fi
   14530 
   14531 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14532 
   14533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14534 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14535 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14536 		if eval \${$cacheid+:} false; then :
   14537   $as_echo_n "(cached) " >&6
   14538 else
   14539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14540 /* end confdefs.h.  */
   14541 int i;
   14542 int
   14543 main ()
   14544 {
   14545 
   14546   ;
   14547   return 0;
   14548 }
   14549 _ACEOF
   14550 if ac_fn_c_try_link "$LINENO"; then :
   14551   eval $cacheid=yes
   14552 else
   14553   eval $cacheid=no
   14554 fi
   14555 rm -f core conftest.err conftest.$ac_objext \
   14556     conftest$ac_exeext conftest.$ac_ext
   14557 fi
   14558 
   14559 
   14560 		CFLAGS="$xorg_testset_save_CFLAGS"
   14561 
   14562 		eval supported=\$$cacheid
   14563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14564 $as_echo "$supported" >&6; }
   14565 		if test "$supported" = "yes" ; then
   14566 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14567 			found="yes"
   14568 		fi
   14569 	fi
   14570 
   14571 
   14572 
   14573 
   14574 
   14575 
   14576 
   14577 
   14578 
   14579 
   14580 
   14581 
   14582 
   14583 
   14584 
   14585 xorg_testset_save_CFLAGS="$CFLAGS"
   14586 
   14587 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14588 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14590 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14591 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14592   $as_echo_n "(cached) " >&6
   14593 else
   14594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14595 /* end confdefs.h.  */
   14596 int i;
   14597 _ACEOF
   14598 if ac_fn_c_try_compile "$LINENO"; then :
   14599   xorg_cv_cc_flag_unknown_warning_option=yes
   14600 else
   14601   xorg_cv_cc_flag_unknown_warning_option=no
   14602 fi
   14603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14604 fi
   14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14606 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14607 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14608 	CFLAGS="$xorg_testset_save_CFLAGS"
   14609 fi
   14610 
   14611 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14612 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14613 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14614 	fi
   14615 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14617 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14618 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14619   $as_echo_n "(cached) " >&6
   14620 else
   14621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14622 /* end confdefs.h.  */
   14623 int i;
   14624 _ACEOF
   14625 if ac_fn_c_try_compile "$LINENO"; then :
   14626   xorg_cv_cc_flag_unused_command_line_argument=yes
   14627 else
   14628   xorg_cv_cc_flag_unused_command_line_argument=no
   14629 fi
   14630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14631 fi
   14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14633 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14635 	CFLAGS="$xorg_testset_save_CFLAGS"
   14636 fi
   14637 
   14638 found="no"
   14639 
   14640 	if test $found = "no" ; then
   14641 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14643 		fi
   14644 
   14645 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14647 		fi
   14648 
   14649 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14650 
   14651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14652 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14653 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   14654 		if eval \${$cacheid+:} false; then :
   14655   $as_echo_n "(cached) " >&6
   14656 else
   14657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14658 /* end confdefs.h.  */
   14659 int i;
   14660 int
   14661 main ()
   14662 {
   14663 
   14664   ;
   14665   return 0;
   14666 }
   14667 _ACEOF
   14668 if ac_fn_c_try_link "$LINENO"; then :
   14669   eval $cacheid=yes
   14670 else
   14671   eval $cacheid=no
   14672 fi
   14673 rm -f core conftest.err conftest.$ac_objext \
   14674     conftest$ac_exeext conftest.$ac_ext
   14675 fi
   14676 
   14677 
   14678 		CFLAGS="$xorg_testset_save_CFLAGS"
   14679 
   14680 		eval supported=\$$cacheid
   14681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14682 $as_echo "$supported" >&6; }
   14683 		if test "$supported" = "yes" ; then
   14684 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14685 			found="yes"
   14686 		fi
   14687 	fi
   14688 
   14689 
   14690 
   14691 
   14692 
   14693 
   14694 
   14695 
   14696 
   14697 
   14698 
   14699 
   14700 
   14701 
   14702 
   14703 xorg_testset_save_CFLAGS="$CFLAGS"
   14704 
   14705 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14706 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14708 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14709 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14710   $as_echo_n "(cached) " >&6
   14711 else
   14712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14713 /* end confdefs.h.  */
   14714 int i;
   14715 _ACEOF
   14716 if ac_fn_c_try_compile "$LINENO"; then :
   14717   xorg_cv_cc_flag_unknown_warning_option=yes
   14718 else
   14719   xorg_cv_cc_flag_unknown_warning_option=no
   14720 fi
   14721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14722 fi
   14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14724 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14726 	CFLAGS="$xorg_testset_save_CFLAGS"
   14727 fi
   14728 
   14729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14732 	fi
   14733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14735 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14736 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14737   $as_echo_n "(cached) " >&6
   14738 else
   14739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14740 /* end confdefs.h.  */
   14741 int i;
   14742 _ACEOF
   14743 if ac_fn_c_try_compile "$LINENO"; then :
   14744   xorg_cv_cc_flag_unused_command_line_argument=yes
   14745 else
   14746   xorg_cv_cc_flag_unused_command_line_argument=no
   14747 fi
   14748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14749 fi
   14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14751 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14753 	CFLAGS="$xorg_testset_save_CFLAGS"
   14754 fi
   14755 
   14756 found="no"
   14757 
   14758 	if test $found = "no" ; then
   14759 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14761 		fi
   14762 
   14763 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14765 		fi
   14766 
   14767 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14768 
   14769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14770 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14771 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   14772 		if eval \${$cacheid+:} false; then :
   14773   $as_echo_n "(cached) " >&6
   14774 else
   14775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14776 /* end confdefs.h.  */
   14777 int i;
   14778 int
   14779 main ()
   14780 {
   14781 
   14782   ;
   14783   return 0;
   14784 }
   14785 _ACEOF
   14786 if ac_fn_c_try_link "$LINENO"; then :
   14787   eval $cacheid=yes
   14788 else
   14789   eval $cacheid=no
   14790 fi
   14791 rm -f core conftest.err conftest.$ac_objext \
   14792     conftest$ac_exeext conftest.$ac_ext
   14793 fi
   14794 
   14795 
   14796 		CFLAGS="$xorg_testset_save_CFLAGS"
   14797 
   14798 		eval supported=\$$cacheid
   14799 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14800 $as_echo "$supported" >&6; }
   14801 		if test "$supported" = "yes" ; then
   14802 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14803 			found="yes"
   14804 		fi
   14805 	fi
   14806 
   14807 
   14808 
   14809 
   14810 
   14811 
   14812 
   14813 
   14814 
   14815 
   14816 
   14817 
   14818 
   14819 
   14820 
   14821 xorg_testset_save_CFLAGS="$CFLAGS"
   14822 
   14823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14826 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14827 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14828   $as_echo_n "(cached) " >&6
   14829 else
   14830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14831 /* end confdefs.h.  */
   14832 int i;
   14833 _ACEOF
   14834 if ac_fn_c_try_compile "$LINENO"; then :
   14835   xorg_cv_cc_flag_unknown_warning_option=yes
   14836 else
   14837   xorg_cv_cc_flag_unknown_warning_option=no
   14838 fi
   14839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14840 fi
   14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14842 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14843 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14844 	CFLAGS="$xorg_testset_save_CFLAGS"
   14845 fi
   14846 
   14847 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14848 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14850 	fi
   14851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14853 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14854 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14855   $as_echo_n "(cached) " >&6
   14856 else
   14857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14858 /* end confdefs.h.  */
   14859 int i;
   14860 _ACEOF
   14861 if ac_fn_c_try_compile "$LINENO"; then :
   14862   xorg_cv_cc_flag_unused_command_line_argument=yes
   14863 else
   14864   xorg_cv_cc_flag_unused_command_line_argument=no
   14865 fi
   14866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14867 fi
   14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14869 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14870 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14871 	CFLAGS="$xorg_testset_save_CFLAGS"
   14872 fi
   14873 
   14874 found="no"
   14875 
   14876 	if test $found = "no" ; then
   14877 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14879 		fi
   14880 
   14881 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14883 		fi
   14884 
   14885 		CFLAGS="$CFLAGS -Werror=write-strings"
   14886 
   14887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   14888 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   14889 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   14890 		if eval \${$cacheid+:} false; then :
   14891   $as_echo_n "(cached) " >&6
   14892 else
   14893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14894 /* end confdefs.h.  */
   14895 int i;
   14896 int
   14897 main ()
   14898 {
   14899 
   14900   ;
   14901   return 0;
   14902 }
   14903 _ACEOF
   14904 if ac_fn_c_try_link "$LINENO"; then :
   14905   eval $cacheid=yes
   14906 else
   14907   eval $cacheid=no
   14908 fi
   14909 rm -f core conftest.err conftest.$ac_objext \
   14910     conftest$ac_exeext conftest.$ac_ext
   14911 fi
   14912 
   14913 
   14914 		CFLAGS="$xorg_testset_save_CFLAGS"
   14915 
   14916 		eval supported=\$$cacheid
   14917 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14918 $as_echo "$supported" >&6; }
   14919 		if test "$supported" = "yes" ; then
   14920 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   14921 			found="yes"
   14922 		fi
   14923 	fi
   14924 
   14925 
   14926 
   14927 
   14928 
   14929 
   14930 
   14931 
   14932 
   14933 
   14934 
   14935 
   14936 
   14937 
   14938 
   14939 xorg_testset_save_CFLAGS="$CFLAGS"
   14940 
   14941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14944 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14945 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14946   $as_echo_n "(cached) " >&6
   14947 else
   14948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14949 /* end confdefs.h.  */
   14950 int i;
   14951 _ACEOF
   14952 if ac_fn_c_try_compile "$LINENO"; then :
   14953   xorg_cv_cc_flag_unknown_warning_option=yes
   14954 else
   14955   xorg_cv_cc_flag_unknown_warning_option=no
   14956 fi
   14957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14958 fi
   14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14960 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14962 	CFLAGS="$xorg_testset_save_CFLAGS"
   14963 fi
   14964 
   14965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14968 	fi
   14969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14971 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14972 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14973   $as_echo_n "(cached) " >&6
   14974 else
   14975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14976 /* end confdefs.h.  */
   14977 int i;
   14978 _ACEOF
   14979 if ac_fn_c_try_compile "$LINENO"; then :
   14980   xorg_cv_cc_flag_unused_command_line_argument=yes
   14981 else
   14982   xorg_cv_cc_flag_unused_command_line_argument=no
   14983 fi
   14984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14985 fi
   14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14987 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14989 	CFLAGS="$xorg_testset_save_CFLAGS"
   14990 fi
   14991 
   14992 found="no"
   14993 
   14994 	if test $found = "no" ; then
   14995 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14997 		fi
   14998 
   14999 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15001 		fi
   15002 
   15003 		CFLAGS="$CFLAGS -Werror=address"
   15004 
   15005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15006 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15007 		cacheid=xorg_cv_cc_flag__Werror_address
   15008 		if eval \${$cacheid+:} false; then :
   15009   $as_echo_n "(cached) " >&6
   15010 else
   15011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15012 /* end confdefs.h.  */
   15013 int i;
   15014 int
   15015 main ()
   15016 {
   15017 
   15018   ;
   15019   return 0;
   15020 }
   15021 _ACEOF
   15022 if ac_fn_c_try_link "$LINENO"; then :
   15023   eval $cacheid=yes
   15024 else
   15025   eval $cacheid=no
   15026 fi
   15027 rm -f core conftest.err conftest.$ac_objext \
   15028     conftest$ac_exeext conftest.$ac_ext
   15029 fi
   15030 
   15031 
   15032 		CFLAGS="$xorg_testset_save_CFLAGS"
   15033 
   15034 		eval supported=\$$cacheid
   15035 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15036 $as_echo "$supported" >&6; }
   15037 		if test "$supported" = "yes" ; then
   15038 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15039 			found="yes"
   15040 		fi
   15041 	fi
   15042 
   15043 
   15044 
   15045 
   15046 
   15047 
   15048 
   15049 
   15050 
   15051 
   15052 
   15053 
   15054 
   15055 
   15056 
   15057 xorg_testset_save_CFLAGS="$CFLAGS"
   15058 
   15059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15062 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15063 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15064   $as_echo_n "(cached) " >&6
   15065 else
   15066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15067 /* end confdefs.h.  */
   15068 int i;
   15069 _ACEOF
   15070 if ac_fn_c_try_compile "$LINENO"; then :
   15071   xorg_cv_cc_flag_unknown_warning_option=yes
   15072 else
   15073   xorg_cv_cc_flag_unknown_warning_option=no
   15074 fi
   15075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15076 fi
   15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15078 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15079 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15080 	CFLAGS="$xorg_testset_save_CFLAGS"
   15081 fi
   15082 
   15083 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15084 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15085 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15086 	fi
   15087 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15089 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15090 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15091   $as_echo_n "(cached) " >&6
   15092 else
   15093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15094 /* end confdefs.h.  */
   15095 int i;
   15096 _ACEOF
   15097 if ac_fn_c_try_compile "$LINENO"; then :
   15098   xorg_cv_cc_flag_unused_command_line_argument=yes
   15099 else
   15100   xorg_cv_cc_flag_unused_command_line_argument=no
   15101 fi
   15102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15103 fi
   15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15105 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15106 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15107 	CFLAGS="$xorg_testset_save_CFLAGS"
   15108 fi
   15109 
   15110 found="no"
   15111 
   15112 	if test $found = "no" ; then
   15113 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15115 		fi
   15116 
   15117 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15119 		fi
   15120 
   15121 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15122 
   15123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15124 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15125 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15126 		if eval \${$cacheid+:} false; then :
   15127   $as_echo_n "(cached) " >&6
   15128 else
   15129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15130 /* end confdefs.h.  */
   15131 int i;
   15132 int
   15133 main ()
   15134 {
   15135 
   15136   ;
   15137   return 0;
   15138 }
   15139 _ACEOF
   15140 if ac_fn_c_try_link "$LINENO"; then :
   15141   eval $cacheid=yes
   15142 else
   15143   eval $cacheid=no
   15144 fi
   15145 rm -f core conftest.err conftest.$ac_objext \
   15146     conftest$ac_exeext conftest.$ac_ext
   15147 fi
   15148 
   15149 
   15150 		CFLAGS="$xorg_testset_save_CFLAGS"
   15151 
   15152 		eval supported=\$$cacheid
   15153 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15154 $as_echo "$supported" >&6; }
   15155 		if test "$supported" = "yes" ; then
   15156 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15157 			found="yes"
   15158 		fi
   15159 	fi
   15160 
   15161 	if test $found = "no" ; then
   15162 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15163 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15164 		fi
   15165 
   15166 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15167 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15168 		fi
   15169 
   15170 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15171 
   15172 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15173 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15174 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15175 		if eval \${$cacheid+:} false; then :
   15176   $as_echo_n "(cached) " >&6
   15177 else
   15178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15179 /* end confdefs.h.  */
   15180 int i;
   15181 int
   15182 main ()
   15183 {
   15184 
   15185   ;
   15186   return 0;
   15187 }
   15188 _ACEOF
   15189 if ac_fn_c_try_link "$LINENO"; then :
   15190   eval $cacheid=yes
   15191 else
   15192   eval $cacheid=no
   15193 fi
   15194 rm -f core conftest.err conftest.$ac_objext \
   15195     conftest$ac_exeext conftest.$ac_ext
   15196 fi
   15197 
   15198 
   15199 		CFLAGS="$xorg_testset_save_CFLAGS"
   15200 
   15201 		eval supported=\$$cacheid
   15202 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15203 $as_echo "$supported" >&6; }
   15204 		if test "$supported" = "yes" ; then
   15205 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15206 			found="yes"
   15207 		fi
   15208 	fi
   15209 
   15210 
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 
   15221 
   15222 
   15223 
   15224 xorg_testset_save_CFLAGS="$CFLAGS"
   15225 
   15226 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15227 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15229 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15230 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15231   $as_echo_n "(cached) " >&6
   15232 else
   15233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15234 /* end confdefs.h.  */
   15235 int i;
   15236 _ACEOF
   15237 if ac_fn_c_try_compile "$LINENO"; then :
   15238   xorg_cv_cc_flag_unknown_warning_option=yes
   15239 else
   15240   xorg_cv_cc_flag_unknown_warning_option=no
   15241 fi
   15242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15243 fi
   15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15245 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15246 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15247 	CFLAGS="$xorg_testset_save_CFLAGS"
   15248 fi
   15249 
   15250 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15251 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15253 	fi
   15254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15255 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15256 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15257 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15258   $as_echo_n "(cached) " >&6
   15259 else
   15260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15261 /* end confdefs.h.  */
   15262 int i;
   15263 _ACEOF
   15264 if ac_fn_c_try_compile "$LINENO"; then :
   15265   xorg_cv_cc_flag_unused_command_line_argument=yes
   15266 else
   15267   xorg_cv_cc_flag_unused_command_line_argument=no
   15268 fi
   15269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15270 fi
   15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15272 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15273 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15274 	CFLAGS="$xorg_testset_save_CFLAGS"
   15275 fi
   15276 
   15277 found="no"
   15278 
   15279 	if test $found = "no" ; then
   15280 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15282 		fi
   15283 
   15284 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15286 		fi
   15287 
   15288 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15289 
   15290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15291 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15292 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15293 		if eval \${$cacheid+:} false; then :
   15294   $as_echo_n "(cached) " >&6
   15295 else
   15296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15297 /* end confdefs.h.  */
   15298 int i;
   15299 int
   15300 main ()
   15301 {
   15302 
   15303   ;
   15304   return 0;
   15305 }
   15306 _ACEOF
   15307 if ac_fn_c_try_link "$LINENO"; then :
   15308   eval $cacheid=yes
   15309 else
   15310   eval $cacheid=no
   15311 fi
   15312 rm -f core conftest.err conftest.$ac_objext \
   15313     conftest$ac_exeext conftest.$ac_ext
   15314 fi
   15315 
   15316 
   15317 		CFLAGS="$xorg_testset_save_CFLAGS"
   15318 
   15319 		eval supported=\$$cacheid
   15320 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15321 $as_echo "$supported" >&6; }
   15322 		if test "$supported" = "yes" ; then
   15323 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15324 			found="yes"
   15325 		fi
   15326 	fi
   15327 
   15328  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15329 else
   15330 { $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
   15331 $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;}
   15332 
   15333 
   15334 
   15335 
   15336 
   15337 
   15338 
   15339 
   15340 
   15341 
   15342 
   15343 
   15344 
   15345 xorg_testset_save_CFLAGS="$CFLAGS"
   15346 
   15347 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15348 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15350 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15351 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15352   $as_echo_n "(cached) " >&6
   15353 else
   15354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15355 /* end confdefs.h.  */
   15356 int i;
   15357 _ACEOF
   15358 if ac_fn_c_try_compile "$LINENO"; then :
   15359   xorg_cv_cc_flag_unknown_warning_option=yes
   15360 else
   15361   xorg_cv_cc_flag_unknown_warning_option=no
   15362 fi
   15363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15364 fi
   15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15366 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15367 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15368 	CFLAGS="$xorg_testset_save_CFLAGS"
   15369 fi
   15370 
   15371 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15372 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15374 	fi
   15375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15376 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15377 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15378 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15379   $as_echo_n "(cached) " >&6
   15380 else
   15381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15382 /* end confdefs.h.  */
   15383 int i;
   15384 _ACEOF
   15385 if ac_fn_c_try_compile "$LINENO"; then :
   15386   xorg_cv_cc_flag_unused_command_line_argument=yes
   15387 else
   15388   xorg_cv_cc_flag_unused_command_line_argument=no
   15389 fi
   15390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15391 fi
   15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15393 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15395 	CFLAGS="$xorg_testset_save_CFLAGS"
   15396 fi
   15397 
   15398 found="no"
   15399 
   15400 	if test $found = "no" ; then
   15401 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15403 		fi
   15404 
   15405 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15407 		fi
   15408 
   15409 		CFLAGS="$CFLAGS -Wimplicit"
   15410 
   15411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15412 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15413 		cacheid=xorg_cv_cc_flag__Wimplicit
   15414 		if eval \${$cacheid+:} false; then :
   15415   $as_echo_n "(cached) " >&6
   15416 else
   15417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15418 /* end confdefs.h.  */
   15419 int i;
   15420 int
   15421 main ()
   15422 {
   15423 
   15424   ;
   15425   return 0;
   15426 }
   15427 _ACEOF
   15428 if ac_fn_c_try_link "$LINENO"; then :
   15429   eval $cacheid=yes
   15430 else
   15431   eval $cacheid=no
   15432 fi
   15433 rm -f core conftest.err conftest.$ac_objext \
   15434     conftest$ac_exeext conftest.$ac_ext
   15435 fi
   15436 
   15437 
   15438 		CFLAGS="$xorg_testset_save_CFLAGS"
   15439 
   15440 		eval supported=\$$cacheid
   15441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15442 $as_echo "$supported" >&6; }
   15443 		if test "$supported" = "yes" ; then
   15444 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15445 			found="yes"
   15446 		fi
   15447 	fi
   15448 
   15449 
   15450 
   15451 
   15452 
   15453 
   15454 
   15455 
   15456 
   15457 
   15458 
   15459 
   15460 
   15461 
   15462 
   15463 xorg_testset_save_CFLAGS="$CFLAGS"
   15464 
   15465 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15466 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15467 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15468 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15469 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15470   $as_echo_n "(cached) " >&6
   15471 else
   15472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15473 /* end confdefs.h.  */
   15474 int i;
   15475 _ACEOF
   15476 if ac_fn_c_try_compile "$LINENO"; then :
   15477   xorg_cv_cc_flag_unknown_warning_option=yes
   15478 else
   15479   xorg_cv_cc_flag_unknown_warning_option=no
   15480 fi
   15481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15482 fi
   15483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15484 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15485 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15486 	CFLAGS="$xorg_testset_save_CFLAGS"
   15487 fi
   15488 
   15489 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15490 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15491 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15492 	fi
   15493 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15494 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15495 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15496 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15497   $as_echo_n "(cached) " >&6
   15498 else
   15499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15500 /* end confdefs.h.  */
   15501 int i;
   15502 _ACEOF
   15503 if ac_fn_c_try_compile "$LINENO"; then :
   15504   xorg_cv_cc_flag_unused_command_line_argument=yes
   15505 else
   15506   xorg_cv_cc_flag_unused_command_line_argument=no
   15507 fi
   15508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15509 fi
   15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15511 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15512 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15513 	CFLAGS="$xorg_testset_save_CFLAGS"
   15514 fi
   15515 
   15516 found="no"
   15517 
   15518 	if test $found = "no" ; then
   15519 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15520 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15521 		fi
   15522 
   15523 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15524 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15525 		fi
   15526 
   15527 		CFLAGS="$CFLAGS -Wnonnull"
   15528 
   15529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15530 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15531 		cacheid=xorg_cv_cc_flag__Wnonnull
   15532 		if eval \${$cacheid+:} false; then :
   15533   $as_echo_n "(cached) " >&6
   15534 else
   15535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15536 /* end confdefs.h.  */
   15537 int i;
   15538 int
   15539 main ()
   15540 {
   15541 
   15542   ;
   15543   return 0;
   15544 }
   15545 _ACEOF
   15546 if ac_fn_c_try_link "$LINENO"; then :
   15547   eval $cacheid=yes
   15548 else
   15549   eval $cacheid=no
   15550 fi
   15551 rm -f core conftest.err conftest.$ac_objext \
   15552     conftest$ac_exeext conftest.$ac_ext
   15553 fi
   15554 
   15555 
   15556 		CFLAGS="$xorg_testset_save_CFLAGS"
   15557 
   15558 		eval supported=\$$cacheid
   15559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15560 $as_echo "$supported" >&6; }
   15561 		if test "$supported" = "yes" ; then
   15562 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15563 			found="yes"
   15564 		fi
   15565 	fi
   15566 
   15567 
   15568 
   15569 
   15570 
   15571 
   15572 
   15573 
   15574 
   15575 
   15576 
   15577 
   15578 
   15579 
   15580 
   15581 xorg_testset_save_CFLAGS="$CFLAGS"
   15582 
   15583 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15584 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15585 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15586 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15587 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15588   $as_echo_n "(cached) " >&6
   15589 else
   15590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15591 /* end confdefs.h.  */
   15592 int i;
   15593 _ACEOF
   15594 if ac_fn_c_try_compile "$LINENO"; then :
   15595   xorg_cv_cc_flag_unknown_warning_option=yes
   15596 else
   15597   xorg_cv_cc_flag_unknown_warning_option=no
   15598 fi
   15599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15600 fi
   15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15602 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15603 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15604 	CFLAGS="$xorg_testset_save_CFLAGS"
   15605 fi
   15606 
   15607 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15608 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15609 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15610 	fi
   15611 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15613 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15614 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15615   $as_echo_n "(cached) " >&6
   15616 else
   15617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15618 /* end confdefs.h.  */
   15619 int i;
   15620 _ACEOF
   15621 if ac_fn_c_try_compile "$LINENO"; then :
   15622   xorg_cv_cc_flag_unused_command_line_argument=yes
   15623 else
   15624   xorg_cv_cc_flag_unused_command_line_argument=no
   15625 fi
   15626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15627 fi
   15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15629 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15630 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15631 	CFLAGS="$xorg_testset_save_CFLAGS"
   15632 fi
   15633 
   15634 found="no"
   15635 
   15636 	if test $found = "no" ; then
   15637 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15638 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15639 		fi
   15640 
   15641 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15642 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15643 		fi
   15644 
   15645 		CFLAGS="$CFLAGS -Winit-self"
   15646 
   15647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15648 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15649 		cacheid=xorg_cv_cc_flag__Winit_self
   15650 		if eval \${$cacheid+:} false; then :
   15651   $as_echo_n "(cached) " >&6
   15652 else
   15653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15654 /* end confdefs.h.  */
   15655 int i;
   15656 int
   15657 main ()
   15658 {
   15659 
   15660   ;
   15661   return 0;
   15662 }
   15663 _ACEOF
   15664 if ac_fn_c_try_link "$LINENO"; then :
   15665   eval $cacheid=yes
   15666 else
   15667   eval $cacheid=no
   15668 fi
   15669 rm -f core conftest.err conftest.$ac_objext \
   15670     conftest$ac_exeext conftest.$ac_ext
   15671 fi
   15672 
   15673 
   15674 		CFLAGS="$xorg_testset_save_CFLAGS"
   15675 
   15676 		eval supported=\$$cacheid
   15677 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15678 $as_echo "$supported" >&6; }
   15679 		if test "$supported" = "yes" ; then
   15680 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15681 			found="yes"
   15682 		fi
   15683 	fi
   15684 
   15685 
   15686 
   15687 
   15688 
   15689 
   15690 
   15691 
   15692 
   15693 
   15694 
   15695 
   15696 
   15697 
   15698 
   15699 xorg_testset_save_CFLAGS="$CFLAGS"
   15700 
   15701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15704 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15705 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15706   $as_echo_n "(cached) " >&6
   15707 else
   15708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15709 /* end confdefs.h.  */
   15710 int i;
   15711 _ACEOF
   15712 if ac_fn_c_try_compile "$LINENO"; then :
   15713   xorg_cv_cc_flag_unknown_warning_option=yes
   15714 else
   15715   xorg_cv_cc_flag_unknown_warning_option=no
   15716 fi
   15717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15718 fi
   15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15720 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15722 	CFLAGS="$xorg_testset_save_CFLAGS"
   15723 fi
   15724 
   15725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15728 	fi
   15729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15731 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15732 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15733   $as_echo_n "(cached) " >&6
   15734 else
   15735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15736 /* end confdefs.h.  */
   15737 int i;
   15738 _ACEOF
   15739 if ac_fn_c_try_compile "$LINENO"; then :
   15740   xorg_cv_cc_flag_unused_command_line_argument=yes
   15741 else
   15742   xorg_cv_cc_flag_unused_command_line_argument=no
   15743 fi
   15744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15745 fi
   15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15747 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15749 	CFLAGS="$xorg_testset_save_CFLAGS"
   15750 fi
   15751 
   15752 found="no"
   15753 
   15754 	if test $found = "no" ; then
   15755 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15757 		fi
   15758 
   15759 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15761 		fi
   15762 
   15763 		CFLAGS="$CFLAGS -Wmain"
   15764 
   15765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15766 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15767 		cacheid=xorg_cv_cc_flag__Wmain
   15768 		if eval \${$cacheid+:} false; then :
   15769   $as_echo_n "(cached) " >&6
   15770 else
   15771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15772 /* end confdefs.h.  */
   15773 int i;
   15774 int
   15775 main ()
   15776 {
   15777 
   15778   ;
   15779   return 0;
   15780 }
   15781 _ACEOF
   15782 if ac_fn_c_try_link "$LINENO"; then :
   15783   eval $cacheid=yes
   15784 else
   15785   eval $cacheid=no
   15786 fi
   15787 rm -f core conftest.err conftest.$ac_objext \
   15788     conftest$ac_exeext conftest.$ac_ext
   15789 fi
   15790 
   15791 
   15792 		CFLAGS="$xorg_testset_save_CFLAGS"
   15793 
   15794 		eval supported=\$$cacheid
   15795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15796 $as_echo "$supported" >&6; }
   15797 		if test "$supported" = "yes" ; then
   15798 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15799 			found="yes"
   15800 		fi
   15801 	fi
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 
   15808 
   15809 
   15810 
   15811 
   15812 
   15813 
   15814 
   15815 
   15816 
   15817 xorg_testset_save_CFLAGS="$CFLAGS"
   15818 
   15819 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15820 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15821 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15822 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15823 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15824   $as_echo_n "(cached) " >&6
   15825 else
   15826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15827 /* end confdefs.h.  */
   15828 int i;
   15829 _ACEOF
   15830 if ac_fn_c_try_compile "$LINENO"; then :
   15831   xorg_cv_cc_flag_unknown_warning_option=yes
   15832 else
   15833   xorg_cv_cc_flag_unknown_warning_option=no
   15834 fi
   15835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15836 fi
   15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15838 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15839 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15840 	CFLAGS="$xorg_testset_save_CFLAGS"
   15841 fi
   15842 
   15843 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15844 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15845 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15846 	fi
   15847 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15849 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15850 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15851   $as_echo_n "(cached) " >&6
   15852 else
   15853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15854 /* end confdefs.h.  */
   15855 int i;
   15856 _ACEOF
   15857 if ac_fn_c_try_compile "$LINENO"; then :
   15858   xorg_cv_cc_flag_unused_command_line_argument=yes
   15859 else
   15860   xorg_cv_cc_flag_unused_command_line_argument=no
   15861 fi
   15862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15863 fi
   15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15865 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15867 	CFLAGS="$xorg_testset_save_CFLAGS"
   15868 fi
   15869 
   15870 found="no"
   15871 
   15872 	if test $found = "no" ; then
   15873 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15875 		fi
   15876 
   15877 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15879 		fi
   15880 
   15881 		CFLAGS="$CFLAGS -Wmissing-braces"
   15882 
   15883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   15884 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   15885 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   15886 		if eval \${$cacheid+:} false; then :
   15887   $as_echo_n "(cached) " >&6
   15888 else
   15889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15890 /* end confdefs.h.  */
   15891 int i;
   15892 int
   15893 main ()
   15894 {
   15895 
   15896   ;
   15897   return 0;
   15898 }
   15899 _ACEOF
   15900 if ac_fn_c_try_link "$LINENO"; then :
   15901   eval $cacheid=yes
   15902 else
   15903   eval $cacheid=no
   15904 fi
   15905 rm -f core conftest.err conftest.$ac_objext \
   15906     conftest$ac_exeext conftest.$ac_ext
   15907 fi
   15908 
   15909 
   15910 		CFLAGS="$xorg_testset_save_CFLAGS"
   15911 
   15912 		eval supported=\$$cacheid
   15913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15914 $as_echo "$supported" >&6; }
   15915 		if test "$supported" = "yes" ; then
   15916 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   15917 			found="yes"
   15918 		fi
   15919 	fi
   15920 
   15921 
   15922 
   15923 
   15924 
   15925 
   15926 
   15927 
   15928 
   15929 
   15930 
   15931 
   15932 
   15933 
   15934 
   15935 xorg_testset_save_CFLAGS="$CFLAGS"
   15936 
   15937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15940 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15941 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15942   $as_echo_n "(cached) " >&6
   15943 else
   15944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15945 /* end confdefs.h.  */
   15946 int i;
   15947 _ACEOF
   15948 if ac_fn_c_try_compile "$LINENO"; then :
   15949   xorg_cv_cc_flag_unknown_warning_option=yes
   15950 else
   15951   xorg_cv_cc_flag_unknown_warning_option=no
   15952 fi
   15953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15954 fi
   15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15956 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15957 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15958 	CFLAGS="$xorg_testset_save_CFLAGS"
   15959 fi
   15960 
   15961 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15962 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15964 	fi
   15965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15967 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15968 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15969   $as_echo_n "(cached) " >&6
   15970 else
   15971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15972 /* end confdefs.h.  */
   15973 int i;
   15974 _ACEOF
   15975 if ac_fn_c_try_compile "$LINENO"; then :
   15976   xorg_cv_cc_flag_unused_command_line_argument=yes
   15977 else
   15978   xorg_cv_cc_flag_unused_command_line_argument=no
   15979 fi
   15980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15981 fi
   15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15983 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15984 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15985 	CFLAGS="$xorg_testset_save_CFLAGS"
   15986 fi
   15987 
   15988 found="no"
   15989 
   15990 	if test $found = "no" ; then
   15991 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15993 		fi
   15994 
   15995 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15997 		fi
   15998 
   15999 		CFLAGS="$CFLAGS -Wsequence-point"
   16000 
   16001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16002 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16003 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16004 		if eval \${$cacheid+:} false; then :
   16005   $as_echo_n "(cached) " >&6
   16006 else
   16007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16008 /* end confdefs.h.  */
   16009 int i;
   16010 int
   16011 main ()
   16012 {
   16013 
   16014   ;
   16015   return 0;
   16016 }
   16017 _ACEOF
   16018 if ac_fn_c_try_link "$LINENO"; then :
   16019   eval $cacheid=yes
   16020 else
   16021   eval $cacheid=no
   16022 fi
   16023 rm -f core conftest.err conftest.$ac_objext \
   16024     conftest$ac_exeext conftest.$ac_ext
   16025 fi
   16026 
   16027 
   16028 		CFLAGS="$xorg_testset_save_CFLAGS"
   16029 
   16030 		eval supported=\$$cacheid
   16031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16032 $as_echo "$supported" >&6; }
   16033 		if test "$supported" = "yes" ; then
   16034 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16035 			found="yes"
   16036 		fi
   16037 	fi
   16038 
   16039 
   16040 
   16041 
   16042 
   16043 
   16044 
   16045 
   16046 
   16047 
   16048 
   16049 
   16050 
   16051 
   16052 
   16053 xorg_testset_save_CFLAGS="$CFLAGS"
   16054 
   16055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16058 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16059 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16060   $as_echo_n "(cached) " >&6
   16061 else
   16062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16063 /* end confdefs.h.  */
   16064 int i;
   16065 _ACEOF
   16066 if ac_fn_c_try_compile "$LINENO"; then :
   16067   xorg_cv_cc_flag_unknown_warning_option=yes
   16068 else
   16069   xorg_cv_cc_flag_unknown_warning_option=no
   16070 fi
   16071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16072 fi
   16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16074 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16075 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16076 	CFLAGS="$xorg_testset_save_CFLAGS"
   16077 fi
   16078 
   16079 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16080 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16081 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16082 	fi
   16083 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16084 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16085 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16086 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16087   $as_echo_n "(cached) " >&6
   16088 else
   16089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16090 /* end confdefs.h.  */
   16091 int i;
   16092 _ACEOF
   16093 if ac_fn_c_try_compile "$LINENO"; then :
   16094   xorg_cv_cc_flag_unused_command_line_argument=yes
   16095 else
   16096   xorg_cv_cc_flag_unused_command_line_argument=no
   16097 fi
   16098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16099 fi
   16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16101 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16102 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16103 	CFLAGS="$xorg_testset_save_CFLAGS"
   16104 fi
   16105 
   16106 found="no"
   16107 
   16108 	if test $found = "no" ; then
   16109 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16111 		fi
   16112 
   16113 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16115 		fi
   16116 
   16117 		CFLAGS="$CFLAGS -Wreturn-type"
   16118 
   16119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16120 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16121 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16122 		if eval \${$cacheid+:} false; then :
   16123   $as_echo_n "(cached) " >&6
   16124 else
   16125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16126 /* end confdefs.h.  */
   16127 int i;
   16128 int
   16129 main ()
   16130 {
   16131 
   16132   ;
   16133   return 0;
   16134 }
   16135 _ACEOF
   16136 if ac_fn_c_try_link "$LINENO"; then :
   16137   eval $cacheid=yes
   16138 else
   16139   eval $cacheid=no
   16140 fi
   16141 rm -f core conftest.err conftest.$ac_objext \
   16142     conftest$ac_exeext conftest.$ac_ext
   16143 fi
   16144 
   16145 
   16146 		CFLAGS="$xorg_testset_save_CFLAGS"
   16147 
   16148 		eval supported=\$$cacheid
   16149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16150 $as_echo "$supported" >&6; }
   16151 		if test "$supported" = "yes" ; then
   16152 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16153 			found="yes"
   16154 		fi
   16155 	fi
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 xorg_testset_save_CFLAGS="$CFLAGS"
   16172 
   16173 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16174 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16175 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16176 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16177 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16178   $as_echo_n "(cached) " >&6
   16179 else
   16180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16181 /* end confdefs.h.  */
   16182 int i;
   16183 _ACEOF
   16184 if ac_fn_c_try_compile "$LINENO"; then :
   16185   xorg_cv_cc_flag_unknown_warning_option=yes
   16186 else
   16187   xorg_cv_cc_flag_unknown_warning_option=no
   16188 fi
   16189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16190 fi
   16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16192 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16193 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16194 	CFLAGS="$xorg_testset_save_CFLAGS"
   16195 fi
   16196 
   16197 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16198 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16199 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16200 	fi
   16201 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16202 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16203 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16204 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16205   $as_echo_n "(cached) " >&6
   16206 else
   16207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16208 /* end confdefs.h.  */
   16209 int i;
   16210 _ACEOF
   16211 if ac_fn_c_try_compile "$LINENO"; then :
   16212   xorg_cv_cc_flag_unused_command_line_argument=yes
   16213 else
   16214   xorg_cv_cc_flag_unused_command_line_argument=no
   16215 fi
   16216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16217 fi
   16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16219 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16220 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16221 	CFLAGS="$xorg_testset_save_CFLAGS"
   16222 fi
   16223 
   16224 found="no"
   16225 
   16226 	if test $found = "no" ; then
   16227 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16228 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16229 		fi
   16230 
   16231 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16232 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16233 		fi
   16234 
   16235 		CFLAGS="$CFLAGS -Wtrigraphs"
   16236 
   16237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16238 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16239 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16240 		if eval \${$cacheid+:} false; then :
   16241   $as_echo_n "(cached) " >&6
   16242 else
   16243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16244 /* end confdefs.h.  */
   16245 int i;
   16246 int
   16247 main ()
   16248 {
   16249 
   16250   ;
   16251   return 0;
   16252 }
   16253 _ACEOF
   16254 if ac_fn_c_try_link "$LINENO"; then :
   16255   eval $cacheid=yes
   16256 else
   16257   eval $cacheid=no
   16258 fi
   16259 rm -f core conftest.err conftest.$ac_objext \
   16260     conftest$ac_exeext conftest.$ac_ext
   16261 fi
   16262 
   16263 
   16264 		CFLAGS="$xorg_testset_save_CFLAGS"
   16265 
   16266 		eval supported=\$$cacheid
   16267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16268 $as_echo "$supported" >&6; }
   16269 		if test "$supported" = "yes" ; then
   16270 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16271 			found="yes"
   16272 		fi
   16273 	fi
   16274 
   16275 
   16276 
   16277 
   16278 
   16279 
   16280 
   16281 
   16282 
   16283 
   16284 
   16285 
   16286 
   16287 
   16288 
   16289 xorg_testset_save_CFLAGS="$CFLAGS"
   16290 
   16291 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16292 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16294 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16295 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16296   $as_echo_n "(cached) " >&6
   16297 else
   16298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16299 /* end confdefs.h.  */
   16300 int i;
   16301 _ACEOF
   16302 if ac_fn_c_try_compile "$LINENO"; then :
   16303   xorg_cv_cc_flag_unknown_warning_option=yes
   16304 else
   16305   xorg_cv_cc_flag_unknown_warning_option=no
   16306 fi
   16307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16308 fi
   16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16310 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16312 	CFLAGS="$xorg_testset_save_CFLAGS"
   16313 fi
   16314 
   16315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16318 	fi
   16319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16320 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16321 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16322 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16323   $as_echo_n "(cached) " >&6
   16324 else
   16325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16326 /* end confdefs.h.  */
   16327 int i;
   16328 _ACEOF
   16329 if ac_fn_c_try_compile "$LINENO"; then :
   16330   xorg_cv_cc_flag_unused_command_line_argument=yes
   16331 else
   16332   xorg_cv_cc_flag_unused_command_line_argument=no
   16333 fi
   16334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16335 fi
   16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16337 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16338 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16339 	CFLAGS="$xorg_testset_save_CFLAGS"
   16340 fi
   16341 
   16342 found="no"
   16343 
   16344 	if test $found = "no" ; then
   16345 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16346 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16347 		fi
   16348 
   16349 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16350 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16351 		fi
   16352 
   16353 		CFLAGS="$CFLAGS -Warray-bounds"
   16354 
   16355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16356 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16357 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16358 		if eval \${$cacheid+:} false; then :
   16359   $as_echo_n "(cached) " >&6
   16360 else
   16361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16362 /* end confdefs.h.  */
   16363 int i;
   16364 int
   16365 main ()
   16366 {
   16367 
   16368   ;
   16369   return 0;
   16370 }
   16371 _ACEOF
   16372 if ac_fn_c_try_link "$LINENO"; then :
   16373   eval $cacheid=yes
   16374 else
   16375   eval $cacheid=no
   16376 fi
   16377 rm -f core conftest.err conftest.$ac_objext \
   16378     conftest$ac_exeext conftest.$ac_ext
   16379 fi
   16380 
   16381 
   16382 		CFLAGS="$xorg_testset_save_CFLAGS"
   16383 
   16384 		eval supported=\$$cacheid
   16385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16386 $as_echo "$supported" >&6; }
   16387 		if test "$supported" = "yes" ; then
   16388 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16389 			found="yes"
   16390 		fi
   16391 	fi
   16392 
   16393 
   16394 
   16395 
   16396 
   16397 
   16398 
   16399 
   16400 
   16401 
   16402 
   16403 
   16404 
   16405 
   16406 
   16407 xorg_testset_save_CFLAGS="$CFLAGS"
   16408 
   16409 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16410 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16411 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16412 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16413 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16414   $as_echo_n "(cached) " >&6
   16415 else
   16416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16417 /* end confdefs.h.  */
   16418 int i;
   16419 _ACEOF
   16420 if ac_fn_c_try_compile "$LINENO"; then :
   16421   xorg_cv_cc_flag_unknown_warning_option=yes
   16422 else
   16423   xorg_cv_cc_flag_unknown_warning_option=no
   16424 fi
   16425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16426 fi
   16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16428 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16429 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16430 	CFLAGS="$xorg_testset_save_CFLAGS"
   16431 fi
   16432 
   16433 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16434 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16435 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16436 	fi
   16437 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16438 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16439 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16440 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16441   $as_echo_n "(cached) " >&6
   16442 else
   16443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16444 /* end confdefs.h.  */
   16445 int i;
   16446 _ACEOF
   16447 if ac_fn_c_try_compile "$LINENO"; then :
   16448   xorg_cv_cc_flag_unused_command_line_argument=yes
   16449 else
   16450   xorg_cv_cc_flag_unused_command_line_argument=no
   16451 fi
   16452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16453 fi
   16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16455 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16456 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16457 	CFLAGS="$xorg_testset_save_CFLAGS"
   16458 fi
   16459 
   16460 found="no"
   16461 
   16462 	if test $found = "no" ; then
   16463 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16464 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16465 		fi
   16466 
   16467 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16468 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16469 		fi
   16470 
   16471 		CFLAGS="$CFLAGS -Wwrite-strings"
   16472 
   16473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16474 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16475 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16476 		if eval \${$cacheid+:} false; then :
   16477   $as_echo_n "(cached) " >&6
   16478 else
   16479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16480 /* end confdefs.h.  */
   16481 int i;
   16482 int
   16483 main ()
   16484 {
   16485 
   16486   ;
   16487   return 0;
   16488 }
   16489 _ACEOF
   16490 if ac_fn_c_try_link "$LINENO"; then :
   16491   eval $cacheid=yes
   16492 else
   16493   eval $cacheid=no
   16494 fi
   16495 rm -f core conftest.err conftest.$ac_objext \
   16496     conftest$ac_exeext conftest.$ac_ext
   16497 fi
   16498 
   16499 
   16500 		CFLAGS="$xorg_testset_save_CFLAGS"
   16501 
   16502 		eval supported=\$$cacheid
   16503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16504 $as_echo "$supported" >&6; }
   16505 		if test "$supported" = "yes" ; then
   16506 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16507 			found="yes"
   16508 		fi
   16509 	fi
   16510 
   16511 
   16512 
   16513 
   16514 
   16515 
   16516 
   16517 
   16518 
   16519 
   16520 
   16521 
   16522 
   16523 
   16524 
   16525 xorg_testset_save_CFLAGS="$CFLAGS"
   16526 
   16527 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16528 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16530 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16531 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16532   $as_echo_n "(cached) " >&6
   16533 else
   16534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16535 /* end confdefs.h.  */
   16536 int i;
   16537 _ACEOF
   16538 if ac_fn_c_try_compile "$LINENO"; then :
   16539   xorg_cv_cc_flag_unknown_warning_option=yes
   16540 else
   16541   xorg_cv_cc_flag_unknown_warning_option=no
   16542 fi
   16543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16544 fi
   16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16546 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16547 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16548 	CFLAGS="$xorg_testset_save_CFLAGS"
   16549 fi
   16550 
   16551 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16552 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16553 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16554 	fi
   16555 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16556 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16557 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16558 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16559   $as_echo_n "(cached) " >&6
   16560 else
   16561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16562 /* end confdefs.h.  */
   16563 int i;
   16564 _ACEOF
   16565 if ac_fn_c_try_compile "$LINENO"; then :
   16566   xorg_cv_cc_flag_unused_command_line_argument=yes
   16567 else
   16568   xorg_cv_cc_flag_unused_command_line_argument=no
   16569 fi
   16570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16571 fi
   16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16573 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16574 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16575 	CFLAGS="$xorg_testset_save_CFLAGS"
   16576 fi
   16577 
   16578 found="no"
   16579 
   16580 	if test $found = "no" ; then
   16581 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16582 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16583 		fi
   16584 
   16585 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16586 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16587 		fi
   16588 
   16589 		CFLAGS="$CFLAGS -Waddress"
   16590 
   16591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16592 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16593 		cacheid=xorg_cv_cc_flag__Waddress
   16594 		if eval \${$cacheid+:} false; then :
   16595   $as_echo_n "(cached) " >&6
   16596 else
   16597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16598 /* end confdefs.h.  */
   16599 int i;
   16600 int
   16601 main ()
   16602 {
   16603 
   16604   ;
   16605   return 0;
   16606 }
   16607 _ACEOF
   16608 if ac_fn_c_try_link "$LINENO"; then :
   16609   eval $cacheid=yes
   16610 else
   16611   eval $cacheid=no
   16612 fi
   16613 rm -f core conftest.err conftest.$ac_objext \
   16614     conftest$ac_exeext conftest.$ac_ext
   16615 fi
   16616 
   16617 
   16618 		CFLAGS="$xorg_testset_save_CFLAGS"
   16619 
   16620 		eval supported=\$$cacheid
   16621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16622 $as_echo "$supported" >&6; }
   16623 		if test "$supported" = "yes" ; then
   16624 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16625 			found="yes"
   16626 		fi
   16627 	fi
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 
   16635 
   16636 
   16637 
   16638 
   16639 
   16640 
   16641 
   16642 
   16643 xorg_testset_save_CFLAGS="$CFLAGS"
   16644 
   16645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16647 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16648 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16649 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16650   $as_echo_n "(cached) " >&6
   16651 else
   16652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16653 /* end confdefs.h.  */
   16654 int i;
   16655 _ACEOF
   16656 if ac_fn_c_try_compile "$LINENO"; then :
   16657   xorg_cv_cc_flag_unknown_warning_option=yes
   16658 else
   16659   xorg_cv_cc_flag_unknown_warning_option=no
   16660 fi
   16661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16662 fi
   16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16664 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16665 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16666 	CFLAGS="$xorg_testset_save_CFLAGS"
   16667 fi
   16668 
   16669 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16670 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16671 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16672 	fi
   16673 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16674 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16675 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16676 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16677   $as_echo_n "(cached) " >&6
   16678 else
   16679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16680 /* end confdefs.h.  */
   16681 int i;
   16682 _ACEOF
   16683 if ac_fn_c_try_compile "$LINENO"; then :
   16684   xorg_cv_cc_flag_unused_command_line_argument=yes
   16685 else
   16686   xorg_cv_cc_flag_unused_command_line_argument=no
   16687 fi
   16688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16689 fi
   16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16691 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16692 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16693 	CFLAGS="$xorg_testset_save_CFLAGS"
   16694 fi
   16695 
   16696 found="no"
   16697 
   16698 	if test $found = "no" ; then
   16699 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16701 		fi
   16702 
   16703 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16705 		fi
   16706 
   16707 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16708 
   16709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16710 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16711 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16712 		if eval \${$cacheid+:} false; then :
   16713   $as_echo_n "(cached) " >&6
   16714 else
   16715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16716 /* end confdefs.h.  */
   16717 int i;
   16718 int
   16719 main ()
   16720 {
   16721 
   16722   ;
   16723   return 0;
   16724 }
   16725 _ACEOF
   16726 if ac_fn_c_try_link "$LINENO"; then :
   16727   eval $cacheid=yes
   16728 else
   16729   eval $cacheid=no
   16730 fi
   16731 rm -f core conftest.err conftest.$ac_objext \
   16732     conftest$ac_exeext conftest.$ac_ext
   16733 fi
   16734 
   16735 
   16736 		CFLAGS="$xorg_testset_save_CFLAGS"
   16737 
   16738 		eval supported=\$$cacheid
   16739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16740 $as_echo "$supported" >&6; }
   16741 		if test "$supported" = "yes" ; then
   16742 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16743 			found="yes"
   16744 		fi
   16745 	fi
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 xorg_testset_save_CFLAGS="$CFLAGS"
   16762 
   16763 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16764 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16765 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16766 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16767 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16768   $as_echo_n "(cached) " >&6
   16769 else
   16770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16771 /* end confdefs.h.  */
   16772 int i;
   16773 _ACEOF
   16774 if ac_fn_c_try_compile "$LINENO"; then :
   16775   xorg_cv_cc_flag_unknown_warning_option=yes
   16776 else
   16777   xorg_cv_cc_flag_unknown_warning_option=no
   16778 fi
   16779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16780 fi
   16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16782 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16783 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16784 	CFLAGS="$xorg_testset_save_CFLAGS"
   16785 fi
   16786 
   16787 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16788 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16789 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16790 	fi
   16791 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16793 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16794 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16795   $as_echo_n "(cached) " >&6
   16796 else
   16797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16798 /* end confdefs.h.  */
   16799 int i;
   16800 _ACEOF
   16801 if ac_fn_c_try_compile "$LINENO"; then :
   16802   xorg_cv_cc_flag_unused_command_line_argument=yes
   16803 else
   16804   xorg_cv_cc_flag_unused_command_line_argument=no
   16805 fi
   16806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16807 fi
   16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16809 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16811 	CFLAGS="$xorg_testset_save_CFLAGS"
   16812 fi
   16813 
   16814 found="no"
   16815 
   16816 	if test $found = "no" ; then
   16817 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16819 		fi
   16820 
   16821 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16823 		fi
   16824 
   16825 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16826 
   16827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16828 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16829 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   16830 		if eval \${$cacheid+:} false; then :
   16831   $as_echo_n "(cached) " >&6
   16832 else
   16833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16834 /* end confdefs.h.  */
   16835 int i;
   16836 int
   16837 main ()
   16838 {
   16839 
   16840   ;
   16841   return 0;
   16842 }
   16843 _ACEOF
   16844 if ac_fn_c_try_link "$LINENO"; then :
   16845   eval $cacheid=yes
   16846 else
   16847   eval $cacheid=no
   16848 fi
   16849 rm -f core conftest.err conftest.$ac_objext \
   16850     conftest$ac_exeext conftest.$ac_ext
   16851 fi
   16852 
   16853 
   16854 		CFLAGS="$xorg_testset_save_CFLAGS"
   16855 
   16856 		eval supported=\$$cacheid
   16857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16858 $as_echo "$supported" >&6; }
   16859 		if test "$supported" = "yes" ; then
   16860 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16861 			found="yes"
   16862 		fi
   16863 	fi
   16864 
   16865 
   16866 fi
   16867 
   16868 
   16869 
   16870 
   16871 # Check for dependencies
   16872 
   16873 
   16874 
   16875 
   16876 
   16877 
   16878 
   16879 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   16880 	if test -n "$ac_tool_prefix"; then
   16881   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   16882 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16884 $as_echo_n "checking for $ac_word... " >&6; }
   16885 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   16886   $as_echo_n "(cached) " >&6
   16887 else
   16888   case $PKG_CONFIG in
   16889   [\\/]* | ?:[\\/]*)
   16890   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   16891   ;;
   16892   *)
   16893   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16894 for as_dir in $PATH
   16895 do
   16896   IFS=$as_save_IFS
   16897   test -z "$as_dir" && as_dir=.
   16898     for ac_exec_ext in '' $ac_executable_extensions; do
   16899   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16900     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   16901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16902     break 2
   16903   fi
   16904 done
   16905   done
   16906 IFS=$as_save_IFS
   16907 
   16908   ;;
   16909 esac
   16910 fi
   16911 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   16912 if test -n "$PKG_CONFIG"; then
   16913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   16914 $as_echo "$PKG_CONFIG" >&6; }
   16915 else
   16916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16917 $as_echo "no" >&6; }
   16918 fi
   16919 
   16920 
   16921 fi
   16922 if test -z "$ac_cv_path_PKG_CONFIG"; then
   16923   ac_pt_PKG_CONFIG=$PKG_CONFIG
   16924   # Extract the first word of "pkg-config", so it can be a program name with args.
   16925 set dummy pkg-config; ac_word=$2
   16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16927 $as_echo_n "checking for $ac_word... " >&6; }
   16928 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   16929   $as_echo_n "(cached) " >&6
   16930 else
   16931   case $ac_pt_PKG_CONFIG in
   16932   [\\/]* | ?:[\\/]*)
   16933   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   16934   ;;
   16935   *)
   16936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16937 for as_dir in $PATH
   16938 do
   16939   IFS=$as_save_IFS
   16940   test -z "$as_dir" && as_dir=.
   16941     for ac_exec_ext in '' $ac_executable_extensions; do
   16942   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16943     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   16944     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16945     break 2
   16946   fi
   16947 done
   16948   done
   16949 IFS=$as_save_IFS
   16950 
   16951   ;;
   16952 esac
   16953 fi
   16954 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   16955 if test -n "$ac_pt_PKG_CONFIG"; then
   16956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   16957 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   16958 else
   16959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16960 $as_echo "no" >&6; }
   16961 fi
   16962 
   16963   if test "x$ac_pt_PKG_CONFIG" = x; then
   16964     PKG_CONFIG=""
   16965   else
   16966     case $cross_compiling:$ac_tool_warned in
   16967 yes:)
   16968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   16969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   16970 ac_tool_warned=yes ;;
   16971 esac
   16972     PKG_CONFIG=$ac_pt_PKG_CONFIG
   16973   fi
   16974 else
   16975   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   16976 fi
   16977 
   16978 fi
   16979 if test -n "$PKG_CONFIG"; then
   16980 	_pkg_min_version=0.9.0
   16981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   16982 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   16983 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   16984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16985 $as_echo "yes" >&6; }
   16986 	else
   16987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16988 $as_echo "no" >&6; }
   16989 		PKG_CONFIG=""
   16990 	fi
   16991 fi
   16992 
   16993 pkg_failed=no
   16994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTRAP" >&5
   16995 $as_echo_n "checking for XTRAP... " >&6; }
   16996 
   16997 if test -n "$XTRAP_CFLAGS"; then
   16998     pkg_cv_XTRAP_CFLAGS="$XTRAP_CFLAGS"
   16999  elif test -n "$PKG_CONFIG"; then
   17000     if test -n "$PKG_CONFIG" && \
   17001     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt trapproto xext xextproto\""; } >&5
   17002   ($PKG_CONFIG --exists --print-errors "x11 xt trapproto xext xextproto") 2>&5
   17003   ac_status=$?
   17004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17005   test $ac_status = 0; }; then
   17006   pkg_cv_XTRAP_CFLAGS=`$PKG_CONFIG --cflags "x11 xt trapproto xext xextproto" 2>/dev/null`
   17007 		      test "x$?" != "x0" && pkg_failed=yes
   17008 else
   17009   pkg_failed=yes
   17010 fi
   17011  else
   17012     pkg_failed=untried
   17013 fi
   17014 if test -n "$XTRAP_LIBS"; then
   17015     pkg_cv_XTRAP_LIBS="$XTRAP_LIBS"
   17016  elif test -n "$PKG_CONFIG"; then
   17017     if test -n "$PKG_CONFIG" && \
   17018     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt trapproto xext xextproto\""; } >&5
   17019   ($PKG_CONFIG --exists --print-errors "x11 xt trapproto xext xextproto") 2>&5
   17020   ac_status=$?
   17021   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17022   test $ac_status = 0; }; then
   17023   pkg_cv_XTRAP_LIBS=`$PKG_CONFIG --libs "x11 xt trapproto xext xextproto" 2>/dev/null`
   17024 		      test "x$?" != "x0" && pkg_failed=yes
   17025 else
   17026   pkg_failed=yes
   17027 fi
   17028  else
   17029     pkg_failed=untried
   17030 fi
   17031 
   17032 
   17033 
   17034 if test $pkg_failed = yes; then
   17035    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17036 $as_echo "no" >&6; }
   17037 
   17038 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17039         _pkg_short_errors_supported=yes
   17040 else
   17041         _pkg_short_errors_supported=no
   17042 fi
   17043         if test $_pkg_short_errors_supported = yes; then
   17044 	        XTRAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xt trapproto xext xextproto" 2>&1`
   17045         else
   17046 	        XTRAP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xt trapproto xext xextproto" 2>&1`
   17047         fi
   17048 	# Put the nasty error message in config.log where it belongs
   17049 	echo "$XTRAP_PKG_ERRORS" >&5
   17050 
   17051 	as_fn_error $? "Package requirements (x11 xt trapproto xext xextproto) were not met:
   17052 
   17053 $XTRAP_PKG_ERRORS
   17054 
   17055 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17056 installed software in a non-standard prefix.
   17057 
   17058 Alternatively, you may set the environment variables XTRAP_CFLAGS
   17059 and XTRAP_LIBS to avoid the need to call pkg-config.
   17060 See the pkg-config man page for more details." "$LINENO" 5
   17061 elif test $pkg_failed = untried; then
   17062      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17063 $as_echo "no" >&6; }
   17064 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17066 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17067 is in your PATH or set the PKG_CONFIG environment variable to the full
   17068 path to pkg-config.
   17069 
   17070 Alternatively, you may set the environment variables XTRAP_CFLAGS
   17071 and XTRAP_LIBS to avoid the need to call pkg-config.
   17072 See the pkg-config man page for more details.
   17073 
   17074 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17075 See \`config.log' for more details" "$LINENO" 5; }
   17076 else
   17077 	XTRAP_CFLAGS=$pkg_cv_XTRAP_CFLAGS
   17078 	XTRAP_LIBS=$pkg_cv_XTRAP_LIBS
   17079         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17080 $as_echo "yes" >&6; }
   17081 
   17082 fi
   17083 XTRAP_CFLAGS="$BASE_CFLAGS $XTRAP_CFLAGS"
   17084 
   17085 
   17086 
   17087 
   17088 
   17089 cat >>confdefs.h <<_ACEOF
   17090 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17091 _ACEOF
   17092 
   17093 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17094 	if test "x$PVM" = "x"; then
   17095 		PVM="0"
   17096 	fi
   17097 
   17098 cat >>confdefs.h <<_ACEOF
   17099 #define PACKAGE_VERSION_MINOR $PVM
   17100 _ACEOF
   17101 
   17102 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17103 	if test "x$PVP" = "x"; then
   17104 		PVP="0"
   17105 	fi
   17106 
   17107 cat >>confdefs.h <<_ACEOF
   17108 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17109 _ACEOF
   17110 
   17111 
   17112 
   17113 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17114 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17115 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17116 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17117 
   17118 
   17119 
   17120 ac_config_files="$ac_config_files Makefile src/Makefile xtrap.pc"
   17121 
   17122 cat >confcache <<\_ACEOF
   17123 # This file is a shell script that caches the results of configure
   17124 # tests run on this system so they can be shared between configure
   17125 # scripts and configure runs, see configure's option --config-cache.
   17126 # It is not useful on other systems.  If it contains results you don't
   17127 # want to keep, you may remove or edit it.
   17128 #
   17129 # config.status only pays attention to the cache file if you give it
   17130 # the --recheck option to rerun configure.
   17131 #
   17132 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17133 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17134 # following values.
   17135 
   17136 _ACEOF
   17137 
   17138 # The following way of writing the cache mishandles newlines in values,
   17139 # but we know of no workaround that is simple, portable, and efficient.
   17140 # So, we kill variables containing newlines.
   17141 # Ultrix sh set writes to stderr and can't be redirected directly,
   17142 # and sets the high bit in the cache file unless we assign to the vars.
   17143 (
   17144   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17145     eval ac_val=\$$ac_var
   17146     case $ac_val in #(
   17147     *${as_nl}*)
   17148       case $ac_var in #(
   17149       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17150 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17151       esac
   17152       case $ac_var in #(
   17153       _ | IFS | as_nl) ;; #(
   17154       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17155       *) { eval $ac_var=; unset $ac_var;} ;;
   17156       esac ;;
   17157     esac
   17158   done
   17159 
   17160   (set) 2>&1 |
   17161     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17162     *${as_nl}ac_space=\ *)
   17163       # `set' does not quote correctly, so add quotes: double-quote
   17164       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17165       sed -n \
   17166 	"s/'/'\\\\''/g;
   17167 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17168       ;; #(
   17169     *)
   17170       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17171       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17172       ;;
   17173     esac |
   17174     sort
   17175 ) |
   17176   sed '
   17177      /^ac_cv_env_/b end
   17178      t clear
   17179      :clear
   17180      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17181      t end
   17182      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17183      :end' >>confcache
   17184 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17185   if test -w "$cache_file"; then
   17186     if test "x$cache_file" != "x/dev/null"; then
   17187       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17188 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17189       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17190 	cat confcache >"$cache_file"
   17191       else
   17192         case $cache_file in #(
   17193         */* | ?:*)
   17194 	  mv -f confcache "$cache_file"$$ &&
   17195 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17196         *)
   17197 	  mv -f confcache "$cache_file" ;;
   17198 	esac
   17199       fi
   17200     fi
   17201   else
   17202     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17203 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17204   fi
   17205 fi
   17206 rm -f confcache
   17207 
   17208 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17209 # Let make expand exec_prefix.
   17210 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17211 
   17212 DEFS=-DHAVE_CONFIG_H
   17213 
   17214 ac_libobjs=
   17215 ac_ltlibobjs=
   17216 U=
   17217 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17218   # 1. Remove the extension, and $U if already installed.
   17219   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17220   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17221   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17222   #    will be set to the directory where LIBOBJS objects are built.
   17223   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17224   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17225 done
   17226 LIBOBJS=$ac_libobjs
   17227 
   17228 LTLIBOBJS=$ac_ltlibobjs
   17229 
   17230 
   17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17232 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17233    if test -n "$am_sleep_pid"; then
   17234      # Hide warnings about reused PIDs.
   17235      wait $am_sleep_pid 2>/dev/null
   17236    fi
   17237    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17238 $as_echo "done" >&6; }
   17239  if test -n "$EXEEXT"; then
   17240   am__EXEEXT_TRUE=
   17241   am__EXEEXT_FALSE='#'
   17242 else
   17243   am__EXEEXT_TRUE='#'
   17244   am__EXEEXT_FALSE=
   17245 fi
   17246 
   17247 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17248   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17250 fi
   17251 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17252   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17254 fi
   17255 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17256   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17258 fi
   17259 
   17260 : "${CONFIG_STATUS=./config.status}"
   17261 ac_write_fail=0
   17262 ac_clean_files_save=$ac_clean_files
   17263 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17264 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17265 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17266 as_write_fail=0
   17267 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17268 #! $SHELL
   17269 # Generated by $as_me.
   17270 # Run this file to recreate the current configuration.
   17271 # Compiler output produced by configure, useful for debugging
   17272 # configure, is in config.log if it exists.
   17273 
   17274 debug=false
   17275 ac_cs_recheck=false
   17276 ac_cs_silent=false
   17277 
   17278 SHELL=\${CONFIG_SHELL-$SHELL}
   17279 export SHELL
   17280 _ASEOF
   17281 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17282 ## -------------------- ##
   17283 ## M4sh Initialization. ##
   17284 ## -------------------- ##
   17285 
   17286 # Be more Bourne compatible
   17287 DUALCASE=1; export DUALCASE # for MKS sh
   17288 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17289   emulate sh
   17290   NULLCMD=:
   17291   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17292   # is contrary to our usage.  Disable this feature.
   17293   alias -g '${1+"$@"}'='"$@"'
   17294   setopt NO_GLOB_SUBST
   17295 else
   17296   case `(set -o) 2>/dev/null` in #(
   17297   *posix*) :
   17298     set -o posix ;; #(
   17299   *) :
   17300      ;;
   17301 esac
   17302 fi
   17303 
   17304 
   17305 as_nl='
   17306 '
   17307 export as_nl
   17308 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17309 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17310 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17311 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17312 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17313 # but without wasting forks for bash or zsh.
   17314 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17315     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17316   as_echo='print -r --'
   17317   as_echo_n='print -rn --'
   17318 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17319   as_echo='printf %s\n'
   17320   as_echo_n='printf %s'
   17321 else
   17322   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17323     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17324     as_echo_n='/usr/ucb/echo -n'
   17325   else
   17326     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17327     as_echo_n_body='eval
   17328       arg=$1;
   17329       case $arg in #(
   17330       *"$as_nl"*)
   17331 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17332 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17333       esac;
   17334       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17335     '
   17336     export as_echo_n_body
   17337     as_echo_n='sh -c $as_echo_n_body as_echo'
   17338   fi
   17339   export as_echo_body
   17340   as_echo='sh -c $as_echo_body as_echo'
   17341 fi
   17342 
   17343 # The user is always right.
   17344 if test "${PATH_SEPARATOR+set}" != set; then
   17345   PATH_SEPARATOR=:
   17346   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17347     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17348       PATH_SEPARATOR=';'
   17349   }
   17350 fi
   17351 
   17352 
   17353 # IFS
   17354 # We need space, tab and new line, in precisely that order.  Quoting is
   17355 # there to prevent editors from complaining about space-tab.
   17356 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17357 # splitting by setting IFS to empty value.)
   17358 IFS=" ""	$as_nl"
   17359 
   17360 # Find who we are.  Look in the path if we contain no directory separator.
   17361 as_myself=
   17362 case $0 in #((
   17363   *[\\/]* ) as_myself=$0 ;;
   17364   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17365 for as_dir in $PATH
   17366 do
   17367   IFS=$as_save_IFS
   17368   test -z "$as_dir" && as_dir=.
   17369     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17370   done
   17371 IFS=$as_save_IFS
   17372 
   17373      ;;
   17374 esac
   17375 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17376 # in which case we are not to be found in the path.
   17377 if test "x$as_myself" = x; then
   17378   as_myself=$0
   17379 fi
   17380 if test ! -f "$as_myself"; then
   17381   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17382   exit 1
   17383 fi
   17384 
   17385 # Unset variables that we do not need and which cause bugs (e.g. in
   17386 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17387 # suppresses any "Segmentation fault" message there.  '((' could
   17388 # trigger a bug in pdksh 5.2.14.
   17389 for as_var in BASH_ENV ENV MAIL MAILPATH
   17390 do eval test x\${$as_var+set} = xset \
   17391   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17392 done
   17393 PS1='$ '
   17394 PS2='> '
   17395 PS4='+ '
   17396 
   17397 # NLS nuisances.
   17398 LC_ALL=C
   17399 export LC_ALL
   17400 LANGUAGE=C
   17401 export LANGUAGE
   17402 
   17403 # CDPATH.
   17404 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17405 
   17406 
   17407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17408 # ----------------------------------------
   17409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17411 # script with STATUS, using 1 if that was 0.
   17412 as_fn_error ()
   17413 {
   17414   as_status=$1; test $as_status -eq 0 && as_status=1
   17415   if test "$4"; then
   17416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17418   fi
   17419   $as_echo "$as_me: error: $2" >&2
   17420   as_fn_exit $as_status
   17421 } # as_fn_error
   17422 
   17423 
   17424 # as_fn_set_status STATUS
   17425 # -----------------------
   17426 # Set $? to STATUS, without forking.
   17427 as_fn_set_status ()
   17428 {
   17429   return $1
   17430 } # as_fn_set_status
   17431 
   17432 # as_fn_exit STATUS
   17433 # -----------------
   17434 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17435 as_fn_exit ()
   17436 {
   17437   set +e
   17438   as_fn_set_status $1
   17439   exit $1
   17440 } # as_fn_exit
   17441 
   17442 # as_fn_unset VAR
   17443 # ---------------
   17444 # Portably unset VAR.
   17445 as_fn_unset ()
   17446 {
   17447   { eval $1=; unset $1;}
   17448 }
   17449 as_unset=as_fn_unset
   17450 # as_fn_append VAR VALUE
   17451 # ----------------------
   17452 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17453 # advantage of any shell optimizations that allow amortized linear growth over
   17454 # repeated appends, instead of the typical quadratic growth present in naive
   17455 # implementations.
   17456 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17457   eval 'as_fn_append ()
   17458   {
   17459     eval $1+=\$2
   17460   }'
   17461 else
   17462   as_fn_append ()
   17463   {
   17464     eval $1=\$$1\$2
   17465   }
   17466 fi # as_fn_append
   17467 
   17468 # as_fn_arith ARG...
   17469 # ------------------
   17470 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17471 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17472 # must be portable across $(()) and expr.
   17473 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17474   eval 'as_fn_arith ()
   17475   {
   17476     as_val=$(( $* ))
   17477   }'
   17478 else
   17479   as_fn_arith ()
   17480   {
   17481     as_val=`expr "$@" || test $? -eq 1`
   17482   }
   17483 fi # as_fn_arith
   17484 
   17485 
   17486 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17487    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17488   as_expr=expr
   17489 else
   17490   as_expr=false
   17491 fi
   17492 
   17493 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17494   as_basename=basename
   17495 else
   17496   as_basename=false
   17497 fi
   17498 
   17499 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17500   as_dirname=dirname
   17501 else
   17502   as_dirname=false
   17503 fi
   17504 
   17505 as_me=`$as_basename -- "$0" ||
   17506 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17507 	 X"$0" : 'X\(//\)$' \| \
   17508 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17509 $as_echo X/"$0" |
   17510     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17511 	    s//\1/
   17512 	    q
   17513 	  }
   17514 	  /^X\/\(\/\/\)$/{
   17515 	    s//\1/
   17516 	    q
   17517 	  }
   17518 	  /^X\/\(\/\).*/{
   17519 	    s//\1/
   17520 	    q
   17521 	  }
   17522 	  s/.*/./; q'`
   17523 
   17524 # Avoid depending upon Character Ranges.
   17525 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17526 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17527 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17528 as_cr_digits='0123456789'
   17529 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17530 
   17531 ECHO_C= ECHO_N= ECHO_T=
   17532 case `echo -n x` in #(((((
   17533 -n*)
   17534   case `echo 'xy\c'` in
   17535   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   17536   xy)  ECHO_C='\c';;
   17537   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   17538        ECHO_T='	';;
   17539   esac;;
   17540 *)
   17541   ECHO_N='-n';;
   17542 esac
   17543 
   17544 rm -f conf$$ conf$$.exe conf$$.file
   17545 if test -d conf$$.dir; then
   17546   rm -f conf$$.dir/conf$$.file
   17547 else
   17548   rm -f conf$$.dir
   17549   mkdir conf$$.dir 2>/dev/null
   17550 fi
   17551 if (echo >conf$$.file) 2>/dev/null; then
   17552   if ln -s conf$$.file conf$$ 2>/dev/null; then
   17553     as_ln_s='ln -s'
   17554     # ... but there are two gotchas:
   17555     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   17556     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   17557     # In both cases, we have to default to `cp -pR'.
   17558     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   17559       as_ln_s='cp -pR'
   17560   elif ln conf$$.file conf$$ 2>/dev/null; then
   17561     as_ln_s=ln
   17562   else
   17563     as_ln_s='cp -pR'
   17564   fi
   17565 else
   17566   as_ln_s='cp -pR'
   17567 fi
   17568 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   17569 rmdir conf$$.dir 2>/dev/null
   17570 
   17571 
   17572 # as_fn_mkdir_p
   17573 # -------------
   17574 # Create "$as_dir" as a directory, including parents if necessary.
   17575 as_fn_mkdir_p ()
   17576 {
   17577 
   17578   case $as_dir in #(
   17579   -*) as_dir=./$as_dir;;
   17580   esac
   17581   test -d "$as_dir" || eval $as_mkdir_p || {
   17582     as_dirs=
   17583     while :; do
   17584       case $as_dir in #(
   17585       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   17586       *) as_qdir=$as_dir;;
   17587       esac
   17588       as_dirs="'$as_qdir' $as_dirs"
   17589       as_dir=`$as_dirname -- "$as_dir" ||
   17590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17591 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17592 	 X"$as_dir" : 'X\(//\)$' \| \
   17593 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   17594 $as_echo X"$as_dir" |
   17595     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17596 	    s//\1/
   17597 	    q
   17598 	  }
   17599 	  /^X\(\/\/\)[^/].*/{
   17600 	    s//\1/
   17601 	    q
   17602 	  }
   17603 	  /^X\(\/\/\)$/{
   17604 	    s//\1/
   17605 	    q
   17606 	  }
   17607 	  /^X\(\/\).*/{
   17608 	    s//\1/
   17609 	    q
   17610 	  }
   17611 	  s/.*/./; q'`
   17612       test -d "$as_dir" && break
   17613     done
   17614     test -z "$as_dirs" || eval "mkdir $as_dirs"
   17615   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   17616 
   17617 
   17618 } # as_fn_mkdir_p
   17619 if mkdir -p . 2>/dev/null; then
   17620   as_mkdir_p='mkdir -p "$as_dir"'
   17621 else
   17622   test -d ./-p && rmdir ./-p
   17623   as_mkdir_p=false
   17624 fi
   17625 
   17626 
   17627 # as_fn_executable_p FILE
   17628 # -----------------------
   17629 # Test if FILE is an executable regular file.
   17630 as_fn_executable_p ()
   17631 {
   17632   test -f "$1" && test -x "$1"
   17633 } # as_fn_executable_p
   17634 as_test_x='test -x'
   17635 as_executable_p=as_fn_executable_p
   17636 
   17637 # Sed expression to map a string onto a valid CPP name.
   17638 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   17639 
   17640 # Sed expression to map a string onto a valid variable name.
   17641 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   17642 
   17643 
   17644 exec 6>&1
   17645 ## ----------------------------------- ##
   17646 ## Main body of $CONFIG_STATUS script. ##
   17647 ## ----------------------------------- ##
   17648 _ASEOF
   17649 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   17650 
   17651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17652 # Save the log message, to keep $0 and so on meaningful, and to
   17653 # report actual input values of CONFIG_FILES etc. instead of their
   17654 # values after options handling.
   17655 ac_log="
   17656 This file was extended by libXTrap $as_me 1.0.1, which was
   17657 generated by GNU Autoconf 2.69.  Invocation command line was
   17658 
   17659   CONFIG_FILES    = $CONFIG_FILES
   17660   CONFIG_HEADERS  = $CONFIG_HEADERS
   17661   CONFIG_LINKS    = $CONFIG_LINKS
   17662   CONFIG_COMMANDS = $CONFIG_COMMANDS
   17663   $ $0 $@
   17664 
   17665 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   17666 "
   17667 
   17668 _ACEOF
   17669 
   17670 case $ac_config_files in *"
   17671 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   17672 esac
   17673 
   17674 case $ac_config_headers in *"
   17675 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   17676 esac
   17677 
   17678 
   17679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17680 # Files that config.status was made for.
   17681 config_files="$ac_config_files"
   17682 config_headers="$ac_config_headers"
   17683 config_commands="$ac_config_commands"
   17684 
   17685 _ACEOF
   17686 
   17687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17688 ac_cs_usage="\
   17689 \`$as_me' instantiates files and other configuration actions
   17690 from templates according to the current configuration.  Unless the files
   17691 and actions are specified as TAGs, all are instantiated by default.
   17692 
   17693 Usage: $0 [OPTION]... [TAG]...
   17694 
   17695   -h, --help       print this help, then exit
   17696   -V, --version    print version number and configuration settings, then exit
   17697       --config     print configuration, then exit
   17698   -q, --quiet, --silent
   17699                    do not print progress messages
   17700   -d, --debug      don't remove temporary files
   17701       --recheck    update $as_me by reconfiguring in the same conditions
   17702       --file=FILE[:TEMPLATE]
   17703                    instantiate the configuration file FILE
   17704       --header=FILE[:TEMPLATE]
   17705                    instantiate the configuration header FILE
   17706 
   17707 Configuration files:
   17708 $config_files
   17709 
   17710 Configuration headers:
   17711 $config_headers
   17712 
   17713 Configuration commands:
   17714 $config_commands
   17715 
   17716 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   17717 
   17718 _ACEOF
   17719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17720 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   17721 ac_cs_version="\\
   17722 libXTrap config.status 1.0.1
   17723 configured by $0, generated by GNU Autoconf 2.69,
   17724   with options \\"\$ac_cs_config\\"
   17725 
   17726 Copyright (C) 2012 Free Software Foundation, Inc.
   17727 This config.status script is free software; the Free Software Foundation
   17728 gives unlimited permission to copy, distribute and modify it."
   17729 
   17730 ac_pwd='$ac_pwd'
   17731 srcdir='$srcdir'
   17732 INSTALL='$INSTALL'
   17733 MKDIR_P='$MKDIR_P'
   17734 AWK='$AWK'
   17735 test -n "\$AWK" || AWK=awk
   17736 _ACEOF
   17737 
   17738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17739 # The default lists apply if the user does not specify any file.
   17740 ac_need_defaults=:
   17741 while test $# != 0
   17742 do
   17743   case $1 in
   17744   --*=?*)
   17745     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17746     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   17747     ac_shift=:
   17748     ;;
   17749   --*=)
   17750     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17751     ac_optarg=
   17752     ac_shift=:
   17753     ;;
   17754   *)
   17755     ac_option=$1
   17756     ac_optarg=$2
   17757     ac_shift=shift
   17758     ;;
   17759   esac
   17760 
   17761   case $ac_option in
   17762   # Handling of the options.
   17763   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   17764     ac_cs_recheck=: ;;
   17765   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   17766     $as_echo "$ac_cs_version"; exit ;;
   17767   --config | --confi | --conf | --con | --co | --c )
   17768     $as_echo "$ac_cs_config"; exit ;;
   17769   --debug | --debu | --deb | --de | --d | -d )
   17770     debug=: ;;
   17771   --file | --fil | --fi | --f )
   17772     $ac_shift
   17773     case $ac_optarg in
   17774     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17775     '') as_fn_error $? "missing file argument" ;;
   17776     esac
   17777     as_fn_append CONFIG_FILES " '$ac_optarg'"
   17778     ac_need_defaults=false;;
   17779   --header | --heade | --head | --hea )
   17780     $ac_shift
   17781     case $ac_optarg in
   17782     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17783     esac
   17784     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   17785     ac_need_defaults=false;;
   17786   --he | --h)
   17787     # Conflict between --help and --header
   17788     as_fn_error $? "ambiguous option: \`$1'
   17789 Try \`$0 --help' for more information.";;
   17790   --help | --hel | -h )
   17791     $as_echo "$ac_cs_usage"; exit ;;
   17792   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   17793   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   17794     ac_cs_silent=: ;;
   17795 
   17796   # This is an error.
   17797   -*) as_fn_error $? "unrecognized option: \`$1'
   17798 Try \`$0 --help' for more information." ;;
   17799 
   17800   *) as_fn_append ac_config_targets " $1"
   17801      ac_need_defaults=false ;;
   17802 
   17803   esac
   17804   shift
   17805 done
   17806 
   17807 ac_configure_extra_args=
   17808 
   17809 if $ac_cs_silent; then
   17810   exec 6>/dev/null
   17811   ac_configure_extra_args="$ac_configure_extra_args --silent"
   17812 fi
   17813 
   17814 _ACEOF
   17815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17816 if \$ac_cs_recheck; then
   17817   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   17818   shift
   17819   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   17820   CONFIG_SHELL='$SHELL'
   17821   export CONFIG_SHELL
   17822   exec "\$@"
   17823 fi
   17824 
   17825 _ACEOF
   17826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17827 exec 5>>config.log
   17828 {
   17829   echo
   17830   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   17831 ## Running $as_me. ##
   17832 _ASBOX
   17833   $as_echo "$ac_log"
   17834 } >&5
   17835 
   17836 _ACEOF
   17837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17838 #
   17839 # INIT-COMMANDS
   17840 #
   17841 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   17842 
   17843 
   17844 # The HP-UX ksh and POSIX shell print the target directory to stdout
   17845 # if CDPATH is set.
   17846 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17847 
   17848 sed_quote_subst='$sed_quote_subst'
   17849 double_quote_subst='$double_quote_subst'
   17850 delay_variable_subst='$delay_variable_subst'
   17851 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   17852 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   17853 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   17854 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   17855 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   17856 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   17857 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   17858 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   17859 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   17860 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   17861 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   17862 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   17863 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   17864 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   17865 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   17866 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   17867 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   17868 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   17869 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   17870 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   17871 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   17872 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   17873 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   17874 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   17875 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   17876 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   17877 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   17878 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   17879 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   17880 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   17881 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   17882 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   17883 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   17884 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   17885 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   17886 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   17887 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   17888 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   17889 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   17890 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   17891 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   17892 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   17893 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   17894 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   17895 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   17896 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17897 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17898 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   17899 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   17900 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   17901 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   17902 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   17903 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   17904 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   17905 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   17906 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   17907 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"`'
   17908 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   17909 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   17910 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   17911 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   17912 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   17913 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   17914 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   17915 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   17916 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   17917 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   17918 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   17919 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   17920 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   17921 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   17922 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   17923 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   17924 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   17925 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   17926 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17927 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   17928 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   17929 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   17930 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   17931 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   17932 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   17933 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17934 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   17935 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17936 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   17937 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17938 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   17939 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17940 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17941 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   17942 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   17943 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   17944 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   17945 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   17946 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17947 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   17948 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   17949 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   17950 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   17951 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   17952 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   17953 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   17954 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   17955 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   17956 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   17957 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   17958 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   17959 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   17960 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   17961 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   17962 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17963 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   17964 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   17965 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   17966 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   17967 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   17968 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17969 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17970 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   17971 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   17972 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   17973 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   17974 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   17975 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   17976 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   17977 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   17978 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   17979 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   17980 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   17981 
   17982 LTCC='$LTCC'
   17983 LTCFLAGS='$LTCFLAGS'
   17984 compiler='$compiler_DEFAULT'
   17985 
   17986 # A function that is used when there is no print builtin or printf.
   17987 func_fallback_echo ()
   17988 {
   17989   eval 'cat <<_LTECHO_EOF
   17990 \$1
   17991 _LTECHO_EOF'
   17992 }
   17993 
   17994 # Quote evaled strings.
   17995 for var in SHELL \
   17996 ECHO \
   17997 PATH_SEPARATOR \
   17998 SED \
   17999 GREP \
   18000 EGREP \
   18001 FGREP \
   18002 LD \
   18003 NM \
   18004 LN_S \
   18005 lt_SP2NL \
   18006 lt_NL2SP \
   18007 reload_flag \
   18008 OBJDUMP \
   18009 deplibs_check_method \
   18010 file_magic_cmd \
   18011 file_magic_glob \
   18012 want_nocaseglob \
   18013 DLLTOOL \
   18014 sharedlib_from_linklib_cmd \
   18015 AR \
   18016 AR_FLAGS \
   18017 archiver_list_spec \
   18018 STRIP \
   18019 RANLIB \
   18020 CC \
   18021 CFLAGS \
   18022 compiler \
   18023 lt_cv_sys_global_symbol_pipe \
   18024 lt_cv_sys_global_symbol_to_cdecl \
   18025 lt_cv_sys_global_symbol_to_c_name_address \
   18026 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18027 nm_file_list_spec \
   18028 lt_prog_compiler_no_builtin_flag \
   18029 lt_prog_compiler_pic \
   18030 lt_prog_compiler_wl \
   18031 lt_prog_compiler_static \
   18032 lt_cv_prog_compiler_c_o \
   18033 need_locks \
   18034 MANIFEST_TOOL \
   18035 DSYMUTIL \
   18036 NMEDIT \
   18037 LIPO \
   18038 OTOOL \
   18039 OTOOL64 \
   18040 shrext_cmds \
   18041 export_dynamic_flag_spec \
   18042 whole_archive_flag_spec \
   18043 compiler_needs_object \
   18044 with_gnu_ld \
   18045 allow_undefined_flag \
   18046 no_undefined_flag \
   18047 hardcode_libdir_flag_spec \
   18048 hardcode_libdir_separator \
   18049 exclude_expsyms \
   18050 include_expsyms \
   18051 file_list_spec \
   18052 variables_saved_for_relink \
   18053 libname_spec \
   18054 library_names_spec \
   18055 soname_spec \
   18056 install_override_mode \
   18057 finish_eval \
   18058 old_striplib \
   18059 striplib; do
   18060     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18061     *[\\\\\\\`\\"\\\$]*)
   18062       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18063       ;;
   18064     *)
   18065       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18066       ;;
   18067     esac
   18068 done
   18069 
   18070 # Double-quote double-evaled strings.
   18071 for var in reload_cmds \
   18072 old_postinstall_cmds \
   18073 old_postuninstall_cmds \
   18074 old_archive_cmds \
   18075 extract_expsyms_cmds \
   18076 old_archive_from_new_cmds \
   18077 old_archive_from_expsyms_cmds \
   18078 archive_cmds \
   18079 archive_expsym_cmds \
   18080 module_cmds \
   18081 module_expsym_cmds \
   18082 export_symbols_cmds \
   18083 prelink_cmds \
   18084 postlink_cmds \
   18085 postinstall_cmds \
   18086 postuninstall_cmds \
   18087 finish_cmds \
   18088 sys_lib_search_path_spec \
   18089 sys_lib_dlsearch_path_spec; do
   18090     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18091     *[\\\\\\\`\\"\\\$]*)
   18092       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18093       ;;
   18094     *)
   18095       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18096       ;;
   18097     esac
   18098 done
   18099 
   18100 ac_aux_dir='$ac_aux_dir'
   18101 xsi_shell='$xsi_shell'
   18102 lt_shell_append='$lt_shell_append'
   18103 
   18104 # See if we are running on zsh, and set the options which allow our
   18105 # commands through without removal of \ escapes INIT.
   18106 if test -n "\${ZSH_VERSION+set}" ; then
   18107    setopt NO_GLOB_SUBST
   18108 fi
   18109 
   18110 
   18111     PACKAGE='$PACKAGE'
   18112     VERSION='$VERSION'
   18113     TIMESTAMP='$TIMESTAMP'
   18114     RM='$RM'
   18115     ofile='$ofile'
   18116 
   18117 
   18118 
   18119 
   18120 _ACEOF
   18121 
   18122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18123 
   18124 # Handling of arguments.
   18125 for ac_config_target in $ac_config_targets
   18126 do
   18127   case $ac_config_target in
   18128     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18129     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18130     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18131     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18132     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18133     "xtrap.pc") CONFIG_FILES="$CONFIG_FILES xtrap.pc" ;;
   18134 
   18135   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18136   esac
   18137 done
   18138 
   18139 
   18140 # If the user did not use the arguments to specify the items to instantiate,
   18141 # then the envvar interface is used.  Set only those that are not.
   18142 # We use the long form for the default assignment because of an extremely
   18143 # bizarre bug on SunOS 4.1.3.
   18144 if $ac_need_defaults; then
   18145   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18146   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18147   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18148 fi
   18149 
   18150 # Have a temporary directory for convenience.  Make it in the build tree
   18151 # simply because there is no reason against having it here, and in addition,
   18152 # creating and moving files from /tmp can sometimes cause problems.
   18153 # Hook for its removal unless debugging.
   18154 # Note that there is a small window in which the directory will not be cleaned:
   18155 # after its creation but before its name has been assigned to `$tmp'.
   18156 $debug ||
   18157 {
   18158   tmp= ac_tmp=
   18159   trap 'exit_status=$?
   18160   : "${ac_tmp:=$tmp}"
   18161   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18162 ' 0
   18163   trap 'as_fn_exit 1' 1 2 13 15
   18164 }
   18165 # Create a (secure) tmp directory for tmp files.
   18166 
   18167 {
   18168   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18169   test -d "$tmp"
   18170 }  ||
   18171 {
   18172   tmp=./conf$$-$RANDOM
   18173   (umask 077 && mkdir "$tmp")
   18174 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18175 ac_tmp=$tmp
   18176 
   18177 # Set up the scripts for CONFIG_FILES section.
   18178 # No need to generate them if there are no CONFIG_FILES.
   18179 # This happens for instance with `./config.status config.h'.
   18180 if test -n "$CONFIG_FILES"; then
   18181 
   18182 
   18183 ac_cr=`echo X | tr X '\015'`
   18184 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18185 # But we know of no other shell where ac_cr would be empty at this
   18186 # point, so we can use a bashism as a fallback.
   18187 if test "x$ac_cr" = x; then
   18188   eval ac_cr=\$\'\\r\'
   18189 fi
   18190 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18191 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18192   ac_cs_awk_cr='\\r'
   18193 else
   18194   ac_cs_awk_cr=$ac_cr
   18195 fi
   18196 
   18197 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18198 _ACEOF
   18199 
   18200 
   18201 {
   18202   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18203   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18204   echo "_ACEOF"
   18205 } >conf$$subs.sh ||
   18206   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18207 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18208 ac_delim='%!_!# '
   18209 for ac_last_try in false false false false false :; do
   18210   . ./conf$$subs.sh ||
   18211     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18212 
   18213   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18214   if test $ac_delim_n = $ac_delim_num; then
   18215     break
   18216   elif $ac_last_try; then
   18217     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18218   else
   18219     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18220   fi
   18221 done
   18222 rm -f conf$$subs.sh
   18223 
   18224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18225 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18226 _ACEOF
   18227 sed -n '
   18228 h
   18229 s/^/S["/; s/!.*/"]=/
   18230 p
   18231 g
   18232 s/^[^!]*!//
   18233 :repl
   18234 t repl
   18235 s/'"$ac_delim"'$//
   18236 t delim
   18237 :nl
   18238 h
   18239 s/\(.\{148\}\)..*/\1/
   18240 t more1
   18241 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18242 p
   18243 n
   18244 b repl
   18245 :more1
   18246 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18247 p
   18248 g
   18249 s/.\{148\}//
   18250 t nl
   18251 :delim
   18252 h
   18253 s/\(.\{148\}\)..*/\1/
   18254 t more2
   18255 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18256 p
   18257 b
   18258 :more2
   18259 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18260 p
   18261 g
   18262 s/.\{148\}//
   18263 t delim
   18264 ' <conf$$subs.awk | sed '
   18265 /^[^""]/{
   18266   N
   18267   s/\n//
   18268 }
   18269 ' >>$CONFIG_STATUS || ac_write_fail=1
   18270 rm -f conf$$subs.awk
   18271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18272 _ACAWK
   18273 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18274   for (key in S) S_is_set[key] = 1
   18275   FS = ""
   18276 
   18277 }
   18278 {
   18279   line = $ 0
   18280   nfields = split(line, field, "@")
   18281   substed = 0
   18282   len = length(field[1])
   18283   for (i = 2; i < nfields; i++) {
   18284     key = field[i]
   18285     keylen = length(key)
   18286     if (S_is_set[key]) {
   18287       value = S[key]
   18288       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18289       len += length(value) + length(field[++i])
   18290       substed = 1
   18291     } else
   18292       len += 1 + keylen
   18293   }
   18294 
   18295   print line
   18296 }
   18297 
   18298 _ACAWK
   18299 _ACEOF
   18300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18301 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18302   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18303 else
   18304   cat
   18305 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18306   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18307 _ACEOF
   18308 
   18309 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18310 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18311 # trailing colons and then remove the whole line if VPATH becomes empty
   18312 # (actually we leave an empty line to preserve line numbers).
   18313 if test "x$srcdir" = x.; then
   18314   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18315 h
   18316 s///
   18317 s/^/:/
   18318 s/[	 ]*$/:/
   18319 s/:\$(srcdir):/:/g
   18320 s/:\${srcdir}:/:/g
   18321 s/:@srcdir@:/:/g
   18322 s/^:*//
   18323 s/:*$//
   18324 x
   18325 s/\(=[	 ]*\).*/\1/
   18326 G
   18327 s/\n//
   18328 s/^[^=]*=[	 ]*$//
   18329 }'
   18330 fi
   18331 
   18332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18333 fi # test -n "$CONFIG_FILES"
   18334 
   18335 # Set up the scripts for CONFIG_HEADERS section.
   18336 # No need to generate them if there are no CONFIG_HEADERS.
   18337 # This happens for instance with `./config.status Makefile'.
   18338 if test -n "$CONFIG_HEADERS"; then
   18339 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18340 BEGIN {
   18341 _ACEOF
   18342 
   18343 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18344 # here-document in config.status, that substitutes the proper values into
   18345 # config.h.in to produce config.h.
   18346 
   18347 # Create a delimiter string that does not exist in confdefs.h, to ease
   18348 # handling of long lines.
   18349 ac_delim='%!_!# '
   18350 for ac_last_try in false false :; do
   18351   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18352   if test -z "$ac_tt"; then
   18353     break
   18354   elif $ac_last_try; then
   18355     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18356   else
   18357     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18358   fi
   18359 done
   18360 
   18361 # For the awk script, D is an array of macro values keyed by name,
   18362 # likewise P contains macro parameters if any.  Preserve backslash
   18363 # newline sequences.
   18364 
   18365 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18366 sed -n '
   18367 s/.\{148\}/&'"$ac_delim"'/g
   18368 t rset
   18369 :rset
   18370 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18371 t def
   18372 d
   18373 :def
   18374 s/\\$//
   18375 t bsnl
   18376 s/["\\]/\\&/g
   18377 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18378 D["\1"]=" \3"/p
   18379 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18380 d
   18381 :bsnl
   18382 s/["\\]/\\&/g
   18383 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18384 D["\1"]=" \3\\\\\\n"\\/p
   18385 t cont
   18386 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18387 t cont
   18388 d
   18389 :cont
   18390 n
   18391 s/.\{148\}/&'"$ac_delim"'/g
   18392 t clear
   18393 :clear
   18394 s/\\$//
   18395 t bsnlc
   18396 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18397 d
   18398 :bsnlc
   18399 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18400 b cont
   18401 ' <confdefs.h | sed '
   18402 s/'"$ac_delim"'/"\\\
   18403 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18404 
   18405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18406   for (key in D) D_is_set[key] = 1
   18407   FS = ""
   18408 }
   18409 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18410   line = \$ 0
   18411   split(line, arg, " ")
   18412   if (arg[1] == "#") {
   18413     defundef = arg[2]
   18414     mac1 = arg[3]
   18415   } else {
   18416     defundef = substr(arg[1], 2)
   18417     mac1 = arg[2]
   18418   }
   18419   split(mac1, mac2, "(") #)
   18420   macro = mac2[1]
   18421   prefix = substr(line, 1, index(line, defundef) - 1)
   18422   if (D_is_set[macro]) {
   18423     # Preserve the white space surrounding the "#".
   18424     print prefix "define", macro P[macro] D[macro]
   18425     next
   18426   } else {
   18427     # Replace #undef with comments.  This is necessary, for example,
   18428     # in the case of _POSIX_SOURCE, which is predefined and required
   18429     # on some systems where configure will not decide to define it.
   18430     if (defundef == "undef") {
   18431       print "/*", prefix defundef, macro, "*/"
   18432       next
   18433     }
   18434   }
   18435 }
   18436 { print }
   18437 _ACAWK
   18438 _ACEOF
   18439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18440   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18441 fi # test -n "$CONFIG_HEADERS"
   18442 
   18443 
   18444 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18445 shift
   18446 for ac_tag
   18447 do
   18448   case $ac_tag in
   18449   :[FHLC]) ac_mode=$ac_tag; continue;;
   18450   esac
   18451   case $ac_mode$ac_tag in
   18452   :[FHL]*:*);;
   18453   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18454   :[FH]-) ac_tag=-:-;;
   18455   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18456   esac
   18457   ac_save_IFS=$IFS
   18458   IFS=:
   18459   set x $ac_tag
   18460   IFS=$ac_save_IFS
   18461   shift
   18462   ac_file=$1
   18463   shift
   18464 
   18465   case $ac_mode in
   18466   :L) ac_source=$1;;
   18467   :[FH])
   18468     ac_file_inputs=
   18469     for ac_f
   18470     do
   18471       case $ac_f in
   18472       -) ac_f="$ac_tmp/stdin";;
   18473       *) # Look for the file first in the build tree, then in the source tree
   18474 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18475 	 # because $ac_f cannot contain `:'.
   18476 	 test -f "$ac_f" ||
   18477 	   case $ac_f in
   18478 	   [\\/$]*) false;;
   18479 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18480 	   esac ||
   18481 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18482       esac
   18483       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18484       as_fn_append ac_file_inputs " '$ac_f'"
   18485     done
   18486 
   18487     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18488     # use $as_me), people would be surprised to read:
   18489     #    /* config.h.  Generated by config.status.  */
   18490     configure_input='Generated from '`
   18491 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18492 	`' by configure.'
   18493     if test x"$ac_file" != x-; then
   18494       configure_input="$ac_file.  $configure_input"
   18495       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18496 $as_echo "$as_me: creating $ac_file" >&6;}
   18497     fi
   18498     # Neutralize special characters interpreted by sed in replacement strings.
   18499     case $configure_input in #(
   18500     *\&* | *\|* | *\\* )
   18501        ac_sed_conf_input=`$as_echo "$configure_input" |
   18502        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18503     *) ac_sed_conf_input=$configure_input;;
   18504     esac
   18505 
   18506     case $ac_tag in
   18507     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18508       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18509     esac
   18510     ;;
   18511   esac
   18512 
   18513   ac_dir=`$as_dirname -- "$ac_file" ||
   18514 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18515 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18516 	 X"$ac_file" : 'X\(//\)$' \| \
   18517 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18518 $as_echo X"$ac_file" |
   18519     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18520 	    s//\1/
   18521 	    q
   18522 	  }
   18523 	  /^X\(\/\/\)[^/].*/{
   18524 	    s//\1/
   18525 	    q
   18526 	  }
   18527 	  /^X\(\/\/\)$/{
   18528 	    s//\1/
   18529 	    q
   18530 	  }
   18531 	  /^X\(\/\).*/{
   18532 	    s//\1/
   18533 	    q
   18534 	  }
   18535 	  s/.*/./; q'`
   18536   as_dir="$ac_dir"; as_fn_mkdir_p
   18537   ac_builddir=.
   18538 
   18539 case "$ac_dir" in
   18540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18541 *)
   18542   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   18543   # A ".." for each directory in $ac_dir_suffix.
   18544   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   18545   case $ac_top_builddir_sub in
   18546   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18547   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   18548   esac ;;
   18549 esac
   18550 ac_abs_top_builddir=$ac_pwd
   18551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   18552 # for backward compatibility:
   18553 ac_top_builddir=$ac_top_build_prefix
   18554 
   18555 case $srcdir in
   18556   .)  # We are building in place.
   18557     ac_srcdir=.
   18558     ac_top_srcdir=$ac_top_builddir_sub
   18559     ac_abs_top_srcdir=$ac_pwd ;;
   18560   [\\/]* | ?:[\\/]* )  # Absolute name.
   18561     ac_srcdir=$srcdir$ac_dir_suffix;
   18562     ac_top_srcdir=$srcdir
   18563     ac_abs_top_srcdir=$srcdir ;;
   18564   *) # Relative name.
   18565     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   18566     ac_top_srcdir=$ac_top_build_prefix$srcdir
   18567     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   18568 esac
   18569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   18570 
   18571 
   18572   case $ac_mode in
   18573   :F)
   18574   #
   18575   # CONFIG_FILE
   18576   #
   18577 
   18578   case $INSTALL in
   18579   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   18580   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   18581   esac
   18582   ac_MKDIR_P=$MKDIR_P
   18583   case $MKDIR_P in
   18584   [\\/$]* | ?:[\\/]* ) ;;
   18585   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   18586   esac
   18587 _ACEOF
   18588 
   18589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18590 # If the template does not know about datarootdir, expand it.
   18591 # FIXME: This hack should be removed a few years after 2.60.
   18592 ac_datarootdir_hack=; ac_datarootdir_seen=
   18593 ac_sed_dataroot='
   18594 /datarootdir/ {
   18595   p
   18596   q
   18597 }
   18598 /@datadir@/p
   18599 /@docdir@/p
   18600 /@infodir@/p
   18601 /@localedir@/p
   18602 /@mandir@/p'
   18603 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   18604 *datarootdir*) ac_datarootdir_seen=yes;;
   18605 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   18606   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   18607 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   18608 _ACEOF
   18609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18610   ac_datarootdir_hack='
   18611   s&@datadir@&$datadir&g
   18612   s&@docdir@&$docdir&g
   18613   s&@infodir@&$infodir&g
   18614   s&@localedir@&$localedir&g
   18615   s&@mandir@&$mandir&g
   18616   s&\\\${datarootdir}&$datarootdir&g' ;;
   18617 esac
   18618 _ACEOF
   18619 
   18620 # Neutralize VPATH when `$srcdir' = `.'.
   18621 # Shell code in configure.ac might set extrasub.
   18622 # FIXME: do we really want to maintain this feature?
   18623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18624 ac_sed_extra="$ac_vpsub
   18625 $extrasub
   18626 _ACEOF
   18627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18628 :t
   18629 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   18630 s|@configure_input@|$ac_sed_conf_input|;t t
   18631 s&@top_builddir@&$ac_top_builddir_sub&;t t
   18632 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   18633 s&@srcdir@&$ac_srcdir&;t t
   18634 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   18635 s&@top_srcdir@&$ac_top_srcdir&;t t
   18636 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   18637 s&@builddir@&$ac_builddir&;t t
   18638 s&@abs_builddir@&$ac_abs_builddir&;t t
   18639 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   18640 s&@INSTALL@&$ac_INSTALL&;t t
   18641 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   18642 $ac_datarootdir_hack
   18643 "
   18644 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   18645   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18646 
   18647 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   18648   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   18649   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   18650       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   18651   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18652 which seems to be undefined.  Please make sure it is defined" >&5
   18653 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18654 which seems to be undefined.  Please make sure it is defined" >&2;}
   18655 
   18656   rm -f "$ac_tmp/stdin"
   18657   case $ac_file in
   18658   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   18659   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   18660   esac \
   18661   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18662  ;;
   18663   :H)
   18664   #
   18665   # CONFIG_HEADER
   18666   #
   18667   if test x"$ac_file" != x-; then
   18668     {
   18669       $as_echo "/* $configure_input  */" \
   18670       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   18671     } >"$ac_tmp/config.h" \
   18672       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18673     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   18674       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   18675 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   18676     else
   18677       rm -f "$ac_file"
   18678       mv "$ac_tmp/config.h" "$ac_file" \
   18679 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18680     fi
   18681   else
   18682     $as_echo "/* $configure_input  */" \
   18683       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   18684       || as_fn_error $? "could not create -" "$LINENO" 5
   18685   fi
   18686 # Compute "$ac_file"'s index in $config_headers.
   18687 _am_arg="$ac_file"
   18688 _am_stamp_count=1
   18689 for _am_header in $config_headers :; do
   18690   case $_am_header in
   18691     $_am_arg | $_am_arg:* )
   18692       break ;;
   18693     * )
   18694       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   18695   esac
   18696 done
   18697 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   18698 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18699 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   18700 	 X"$_am_arg" : 'X\(//\)$' \| \
   18701 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   18702 $as_echo X"$_am_arg" |
   18703     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18704 	    s//\1/
   18705 	    q
   18706 	  }
   18707 	  /^X\(\/\/\)[^/].*/{
   18708 	    s//\1/
   18709 	    q
   18710 	  }
   18711 	  /^X\(\/\/\)$/{
   18712 	    s//\1/
   18713 	    q
   18714 	  }
   18715 	  /^X\(\/\).*/{
   18716 	    s//\1/
   18717 	    q
   18718 	  }
   18719 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   18720  ;;
   18721 
   18722   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   18723 $as_echo "$as_me: executing $ac_file commands" >&6;}
   18724  ;;
   18725   esac
   18726 
   18727 
   18728   case $ac_file$ac_mode in
   18729     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   18730   # Older Autoconf quotes --file arguments for eval, but not when files
   18731   # are listed without --file.  Let's play safe and only enable the eval
   18732   # if we detect the quoting.
   18733   case $CONFIG_FILES in
   18734   *\'*) eval set x "$CONFIG_FILES" ;;
   18735   *)   set x $CONFIG_FILES ;;
   18736   esac
   18737   shift
   18738   for mf
   18739   do
   18740     # Strip MF so we end up with the name of the file.
   18741     mf=`echo "$mf" | sed -e 's/:.*$//'`
   18742     # Check whether this is an Automake generated Makefile or not.
   18743     # We used to match only the files named 'Makefile.in', but
   18744     # some people rename them; so instead we look at the file content.
   18745     # Grep'ing the first line is not enough: some people post-process
   18746     # each Makefile.in and add a new line on top of each file to say so.
   18747     # Grep'ing the whole file is not good either: AIX grep has a line
   18748     # limit of 2048, but all sed's we know have understand at least 4000.
   18749     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   18750       dirpart=`$as_dirname -- "$mf" ||
   18751 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18752 	 X"$mf" : 'X\(//\)[^/]' \| \
   18753 	 X"$mf" : 'X\(//\)$' \| \
   18754 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   18755 $as_echo X"$mf" |
   18756     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18757 	    s//\1/
   18758 	    q
   18759 	  }
   18760 	  /^X\(\/\/\)[^/].*/{
   18761 	    s//\1/
   18762 	    q
   18763 	  }
   18764 	  /^X\(\/\/\)$/{
   18765 	    s//\1/
   18766 	    q
   18767 	  }
   18768 	  /^X\(\/\).*/{
   18769 	    s//\1/
   18770 	    q
   18771 	  }
   18772 	  s/.*/./; q'`
   18773     else
   18774       continue
   18775     fi
   18776     # Extract the definition of DEPDIR, am__include, and am__quote
   18777     # from the Makefile without running 'make'.
   18778     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   18779     test -z "$DEPDIR" && continue
   18780     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   18781     test -z "am__include" && continue
   18782     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   18783     # Find all dependency output files, they are included files with
   18784     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   18785     # simplest approach to changing $(DEPDIR) to its actual value in the
   18786     # expansion.
   18787     for file in `sed -n "
   18788       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   18789 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   18790       # Make sure the directory exists.
   18791       test -f "$dirpart/$file" && continue
   18792       fdir=`$as_dirname -- "$file" ||
   18793 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18794 	 X"$file" : 'X\(//\)[^/]' \| \
   18795 	 X"$file" : 'X\(//\)$' \| \
   18796 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   18797 $as_echo X"$file" |
   18798     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18799 	    s//\1/
   18800 	    q
   18801 	  }
   18802 	  /^X\(\/\/\)[^/].*/{
   18803 	    s//\1/
   18804 	    q
   18805 	  }
   18806 	  /^X\(\/\/\)$/{
   18807 	    s//\1/
   18808 	    q
   18809 	  }
   18810 	  /^X\(\/\).*/{
   18811 	    s//\1/
   18812 	    q
   18813 	  }
   18814 	  s/.*/./; q'`
   18815       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   18816       # echo "creating $dirpart/$file"
   18817       echo '# dummy' > "$dirpart/$file"
   18818     done
   18819   done
   18820 }
   18821  ;;
   18822     "libtool":C)
   18823 
   18824     # See if we are running on zsh, and set the options which allow our
   18825     # commands through without removal of \ escapes.
   18826     if test -n "${ZSH_VERSION+set}" ; then
   18827       setopt NO_GLOB_SUBST
   18828     fi
   18829 
   18830     cfgfile="${ofile}T"
   18831     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   18832     $RM "$cfgfile"
   18833 
   18834     cat <<_LT_EOF >> "$cfgfile"
   18835 #! $SHELL
   18836 
   18837 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   18838 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   18839 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18840 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   18841 #
   18842 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   18843 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   18844 #                 Foundation, Inc.
   18845 #   Written by Gordon Matzigkeit, 1996
   18846 #
   18847 #   This file is part of GNU Libtool.
   18848 #
   18849 # GNU Libtool is free software; you can redistribute it and/or
   18850 # modify it under the terms of the GNU General Public License as
   18851 # published by the Free Software Foundation; either version 2 of
   18852 # the License, or (at your option) any later version.
   18853 #
   18854 # As a special exception to the GNU General Public License,
   18855 # if you distribute this file as part of a program or library that
   18856 # is built using GNU Libtool, you may include this file under the
   18857 # same distribution terms that you use for the rest of that program.
   18858 #
   18859 # GNU Libtool is distributed in the hope that it will be useful,
   18860 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   18861 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   18862 # GNU General Public License for more details.
   18863 #
   18864 # You should have received a copy of the GNU General Public License
   18865 # along with GNU Libtool; see the file COPYING.  If not, a copy
   18866 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   18867 # obtained by writing to the Free Software Foundation, Inc.,
   18868 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   18869 
   18870 
   18871 # The names of the tagged configurations supported by this script.
   18872 available_tags=""
   18873 
   18874 # ### BEGIN LIBTOOL CONFIG
   18875 
   18876 # Which release of libtool.m4 was used?
   18877 macro_version=$macro_version
   18878 macro_revision=$macro_revision
   18879 
   18880 # Whether or not to build shared libraries.
   18881 build_libtool_libs=$enable_shared
   18882 
   18883 # Whether or not to build static libraries.
   18884 build_old_libs=$enable_static
   18885 
   18886 # What type of objects to build.
   18887 pic_mode=$pic_mode
   18888 
   18889 # Whether or not to optimize for fast installation.
   18890 fast_install=$enable_fast_install
   18891 
   18892 # Shell to use when invoking shell scripts.
   18893 SHELL=$lt_SHELL
   18894 
   18895 # An echo program that protects backslashes.
   18896 ECHO=$lt_ECHO
   18897 
   18898 # The PATH separator for the build system.
   18899 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   18900 
   18901 # The host system.
   18902 host_alias=$host_alias
   18903 host=$host
   18904 host_os=$host_os
   18905 
   18906 # The build system.
   18907 build_alias=$build_alias
   18908 build=$build
   18909 build_os=$build_os
   18910 
   18911 # A sed program that does not truncate output.
   18912 SED=$lt_SED
   18913 
   18914 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   18915 Xsed="\$SED -e 1s/^X//"
   18916 
   18917 # A grep program that handles long lines.
   18918 GREP=$lt_GREP
   18919 
   18920 # An ERE matcher.
   18921 EGREP=$lt_EGREP
   18922 
   18923 # A literal string matcher.
   18924 FGREP=$lt_FGREP
   18925 
   18926 # A BSD- or MS-compatible name lister.
   18927 NM=$lt_NM
   18928 
   18929 # Whether we need soft or hard links.
   18930 LN_S=$lt_LN_S
   18931 
   18932 # What is the maximum length of a command?
   18933 max_cmd_len=$max_cmd_len
   18934 
   18935 # Object file suffix (normally "o").
   18936 objext=$ac_objext
   18937 
   18938 # Executable file suffix (normally "").
   18939 exeext=$exeext
   18940 
   18941 # whether the shell understands "unset".
   18942 lt_unset=$lt_unset
   18943 
   18944 # turn spaces into newlines.
   18945 SP2NL=$lt_lt_SP2NL
   18946 
   18947 # turn newlines into spaces.
   18948 NL2SP=$lt_lt_NL2SP
   18949 
   18950 # convert \$build file names to \$host format.
   18951 to_host_file_cmd=$lt_cv_to_host_file_cmd
   18952 
   18953 # convert \$build files to toolchain format.
   18954 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   18955 
   18956 # An object symbol dumper.
   18957 OBJDUMP=$lt_OBJDUMP
   18958 
   18959 # Method to check whether dependent libraries are shared objects.
   18960 deplibs_check_method=$lt_deplibs_check_method
   18961 
   18962 # Command to use when deplibs_check_method = "file_magic".
   18963 file_magic_cmd=$lt_file_magic_cmd
   18964 
   18965 # How to find potential files when deplibs_check_method = "file_magic".
   18966 file_magic_glob=$lt_file_magic_glob
   18967 
   18968 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   18969 want_nocaseglob=$lt_want_nocaseglob
   18970 
   18971 # DLL creation program.
   18972 DLLTOOL=$lt_DLLTOOL
   18973 
   18974 # Command to associate shared and link libraries.
   18975 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   18976 
   18977 # The archiver.
   18978 AR=$lt_AR
   18979 
   18980 # Flags to create an archive.
   18981 AR_FLAGS=$lt_AR_FLAGS
   18982 
   18983 # How to feed a file listing to the archiver.
   18984 archiver_list_spec=$lt_archiver_list_spec
   18985 
   18986 # A symbol stripping program.
   18987 STRIP=$lt_STRIP
   18988 
   18989 # Commands used to install an old-style archive.
   18990 RANLIB=$lt_RANLIB
   18991 old_postinstall_cmds=$lt_old_postinstall_cmds
   18992 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18993 
   18994 # Whether to use a lock for old archive extraction.
   18995 lock_old_archive_extraction=$lock_old_archive_extraction
   18996 
   18997 # A C compiler.
   18998 LTCC=$lt_CC
   18999 
   19000 # LTCC compiler flags.
   19001 LTCFLAGS=$lt_CFLAGS
   19002 
   19003 # Take the output of nm and produce a listing of raw symbols and C names.
   19004 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19005 
   19006 # Transform the output of nm in a proper C declaration.
   19007 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19008 
   19009 # Transform the output of nm in a C name address pair.
   19010 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19011 
   19012 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19013 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19014 
   19015 # Specify filename containing input files for \$NM.
   19016 nm_file_list_spec=$lt_nm_file_list_spec
   19017 
   19018 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19019 lt_sysroot=$lt_sysroot
   19020 
   19021 # The name of the directory that contains temporary libtool files.
   19022 objdir=$objdir
   19023 
   19024 # Used to examine libraries when file_magic_cmd begins with "file".
   19025 MAGIC_CMD=$MAGIC_CMD
   19026 
   19027 # Must we lock files when doing compilation?
   19028 need_locks=$lt_need_locks
   19029 
   19030 # Manifest tool.
   19031 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19032 
   19033 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19034 DSYMUTIL=$lt_DSYMUTIL
   19035 
   19036 # Tool to change global to local symbols on Mac OS X.
   19037 NMEDIT=$lt_NMEDIT
   19038 
   19039 # Tool to manipulate fat objects and archives on Mac OS X.
   19040 LIPO=$lt_LIPO
   19041 
   19042 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19043 OTOOL=$lt_OTOOL
   19044 
   19045 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19046 OTOOL64=$lt_OTOOL64
   19047 
   19048 # Old archive suffix (normally "a").
   19049 libext=$libext
   19050 
   19051 # Shared library suffix (normally ".so").
   19052 shrext_cmds=$lt_shrext_cmds
   19053 
   19054 # The commands to extract the exported symbol list from a shared archive.
   19055 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19056 
   19057 # Variables whose values should be saved in libtool wrapper scripts and
   19058 # restored at link time.
   19059 variables_saved_for_relink=$lt_variables_saved_for_relink
   19060 
   19061 # Do we need the "lib" prefix for modules?
   19062 need_lib_prefix=$need_lib_prefix
   19063 
   19064 # Do we need a version for libraries?
   19065 need_version=$need_version
   19066 
   19067 # Library versioning type.
   19068 version_type=$version_type
   19069 
   19070 # Shared library runtime path variable.
   19071 runpath_var=$runpath_var
   19072 
   19073 # Shared library path variable.
   19074 shlibpath_var=$shlibpath_var
   19075 
   19076 # Is shlibpath searched before the hard-coded library search path?
   19077 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19078 
   19079 # Format of library name prefix.
   19080 libname_spec=$lt_libname_spec
   19081 
   19082 # List of archive names.  First name is the real one, the rest are links.
   19083 # The last name is the one that the linker finds with -lNAME
   19084 library_names_spec=$lt_library_names_spec
   19085 
   19086 # The coded name of the library, if different from the real name.
   19087 soname_spec=$lt_soname_spec
   19088 
   19089 # Permission mode override for installation of shared libraries.
   19090 install_override_mode=$lt_install_override_mode
   19091 
   19092 # Command to use after installation of a shared archive.
   19093 postinstall_cmds=$lt_postinstall_cmds
   19094 
   19095 # Command to use after uninstallation of a shared archive.
   19096 postuninstall_cmds=$lt_postuninstall_cmds
   19097 
   19098 # Commands used to finish a libtool library installation in a directory.
   19099 finish_cmds=$lt_finish_cmds
   19100 
   19101 # As "finish_cmds", except a single script fragment to be evaled but
   19102 # not shown.
   19103 finish_eval=$lt_finish_eval
   19104 
   19105 # Whether we should hardcode library paths into libraries.
   19106 hardcode_into_libs=$hardcode_into_libs
   19107 
   19108 # Compile-time system search path for libraries.
   19109 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19110 
   19111 # Run-time system search path for libraries.
   19112 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19113 
   19114 # Whether dlopen is supported.
   19115 dlopen_support=$enable_dlopen
   19116 
   19117 # Whether dlopen of programs is supported.
   19118 dlopen_self=$enable_dlopen_self
   19119 
   19120 # Whether dlopen of statically linked programs is supported.
   19121 dlopen_self_static=$enable_dlopen_self_static
   19122 
   19123 # Commands to strip libraries.
   19124 old_striplib=$lt_old_striplib
   19125 striplib=$lt_striplib
   19126 
   19127 
   19128 # The linker used to build libraries.
   19129 LD=$lt_LD
   19130 
   19131 # How to create reloadable object files.
   19132 reload_flag=$lt_reload_flag
   19133 reload_cmds=$lt_reload_cmds
   19134 
   19135 # Commands used to build an old-style archive.
   19136 old_archive_cmds=$lt_old_archive_cmds
   19137 
   19138 # A language specific compiler.
   19139 CC=$lt_compiler
   19140 
   19141 # Is the compiler the GNU compiler?
   19142 with_gcc=$GCC
   19143 
   19144 # Compiler flag to turn off builtin functions.
   19145 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19146 
   19147 # Additional compiler flags for building library objects.
   19148 pic_flag=$lt_lt_prog_compiler_pic
   19149 
   19150 # How to pass a linker flag through the compiler.
   19151 wl=$lt_lt_prog_compiler_wl
   19152 
   19153 # Compiler flag to prevent dynamic linking.
   19154 link_static_flag=$lt_lt_prog_compiler_static
   19155 
   19156 # Does compiler simultaneously support -c and -o options?
   19157 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19158 
   19159 # Whether or not to add -lc for building shared libraries.
   19160 build_libtool_need_lc=$archive_cmds_need_lc
   19161 
   19162 # Whether or not to disallow shared libs when runtime libs are static.
   19163 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19164 
   19165 # Compiler flag to allow reflexive dlopens.
   19166 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19167 
   19168 # Compiler flag to generate shared objects directly from archives.
   19169 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19170 
   19171 # Whether the compiler copes with passing no objects directly.
   19172 compiler_needs_object=$lt_compiler_needs_object
   19173 
   19174 # Create an old-style archive from a shared archive.
   19175 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19176 
   19177 # Create a temporary old-style archive to link instead of a shared archive.
   19178 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19179 
   19180 # Commands used to build a shared archive.
   19181 archive_cmds=$lt_archive_cmds
   19182 archive_expsym_cmds=$lt_archive_expsym_cmds
   19183 
   19184 # Commands used to build a loadable module if different from building
   19185 # a shared archive.
   19186 module_cmds=$lt_module_cmds
   19187 module_expsym_cmds=$lt_module_expsym_cmds
   19188 
   19189 # Whether we are building with GNU ld or not.
   19190 with_gnu_ld=$lt_with_gnu_ld
   19191 
   19192 # Flag that allows shared libraries with undefined symbols to be built.
   19193 allow_undefined_flag=$lt_allow_undefined_flag
   19194 
   19195 # Flag that enforces no undefined symbols.
   19196 no_undefined_flag=$lt_no_undefined_flag
   19197 
   19198 # Flag to hardcode \$libdir into a binary during linking.
   19199 # This must work even if \$libdir does not exist
   19200 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19201 
   19202 # Whether we need a single "-rpath" flag with a separated argument.
   19203 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19204 
   19205 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19206 # DIR into the resulting binary.
   19207 hardcode_direct=$hardcode_direct
   19208 
   19209 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19210 # DIR into the resulting binary and the resulting library dependency is
   19211 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19212 # library is relocated.
   19213 hardcode_direct_absolute=$hardcode_direct_absolute
   19214 
   19215 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19216 # into the resulting binary.
   19217 hardcode_minus_L=$hardcode_minus_L
   19218 
   19219 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19220 # into the resulting binary.
   19221 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19222 
   19223 # Set to "yes" if building a shared library automatically hardcodes DIR
   19224 # into the library and all subsequent libraries and executables linked
   19225 # against it.
   19226 hardcode_automatic=$hardcode_automatic
   19227 
   19228 # Set to yes if linker adds runtime paths of dependent libraries
   19229 # to runtime path list.
   19230 inherit_rpath=$inherit_rpath
   19231 
   19232 # Whether libtool must link a program against all its dependency libraries.
   19233 link_all_deplibs=$link_all_deplibs
   19234 
   19235 # Set to "yes" if exported symbols are required.
   19236 always_export_symbols=$always_export_symbols
   19237 
   19238 # The commands to list exported symbols.
   19239 export_symbols_cmds=$lt_export_symbols_cmds
   19240 
   19241 # Symbols that should not be listed in the preloaded symbols.
   19242 exclude_expsyms=$lt_exclude_expsyms
   19243 
   19244 # Symbols that must always be exported.
   19245 include_expsyms=$lt_include_expsyms
   19246 
   19247 # Commands necessary for linking programs (against libraries) with templates.
   19248 prelink_cmds=$lt_prelink_cmds
   19249 
   19250 # Commands necessary for finishing linking programs.
   19251 postlink_cmds=$lt_postlink_cmds
   19252 
   19253 # Specify filename containing input files.
   19254 file_list_spec=$lt_file_list_spec
   19255 
   19256 # How to hardcode a shared library path into an executable.
   19257 hardcode_action=$hardcode_action
   19258 
   19259 # ### END LIBTOOL CONFIG
   19260 
   19261 _LT_EOF
   19262 
   19263   case $host_os in
   19264   aix3*)
   19265     cat <<\_LT_EOF >> "$cfgfile"
   19266 # AIX sometimes has problems with the GCC collect2 program.  For some
   19267 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19268 # vanish in a puff of smoke.
   19269 if test "X${COLLECT_NAMES+set}" != Xset; then
   19270   COLLECT_NAMES=
   19271   export COLLECT_NAMES
   19272 fi
   19273 _LT_EOF
   19274     ;;
   19275   esac
   19276 
   19277 
   19278 ltmain="$ac_aux_dir/ltmain.sh"
   19279 
   19280 
   19281   # We use sed instead of cat because bash on DJGPP gets confused if
   19282   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19283   # text mode, it properly converts lines to CR/LF.  This bash problem
   19284   # is reportedly fixed, but why not run on old versions too?
   19285   sed '$q' "$ltmain" >> "$cfgfile" \
   19286      || (rm -f "$cfgfile"; exit 1)
   19287 
   19288   if test x"$xsi_shell" = xyes; then
   19289   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   19290 func_dirname ()\
   19291 {\
   19292 \    case ${1} in\
   19293 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19294 \      *  ) func_dirname_result="${3}" ;;\
   19295 \    esac\
   19296 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   19297   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19298     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19299 test 0 -eq $? || _lt_function_replace_fail=:
   19300 
   19301 
   19302   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   19303 func_basename ()\
   19304 {\
   19305 \    func_basename_result="${1##*/}"\
   19306 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19307   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19308     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19309 test 0 -eq $? || _lt_function_replace_fail=:
   19310 
   19311 
   19312   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   19313 func_dirname_and_basename ()\
   19314 {\
   19315 \    case ${1} in\
   19316 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19317 \      *  ) func_dirname_result="${3}" ;;\
   19318 \    esac\
   19319 \    func_basename_result="${1##*/}"\
   19320 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19321   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19322     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19323 test 0 -eq $? || _lt_function_replace_fail=:
   19324 
   19325 
   19326   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   19327 func_stripname ()\
   19328 {\
   19329 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   19330 \    # positional parameters, so assign one to ordinary parameter first.\
   19331 \    func_stripname_result=${3}\
   19332 \    func_stripname_result=${func_stripname_result#"${1}"}\
   19333 \    func_stripname_result=${func_stripname_result%"${2}"}\
   19334 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   19335   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19336     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19337 test 0 -eq $? || _lt_function_replace_fail=:
   19338 
   19339 
   19340   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   19341 func_split_long_opt ()\
   19342 {\
   19343 \    func_split_long_opt_name=${1%%=*}\
   19344 \    func_split_long_opt_arg=${1#*=}\
   19345 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19346   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19347     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19348 test 0 -eq $? || _lt_function_replace_fail=:
   19349 
   19350 
   19351   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   19352 func_split_short_opt ()\
   19353 {\
   19354 \    func_split_short_opt_arg=${1#??}\
   19355 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   19356 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19357   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19358     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19359 test 0 -eq $? || _lt_function_replace_fail=:
   19360 
   19361 
   19362   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   19363 func_lo2o ()\
   19364 {\
   19365 \    case ${1} in\
   19366 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   19367 \      *)    func_lo2o_result=${1} ;;\
   19368 \    esac\
   19369 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   19370   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19371     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19372 test 0 -eq $? || _lt_function_replace_fail=:
   19373 
   19374 
   19375   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   19376 func_xform ()\
   19377 {\
   19378     func_xform_result=${1%.*}.lo\
   19379 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   19380   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19381     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19382 test 0 -eq $? || _lt_function_replace_fail=:
   19383 
   19384 
   19385   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   19386 func_arith ()\
   19387 {\
   19388     func_arith_result=$(( $* ))\
   19389 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   19390   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19391     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19392 test 0 -eq $? || _lt_function_replace_fail=:
   19393 
   19394 
   19395   sed -e '/^func_len ()$/,/^} # func_len /c\
   19396 func_len ()\
   19397 {\
   19398     func_len_result=${#1}\
   19399 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   19400   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19401     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19402 test 0 -eq $? || _lt_function_replace_fail=:
   19403 
   19404 fi
   19405 
   19406 if test x"$lt_shell_append" = xyes; then
   19407   sed -e '/^func_append ()$/,/^} # func_append /c\
   19408 func_append ()\
   19409 {\
   19410     eval "${1}+=\\${2}"\
   19411 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   19412   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19413     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19414 test 0 -eq $? || _lt_function_replace_fail=:
   19415 
   19416 
   19417   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   19418 func_append_quoted ()\
   19419 {\
   19420 \    func_quote_for_eval "${2}"\
   19421 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   19422 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   19423   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19424     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19425 test 0 -eq $? || _lt_function_replace_fail=:
   19426 
   19427 
   19428   # Save a `func_append' function call where possible by direct use of '+='
   19429   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   19430     && mv -f "$cfgfile.tmp" "$cfgfile" \
   19431       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19432   test 0 -eq $? || _lt_function_replace_fail=:
   19433 else
   19434   # Save a `func_append' function call even when '+=' is not available
   19435   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   19436     && mv -f "$cfgfile.tmp" "$cfgfile" \
   19437       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19438   test 0 -eq $? || _lt_function_replace_fail=:
   19439 fi
   19440 
   19441 if test x"$_lt_function_replace_fail" = x":"; then
   19442   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   19443 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   19444 fi
   19445 
   19446 
   19447    mv -f "$cfgfile" "$ofile" ||
   19448     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19449   chmod +x "$ofile"
   19450 
   19451  ;;
   19452 
   19453   esac
   19454 done # for ac_tag
   19455 
   19456 
   19457 as_fn_exit 0
   19458 _ACEOF
   19459 ac_clean_files=$ac_clean_files_save
   19460 
   19461 test $ac_write_fail = 0 ||
   19462   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   19463 
   19464 
   19465 # configure is writing to config.log, and then calls config.status.
   19466 # config.status does its own redirection, appending to config.log.
   19467 # Unfortunately, on DOS this fails, as config.log is still kept open
   19468 # by configure, so config.status won't be able to write to it; its
   19469 # output is simply discarded.  So we exec the FD to /dev/null,
   19470 # effectively closing config.log, so it can be properly (re)opened and
   19471 # appended to by config.status.  When coming back to configure, we
   19472 # need to make the FD available again.
   19473 if test "$no_create" != yes; then
   19474   ac_cs_success=:
   19475   ac_config_status_args=
   19476   test "$silent" = yes &&
   19477     ac_config_status_args="$ac_config_status_args --quiet"
   19478   exec 5>/dev/null
   19479   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   19480   exec 5>>config.log
   19481   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   19482   # would make configure fail if this is the last instruction.
   19483   $ac_cs_success || as_fn_exit 1
   19484 fi
   19485 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   19486   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   19487 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   19488 fi
   19489 
   19490 
   19491